ku4web-components 6.4.34 → 6.4.38
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.
- package/dist/cjs/{index-fabdc7d0.js → index-38fe0039.js} +1 -1
- package/dist/cjs/ku4-carousel-controls.cjs.entry.js +3 -3
- package/dist/cjs/ku4-carousel-slide.cjs.entry.js +2 -2
- package/dist/cjs/ku4-carousel.cjs.entry.js +15 -9
- package/dist/cjs/ku4-col.cjs.entry.js +2 -2
- package/dist/cjs/ku4-drawer.cjs.entry.js +2 -2
- package/dist/cjs/ku4-feature.cjs.entry.js +3 -3
- package/dist/cjs/ku4-focus-trap.cjs.entry.js +27 -27
- package/dist/cjs/ku4-form.cjs.entry.js +4 -4
- package/dist/cjs/ku4-grid.cjs.entry.js +2 -2
- package/dist/cjs/ku4-label.cjs.entry.js +3 -3
- package/dist/cjs/ku4-mask.cjs.entry.js +3 -3
- package/dist/cjs/ku4-modal.cjs.entry.js +4 -4
- package/dist/cjs/ku4-panel.cjs.entry.js +2 -2
- package/dist/cjs/ku4-preview.cjs.entry.js +15 -44
- package/dist/cjs/ku4-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/ku4-tab-panel.cjs.entry.js +4 -4
- package/dist/cjs/ku4-tab.cjs.entry.js +4 -4
- package/dist/cjs/ku4-table.cjs.entry.js +2 -2
- package/dist/cjs/ku4-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ku4-validation.cjs.entry.js +4 -4
- package/dist/cjs/ku4web-components.cjs.js +8 -99
- package/dist/cjs/loader.cjs.js +3 -19
- package/dist/cjs/{shadow-css-4bfd7bfa.js → shadow-css-d8ee70b1.js} +1 -1
- package/dist/esm/{index-d14f31b2.js → index-52020db7.js} +1 -1
- package/dist/esm/ku4-carousel-controls.entry.js +3 -3
- package/dist/esm/ku4-carousel-slide.entry.js +2 -2
- package/dist/esm/ku4-carousel.entry.js +15 -9
- package/dist/esm/ku4-col.entry.js +2 -2
- package/dist/esm/ku4-drawer.entry.js +2 -2
- package/dist/esm/ku4-feature.entry.js +3 -3
- package/dist/esm/ku4-focus-trap.entry.js +4 -4
- package/dist/esm/ku4-form.entry.js +4 -4
- package/dist/esm/ku4-grid.entry.js +2 -2
- package/dist/esm/ku4-label.entry.js +3 -3
- package/dist/esm/ku4-mask.entry.js +3 -3
- package/dist/esm/ku4-modal.entry.js +4 -4
- package/dist/esm/ku4-panel.entry.js +2 -2
- package/dist/esm/ku4-preview.entry.js +6 -35
- package/dist/esm/ku4-tab-list.entry.js +5 -5
- package/dist/esm/ku4-tab-panel.entry.js +4 -4
- package/dist/esm/ku4-tab.entry.js +4 -4
- package/dist/esm/ku4-table.entry.js +2 -2
- package/dist/esm/ku4-tooltip.entry.js +3 -3
- package/dist/esm/ku4-validation.entry.js +4 -4
- package/dist/esm/ku4web-components.js +8 -99
- package/dist/esm/loader.js +3 -19
- package/dist/{ku4web-components/shadow-css-bc14d9fd.js → esm/shadow-css-c1fdfa9f.js} +1 -1
- package/dist/esm-es5/{index-d14f31b2.js → index-52020db7.js} +1 -1
- package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel.entry.js +1 -1
- package/dist/esm-es5/ku4-col.entry.js +1 -1
- package/dist/esm-es5/ku4-drawer.entry.js +1 -1
- package/dist/esm-es5/ku4-feature.entry.js +1 -1
- package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
- package/dist/esm-es5/ku4-form.entry.js +1 -1
- package/dist/esm-es5/ku4-grid.entry.js +1 -1
- package/dist/esm-es5/ku4-label.entry.js +1 -1
- package/dist/esm-es5/ku4-mask.entry.js +1 -1
- package/dist/esm-es5/ku4-modal.entry.js +1 -1
- package/dist/esm-es5/ku4-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-preview.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-tab.entry.js +1 -1
- package/dist/esm-es5/ku4-table.entry.js +1 -1
- package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
- package/dist/esm-es5/ku4-validation.entry.js +1 -1
- package/dist/esm-es5/ku4web-components.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-bc14d9fd.js → shadow-css-c1fdfa9f.js} +0 -0
- package/dist/index.js +1 -1
- package/dist/ku4web-components/index.esm.js +0 -1
- package/dist/ku4web-components/ku4web-components.css +1 -283
- package/dist/ku4web-components/ku4web-components.esm.js +1 -125
- package/dist/ku4web-components/ku4web-components.js +1 -1
- package/dist/ku4web-components/{p-967f8f4b.system.entry.js → p-19147286.system.entry.js} +1 -1
- package/dist/ku4web-components/p-1fb8966a.entry.js +1 -0
- package/dist/ku4web-components/{p-c72b3ced.system.entry.js → p-2bbea5f3.system.entry.js} +1 -1
- package/dist/ku4web-components/p-4986dc9a.entry.js +1 -0
- package/dist/ku4web-components/{p-176273d5.system.js → p-4de687d8.system.js} +1 -1
- package/dist/ku4web-components/p-5848719e.system.js +1 -0
- package/dist/ku4web-components/p-5ad4d525.entry.js +1 -0
- package/dist/ku4web-components/{p-e0558b2b.system.entry.js → p-60512677.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-cb0f32a7.js → p-670d415c.js} +1 -1
- package/dist/ku4web-components/{p-c3c31235.system.entry.js → p-67b90b07.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-435478fa.system.entry.js → p-6a6ebdd6.system.entry.js} +1 -1
- package/dist/ku4web-components/p-6f56d780.entry.js +1 -0
- package/dist/ku4web-components/p-7587e933.entry.js +1 -0
- package/dist/ku4web-components/{p-3ad57422.system.entry.js → p-769237d3.system.entry.js} +1 -1
- package/dist/ku4web-components/p-7a5e62fd.entry.js +1 -0
- package/dist/ku4web-components/{p-46d73124.system.entry.js → p-8645d86f.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-cb6b67f2.entry.js → p-867d74d6.entry.js} +1 -1
- package/dist/ku4web-components/p-911a6cc5.entry.js +1 -0
- package/dist/ku4web-components/{p-7bbd50d6.system.entry.js → p-93417cb8.system.entry.js} +1 -1
- package/dist/ku4web-components/p-98548901.system.entry.js +1 -0
- package/dist/ku4web-components/{p-44f9a1a9.system.entry.js → p-9b9fb5a2.system.entry.js} +1 -1
- package/dist/ku4web-components/p-9e2c3988.entry.js +1 -0
- package/dist/ku4web-components/{p-64f6379d.system.entry.js → p-ac86618a.system.entry.js} +1 -1
- package/dist/ku4web-components/p-af5d8c77.system.entry.js +1 -0
- package/dist/ku4web-components/p-b2db2c0b.entry.js +1 -0
- package/dist/ku4web-components/p-b9cf48d6.entry.js +1 -0
- package/dist/ku4web-components/p-bfd8c04e.entry.js +1 -0
- package/dist/ku4web-components/p-c11d7118.entry.js +1 -0
- package/dist/ku4web-components/p-c194ee9c.entry.js +1 -0
- package/dist/ku4web-components/{p-c2285d3c.system.entry.js → p-c48ff8d2.system.entry.js} +1 -1
- package/dist/ku4web-components/p-cdaa80f7.entry.js +1 -0
- package/dist/ku4web-components/{ku4-col.entry.js → p-d0579e6f.entry.js} +1 -75
- package/dist/ku4web-components/p-d248862c.entry.js +1 -0
- package/dist/ku4web-components/{p-9f159c4b.system.entry.js → p-d312c8ae.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-110de527.system.entry.js → p-d3dad5b5.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-d3379ca9.system.entry.js → p-dda45242.system.entry.js} +1 -1
- package/dist/ku4web-components/p-e63f2453.entry.js +1 -0
- package/dist/ku4web-components/{p-4e89d6bc.system.entry.js → p-e89bc35d.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-308941a0.system.entry.js → p-e9c1a470.system.entry.js} +1 -1
- package/dist/ku4web-components/p-ebc49910.entry.js +1 -0
- package/dist/ku4web-components/{p-a025c941.system.js → p-f4d979bb.system.js} +0 -0
- package/dist/ku4web-components/{p-3fb7c6ff.js → p-f566887e.js} +0 -0
- package/dist/ku4web-components/{p-7a3a3b7f.system.entry.js → p-faef0a79.system.entry.js} +1 -1
- package/dist/ku4web-components/p-fbba3322.entry.js +1 -0
- package/dist/ku4web-components/{p-d8836783.system.entry.js → p-ff4c04f5.system.entry.js} +1 -1
- package/dist/types/components/ku4-carousel/ku4-carousel.d.ts +4 -0
- package/dist/types/components/ku4-validation/ku4-validation.d.ts +5 -0
- package/dist/types/components.d.ts +16 -0
- package/loader/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-a6998297.js +0 -6
- package/dist/cjs/dom-66f79778.js +0 -75
- package/dist/cjs/index-51b7a610.js +0 -14
- package/dist/cjs/index-c52d450b.js +0 -10
- package/dist/cjs/index-ff13b651.js +0 -3046
- package/dist/cjs/uid-3dd31175.js +0 -11
- package/dist/collection/capabilities/a11y/aria.js +0 -26
- package/dist/collection/capabilities/angular/index.js +0 -24
- package/dist/collection/capabilities/decorators/deprecated.js +0 -20
- package/dist/collection/capabilities/decorators/index.js +0 -3
- package/dist/collection/capabilities/decorators/memoize.js +0 -7
- package/dist/collection/capabilities/dom/isFocusable.js +0 -7
- package/dist/collection/capabilities/dom/queryFocusable.js +0 -2
- package/dist/collection/capabilities/identity/uid.js +0 -6
- package/dist/collection/capabilities/mask/index.js +0 -5
- package/dist/collection/capabilities/mask/patterns/date.js +0 -40
- package/dist/collection/capabilities/mask/patterns/index.js +0 -7
- package/dist/collection/capabilities/react/index.js +0 -25
- package/dist/collection/capabilities/testing/html.js +0 -14
- package/dist/collection/capabilities/testing/styles.js +0 -14
- package/dist/collection/capabilities/vue/index.js +0 -28
- package/dist/collection/capabilities/vue3/index.js +0 -26
- package/dist/collection/collection-manifest.json +0 -31
- package/dist/collection/components/ku4-carousel/ku4-carousel.css +0 -215
- package/dist/collection/components/ku4-carousel/ku4-carousel.js +0 -335
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +0 -32
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +0 -93
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +0 -3
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +0 -140
- package/dist/collection/components/ku4-col/ku4-col.css +0 -601
- package/dist/collection/components/ku4-col/ku4-col.js +0 -288
- package/dist/collection/components/ku4-drawer/ku4-drawer.css +0 -56
- package/dist/collection/components/ku4-drawer/ku4-drawer.js +0 -163
- package/dist/collection/components/ku4-feature/ku4-feature.js +0 -70
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +0 -3
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +0 -441
- package/dist/collection/components/ku4-form/ku4-form.js +0 -194
- package/dist/collection/components/ku4-grid/ku4-grid.css +0 -751
- package/dist/collection/components/ku4-grid/ku4-grid.js +0 -408
- package/dist/collection/components/ku4-label/ku4-label.css +0 -36
- package/dist/collection/components/ku4-label/ku4-label.js +0 -115
- package/dist/collection/components/ku4-mask/ku4-mask.css +0 -3
- package/dist/collection/components/ku4-mask/ku4-mask.js +0 -427
- package/dist/collection/components/ku4-modal/ku4-modal.css +0 -85
- package/dist/collection/components/ku4-modal/ku4-modal.js +0 -186
- package/dist/collection/components/ku4-panel/ku4-panel.css +0 -14
- package/dist/collection/components/ku4-panel/ku4-panel.js +0 -119
- package/dist/collection/components/ku4-preview/ku4-preview.css +0 -23
- package/dist/collection/components/ku4-preview/ku4-preview.js +0 -249
- package/dist/collection/components/ku4-tab/ku4-tab.css +0 -82
- package/dist/collection/components/ku4-tab/ku4-tab.js +0 -191
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +0 -6
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +0 -118
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +0 -26
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +0 -166
- package/dist/collection/components/ku4-table/ku4-table.css +0 -116
- package/dist/collection/components/ku4-table/ku4-table.js +0 -120
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +0 -56
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +0 -274
- package/dist/collection/components/ku4-validation/ku4-validation.css +0 -7
- package/dist/collection/components/ku4-validation/ku4-validation.js +0 -309
- package/dist/collection/components/ku4-validation/validate.js +0 -14
- package/dist/collection/index.js +0 -1
- package/dist/collection/security.js +0 -27
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-a64b8820.js +0 -4
- package/dist/esm/dom-d08ba8aa.js +0 -73
- package/dist/esm/index-4693d116.js +0 -3
- package/dist/esm/index-88e7b9d4.js +0 -3010
- package/dist/esm/index-89916128.js +0 -3
- package/dist/esm/shadow-css-bc14d9fd.js +0 -389
- package/dist/esm/uid-5355229f.js +0 -9
- package/dist/ku4web-components/app-globals-0f993ce5.js +0 -3
- package/dist/ku4web-components/app-globals-497eb362.system.js +0 -1
- package/dist/ku4web-components/css-shim-00dc76e5.system.js +0 -1
- package/dist/ku4web-components/css-shim-a64b8820.js +0 -4
- package/dist/ku4web-components/dom-59f9ee66.system.js +0 -21
- package/dist/ku4web-components/dom-d08ba8aa.js +0 -73
- package/dist/ku4web-components/index-3127d7f7.system.js +0 -1
- package/dist/ku4web-components/index-4693d116.js +0 -3
- package/dist/ku4web-components/index-7624f416.system.js +0 -1
- package/dist/ku4web-components/index-88e7b9d4.js +0 -3010
- package/dist/ku4web-components/index-89916128.js +0 -3
- package/dist/ku4web-components/index-aea7f048.system.js +0 -1
- package/dist/ku4web-components/index.system.js +0 -1
- package/dist/ku4web-components/ku4-carousel-controls.entry.js +0 -70
- package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-carousel-slide.entry.js +0 -47
- package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-carousel.entry.js +0 -159
- package/dist/ku4web-components/ku4-carousel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-col.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-drawer.entry.js +0 -35
- package/dist/ku4web-components/ku4-drawer.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-feature.entry.js +0 -29
- package/dist/ku4web-components/ku4-feature.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-focus-trap.entry.js +0 -323
- package/dist/ku4web-components/ku4-focus-trap.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-form.entry.js +0 -97
- package/dist/ku4web-components/ku4-form.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-grid.entry.js +0 -108
- package/dist/ku4web-components/ku4-grid.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-label.entry.js +0 -70
- package/dist/ku4web-components/ku4-label.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-mask.entry.js +0 -311
- package/dist/ku4web-components/ku4-mask.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-modal.entry.js +0 -71
- package/dist/ku4web-components/ku4-modal.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-panel.entry.js +0 -49
- package/dist/ku4web-components/ku4-panel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-preview.entry.js +0 -128
- package/dist/ku4web-components/ku4-preview.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab-list.entry.js +0 -76
- package/dist/ku4web-components/ku4-tab-list.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab-panel.entry.js +0 -72
- package/dist/ku4web-components/ku4-tab-panel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab.entry.js +0 -63
- package/dist/ku4web-components/ku4-tab.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-table.entry.js +0 -79
- package/dist/ku4web-components/ku4-table.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tooltip.entry.js +0 -120
- package/dist/ku4web-components/ku4-tooltip.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-validation.entry.js +0 -158
- package/dist/ku4web-components/ku4-validation.system.entry.js +0 -1
- package/dist/ku4web-components/ku4web-components.system.js +0 -1
- package/dist/ku4web-components/p-026e04d8.entry.js +0 -1
- package/dist/ku4web-components/p-0a7ce92f.entry.js +0 -1
- package/dist/ku4web-components/p-10a643bb.system.js +0 -1
- package/dist/ku4web-components/p-288c6e27.entry.js +0 -1
- package/dist/ku4web-components/p-417f04e9.entry.js +0 -1
- package/dist/ku4web-components/p-4c117404.entry.js +0 -1
- package/dist/ku4web-components/p-5299172c.entry.js +0 -1
- package/dist/ku4web-components/p-6b080fd7.entry.js +0 -1
- package/dist/ku4web-components/p-731d15d8.entry.js +0 -1
- package/dist/ku4web-components/p-7760e8b4.entry.js +0 -1
- package/dist/ku4web-components/p-7764c6f2.entry.js +0 -1
- package/dist/ku4web-components/p-7ffb5116.entry.js +0 -1
- package/dist/ku4web-components/p-8063491d.entry.js +0 -1
- package/dist/ku4web-components/p-8b7e72eb.entry.js +0 -1
- package/dist/ku4web-components/p-92ddb4be.entry.js +0 -1
- package/dist/ku4web-components/p-c7dc83c3.entry.js +0 -1
- package/dist/ku4web-components/p-cb142835.system.entry.js +0 -1
- package/dist/ku4web-components/p-cb746d07.entry.js +0 -1
- package/dist/ku4web-components/p-da065955.entry.js +0 -1
- package/dist/ku4web-components/p-e7698568.system.entry.js +0 -1
- package/dist/ku4web-components/p-e8367ca4.entry.js +0 -1
- package/dist/ku4web-components/p-fb68de75.entry.js +0 -1
- package/dist/ku4web-components/shadow-css-c015bba2.system.js +0 -13
- package/dist/ku4web-components/uid-5355229f.js +0 -9
- package/dist/ku4web-components/uid-93975202.system.js +0 -1
@@ -1,73 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Stencil Client Patch Browser v2.8.1 | MIT Licensed | https://stenciljs.com
|
3
|
-
*/
|
4
|
-
(function(){
|
5
|
-
var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}
|
6
|
-
function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
|
7
|
-
function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if("template"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}
|
8
|
-
function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}
|
9
|
-
function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=
|
10
|
-
0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
|
11
|
-
function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
|
12
|
-
d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};
|
13
|
-
u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}
|
14
|
-
E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
|
15
|
-
return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,
|
16
|
-
a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};
|
17
|
-
function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};
|
18
|
-
E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;
|
19
|
-
E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
20
|
-
"textContent"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,
|
21
|
-
pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
|
22
|
-
e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,"importNode",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,"createElementNS",function(b,d){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,
|
23
|
-
d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
|
24
|
-
a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,
|
25
|
-
a);return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],
|
26
|
-
b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join("")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&""!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&
|
27
|
-
r(d,"replaceWith",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,"remove",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}
|
28
|
-
function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,
|
29
|
-
d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");});}var c=X;N&&r(Element.prototype,"attachShadow",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},
|
30
|
-
set:function(a){var b="template"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,"setAttributeNS",function(a,
|
31
|
-
b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,
|
32
|
-
a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);
|
33
|
-
|
34
|
-
// Polyfill document.baseURI
|
35
|
-
"string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector("base");return a&&a.href?a.href:document.URL}});
|
36
|
-
|
37
|
-
// Polyfill CustomEvent
|
38
|
-
"function"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent("CustomEvent");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);
|
39
|
-
|
40
|
-
// Event.composedPath
|
41
|
-
(function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);
|
42
|
-
|
43
|
-
/*!
|
44
|
-
Element.closest and Element.matches
|
45
|
-
https://github.com/jonathantneal/closest
|
46
|
-
Creative Commons Zero v1.0 Universal
|
47
|
-
*/
|
48
|
-
(function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);
|
49
|
-
|
50
|
-
/*!
|
51
|
-
Element.getRootNode()
|
52
|
-
*/
|
53
|
-
(function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);
|
54
|
-
|
55
|
-
/*!
|
56
|
-
Element.isConnected()
|
57
|
-
*/
|
58
|
-
(function(a){"isConnected"in a||Object.defineProperty(a,"isConnected",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);
|
59
|
-
|
60
|
-
/*!
|
61
|
-
Element.remove()
|
62
|
-
*/
|
63
|
-
(function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
|
64
|
-
|
65
|
-
/*!
|
66
|
-
Element.classList
|
67
|
-
*/
|
68
|
-
!function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class");}return ""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute("class")||"",t}});}(Element.prototype);
|
69
|
-
|
70
|
-
/*!
|
71
|
-
DOMTokenList
|
72
|
-
*/
|
73
|
-
(function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);
|
@@ -1 +0,0 @@
|
|
1
|
-
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function u(t){try{a(n.next(t))}catch(e){o(e)}}function s(t){try{a(n["throw"](t))}catch(e){o(e)}}function a(t){t.done?r(t.value):i(t.value).then(u,s)}a((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(t){return function(e){return a([t,e])}}function a(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=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(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){r.label=u[1];break}if(u[0]===6&&r.label<o[1]){r.label=o[1];o=u;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(u);break}if(o[2])r.ops.pop();r.trys.pop();continue}u=e.call(t,r)}catch(s){u=[6,s];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var e=this;var r=function(){function t(){}t.isNull=function(t){return null===t};t.isEmpty=function(e){return t.isString(e)&&""===e||t.isArray(e)&&e.length<1||t.isObjectLiteral(e)&&Object.keys(e).length<1};t.isUndefined=function(t){return void 0===t};t.isZero=function(t){return 0===t};t.exists=function(e){return!(t.isUndefined(e)||t.isNull(e))};t.isNullOrEmpty=function(e){return!t.exists(e)||t.isEmpty(e)};t.isArray=function(t){return Array.isArray(t)};t.isBool=function(t){return"boolean"==typeof t};t.isTrue=function(e){return t.isBool(e)&&!0===e};t.isFalse=function(e){return t.isBool(e)&&!1===e};t.isDate=function(t){return t instanceof Date};t.isNumber=function(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)};t.isEven=function(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0};t.isOdd=function(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)};t.isString=function(t){return"string"==typeof t||t instanceof String};t.isFunction=function(t){return t instanceof Function};t.isAsyncFunction=function(e){try{return"AsyncFunction"===Object.getPrototypeOf(e).constructor.name||t.isFunction(e)&&/^async/.test(e.toString())||t.isFunction(e().then)}catch(t){return!1}};t.isPromise=function(t){return t instanceof Promise};t.isObject=function(e){return t.exists(e)&&"object"==typeof e&&!(t.isBool(e)||t.isNumber(e)||t.isDate(e)||t.isArray(e)||t.isString(e)||t.isFunction(e))};t.isObjectLiteral=function(e){return t.isObject(e)&&e.constructor==={}.constructor};t.isTruthy=function(e){return!t.isFalsy(e)};t.isFalsy=function(e){return t.isZero(e)||t.isFalse(e)||t.isNullOrEmpty(e)||isNaN(e)};return t}();t("t",r);function n(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}return"".concat.apply("",t)}function i(t){var e=[];for(var r=1;r<arguments.length;r++){e[r-1]=arguments[r]}return e.reduce((function(t,e,r){return t.replace(new RegExp("\\{"+r+"\\}","g"),e&&e.toString?e.toString():e)}),t)}function o(t){return u(s(t))}function u(t){return r.exists(t)&&r.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function s(t){return r.exists(t)&&r.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}var a=t("a",Object.freeze({__proto__:null,build:n,chunk:function(t,e){if(e===void 0){e=0}if(!r.isString(t)||Number.isNaN(e)||e<0)return[];if(e<t.length){var n=0;var i=e||t.length,o=[];for(;n<t.length;)o.push(t.slice(n,n+i)),n+=i;return o}return[t]},format:i,trim:o,trimStart:u,trimEnd:s,capitalize:function(t){if(t===void 0){t=""}return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,e,n){if(n===void 0){n="_"}return r.isFunction(e)?e(t):r.isString(e)&&t.split("").reduce((function(t,e){return t.replace(new RegExp(n),e)}),e)},unmask:function(t,e,n){if(n===void 0){n="_"}var i=new RegExp(n);return r.isFunction(e)?e(t):r.isString(e)&&t.split("").reduce((function(t,r,n){return!i.test(r)&&i.test(e.charAt(n))?t+r:t}),"")}}));var c=function(){function t(t,e,r){if(t===void 0){t=""}if(e===void 0){e=""}if(r===void 0){r=""}this._first=t||"",this._middle=e||"",this._last=r||""}Object.defineProperty(t.prototype,"first",{get:function(){return this._first},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"middle",{get:function(){return this._middle},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"last",{get:function(){return this._last},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"full",{get:function(){var t=r.isNullOrEmpty(this.middle)?"F L":"F M L";return o(this.toString(t).replace(/\s+/," "))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"initials",{get:function(){var t=r.isNullOrEmpty(this.middle)?"f.l.":"f.m.l.";return o(this.toString(t).replace(/\s{2,}/,""))},enumerable:false,configurable:true});t.prototype.equals=function(t){return r.exists(t)&&t.first===this.first&&t.middle===this.middle&&t.last===this.last};t.prototype.toString=function(t){var e=this.first.charAt(0),n=this.middle.charAt(0),i=this.last.charAt(0);return r.isNullOrEmpty(t)?this.full:t.replace(/([FfMmLl])/g,"{$1}").replace("{F}",this.first).replace("{M}",this.middle).replace("{L}",this.last).replace("{f}",e).replace("{m}",n).replace("{l}",i)};return t}();var f=t("o",(function(t){return t.reduce((function(t,e){return t.includes(e)||t.push(e),t}),[])}));var l=function(){function t(t){this._list=t,this._head=0}Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.length<1},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"index",{get:function(){return this._head},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"length",{get:function(){return this._list.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"current",{get:function(){return this._list[this._head]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"next",{get:function(){var t=this.length;var e=this._head;return this._head=e++<t-1?e:0,this.current},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prev",{get:function(){var t=this.length;var e=this._head;return this._head=--e<0?t-1:e,this.current},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"peekNext",{get:function(){var t=this,e=t._head,r=t.length;return this._list[e+1<r?e+1:0]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"peekPrev",{get:function(){var t=this,e=t._head,r=t.length;return this._list[e-1<0?r-1:e-1]},enumerable:false,configurable:true});return t}();t("c",l);function p(t,e){try{return t()}catch(r){return e}}var h;p.async=function(t,r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,t()];case 1:return[2,n.sent()];case 2:e=n.sent();return[2,r];case 3:return[2]}}))}))};var y=function(){function t(t,e,r){if(e<1||e>12)throw new Error("Invalid month at Assert.DayPoint");if(r<1||r>d(e,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,e-1,r):new Date,this._day=this._value.getDay(),this._date=r,this._month=e,this._year=t}Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"day",{get:function(){return this._day},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"date",{get:function(){return this._date},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"month",{get:function(){return this._month},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"year",{get:function(){return this._year},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"shortYear",{get:function(){var t=this._year.toString();return parseInt(t.substr(t.length-2))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWeekday",{get:function(){var t=this._day;return t>0&&t<6},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWeekend",{get:function(){return!this.isWeekday},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isLeapYear",{get:function(){return b(this._year)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextDay",{get:function(){return v(this,1,0,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevDay",{get:function(){return v(this,-1,0,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextMonth",{get:function(){return v(this,0,1,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevMonth",{get:function(){return v(this,0,-1,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextYear",{get:function(){return v(this,0,0,1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevYear",{get:function(){return v(this,0,0,-1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"firstDayOfMonth",{get:function(){return new t(this._year,this._month,1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"lastDayOfMonth",{get:function(){return new t(this._year,this._month,d(this._month,this._year))},enumerable:false,configurable:true});t.prototype.add=function(t,e,r){function n(t,e,r){var n=t,i=e;for(;i--;)n=n[r];return n}var i=Math.abs,o=i(t),u=i(r),s=i(e),a=r<0?"prevDay":"nextDay",c=e<0?"prevMonth":"nextMonth";return n(n(n(this,o,t<0?"prevYear":"nextYear"),s,c),u,a)};t.prototype.isBefore=function(t){return!(this.isAfter(t)||this.equals(t))};t.prototype.isAfter=function(t){var e=this._year,r=t.year,n=this._month,i=t.month;return e>r||(e===r&&n>i||e===r&&n===i&&this._date>t.date)};t.prototype.equals=function(t){return this._year===t.year&&this._month===t.month&&this._date===t.date};t.prototype.toString=function(t){if(t===void 0){t="mm/dd/yyyy"}var e=/y{3,}/i.test(t)?this._year:this.shortYear,r=this._month,n=this._date,o=/m{2}/i.test(t)&&r<10?"0{1}":"{1}",u=/d{2}/i.test(t)&&n<10?"0{2}":"{2}";return i(t.replace(/y+/gi,"{0}").replace(/m+/gi,o).replace(/d+/gi,u),e,r,n)};t.prototype.toDate=function(){return this._value};t.prototype.toJson=function(){return this._value.toJSON()};t.canParse=function(e){return r.isString(e)||r.isNumber(e)||r.isDate(e)?!isNaN(new Date(e).valueOf()):e instanceof t};t.parse=function(e){if(e instanceof t)return e;var n=r.isString(e)?o(e).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):e;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(n)){var u=n.split("-"),s=u[0];u.push(s),u.shift(),n=u.join("/")}var a=new Date(n);if(!r.exists(n)||Number.isNaN(a.valueOf()))throw new Error(i("Cannot parse value= {0}",n));return new t(a.getFullYear(),a.getMonth()+1,a.getDate())};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};t.assumeNow=function(e){h=t.parse(e)};Object.defineProperty(t,"today",{get:function(){return h||t.parse(new Date)},enumerable:false,configurable:true});return t}();function d(t,e){return 2===t?b(e)?29:28:t<8&&r.isEven(t)||t>7&&r.isOdd(t)?30:31}function b(t){var e=t.toString().split(/\B/);return parseFloat(n(e[e.length-2],e[e.length-1]))%4==0}function v(t,e,r,n){var i=t.month,o=t.year,u=t.date,s=r,a=n;var c=u+e,f=i+s,l=o+a;if(u+e>d(i,o)&&(c=1,f=i+s+1),u+e<1){var p=t.prevMonth;c=d(p.month,p.year),f=i+s-1}return f>12&&(f=1,l=o+a+1),f<1&&(f=12,l=o+a-1),new y(l,f,c)}function g(t,e){if(e===void 0){e=0}var r=Math.pow(10,-e);return Math.round(parseFloat((t*r).toFixed(Math.abs(e))))/r}function m(t,e){if(e===void 0){e=0}return g(t+5*Math.pow(10,e-1),e)}function _(t,e){if(e===void 0){e=0}if(0===t)return 0;return g(t-5*Math.pow(10,e-1),e)}function w(t,e){if(e===void 0){e=0}return t<0?m(t,e):_(t,e)}function x(t){var e=function(t,r,n){if(r===void 0){r=0}if(n===void 0){n=1}return 0<t?e(--t,n,r+n):r};return e(t)}function O(t){var e=0,r=1,n=0;for(;t>1;)n=e,e=r,r+=n,t--;return t<1?e:r}function j(t,e){if(e===void 0){e=0}var r=parseInt(t);return Number.isNaN(r)?e:r}var P=Object.freeze({__proto__:null,random:function(t,e){if(t===void 0){t=0}if(e===void 0){e=1}return Math.random()*(e-t)+t},round:g,roundUp:m,roundDown:_,roundTowardZero:w,gcd:function t(e,r){return 0===r?Math.abs(e):t(r,e%r)},fib:x,fib2:O,fibArray:function(t){return Array(t).fill(0).map((function(){return x(--t)})).reverse()},fib2Array:function(t){return Array(t).fill(0).map((function(){return O(--t)})).reverse()},tryParseInt:j,tryParseFloat:function(t,e){if(e===void 0){e=0}var r=parseFloat(t);return Number.isNaN(r)?e:r}});var N=function(){function t(t,e){if(t===void 0){t=0}if(!r.isNumber(t))throw new Error("Money requires valid numeric amount.");var n=w(t);this._cents=/\./.test(t)?parseFloat(t.toString().replace(/\d+\./,".")):0,this._dollars=n,this._currency=e||"$",this._value=t}Object.defineProperty(t.prototype,"cents",{get:function(){return this._cents},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"dollars",{get:function(){return this._dollars},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"currency",{get:function(){return this._currency},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});t.prototype.add=function(e){return S(this,e),new t(this.value+e.value,this.currency)};t.prototype.subtract=function(e){return S(this,e),new t(this.value-e.value,this.currency)};t.prototype.multiply=function(e){if(!r.isNumber(e))throw new Error("Invalid factor "+e);return new t(this.value*e,this.currency)};t.prototype.divide=function(e){if(!r.isNumber(e))throw new Error("Invalid divisor "+e);return new t(this.value/e,this.currency)};t.prototype.equals=function(t){return this.isOfCurrency(t)&&this.value===t.value};t.prototype.isGreaterThan=function(t){return S(this,t),this.value>t.value};t.prototype.isLessThan=function(t){return S(this,t),this.value<t.value};Object.defineProperty(t.prototype,"nearestWhole",{get:function(){return new t(g(this.value,0),this.currency)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nearestDollar",{get:function(){return this.nearestWhole},enumerable:false,configurable:true});t.prototype.round=function(e){if(e===void 0){e=-2}return new t(g(this.value,e),this.currency)};t.prototype.roundDown=function(e){if(e===void 0){e=-2}return new t(_(this.value,e),this.currency)};t.prototype.roundUp=function(e){if(e===void 0){e=-2}return new t(m(this.value,e),this.currency)};t.prototype.exchange=function(e,r){return new t(this.multiply(e).value,r)};t.prototype.isOfCurrency=function(t){return this.currency===t.currency};t.prototype.toString=function(t,e){if(t===void 0){t="d.c2"}var r=/d(.)c(\d+)/.exec(t),n=r[1],i=r[2],o=e||{".":",",",":"."}[n],u=function(t,e){if(0===t)return"0";var r=t.toString().replace(/[^\d]/,"").split(/\B/);var n=0;return r.reverse().reduce((function(t,r){return n>0&&!(n%3)&&(t.push(e),n=0),t.push(r),n++,t}),[]).reverse().join("").replace(/[^\d]$/,"")}(this.dollars,o||","),s=function(t,e){var r=t.toString().replace(/[^\d]|0\./g,""),n="0".repeat(e);return(""+r+n).slice(0,e)}(this.cents,j(i,2)),a=""+this.currency+u+n+s;return this.value<0?"("+a+")":a};t.zero=function(e){return new t(0,e)};t.isMoney=function(e){return e instanceof t};t.canParse=function(e){try{return t.parse(e),!0}catch(e){return!1}};t.parse=function(e){if(r.isNumber(e))return new t(e);var n=e;if(/,\d{2}$/.test(e)){var i=e.split(","),o=i.pop();n=i.join().replace(/\./g,",")+"."+o}var u=/(\(.*\))|(-)/.test(n),s=u?1:0,a=n.match(/[^\d.,-]/g),c=r.isArray(a)?a[s]:null,f=parseFloat(n.replace(/[^\d.]/g,""));return new t(u?-f:f,c)};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};return t}();function S(t,e){if(!t.isOfCurrency(e))throw new Error("Invalid operation on non-conforming currencies. "+t.currency+" !== "+e.currency)}var A=function(){function t(t,e){if(t===void 0){t=0}if(e===void 0){e=0}if(!r.isNumber(t)||!r.isNumber(e))throw new Error("Coord requires numeric x and y values");this._x=t,this._y=e}Object.defineProperty(t.prototype,"x",{get:function(){return this._x},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"y",{get:function(){return this._y},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return{x:this.x,y:this.y}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"half",{get:function(){return this.divide(new t(2,2))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"abs",{get:function(){return new t(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y};t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y)};t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y)};t.prototype.multiply=function(e){return new t(this.x*e.x,this.y*e.y)};t.prototype.divide=function(e){return new t(this.x/e.x,this.y/e.y)};t.prototype.round=function(e){if(e===void 0){e=0}return new t(g(this.x,e),g(this.y,e))};t.prototype.toString=function(){return"("+this.x+","+this.y+")"};t.canParse=function(e){return r.isArray(e)?!(Number.isNaN(e[0])||Number.isNaN(e[1])):r.isObjectLiteral(e)&&"x"in e&&"y"in e?!(Number.isNaN(e.x)||Number.isNaN(e.y)):e instanceof t};t.parse=function(e){return r.exists(e)?e instanceof t?e:r.isArray(e)?new t(e[0],e[1]):r.isObjectLiteral(e)&&r.exists(e.x)&&r.exists(e.y)?new t(e.x,e.y):null:null};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};return t}();var F=function(t){__extends(e,t);function e(e,r){if(e===void 0){e=0}if(r===void 0){r=0}var n=this;n=t.call(this,e,r)||this,n._lengthSquared=Math.pow(e,2)+Math.pow(r,2),n._magnitude=Math.sqrt(n._lengthSquared),n._unitNormalX=0===e&&0===r?0:e/n._magnitude,n._unitNormalY=0===e&&0===r?0:r/n._magnitude;return n}Object.defineProperty(e.prototype,"magnitude",{get:function(){return this._magnitude},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isZero",{get:function(){return 0===this.x&&0===this.y},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"normal",{get:function(){return new e(this._unitNormalX,this._unitNormalY)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invert",{get:function(){return new e(-this.x,-this.y)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"norm",{get:function(){return new e(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"perpendicular",{get:function(){return new e(-this.y,this.x)},enumerable:false,configurable:true});e.prototype.equals=function(t){return t instanceof e&&this.x===t.x&&this.y===t.y};e.prototype.add=function(t){return t instanceof e?new e(this.x+t.x,this.y+t.y):null};e.prototype.dot=function(t){return t instanceof e?this.x*t.x+this.y*t.y:null};e.prototype.perpendicularAtTo=function(t){if(!(t instanceof e))return null;var r=t.add(this.projectionOfOnto(t).invert);return new e(r.x,r.y)};e.prototype.projectionOfOnto=function(t){if(!(t instanceof e))return null;var r=t.normal.scale(this.dot(t.normal));return new e(r.x,r.y)};e.prototype.scale=function(t){return new e(this.x*t,this.y*t)};e.prototype.unitNormalDot=function(t){return t instanceof e?this.normal.x*t.normal.x+this.normal.y*t.normal.y:null};e.prototype.reflect=function(t){if(!(t instanceof e))return null;if(t.isZero)return this;var r=t.normal;return this.add(r.scale(2*r.dot(this)).invert)};e.prototype.round=function(t){if(t===void 0){t=0}return new e(g(this.x,t),g(this.y,t))};return e}(A);var M=function(t){__extends(e,t);function e(e,r){return t.call(this,e,r)||this}e.prototype.isAbove=function(t){return this.y<t.y};e.prototype.isBelow=function(t){return this.y>t.y};e.prototype.isLeftOf=function(t){return this.x<t.x};e.prototype.isRightOf=function(t){return this.x>t.x};e.prototype.distanceFrom=function(t){return new F(this.x-t.x,this.y-t.y)};e.prototype.distanceTo=function(t){return this.distanceFrom(t).invert};e.canParse=function(t){return t instanceof e||A.canParse(t)};e.parse=function(t){if(t instanceof e)return t;var r=A.parse(t);return new e(r.x,r.y)};e.tryParse=function(t){return p((function(){return e.parse(t)}),null)};return e}(A);var E=function(){function t(t,e,r,n){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=0}if(n===void 0){n=0}this.origin=new M(t,e),this.dimensions=new A(r,n),this.diagonal=M.parse(this.origin.add(this.dimensions)),this.center=this.diagonal.half}t.prototype.contains=function(t){return this.origin.isAbove(t)&&this.origin.isLeftOf(t)&&this.diagonal.isRightOf(t)&&this.diagonal.isBelow(t)};t.prototype.aspectToFit=function(e){var r=this.dimensions,n=e.dimensions,i=n.x,o=n.y;var u=r.x,s=r.y;return u>s&&0!==u?(s*=i/u,u=i,s>o&&(s=o,u*=s/r.y)):s>o&&(u*=o/s,s=o),new t(this.origin.x,this.origin.y,u,s)};return t}();t("M",E);var B=function(){function t(){if(this.constructor===t)throw new Error("Cannot instantiate abstract class: AbstractSpecification")}t.prototype.and=function(t){return new D(this,t)};t.prototype.or=function(t){return new I(this,t)};t.prototype.xor=function(t){return new T(this,t)};t.prototype.not=function(t){return new $(this,t)};t.prototype.isSatisfiedBy=function(){throw new Error("Abstract method must be implemented.")};return t}();var D=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return this._specificationA.isSatisfiedBy(t)&&this._specificationB.isSatisfiedBy(t)};return e}(B);var I=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return this._specificationA.isSatisfiedBy(t)||this._specificationB.isSatisfiedBy(t)};return e}(B);var T=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return!this._specificationA.isSatisfiedBy(t)!=!this._specificationB.isSatisfiedBy(t)};return e}(B);var $=function(t){__extends(e,t);function e(e){var r=this;r=t.call(this)||this,r._specification=e;return r}e.prototype.isSatisfiedBy=function(t){return!this._specification.isSatisfiedBy(t)};return e}(B);var z=function(){function t(){if(this.constructor===t)throw new Error("Cannot instantiate abstract class.")}t.prototype.execute=function(){throw new Error("Abstract method must be implemented.")};return t}();var L=t("j",(function(t,e,r){if(r===void 0){r=!1}var n;return function(){var i=[];for(var o=0;o<arguments.length;o++){i[o]=arguments[o]}var u=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||t.apply(void 0,i)}),e),u&&t.apply(void 0,i)}})),k=function(t,e){return r.isPromise(t)||r.isAsyncFunction(t)?r.isFunction(t.then)?t.then((function(t){return t&&e()})):t().then((function(t){return t&&e()})):r.isFunction(t)&&t?t()&&e():r.isTrue(t)&&e()};var C=function(){function t(t){this._milliseconds=t}Object.defineProperty(t.prototype,"isRunning",{get:function(){return r.exists(this._intervalId)},enumerable:false,configurable:true});t.prototype.onInterval=function(t){return this.clear(),this._didInterval=t,this};t.prototype.start=function(){var t=this;return this.clear(),this._intervalId=setInterval((function(){t._didInterval()}),this._milliseconds),this};t.prototype.clear=function(){return clearInterval(this._intervalId),this._intervalId=null,this};return t}();t("L",C);var q=function(t){return setTimeout(t,0)};var Y=function(){function t(t){this._milliseconds=t}Object.defineProperty(t.prototype,"isRunning",{get:function(){return r.exists(this._timeoutId)},enumerable:false,configurable:true});t.prototype.onTimeout=function(t){return this.clear(),this._didTimeout=t,this};t.prototype.start=function(){var t=this;return this.clear(),this._timeoutId=setTimeout((function(){t._didTimeout()}),this._milliseconds),this};t.prototype.clear=function(){return clearTimeout(this._timeoutId),this._timeoutId=null,this};return t}();t("C",Y);var Z=t("Y",(function(t){return new Promise((function(e){return setTimeout(e,t)}))}));function R(){return Math.random().toString().substr(2)}function U(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}var W=t("R",Object.freeze({__proto__:null,uid:R,uuid:U,suid:function(){return Symbol(R())},suuid:function(){return Symbol(U())}}));var G=Object.freeze({__proto__:null,pattern:function(t){return t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\")},escape:function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/#:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?#]+=[^=?#]*(&[^=?#]+=[^=?#]*)*(#.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i})}}}));
|
@@ -1,3 +0,0 @@
|
|
1
|
-
class t{static isNull(e){return null===e}static isEmpty(e){return t.isString(e)&&""===e||t.isArray(e)&&e.length<1||t.isObjectLiteral(e)&&Object.keys(e).length<1}static isUndefined(e){return void 0===e}static isZero(e){return 0===e}static exists(e){return !(t.isUndefined(e)||t.isNull(e))}static isNullOrEmpty(e){return !t.exists(e)||t.isEmpty(e)}static isArray(e){return Array.isArray(e)}static isBool(e){return "boolean"==typeof e}static isTrue(e){return t.isBool(e)&&!0===e}static isFalse(e){return t.isBool(e)&&!1===e}static isDate(e){return e instanceof Date}static isNumber(e){return ("number"==typeof e||e instanceof Number)&&!isNaN(e)}static isEven(e){return this.isNumber(e)&&!this.isZero(e)&&e%2==0}static isOdd(e){return this.isNumber(e)&&!this.isZero(e)&&!this.isEven(e)}static isString(e){return "string"==typeof e||e instanceof String}static isFunction(e){return e instanceof Function}static isAsyncFunction(e){try{return "AsyncFunction"===Object.getPrototypeOf(e).constructor.name||t.isFunction(e)&&/^async/.test(e.toString())||t.isFunction(e().then)}catch(e){return !1}}static isPromise(e){return e instanceof Promise}static isObject(e){return t.exists(e)&&"object"==typeof e&&!(t.isBool(e)||t.isNumber(e)||t.isDate(e)||t.isArray(e)||t.isString(e)||t.isFunction(e))}static isObjectLiteral(e){return t.isObject(e)&&e.constructor==={}.constructor}static isTruthy(e){return !t.isFalsy(e)}static isFalsy(e){return t.isZero(e)||t.isFalse(e)||t.isNullOrEmpty(e)||isNaN(e)}}function e(...e){return "".concat(...e)}function r(e,...t){return t.reduce(((e,t,r)=>e.replace(new RegExp(`\\{${r}\\}`,"g"),t&&t.toString?t.toString():t)),e)}function i(e){return s(n(e))}function s(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/^[\s\n]*/,""):e}function n(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/[\s\n]*$/,""):e}var a=Object.freeze({__proto__:null,build:e,chunk:function(e,r=0){if(!t.isString(e)||Number.isNaN(r)||r<0)return [];if(r<e.length){let t=0;const n=r||e.length,s=[];for(;t<e.length;)s.push(e.slice(t,t+n)),t+=n;return s}return [e]},format:r,trim:i,trimStart:s,trimEnd:n,capitalize:function(e=""){return (e||"").charAt(0).toUpperCase()+(e||"").slice(1).toLowerCase()},mask:function(e,r,n="_"){return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((e,t)=>e.replace(new RegExp(n),t)),r)},unmask:function(e,r,n="_"){const s=new RegExp(n);return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((e,t,n)=>!s.test(t)&&s.test(r.charAt(n))?e+t:e),"")}});function h(e,t){try{return e()}catch{return t}}let l;h.async=async(e,t)=>{try{return await e()}catch{return t}};class d{constructor(e,t,r){if(t<1||t>12)throw new Error("Invalid month at Assert.DayPoint");if(r<1||r>y(t,e))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(e,t-1,r):new Date,this._day=this._value.getDay(),this._date=r,this._month=t,this._year=e;}get value(){return this._value}get day(){return this._day}get date(){return this._date}get month(){return this._month}get year(){return this._year}get shortYear(){const e=this._year.toString();return parseInt(e.substr(e.length-2))}get isWeekday(){const e=this._day;return e>0&&e<6}get isWeekend(){return !this.isWeekday}get isLeapYear(){return f(this._year)}get nextDay(){return p(this,1,0,0)}get prevDay(){return p(this,-1,0,0)}get nextMonth(){return p(this,0,1,0)}get prevMonth(){return p(this,0,-1,0)}get nextYear(){return p(this,0,0,1)}get prevYear(){return p(this,0,0,-1)}get firstDayOfMonth(){return new d(this._year,this._month,1)}get lastDayOfMonth(){return new d(this._year,this._month,y(this._month,this._year))}add(e,t,r){function n(e,t,r){let n=e,s=t;for(;s--;)n=n[r];return n}const{abs:s}=Math,o=s(e),i=s(r),a=s(t),c=r<0?"prevDay":"nextDay",u=t<0?"prevMonth":"nextMonth";return n(n(n(this,o,e<0?"prevYear":"nextYear"),a,u),i,c)}isBefore(e){return !(this.isAfter(e)||this.equals(e))}isAfter(e){const t=this._year,r=e.year,n=this._month,s=e.month;return t>r||t===r&&n>s||t===r&&n===s&&this._date>e.date}equals(e){return this._year===e.year&&this._month===e.month&&this._date===e.date}toString(e="mm/dd/yyyy"){const t=/y{3,}/i.test(e)?this._year:this.shortYear,n=this._month,s=this._date,o=/m{2}/i.test(e)&&n<10?"0{1}":"{1}",i=/d{2}/i.test(e)&&s<10?"0{2}":"{2}";return r(e.replace(/y+/gi,"{0}").replace(/m+/gi,o).replace(/d+/gi,i),t,n,s)}toDate(){return this._value}toJson(){return this._value.toJSON()}static canParse(e){return t.isString(e)||t.isNumber(e)||t.isDate(e)?!isNaN(new Date(e).valueOf()):e instanceof d}static parse(e){if(e instanceof d)return e;let n=t.isString(e)?i(e).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):e;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(n)){const e=n.split("-"),[t]=e;e.push(t),e.shift(),n=e.join("/");}const s=new Date(n);if(!t.exists(n)||Number.isNaN(s.valueOf()))throw new Error(r("Cannot parse value= {0}",n));return new d(s.getFullYear(),s.getMonth()+1,s.getDate())}static tryParse(e){return h((()=>d.parse(e)),null)}static assumeNow(e){l=d.parse(e);}static get today(){return l||d.parse(new Date)}}function y(e,r){return 2===e?f(r)?29:28:e<8&&t.isEven(e)||e>7&&t.isOdd(e)?30:31}function f(t){const r=t.toString().split(/\B/);return parseFloat(e(r[r.length-2],r[r.length-1]))%4==0}function p(e,t,r,n){const s=e.month,o=e.year,i=e.date,a=r,c=n;let u=i+t,l=s+a,h=o+c;if(i+t>y(s,o)&&(u=1,l=s+a+1),i+t<1){const t=e.prevMonth;u=y(t.month,t.year),l=s+a-1;}return l>12&&(l=1,h=o+c+1),l<1&&(l=12,h=o+c-1),new d(h,l,u)}function m(e,t=0){const r=Math.pow(10,-t);return Math.round(parseFloat((e*r).toFixed(Math.abs(t))))/r}function g(e,t=0){return m(e+5*Math.pow(10,t-1),t)}function _(e,t=0){return 0===e?0:m(e-5*Math.pow(10,t-1),t)}function w(e,t=0){return e<0?g(e,t):_(e,t)}function x(e){const t=(e,r=0,n=1)=>0<e?t(--e,n,r+n):r;return t(e)}function v(e){let t=0,r=1,n=0;for(;e>1;)n=t,t=r,r+=n,e--;return e<1?t:r}function b(e,t=0){const r=parseInt(e);return Number.isNaN(r)?t:r}var N=Object.freeze({__proto__:null,random:function(e=0,t=1){return Math.random()*(t-e)+e},round:m,roundUp:g,roundDown:_,roundTowardZero:w,gcd:function e(t,r){return 0===r?Math.abs(t):e(r,t%r)},fib:x,fib2:v,fibArray:function(e){return Array(e).fill(0).map((()=>x(--e))).reverse()},fib2Array:function(e){return Array(e).fill(0).map((()=>v(--e))).reverse()},tryParseInt:b,tryParseFloat:function(e,t=0){const r=parseFloat(e);return Number.isNaN(r)?t:r}});class ${constructor(e=0,r=0){if(!t.isNumber(e)||!t.isNumber(r))throw new Error("Coord requires numeric x and y values");this._x=e,this._y=r;}get x(){return this._x}get y(){return this._y}get value(){return {x:this.x,y:this.y}}get half(){return this.divide(new $(2,2))}get abs(){return new $(Math.abs(this.x),Math.abs(this.y))}equals(e){return this.x===e.x&&this.y===e.y}add(e){return new $(this.x+e.x,this.y+e.y)}subtract(e){return new $(this.x-e.x,this.y-e.y)}multiply(e){return new $(this.x*e.x,this.y*e.y)}divide(e){return new $(this.x/e.x,this.y/e.y)}round(e=0){return new $(m(this.x,e),m(this.y,e))}toString(){return `(${this.x},${this.y})`}static canParse(e){return t.isArray(e)?!(Number.isNaN(e[0])||Number.isNaN(e[1])):t.isObjectLiteral(e)&&"x"in e&&"y"in e?!(Number.isNaN(e.x)||Number.isNaN(e.y)):e instanceof $}static parse(e){return t.exists(e)?e instanceof $?e:t.isArray(e)?new $(e[0],e[1]):t.isObjectLiteral(e)&&t.exists(e.x)&&t.exists(e.y)?new $(e.x,e.y):null:null}static tryParse(e){return h((()=>$.parse(e)),null)}}class F extends ${constructor(e=0,t=0){super(e,t),this._lengthSquared=Math.pow(e,2)+Math.pow(t,2),this._magnitude=Math.sqrt(this._lengthSquared),this._unitNormalX=0===e&&0===t?0:e/this._magnitude,this._unitNormalY=0===e&&0===t?0:t/this._magnitude;}get magnitude(){return this._magnitude}get isZero(){return 0===this.x&&0===this.y}get normal(){return new F(this._unitNormalX,this._unitNormalY)}get invert(){return new F(-this.x,-this.y)}get norm(){return new F(Math.abs(this.x),Math.abs(this.y))}get perpendicular(){return new F(-this.y,this.x)}equals(e){return e instanceof F&&this.x===e.x&&this.y===e.y}add(e){return e instanceof F?new F(this.x+e.x,this.y+e.y):null}dot(e){return e instanceof F?this.x*e.x+this.y*e.y:null}perpendicularAtTo(e){if(!(e instanceof F))return null;const t=e.add(this.projectionOfOnto(e).invert);return new F(t.x,t.y)}projectionOfOnto(e){if(!(e instanceof F))return null;const t=e.normal.scale(this.dot(e.normal));return new F(t.x,t.y)}scale(e){return new F(this.x*e,this.y*e)}unitNormalDot(e){return e instanceof F?this.normal.x*e.normal.x+this.normal.y*e.normal.y:null}reflect(e){if(!(e instanceof F))return null;if(e.isZero)return this;const t=e.normal;return this.add(t.scale(2*t.dot(this)).invert)}round(e=0){return new F(m(this.x,e),m(this.y,e))}}class O extends ${constructor(e,t){super(e,t);}isAbove(e){return this.y<e.y}isBelow(e){return this.y>e.y}isLeftOf(e){return this.x<e.x}isRightOf(e){return this.x>e.x}distanceFrom(e){return new F(this.x-e.x,this.y-e.y)}distanceTo(e){return this.distanceFrom(e).invert}static canParse(e){return e instanceof O||$.canParse(e)}static parse(e){if(e instanceof O)return e;const t=$.parse(e);return new O(t.x,t.y)}static tryParse(e){return h((()=>O.parse(e)),null)}}function k(){return Math.random().toString().substr(2)}function Z(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}var R=Object.freeze({__proto__:null,uid:k,uuid:Z,suid:function(){return Symbol(k())},suuid:function(){return Symbol(Z())}});Object.freeze({__proto__:null,pattern:e=>e.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/#:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?#]+=[^=?#]*(&[^=?#]+=[^=?#]*)*(#.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});class Cookie{static serialize(e,r=defaultParams){try{if(t.isUndefined(e))throw new Error;const{name:n,expires:s,path:o,domain:i,secure:a}=Object.assign(defaultParams,r),c=kvPair(n,e),u=d.canParse(s)?kvPair("; expires",d.parse(s).toDate().toGMTString()):"",l=o?kvPair("; path",o.split("/").map((e=>encodeURIComponent(e))).join("/")):"",h=i?kvPair("; domain",encodeURIComponent(i)):"";return c+u+l+h+(a?"; secure":"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}}static deserialize(e){try{return read$1(e)[1]}catch(t){throw new Error(a.format("Cannot deserialize {0}",e))}}static read(e){try{const[t,r]=read$1(e);return {name:t,value:r}}catch(t){throw new Error(a.format("Cannot read {0}",e))}}}const defaultParams={name:R.uid(),expires:d.today.nextYear.toDate(),path:"/",domain:null,secure:!1},kvPair=(e,t)=>`${e}=${t}`,read$1=e=>/;/.test(e)?e.substring(0,e.search(";")).split("="):e.split("=");class Device{static get orientation(){const{screen:e}=window,t=(e.orientation||{}).type||e.mozOrientation||e.msOrientation,r=window.orientation;return t===Device.landscapePrimary||90===r?Device.landscapePrimary:t===Device.landscapeSecondary||-90===r?Device.landscapeSecondary:t===Device.portraitPrimary||0===r?Device.portraitPrimary:t===Device.portraitSecondary||180===r?Device.portraitSecondary:void 0}static get landscapePrimary(){return "landscape-primary"}static get landscapeSecondary(){return "landscape-secondary"}static get portraitPrimary(){return "portrait-primary"}static get portraitSecondary(){return "portrait-secondary"}static get isMobile(){return /Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(window.navigator.userAgent)}}const onPreventScroll=new Set,onResumeScroll=new Set;let scroll,lastPageYOffset,lastPageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1;class Document{static get scrollbarWidth(){return window.innerWidth-document.documentElement.clientWidth}static get isScrollPrevented(){return t.exists(Document.scrollY)}static preventScroll(){try{onPreventScroll.forEach((e=>e()));}catch(e){}Document.position=document.body.style.position,Document.offsetY=document.body.style.top,Document.offsetX=document.body.style.left,Document.width=document.body.style.width,Document.height=document.body.style.height,Document.documentWidth=document.documentElement.style.width,Document.documentWidth=document.documentElement.style.width,Document.documentHeight=document.documentElement.style.height,Document.overflowY=document.documentElement.style.overflowY,Document.scrollX=window.scrollX||window.pageXOffset,Document.scrollY=window.scrollY||window.pageYOffset;const{scrollbarWidth:e}=Document;document.body.style.position="fixed",document.body.style.left=`-${Document.scrollX}px`,document.body.style.top=`calc(-${Document.scrollY}px - ${window.getComputedStyle(document.body)["padding-top"]} - ${window.getComputedStyle(document.body)["margin-top"]})`,document.body.style.width=`calc(100vw - ${e}px - ${window.getComputedStyle(document.body)["padding-left"]} - ${window.getComputedStyle(document.body)["padding-right"]} - ${window.getComputedStyle(document.body)["margin-left"]} - ${window.getComputedStyle(document.body)["margin-right"]})`,document.documentElement.style.width="100wh",document.documentElement.style.height="100vh",document.documentElement.style.overflowY=e&&"scroll";}static resumeScroll(){try{onResumeScroll.forEach((e=>e()));}catch(e){}document.body.style.position=Document.position,document.body.style.top=Document.offsetY,document.body.style.left=Document.offsetX,document.body.style.width=Document.width,document.body.style.height=Document.height,document.documentElement.style.width=Document.documentWidth,document.documentElement.style.height=Document.documentHeight,document.documentElement.style.overflowY=Document.overflowY,window.scrollTo(Document.scrollX,Document.scrollY),Document.position=null,Document.offsetY=null,Document.offsetX=null,Document.width=null,Document.height=null,Document.documentWidth=null,Document.documentHeight=null,Document.overflowY=null,Document.scrollX=null,Document.scrollY=null;}static onPreventScroll(e){onPreventScroll.add(e);}static onResumeScroll(e){onResumeScroll.add(e);}static get scroll(){return scroll||(scroll=new Scroll,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,window.addEventListener("unload",(()=>scroll.unload()))),scroll}}const updateScrollValue=()=>{const e=window.pageYOffset,t=window.pageXOffset;scrollIsDown=e>lastPageYOffset,scrollIsUp=e<lastPageYOffset,scrollIsRight=t>lastPageXOffset,scrollIsLeft=t<lastPageXOffset,lastPageYOffset=e||window.pageYOffset,lastPageXOffset=t||window.pageXOffset;};class Scroll{constructor(){document.addEventListener("scroll",updateScrollValue,{passive:!0});}get down(){return scrollIsDown}get up(){return scrollIsUp}get left(){return scrollIsLeft}get right(){return scrollIsRight}unload(){document.removeEventListener("scroll",updateScrollValue),scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scroll=null;}}function encodeBase64(e,r=!1){if(!t.isString(e))throw new Error("Cannot encode non-string values.");const n=window.btoa(e);return r?n.replace(/=/g,""):n}function decodeBase64(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return window.atob(e)}function encodeUtf8(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return decodeURIComponent(encodeURIComponent(e))}function decodeUtf8(e){if(!t.isString(e))throw new Error("Cannot decode non-string values.");return decodeURIComponent(encodeURIComponent(e))}class Json{static serialize(e){if(t.isFunction(e))return;if(!t.exists(e))return e;if(!t.isArray(e)&&!t.isObject(e))return e.toString();const r=t.isArray(e)?"[{0}]":"{{0}}",n=[];return Object.keys(e).forEach((r=>{const s=e[r];if(t.isUndefined(s))return;const o=t.isNumber(s)?s:t.isDate(s)?`"${d.parse(s).toJson()}"`:t.isString(s)?`"${serializeString(s)}"`:Json.serialize(s);n[n.length]=(t.isObject(e)&&!t.isArray(e)?`"${r}":`:"")+o;})),a.format(r,n)}static deserialize(e){return /function|(=$)/i.test(e)?e:Json.deserialize_unsafe(e)}static deserialize_unsafe(value){try{const result=t.isString(value)?eval(`(${deserializeString(value)})`):value;return t.exists(result)?t.isNullOrEmpty(result.tagName)&&(t.isObject(result)||t.isArray(result))?(Object.keys(result).forEach((e=>{const r=result[e];(t.isObject(r)||t.isArray(r))&&(result[e]=Json.deserialize(r)),/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(r)&&d.canParse(r)&&(result[e]=d.parse(r).toDate());})),result):/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(result)?d.parse(result).toDate():result:result}catch(e){throw new Error(a.format("Cannot deserialize {0}",value))}}static encode(e,t=!1){try{return encodeBase64(Json.serialize(e),t)}catch(t){throw new Error(a.format("Cannot encode {0}",e))}}static decode(e){try{return Json.deserialize(decodeBase64(e))}catch(t){throw new Error(a.format("Cannot decode {0}",e))}}}function serializeString(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\//g,"/").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}function deserializeString(e){return e.replace(/\\\//g,"/").replace(/\\\\f/g,"\\f").replace(/\\\\n/g,"\\n").replace(/\\\\r/g,"\\r").replace(/\\\\t/g,"\\t")}class QueryString{static serialize(e){try{let r="";return Object.keys(e).forEach((n=>{const s=e[n],o=t.isDate(s)?d.parse(s).toJson():s;r+=a.format("&{0}={1}",encodeURIComponent(n),encodeURIComponent(Json.serialize(o)));})),r.replace(/^&/,"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}}static deserialize(e){if(/\??[^\s"'<>]+=[^\s"'<>]+/.test(e)){const t=e.replace(/.*\?/,"").split("&"),r={};return t.forEach((e=>{const[t,n]=e.split("="),s=/^null$|^true$|^false$|^\d+(\.\d+?)?$|^\[.*]$|^{.*}$/.test(n)?n:`"${n}"`;r[decodeURIComponent(t)]=Json.deserialize(decodeURIComponent(s));})),r}}}var worker=e=>{const t=e.toString(),r=t.indexOf("{")+1,n=t.lastIndexOf("}"),s=/(=>)/.test(t)&&!/{/gm.test(t)?`${t.replace("=>","=> {")}}`:t.substring(r,n),o=new self.Blob([s],{type:"text/javascript"});return new Worker(URL.createObjectURL(o))},connection=()=>{const e=self.indexedDB||self.mozIndexedDB||self.webkitIndexedDB||self.msIndexedDB;function t(t){if(!/^[A-z][A-z0-9]*$/.test(t))throw new Error("Invalid collection name. Must be alphanumeric and begin with an alpha character");return new Promise(((r,n)=>{try{const s=e.open(t);s.onerror=()=>{n(new Error("Error opening IndexedDB."));},s.onupgradeneeded=e=>{e.target.result.createObjectStore(t,{autoIncrement:!1});},s.onsuccess=()=>{r(s.result);};}catch(e){n(e);}}))}onmessage=function(e){const r=e.data[0],n=e.data[1],s=e.data[2];try{"read"===r&&function(e){return t(e).then((t=>new Promise(((r,n)=>{const s=t.transaction([e],"readonly").objectStore(e).get(1);s.onsuccess=e=>{t.close(),r(e.target.result);},s.onerror=()=>{t.close(),n(s.error);};}))))}(n).then((e=>postMessage([r,n,e]))).catch((e=>postMessage(["error",e.message]))),"write"===r&&function(e,r){return t(e).then((t=>new Promise(((n,s)=>{const o=t.transaction([e],"readwrite").objectStore(e).put(r,1);o.onsuccess=e=>{t.close(),n(e.target.result);},o.onerror=()=>{t.close(),s(o.error);};}))))}(n,s).then((e=>postMessage([r,n,e]))).catch((e=>postMessage(["error",e.message]))),"remove"===r&&function(e){return t(e).then((t=>new Promise(((r,n)=>{const s=t.transaction([e],"readwrite").objectStore(e).delete(1);s.onsuccess=e=>{t.close(),r(e.target.result);},s.onerror=()=>{t.close(),n(s.error);};}))))}(n).then((e=>postMessage([r,n,e]))).catch((e=>postMessage(["error",e.message]))),"drop"===r&&function(e){return t(e).then((t=>(t.onversionchange=()=>t.close(),new Promise(((t,r)=>{const n=indexedDB.deleteDatabase(e);n.onsuccess=()=>{t(!0);},n.onerror=()=>{r(n.error);},n.onblocked=()=>{r(n.error);};})))))}(n).then((e=>postMessage([r,n,e]))).catch((e=>postMessage(["error",e.message])));}catch(e){postMessage(["error",e.message]);}};};const validCollection=/^[A-z]+$/;let connectionThread;class Store{static get connected(){return t.exists(connectionThread)}static connect(){try{return Store.connected||(connectionThread=worker(connection)),Store}catch{throw new Error("Store could not connect.")}}static disconnect(){try{if(Store.connected)return connectionThread.terminate(),connectionThread=null,Store}catch{throw new Error("Store could not be disconnected.")}}static async read(e){return new Promise(((r,n)=>{if(validCollection.test(e))if(t.exists(connectionThread)){const t=s=>{const[o,i,a]=s.data;"error"===o&&i===e&&(n(new Error(a)),connectionThread.removeEventListener("message",t)),"read"===o&&i===e&&(r(a),connectionThread.removeEventListener("message",t));};connectionThread.addEventListener("message",t),connectionThread.postMessage(["read",e]);}else n(new Error("Cannot read disconnected Store."));else n(new Error("Invalid collection name must contain only alpha characters."));}))}static async write(e,r){return new Promise(((n,s)=>{if(validCollection.test(e))if(t.exists(connectionThread)){const t=r=>{const[o,i,a]=r.data;"error"===o&&i===e&&(s(new Error(a)),connectionThread.removeEventListener("message",t)),"write"===o&&i===e&&(n(a),connectionThread.removeEventListener("message",t));};connectionThread.addEventListener("message",t),connectionThread.postMessage(["write",e,r]);}else s(Error("Cannot write disconnected Store."));else s(new Error("Invalid collection name must contain only alpha characters."));}))}static async remove(e){return new Promise(((r,n)=>{if(validCollection.test(e))if(t.exists(connectionThread)){const t=s=>{const[o,i,a]=s.data;"error"===o&&i===e&&(n(new Error(a)),connectionThread.removeEventListener("message",t)),"remove"===o&&i===e&&(r(a),connectionThread.removeEventListener("message",t));};connectionThread.addEventListener("message",t),connectionThread.postMessage(["remove",e]);}else n(Error("Cannot write disconnected Store."));else n(new Error("Invalid collection name must contain only alpha characters."));}))}static async delete(e){return new Promise(((r,n)=>{if(!t.isNullOrEmpty(e)&&validCollection.test(e))if(t.exists(connectionThread)){const t=s=>{const[o,i,a]=s.data;"error"===o&&i===e&&(n(new Error(a)),connectionThread.removeEventListener("message",t)),"drop"===o&&i===e&&(r(a),connectionThread.removeEventListener("message",t));};connectionThread.addEventListener("message",t),connectionThread.postMessage(["drop",e]);}else n(Error("Cannot drop disconnected Store."));else n(new Error("Invalid collection name must contain only alpha characters."));}))}static async save(){try{return await navigator.storage.persist()}catch(e){return !1}}static async estimate(){try{const e=navigator.storage||navigator.webkitPersistentStorage,{quota:t=NaN,usage:r=NaN}=await e.estimate()||{};return {quota:t,usage:r,free:`${N.roundUp((t-r)/t*100,-4)}%`,used:`${N.roundUp(r/t*100,-4)}%`}}catch(e){return {}}}static async saved(){try{return await navigator.storage.persisted()}catch{return !1}}}class Dto{constructor(e={},r){if(!t.isArray(e)&&!t.isObject(e))throw new TypeError("Dto value must be Array or object literal");this._value=e,this._name=r;}get value(){return t.isArray(this._value)?[...this._value]:{...this._value}}get name(){return this._name}set name(e){this._name=e;}read(e){return t.exists(e)?!t.isArray(this._value)||t.isNumber(e)?this._value[e]:void 0:this.value}remove(e){return t.isString(e)&&t.exists(e)&&delete this._value[e],t.isFunction(e)&&this._value.splice(this._value.findIndex(e),1),this}write(e,r){return t.isNullOrEmpty(e)||(t.isArray(this._value)?(t.isUndefined(r)&&this._value.push(e),t.isNumber(e)&&(this._value[e]=r)):this._value[e]=r),this}update(e){const r=Object.assign(this.value,e);return this._value=t.isArray(this._value)?Object.values(r):r,this}clear(){return this._value=t.isArray(this._value)?[]:{},this}async save(){return Store.connect(),await Store.write(this.name,this.encode(!0,!0)),await Store.save()}async saveAs(e){return this.name=e,Store.connect(),await Store.delete(this.name),this.save()}async delete(){return Store.connect(),await Store.delete(this.name),this}encode(e=!1,t=!1){const r=Json.serialize(this._value);return encodeBase64(t?encodeURIComponent(r):r,e)}static decode(e,t){const r=decodeBase64(e),n=decodeURIComponent(r);return new Dto(Json.deserialize(n),t)}toFormData(){const{value:e}=this,t=new window.FormData;return Object.keys(e).forEach((r=>t.append(r,e[r]))),t}toJson(){return Json.serialize(this._value)}toQueryString(){return QueryString.serialize(this._value)}static parseFormData(e){const t={};for(const[r,n]of e.entries())t[r]=n;return new Dto(t)}static parseJson(e){return new Dto(Json.deserialize(e))}static parseJwt(e){try{const[,t]=e.split(".");return new Dto(JSON.parse(window.atob(t)))}catch(t){throw new SyntaxError(`Cannot parseJwt: ${e}`)}}static parseQueryString(e){return new Dto(QueryString.deserialize(e))}static async load(e){return Store.connect(),Store.read(e).then((t=>{try{return Dto.decode(t,e)}catch{return}})).catch((()=>{}))}}class Event{static mute(e){return !!t.exists(e)&&(t.isFunction(e.preventDefault)&&e.preventDefault(),t.isFunction(e.stopPropagation)&&e.stopPropagation(),t.isFunction(e.stopImmediatePropagation)&&e.stopImmediatePropagation(),t.exists(e.cancelBubble)&&(e.cancelBubble=!0),!1)}}const readData=e=>new window.FormData(e),read=e=>{const r={};try{readData(e).forEach(((e,n)=>{const s=r[n];t.isArray(s)?r[n].push(e):t.exists(s)?r[n]=[r[n],e]:r[n]=e;}));}catch(t){[...e.elements].forEach((e=>{const{name:t,type:n,value:s,files:o}=e;if("file"===n)r[t]=o[0];else if("checkbox"===n||"radio"===n)e.checked&&(r[t]=s);else if(e.multiple){const n=[];e.querySelectorAll("option").forEach((e=>e.selected&&n.push(e.value))),r[t]=n.length<2?n[0]:n;}else r[t]=s;}));}return r},readJson=e=>JSON.stringify(read(e)),write=(e,r)=>{e.querySelectorAll("input, textarea").forEach((e=>{t.exists(r[e.name])&&("checkbox"===e.type||"radio"===e.type?e.checked=r[e.name]===e.value:e.value=r[e.name]);})),e.querySelectorAll("select").forEach((e=>{t.isArray(r[e.name])?[...e.options].forEach((t=>{t.selected=r[e.name].indexOf(t.value)>=0;})):t.exists(r[e.name])&&(e.value=r[e.name]);}));};var index={read:read,readData:readData,readJson:readJson,write:write};class Key{constructor(e,t,r={}){this.key=e,this.msKey=t||e,this.altKey=r.altKey||!1,this.ctrlKey=r.ctrlKey||!1,this.metaKey=r.metaKey||!1,this.shiftKey=r.shiftKey||!1;}get alt(){const{key:e,msKey:t,ctrlKey:r,metaKey:n,shiftKey:s}=this;return new Key(e,t,{altKey:!0,ctrlKey:r,metaKey:n,shiftKey:s})}get ctrl(){const{key:e,msKey:t,altKey:r,metaKey:n,shiftKey:s}=this;return new Key(e,t,{altKey:r,ctrlKey:!0,metaKey:n,shiftKey:s})}get meta(){const{key:e,msKey:t,altKey:r,ctrlKey:n,shiftKey:s}=this;return new Key(e,t,{altKey:r,ctrlKey:n,metaKey:!0,shiftKey:s})}get shift(){const{key:e,msKey:t,altKey:r,ctrlKey:n,metaKey:s}=this;return new Key(e,t,{altKey:r,ctrlKey:n,metaKey:s,shiftKey:!0})}equals(e){return e instanceof Key&&this.altKey===e.altKey&&this.ctrlKey===e.ctrlKey&&this.metaKey===e.metaKey&&this.shiftKey===e.shiftKey&&(this.key===e.key||this.msKey===e.msKey)}didFire(e){const{code:t,key:r,altKey:n,ctrlKey:s,metaKey:o,shiftKey:i}=e,a="Dead"===r?t:r;return e&&("ANY"===this.key||this.equals(new Key(a,a,{altKey:n,ctrlKey:s,metaKey:o,shiftKey:i})))}static get press(){return "keypress"}static get down(){return "keydown"}static get up(){return "keyup"}static get any(){return new Key("ANY")}static get esc(){return new Key("Escape","Esc")}static get enter(){return new Key("Enter")}static get space(){return new Key(" ","Spacebar")}static get tab(){return new Key("Tab")}static get left(){return new Key("ArrowLeft","Left")}static get right(){return new Key("ArrowRight","Right")}}class Keyboard{static on(e,t,r,n){const s=e=>t.didFire(e)?r(e,t):null;return window.addEventListener(e,s,n),{unsubscribe:()=>{window.removeEventListener(e,s);}}}static onKeyPress(e,t,r){return Keyboard.on(Key.press,e,t,r)}static onKeyDown(e,t,r){return Keyboard.on(Key.down,e,t,r)}static onKeyUp(e,t,r){return Keyboard.on(Key.up,e,t,r)}}class Swipe{constructor(e,t=0){this.didTouchStart=this.didTouchStart.bind(this),this.didTouchEnd=this.didTouchEnd.bind(this),this.didTouchMove=this.didTouchMove.bind(this),e.addEventListener("touchstart",this.didTouchStart,{capture:!1,passive:!0}),e.addEventListener("touchend",this.didTouchEnd,{capture:!1,passive:!0}),e.addEventListener("touchmove",this.didTouchMove,{capture:!1,passive:!0}),this.element=e,this.tolerance=t,this.didSwipeLeft=()=>{},this.didSwipeRight=()=>{},this.didMove=()=>{};}onLeft(e){return this.didSwipeLeft=e,this}onRight(e){return this.didSwipeRight=e,this}onMove(e){return this.didMove=e,this}destroy(){const{element:e}=this;return e.removeEventListener("touchstart",this.didTouchStart,!1),e.removeEventListener("touchend",this.didTouchEnd,!1),e.removeEventListener("touchmove",this.didTouchMove,!1),this}didTouchStart({touches:[e]}){this.touchStartPoint=new O(e.pageX,e.pageY);}didTouchEnd(e){const[t]=e.changedTouches,{touchStartPoint:r}=this,n=new O(t.pageX,t.pageY);n.isLeftOf(r)&&Math.abs(n.distanceFrom(r).x)>this.tolerance&&this.didSwipeLeft(e),n.isRightOf(r)&&Math.abs(n.distanceFrom(r).x)>this.tolerance&&this.didSwipeRight(e);}didTouchMove(e){const[t]=e.touches,{touchStartPoint:r}=this,n=new O(t.pageX,t.pageY);this.didMove({distance:n.distanceFrom(r),up:n.isAbove(r),down:n.isBelow(r),left:n.isLeftOf(r),right:n.isRightOf(r)});}}
|
2
|
-
|
3
|
-
export { Document as D, Event as E, Key as K, Swipe as S, Device as a, index as i };
|
@@ -1 +0,0 @@
|
|
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 __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function i(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):a(e.value).then(i,s)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:r.label++;return{value:i[1],done:false};case 5:r.label++;a=i[1];i=[0];continue;case 7:i=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){r=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){r.label=i[1];break}if(i[0]===6&&r.label<o[1]){r.label=o[1];o=i;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(i);break}if(o[2])r.ops.pop();r.trys.pop();continue}i=t.call(e,r)}catch(s){i=[6,s];a=0}finally{n=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","ku4web-components");var a=e("B",{allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,cssVarShim:false,devTools:false,disconnectedCallback:true,dynamicImportShim:false,element:false,event:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:true,isTesting:true,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:true,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,safari10:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,shadowDomShim:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:false,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true});var o={};var i;var s;var l;var f;var u=0;var c=false;var d=false;var $=false;var v=false;var h=null;var m=0;var p=false;var g=e("w",typeof window!=="undefined"?window:{});var y=e("C",a.cssVarShim?g.CSS:null);var b=e("d",g.document||{head:{}});var w=e("H",g.HTMLElement||function(){function e(){}return e}());var S=e("p",{$flags$:0,$resourcesUrl$:"",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 N=function(e){Object.assign(S,e)};var R=a.shadowDomShim&&a.shadowDom?function(){return(b.head.attachShadow+"").indexOf("[native")>-1}():true;var C=function(){var e=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(t){}return e}();var L=e("a",(function(e){return Promise.resolve(e)}));var x=a.constructableCSS?function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}():false;var T={};var k=function(e,t,r,n){if(a.hostListener&&r){if(a.hostListenerTargetParent){if(n){r=r.filter((function(e){var t=e[0];return t&32}))}else{r=r.filter((function(e){var t=e[0];return!(t&32)}))}}r.map((function(r){var n=r[0],o=r[1],i=r[2];var s=a.hostListenerTarget?D(e,n):e;var l=_(t,i);var f=A(n);S.ael(s,o,l,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return S.rel(s,o,l,f)}))}))}};var _=function(e,t){return function(r){try{if(a.lazyLoad){if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}else{e.$hostElement$[t](r)}}catch(n){jt(n)}}};var D=function(e,t){if(a.hostListenerTargetDocument&&t&4)return b;if(a.hostListenerTargetWindow&&t&8)return g;if(a.hostListenerTargetBody&&t&16)return b.body;if(a.hostListenerTargetParent&&t&32)return e.parentElement;return e};var A=function(e){return C?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var E="r";var O="o";var P="s";var I="t";var z="s-id";var j="sty-id";var M="c-id";var B="{visibility:hidden}[hydrated]{visibility:inherit}";var U="http://www.w3.org/1999/xlink";var F=function(e,t){if(t===void 0){t=""}if(a.profile&&performance.mark){var r="st:"+e+":"+t+":"+u++;performance.mark(r);return function(){return performance.measure("[Stencil] "+e+"() <"+t+">",r)}}else{return function(){return}}};var H=function(e,t){if(a.profile&&performance.mark){if(performance.getEntriesByName(e).length===0){performance.mark(e)}return function(){if(performance.getEntriesByName(t).length===0){performance.measure(t,e)}}}else{return function(){return}}};var V=function(e){var t;var r=Ot(e);if(!r){return undefined}var n=r.$flags$;var a=r.$hostElement$;return t={renderCount:r.$renderCount$,flags:{hasRendered:!!(n&2),hasConnected:!!(n&1),isWaitingForChildren:!!(n&4),isConstructingInstance:!!(n&8),isQueuedForUpdate:!!(n&16),hasInitializedComponent:!!(n&32),hasLoadedComponent:!!(n&64),isWatchReady:!!(n&128),isListenReady:!!(n&256),needsRerender:!!(n&512)},instanceValues:r.$instanceValues$,ancestorComponent:r.$ancestorComponent$,hostElement:a,lazyInstance:r.$lazyInstance$,vnode:r.$vnode$,modeName:r.$modeName$,onReadyPromise:r.$onReadyPromise$,onReadyResolve:r.$onReadyResolve$,onInstancePromise:r.$onInstancePromise$,onInstanceResolve:r.$onInstanceResolve$,onRenderResolve:r.$onRenderResolve$,queuedListeners:r.$queuedListeners$,rmListeners:r.$rmListeners$},t["s-id"]=a["s-id"],t["s-cr"]=a["s-cr"],t["s-lr"]=a["s-lr"],t["s-p"]=a["s-p"],t["s-rc"]=a["s-rc"],t["s-sc"]=a["s-sc"],t};var W=function(){if(a.devTools){var e=g.stencil=g.stencil||{};var t=e.inspect;e.inspect=function(e){var r=V(e);if(!r&&typeof t==="function"){r=t(e)}return r}}};var q=new WeakMap;var Q=function(e,t,r){var n=qt.get(e);if(x&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}qt.set(e,n)};var K=function(e,t,r,n){var o=J(t,r);var i=qt.get(o);if(!a.attachStyles){return o}e=e.nodeType===11?e:b;if(i){if(typeof i==="string"){e=e.head||e;var s=q.get(e);var l=void 0;if(!s){q.set(e,s=new Set)}if(!s.has(o)){if(a.hydrateClientSide&&e.host&&(l=e.querySelector("["+j+'="'+o+'"]'))){l.innerHTML=i}else{if(a.cssVarShim&&S.$cssShim$){l=S.$cssShim$.createHostStyle(n,o,i,!!(t.$flags$&10));var f=l["s-sc"];if(f){o=f;s=null}}else{l=b.createElement("style");l.innerHTML=i}if(a.hydrateServerSide||a.hotModuleReplacement){l.setAttribute(j,o)}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(o)}}}else if(a.constructableCSS&&!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return o};var X=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var o=F("attachStyles",t.$tagName$);var i=K(a.shadowDom&&R&&r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$modeName$,r);if((a.shadowDom||a.scoped)&&a.cssAnnotations&&n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(a.scoped&&n&2){r.classList.add(i+"-s")}}o()};var J=function(e,t){return"sc-"+(a.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$)};var G=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(e){return Qt.map((function(t){return t(e)})).find((function(e){return!!e}))};var Z=function(e){return Qt.push(e)};var ee=function(e){return Ot(e).$modeName$};var te={};var re="http://www.w3.org/2000/svg";var ne="http://www.w3.org/1999/xhtml";var ae=function(e){return e!=null};var oe=function(e){e=typeof e;return e==="object"||e==="function"};var ie=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var o=null;var i=null;var s=null;var l=false;var f=false;var u=[];var c=function(t){for(var r=0;r<t.length;r++){o=t[r];if(Array.isArray(o)){c(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!oe(o)){o=String(o)}else if(a.isDev&&typeof e!=="function"&&o.$flags$===undefined){Bt("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(l&&f){u[u.length-1].$text$+=o}else{u.push(l?se(null,o):o)}f=l}}};c(r);if(t){if(a.isDev&&e==="input"){$e(t)}if(a.vdomKey&&t.key){i=t.key}if(a.slotRelocation&&t.name){s=t.name}if(a.vdomClass){var d=t.className||t.class;if(d){t.class=typeof d!=="object"?d:Object.keys(d).filter((function(e){return d[e]})).join(" ")}}}if(a.isDev&&u.some(fe)){Bt("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(a.vdomFunctional&&typeof e==="function"){return e(t===null?{}:t,u,ue)}var $=se(e,null);$.$attrs$=t;if(u.length>0){$.$children$=u}if(a.vdomKey){$.$key$=i}if(a.slotRelocation){$.$name$=s}return $}));var se=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};if(a.vdomAttribute){r.$attrs$=null}if(a.vdomKey){r.$key$=null}if(a.slotRelocation){r.$name$=null}return r};var le=e("f",{});var fe=function(e){return e&&e.$tag$===le};var ue={forEach:function(e,t){return e.map(ce).forEach(t)},map:function(e,t){return e.map(ce).map(t).map(de)}};var ce=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var de=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return ie.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var r=se(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var $e=function(e){var t=Object.keys(e);var r=t.indexOf("type");var n=t.indexOf("min");var a=t.indexOf("max");var o=t.indexOf("min");var i=t.indexOf("value");if(i===-1){return}if(i<r||i<n||i<a||i<o){Ut('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var ve=function(e,t,r,n,o,i){if(r!==n){var s=zt(e,t);var l=t.toLowerCase();if(a.vdomClass&&t==="class"){var f=e.classList;var u=me(r);var c=me(n);f.remove.apply(f,u.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!u.includes(e)})))}else if(a.vdomStyle&&t==="style"){if(a.updatable){for(var d in r){if(!n||n[d]==null){if(!a.hydrateServerSide&&d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in n){if(!r||n[d]!==r[d]){if(!a.hydrateServerSide&&d.includes("-")){e.style.setProperty(d,n[d])}else{e.style[d]=n[d]}}}}else if(a.vdomKey&&t==="key");else if(a.vdomRef&&t==="ref"){if(n){n(e)}}else if(a.vdomListener&&(a.lazyLoad?!s:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(zt(g,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r){S.rel(e,t,r,false)}if(n){S.ael(e,t,n,false)}}else if(a.vdomPropOrAttr){var $=oe(n);if((s||$&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var v=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=v){e[t]=v}}else{e[t]=n}}catch(m){}}var h=false;if(a.vdomXlink){if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(a.vdomXlink&&h){e.removeAttributeNS(U,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!$){n=n===true?"":n;if(a.vdomXlink&&h){e.setAttributeNS(U,t,n)}else{e.setAttribute(t,n)}}}}};var he=/\s/;var me=function(e){return!e?[]:e.split(he)};var pe=function(e,t,r,n){var o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||te;var s=t.$attrs$||te;if(a.updatable){for(n in i){if(!(n in s)){ve(o,n,i[n],undefined,r,t.$flags$)}}}for(n in s){ve(o,n,i[n],s[n],r,t.$flags$)}};var ge=function(e,t,r,n){var o=t.$children$[r];var f=0;var u;var d;var h;if(a.slotRelocation&&!c){$=true;if(o.$tag$==="slot"){if(i){n.classList.add(i+"-s")}o.$flags$|=o.$children$?2:1}}if(a.isDev&&o.$elm$){Bt("The JSX "+(o.$text$!==null?'"'+o.$text$+'" text':'"'+o.$tag$+'" element')+" node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes")}if(a.vdomText&&o.$text$!==null){u=o.$elm$=b.createTextNode(o.$text$)}else if(a.slotRelocation&&o.$flags$&1){u=o.$elm$=a.isDebug||a.hydrateServerSide?Ee(o):b.createTextNode("")}else{if(a.svg&&!v){v=o.$tag$==="svg"}u=o.$elm$=a.svg?b.createElementNS(v?re:ne,a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$):b.createElement(a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$);if(a.svg&&v&&o.$tag$==="foreignObject"){v=false}if(a.vdomAttribute){pe(null,o,v)}if((a.shadowDom||a.scoped)&&ae(i)&&u["s-si"]!==i){u.classList.add(u["s-si"]=i)}if(o.$children$){for(f=0;f<o.$children$.length;++f){d=ge(e,o,f,u);if(d){u.appendChild(d)}}}if(a.svg){if(o.$tag$==="svg"){v=false}else if(u.tagName==="foreignObject"){v=true}}}if(a.slotRelocation){u["s-hn"]=l;if(o.$flags$&(2|1)){u["s-sr"]=true;u["s-cr"]=s;u["s-sn"]=o.$name$||"";h=e&&e.$children$&&e.$children$[r];if(h&&h.$tag$===o.$tag$&&e.$elm$){ye(e.$elm$,false)}}}return u};var ye=function(e,t){S.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==l&&a["s-ol"]){Ce(a).insertBefore(a,Re(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(t){ye(a,t)}}S.$flags$&=~1};var be=function(e,t,r,n,o,i){var s=a.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;var f;if(a.shadowDom&&s.shadowRoot&&s.tagName===l){s=s.shadowRoot}for(;o<=i;++o){if(n[o]){f=ge(null,r,o,e);if(f){n[o].$elm$=f;s.insertBefore(f,a.slotRelocation?Re(t):t)}}}};var we=function(e,t,r,n,o){for(;t<=r;++t){if(n=e[t]){o=n.$elm$;De(n);if(a.slotRelocation){d=true;if(o["s-ol"]){o["s-ol"].remove()}else{ye(o,true)}}o.remove()}}};var Se=function(e,t,r,n){var o=0;var i=0;var s=0;var l=0;var f=t.length-1;var u=t[0];var c=t[f];var d=n.length-1;var $=n[0];var v=n[d];var h;var m;while(o<=f&&i<=d){if(u==null){u=t[++o]}else if(c==null){c=t[--f]}else if($==null){$=n[++i]}else if(v==null){v=n[--d]}else if(Ne(u,$)){Le(u,$);u=t[++o];$=n[++i]}else if(Ne(c,v)){Le(c,v);c=t[--f];v=n[--d]}else if(Ne(u,v)){if(a.slotRelocation&&(u.$tag$==="slot"||v.$tag$==="slot")){ye(u.$elm$.parentNode,false)}Le(u,v);e.insertBefore(u.$elm$,c.$elm$.nextSibling);u=t[++o];v=n[--d]}else if(Ne(c,$)){if(a.slotRelocation&&(u.$tag$==="slot"||v.$tag$==="slot")){ye(c.$elm$.parentNode,false)}Le(c,$);e.insertBefore(c.$elm$,u.$elm$);c=t[--f];$=n[++i]}else{s=-1;if(a.vdomKey){for(l=o;l<=f;++l){if(t[l]&&t[l].$key$!==null&&t[l].$key$===$.$key$){s=l;break}}}if(a.vdomKey&&s>=0){m=t[s];if(m.$tag$!==$.$tag$){h=ge(t&&t[i],r,s,e)}else{Le(m,$);t[s]=undefined;h=m.$elm$}$=n[++i]}else{h=ge(t&&t[i],r,i,e);$=n[++i]}if(h){if(a.slotRelocation){Ce(u.$elm$).insertBefore(h,Re(u.$elm$))}else{u.$elm$.parentNode.insertBefore(h,u.$elm$)}}}}if(o>f){be(e,n[d+1]==null?null:n[d+1].$elm$,r,n,i,d)}else if(a.updatable&&i>d){we(t,o,f)}};var Ne=function(e,t){if(e.$tag$===t.$tag$){if(a.slotRelocation&&e.$tag$==="slot"){return e.$name$===t.$name$}if(a.vdomKey){return e.$key$===t.$key$}return true}return false};var Re=function(e){return e&&e["s-ol"]||e};var Ce=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var Le=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var o=t.$children$;var i=t.$tag$;var s=t.$text$;var l;if(!a.vdomText||s===null){if(a.svg){v=i==="svg"?true:i==="foreignObject"?false:v}if(a.vdomAttribute||a.reflect){if(a.slot&&i==="slot");else{pe(e,t,v)}}if(a.updatable&&n!==null&&o!==null){Se(r,n,t,o)}else if(o!==null){if(a.updatable&&a.vdomText&&e.$text$!==null){r.textContent=""}be(r,null,t,o,0,o.length-1)}else if(a.updatable&&n!==null){we(n,0,n.length-1)}if(a.svg&&v&&i==="svg"){v=false}}else if(a.vdomText&&a.slotRelocation&&(l=r["s-cr"])){l.parentNode.textContent=s}else if(a.vdomText&&e.$text$!==s){r.data=s}};var xe=function(e){var t=e.childNodes;var r;var n;var a;var o;var i;var s;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){i=r["s-sn"];r.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==r["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){r.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){r.hidden=true;break}}}}xe(r)}}};var Te=[];var ke=function(e){var t;var r;var n;var a;var o;var i;var s=0;var l=e.childNodes;var f=l.length;for(;s<f;s++){t=l[s];if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;a=t["s-sn"];for(i=n.length-1;i>=0;i--){r=n[i];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(_e(r,a)){o=Te.find((function(e){return e.$nodeToRelocate$===r}));d=true;r["s-sn"]=r["s-sn"]||a;if(o){o.$slotRefNode$=t}else{Te.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){Te.map((function(e){if(_e(e.$nodeToRelocate$,r["s-sn"])){o=Te.find((function(e){return e.$nodeToRelocate$===r}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!Te.some((function(e){return e.$nodeToRelocate$===r}))){Te.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){ke(t)}}};var _e=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var De=function(e){if(a.vdomRef){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(De)}};var Ae=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var o=e.$vnode$||se(null,null);var f=fe(t)?t:ie(null,null,t);l=r.tagName;if(a.isDev&&Array.isArray(t)&&t.some(fe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'+l.toLowerCase()+'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n ')}if(a.reflect&&n.$attrsToReflect$){f.$attrs$=f.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return f.$attrs$[n]=r[t]}))}f.$tag$=null;f.$flags$|=4;e.$vnode$=f;f.$elm$=o.$elm$=a.shadowDom?r.shadowRoot||r:r;if(a.scoped||a.shadowDom){i=r["s-sc"]}if(a.slotRelocation){s=r["s-cr"];c=R&&(n.$flags$&1)!==0;d=false}Le(o,f);if(a.slotRelocation){S.$flags$|=1;if($){ke(f.$elm$);var u=void 0;var v=void 0;var h=void 0;var m=void 0;var p=void 0;var g=void 0;var y=0;for(;y<Te.length;y++){u=Te[y];v=u.$nodeToRelocate$;if(!v["s-ol"]){h=a.isDebug||a.hydrateServerSide?Oe(v):b.createTextNode("");h["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=h,v)}}for(y=0;y<Te.length;y++){u=Te[y];v=u.$nodeToRelocate$;if(u.$slotRefNode$){m=u.$slotRefNode$.parentNode;p=u.$slotRefNode$.nextSibling;h=v["s-ol"];while(h=h.previousSibling){g=h["s-nr"];if(g&&g["s-sn"]===v["s-sn"]&&m===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){p=g;break}}}if(!p&&m!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}m.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(d){xe(f.$elm$)}S.$flags$&=~1;Te.length=0}};var Ee=function(e){return b.createComment("<slot"+(e.$name$?' name="'+e.$name$+'"':"")+"> (host="+l.toLowerCase()+")")};var Oe=function(e){return b.createComment("org-location for "+(e.localName?"<"+e.localName+"> (host="+e["s-hn"]+")":"["+e.textContent+"]"))};var Pe=e("g",(function(e){return a.lazyLoad?Ot(e).$hostElement$:e}));var Ie=e("e",(function(e,t,r){var n=Pe(e);return{emit:function(e){if(a.isDev&&!n.isConnected){Ut('The "'+t+'" event was emitted, but the dispatcher node is no longer connected to the dom.')}return ze(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var ze=function(e,t,r){var n=S.ce(t,r);e.dispatchEvent(n);return n};var je=function(e,t){if(a.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var Me=function(e,t){if(a.taskQueue&&a.updatable){e.$flags$|=16}if(a.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}je(e,e.$ancestorComponent$);var r=function(){return Be(e,t)};return a.taskQueue?nr(r):r()};var Be=function(e,t){var r=e.$hostElement$;var n=F("scheduleUpdate",e.$cmpMeta$.$tagName$);var o=a.lazyLoad?e.$lazyInstance$:r;var i;if(t){if(a.lazyLoad&&a.hostListener){e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return Qe(o,t,r)}));e.$queuedListeners$=null}}Xe(r,"componentWillLoad");if(a.cmpWillLoad){i=Qe(o,"componentWillLoad")}}else{Xe(r,"componentWillUpdate");if(a.cmpWillUpdate){i=Qe(o,"componentWillUpdate")}}Xe(r,"componentWillRender");if(a.cmpWillRender){i=Ke(i,(function(){return Qe(o,"componentWillRender")}))}n();return Ke(i,(function(){return Ue(e,o,t)}))};var Ue=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,o,i,s,l,f;return __generator(this,(function(u){switch(u.label){case 0:r=e.$hostElement$;o=F("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(a.style&&n){X(e)}s=F("render",e.$cmpMeta$.$tagName$);if(a.isDev){e.$flags$|=1024}if(!a.hydrateServerSide)return[3,2];return[4,Fe(e,t,r)];case 1:u.sent();return[3,3];case 2:Fe(e,t,r);u.label=3;case 3:if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.updateHost(r)}if(a.isDev){e.$renderCount$++;e.$flags$&=~1024}if(a.hydrateServerSide){try{Ge(r);if(n){if(e.$cmpMeta$.$flags$&1){r["s-en"]=""}else if(e.$cmpMeta$.$flags$&2){r["s-en"]="c"}}}catch(c){jt(c,r)}}if(a.asyncLoading&&i){i.map((function(e){return e()}));r["s-rc"]=undefined}s();o();if(a.asyncLoading){l=r["s-p"];f=function(){return Ve(e)};if(l.length===0){f()}else{Promise.all(l).then(f);e.$flags$|=4;l.length=0}}else{Ve(e)}return[2]}}))}))};var Fe=function(e,t,r){var n=a.allRenderFn?true:false;var o=a.lazyLoad?true:false;var i=a.taskQueue?true:false;var s=a.updatable?true:false;try{h=t;t=n?t.render():t.render&&t.render();if(s&&i){e.$flags$&=~16}if(s||o){e.$flags$|=2}if(a.hasRenderFn||a.reflect){if(a.vdomRender||a.reflect){if(a.hydrateServerSide){return Promise.resolve(t).then((function(t){return Ae(e,t)}))}else{Ae(e,t)}}else{r.textContent=t}}}catch(l){jt(l,e.$hostElement$)}h=null;return null};var He=function(){return h};var Ve=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=F("postUpdate",t);var o=a.lazyLoad?e.$lazyInstance$:r;var i=e.$ancestorComponent$;if(a.cmpDidRender){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidRender");if(a.isDev){e.$flags$&=~1024}}Xe(r,"componentDidRender");if(!(e.$flags$&64)){e.$flags$|=64;if(a.asyncLoading&&a.cssAnnotations){Je(r)}if(a.cmpDidLoad){if(a.isDev){e.$flags$|=2048}Qe(o,"componentDidLoad");if(a.isDev){e.$flags$&=~2048}}Xe(r,"componentDidLoad");n();if(a.asyncLoading){e.$onReadyResolve$(r);if(!i){qe(t)}}}else{if(a.cmpDidUpdate){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidUpdate");if(a.isDev){e.$flags$&=~1024}}Xe(r,"componentDidUpdate");n()}if(a.hotModuleReplacement){r["s-hmr-load"]&&r["s-hmr-load"]()}if(a.method&&a.lazyLoad){e.$onInstanceResolve$(r)}if(a.asyncLoading){if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){tr((function(){return Me(e,false)}))}e.$flags$&=~(4|512)}};var We=function(e){if(a.updatable){var t=Ot(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){Me(t,false)}return r}return false};var qe=function(e){if(a.cssAnnotations){Je(b.documentElement)}if(a.asyncQueue){S.$flags$|=2}tr((function(){return ze(g,"appload",{detail:{namespace:n}})}));if(a.profile&&performance.measure){performance.measure("[Stencil] "+n+" initial load (by "+e+")","st:app:start")}};var Qe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(n){jt(n)}}return undefined};var Ke=function(e,t){return e&&e.then?e.then(t):t()};var Xe=function(e,t){if(a.lifecycleDOMEvents){ze(e,"stencil_"+t,{bubbles:true,composed:true,detail:{namespace:n}})}};var Je=function(e){return a.hydratedClass?e.classList.add("hydrated"):a.hydratedAttribute?e.setAttribute("hydrated",""):undefined};var Ge=function(e){var t=e.children;if(t!=null){for(var r=0,n=t.length;r<n;r++){var a=t[r];if(typeof a.connectedCallback==="function"){a.connectedCallback()}Ge(a)}}};var Ye=function(e,t,r,n){var o=F("hydrateClient",t);var i=e.shadowRoot;var s=[];var l=[];var f=a.shadowDom&&i?[]:null;var u=n.$vnode$=se(t,null);if(!S.$orgLocNodes$){et(b.body,S.$orgLocNodes$=new Map)}e[z]=r;e.removeAttribute(z);Ze(u,s,l,f,e,e,r);s.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=S.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&R&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}S.$orgLocNodes$.delete(r)}));if(a.shadowDom&&i){f.map((function(e){if(e){i.appendChild(e)}}))}o()};var Ze=function(e,t,r,n,o,i,s){var l;var f;var u;var c;if(i.nodeType===1){l=i.getAttribute(M);if(l){f=l.split(".");if(f[0]===s||f[0]==="0"){u={$flags$:0,$hostId$:f[0],$nodeId$:f[1],$depth$:f[2],$index$:f[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(u);i.removeAttribute(M);if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u;e=u;if(n&&u.$depth$==="0"){n[u.$index$]=u.$elm$}}}for(c=i.childNodes.length-1;c>=0;c--){Ze(e,t,r,n,o,i.childNodes[c],s)}if(i.shadowRoot){for(c=i.shadowRoot.childNodes.length-1;c>=0;c--){Ze(e,t,r,n,o,i.shadowRoot.childNodes[c],s)}}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){l=f[0];u={$flags$:0,$hostId$:f[1],$nodeId$:f[2],$depth$:f[3],$index$:f[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(l===I){u.$elm$=i.nextSibling;if(u.$elm$&&u.$elm$.nodeType===3){u.$text$=u.$elm$.textContent;t.push(u);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u;if(n&&u.$depth$==="0"){n[u.$index$]=u.$elm$}}}else if(u.$hostId$===s){if(l===P){u.$tag$="slot";if(f[5]){i["s-sn"]=u.$name$=f[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(a.shadowDom&&n){u.$elm$=b.createElement(u.$tag$);if(u.$name$){u.$elm$.setAttribute("name",u.$name$)}i.parentNode.insertBefore(u.$elm$,i);i.remove();if(u.$depth$==="0"){n[u.$index$]=u.$elm$}}r.push(u);if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u}else if(l===E){if(a.shadowDom&&n){i.remove()}else if(a.slotRelocation){o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var d=se(null,i.textContent);d.$elm$=i;d.$index$="0";e.$children$=[d]}};var et=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){et(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){et(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===O){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var tt=function(e,t){if(e!=null&&!oe(e)){if(a.propBoolean&&t&4){return e==="false"?false:e===""||!!e}if(a.propNumber&&t&2){return parseFloat(e)}if(a.propString&&t&1){return String(e)}return e}return e};var rt=function(e,t){return Ot(e).$instanceValues$.get(t)};var nt=function(e,t,r,n){var o=Ot(e);var i=a.lazyLoad?o.$hostElement$:e;var s=o.$instanceValues$.get(t);var l=o.$flags$;var f=a.lazyLoad?o.$lazyInstance$:i;r=tt(r,n.$members$[t][0]);if((!a.lazyLoad||!(l&8)||s===undefined)&&r!==s){o.$instanceValues$.set(t,r);if(a.isDev){if(o.$flags$&1024){Ut('The state/prop "'+t+'" changed during rendering. This can potentially lead to infinite-loops and other bugs.',"\nElement",i,"\nNew value",r,"\nOld value",s)}else if(o.$flags$&2048){Ut('The state/prop "'+t+'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"',"\nElement",i,"\nNew value",r,"\nOld value",s)}}if(!a.lazyLoad||f){if(a.watchCallback&&n.$watchers$&&l&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{f[e](r,s,t)}catch(n){jt(n,i)}}))}}if(a.updatable&&(l&(2|16))===2){if(a.cmpShouldUpdate&&f.componentShouldUpdate){if(f.componentShouldUpdate(r,s,t)===false){return}}Me(o,false)}}}};var at=function(e,t,r){if(a.member&&t.$members$){if(a.watchCallback&&e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var o=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if((a.prop||a.state)&&(i&31||(!a.lazyLoad||r&2)&&i&32)){Object.defineProperty(o,n,{get:function(){return rt(this,n)},set:function(e){if(a.isDev){var o=Ot(this);if((r&1)===0&&(o.$flags$&8)===0&&(i&31)!==0&&(i&1024)===0){Ut('@Prop() "'+n+'" on <'+t.$tagName$+"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability")}}nt(this,n,e,t)},configurable:true,enumerable:true})}else if(a.lazyLoad&&a.method&&r&1&&i&64){Object.defineProperty(o,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Ot(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(a.observeAttribute&&(!a.lazyLoad||r&1)){var i=new Map;o.attributeChangedCallback=function(e,t,r){var n=this;S.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var o=n[1]||r;i.set(o,r);if(a.reflect&&n[0]&512){t.$attrsToReflect$.push([r,o])}return o}))}}return e};var ot=function(e,n,o,i,s){return __awaiter(r,void 0,void 0,(function(){var r,l,f,u,c,d,$;return __generator(this,(function(v){switch(v.label){case 0:if(!((a.lazyLoad||a.hydrateServerSide||a.style)&&(n.$flags$&32)===0))return[3,7];if(!(a.lazyLoad||a.hydrateClientSide))return[3,3];n.$flags$|=32;s=Wt(o,n,i);if(!s.then)return[3,2];r=H("st:load:"+o.$tagName$+":"+n.$modeName$,"[Stencil] Load module for <"+o.$tagName$+">");return[4,s];case 1:s=v.sent();r();v.label=2;case 2:if((a.isDev||a.isDebug)&&!s){throw new Error('Constructor for "'+o.$tagName$+"#"+n.$modeName$+'" was not found')}if(a.member&&!s.isProxied){if(a.watchCallback){o.$watchers$=s.watchers}at(s,o,2);s.isProxied=true}l=F("createInstance",o.$tagName$);if(a.member){n.$flags$|=8}try{new s(n)}catch(h){jt(h)}if(a.member){n.$flags$&=~8}if(a.watchCallback){n.$flags$|=128}l();it(n.$lazyInstance$);return[3,4];case 3:s=e.constructor;n.$flags$|=32;customElements.whenDefined(o.$tagName$).then((function(){return n.$flags$|=128}));v.label=4;case 4:if(!(a.style&&s.style))return[3,7];f=s.style;if(a.mode&&typeof f!=="string"){f=f[n.$modeName$=Y(e)];if(a.hydrateServerSide&&n.$modeName$){e.setAttribute("s-mode",n.$modeName$)}}u=J(o,n.$modeName$);if(!!qt.has(u))return[3,7];c=F("registerStyles",o.$tagName$);if(!(!a.hydrateServerSide&&a.shadowDom&&a.shadowDomShim&&o.$flags$&8))return[3,6];return[4,t.import("./shadow-css-c015bba2.system.js").then((function(e){return e.scopeCss(f,u,false)}))];case 5:f=v.sent();v.label=6;case 6:Q(u,f,!!(o.$flags$&1));c();v.label=7;case 7:d=n.$ancestorComponent$;$=function(){return Me(n,true)};if(a.asyncLoading&&d&&d["s-rc"]){d["s-rc"].push($)}else{$()}return[2]}}))}))};var it=function(e){if(a.lazyLoad&&a.connectedCallback){Qe(e,"connectedCallback")}};var st=function(e){if((S.$flags$&1)===0){var t=Ot(e);var r=t.$cmpMeta$;var n=F("connectedCallback",r.$tagName$);if(a.hostListenerTargetParent){k(e,t,r.$listeners$,true)}if(!(t.$flags$&1)){t.$flags$|=1;var o=void 0;if(a.hydrateClientSide){o=e.getAttribute(z);if(o){if(a.shadowDom&&R&&r.$flags$&1){var i=a.mode?K(e.shadowRoot,r,e.getAttribute("s-mode")):K(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}Ye(e,r.$tagName$,o,t)}}if(a.slotRelocation&&!o){if(a.hydrateServerSide||(a.slot||a.shadowDom)&&r.$flags$&(4|8)){lt(e)}}if(a.asyncLoading){var s=e;while(s=s.parentNode||s.host){if(a.hydrateClientSide&&s.nodeType===1&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){je(t,t.$ancestorComponent$=s);break}}}if(a.prop&&!a.hydrateServerSide&&r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}if(a.initializeNextTick){tr((function(){return ot(e,t,r)}))}else{ot(e,t,r)}}else{k(e,t,r.$listeners$,false);it(t.$lazyInstance$)}n()}};var lt=function(e){var t=e["s-cr"]=b.createComment(a.isDebug?"content-ref (host="+e.localName+")":"");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var ft=function(e){if((S.$flags$&1)===0){var t=Ot(e);var r=a.lazyLoad?t.$lazyInstance$:e;if(a.hostListener){if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.removeHost(e)}if(a.lazyLoad&&a.disconnectedCallback){Qe(r,"disconnectedCallback")}if(a.cmpDidUnload){Qe(r,"componentDidUnload")}}};var ut=function(e,t){customElements.define(t[1],ct(e,t))};var ct=function(e,t){var r={$flags$:t[0],$tagName$:t[1]};if(a.member){r.$members$=t[2]}if(a.hostListener){r.$listeners$=t[3]}if(a.watchCallback){r.$watchers$=e.$watchers$}if(a.reflect){r.$attrsToReflect$=[]}if(a.shadowDom&&!R&&r.$flags$&1){r.$flags$|=8}var n=e.prototype.connectedCallback;var o=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__registerHost:function(){It(this,r)},connectedCallback:function(){st(this);if(a.connectedCallback&&n){n.call(this)}},disconnectedCallback:function(){ft(this);if(a.disconnectedCallback&&o){o.call(this)}}});e.is=r.$tagName$;return at(e,r,1|2)};var dt=function(e){if(a.style&&a.mode&&!a.lazyLoad){var t=Y(e);var r=Ot(e);if(r.$modeName$!==t){var n=r.$cmpMeta$;var o=e["s-sc"];var i=J(n,t);var s=e.constructor.style[t];var l=n.$flags$;if(s){if(!qt.has(i)){Q(i,s,!!(l&1))}r.$modeName$=t;e.classList.remove(o+"-h",o+"-s");X(r);We(e)}}}};var $t=function(e){if(R){e.attachShadow({mode:"open"})}else{e.shadowRoot=e}};var vt=function(e,t,r){var n=Ot(e);n.$flags$=1;e["s-hmr-load"]=function(){delete e["s-hmr-load"]};ot(e,n,t,r)};var ht=function(e){var t=e.cloneNode;e.cloneNode=function(e){var r=this;var n=a.shadowDom?r.shadowRoot&&R:false;var o=t.call(r,n?e:false);if(a.slot&&!n&&e){var i=0;var s=void 0,l=void 0;var f=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;i<r.childNodes.length;i++){s=r.childNodes[i]["s-nr"];l=f.every((function(e){return!r.childNodes[i][e]}));if(s){if(a.appendChildSlotFix&&o.__appendChild){o.__appendChild(s.cloneNode(true))}else{o.appendChild(s.cloneNode(true))}}if(l){o.appendChild(r.childNodes[i].cloneNode(true))}}}return o}};var mt=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=yt(e);var r=bt(this.childNodes,t);if(r){var n=wt(r,t);var a=n[n.length-1];return a.parentNode.insertBefore(e,a.nextSibling)}return this.__appendChild(e)}};var pt=function(e,t){if(a.scoped&&t.$flags$&2){var r=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",r);Object.defineProperty(e,"textContent",{get:function(){var e;var t=bt(this.childNodes,"");if(((e=t===null||t===void 0?void 0:t.nextSibling)===null||e===void 0?void 0:e.nodeType)===3){return t.nextSibling.textContent}else if(t){return t.textContent}else{return this.__textContent}},set:function(e){var t;var r=bt(this.childNodes,"");if(((t=r===null||r===void 0?void 0:r.nextSibling)===null||t===void 0?void 0:t.nodeType)===3){r.nextSibling.textContent=e}else if(r){r.textContent=e}else{this.__textContent=e;var n=this["s-cr"];if(n){this.insertBefore(n,this.firstChild)}}}})}};var gt=function(e,t){var r=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var n=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=n.call(this);if((S.$flags$&1)===0&&Ot(this).$flags$&2){var t=new r;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return r.from(e)}})}};var yt=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var bt=function(e,t){var r=0;var n;for(;r<e.length;r++){n=e[r];if(n["s-sr"]&&n["s-sn"]===t){return n}n=bt(n.childNodes,t);if(n){return n}}return null};var wt=function(e,t){var r=[e];while((e=e.nextSibling)&&e["s-sn"]===t){r.push(e)}return r};var St=e("b",(function(e,t){if(t===void 0){t={}}if(a.profile&&performance.mark){performance.mark("st:app:start")}W();var r=F("bootstrapLazy");var n=[];var o=t.exclude||[];var i=g.customElements;var s=b.head;var l=s.querySelector("meta[charset]");var f=b.createElement("style");var u=[];var c=b.querySelectorAll("["+j+"]");var d;var $=true;var v=0;Object.assign(S,t);S.$resourcesUrl$=new URL(t.resourcesUrl||"./",b.baseURI).href;if(a.asyncQueue){if(t.syncQueue){S.$flags$|=4}}if(a.hydrateClientSide){S.$flags$|=2}if(a.hydrateClientSide&&a.shadowDom){for(;v<c.length;v++){Q(c[v].getAttribute(j),G(c[v].innerHTML),true)}}e.map((function(e){return e[1].map((function(r){var s={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};if(a.member){s.$members$=r[2]}if(a.hostListener){s.$listeners$=r[3]}if(a.reflect){s.$attrsToReflect$=[]}if(a.watchCallback){s.$watchers$={}}if(a.shadowDom&&!R&&s.$flags$&1){s.$flags$|=8}var l=a.transformTagName&&t.transformTagName?t.transformTagName(s.$tagName$):s.$tagName$;var f=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;It(t,s);if(a.shadowDom&&s.$flags$&1){if(R){if(a.shadowDelegatesFocus){t.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}else{t.attachShadow({mode:"open"})}}else if(!a.hydrateServerSide&&!("shadowRoot"in t)){t.shadowRoot=t}}if(a.slotChildNodesFix){gt(t,s)}return r}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if($){u.push(this)}else{S.jmp((function(){return st(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return ft(e)}))};t.prototype.componentOnReady=function(){return Ot(this).$onReadyPromise$};return t}(HTMLElement);if(a.cloneNodeFix){ht(f.prototype)}if(a.appendChildSlotFix){mt(f.prototype)}if(a.hotModuleReplacement){f.prototype["s-hmr"]=function(e){vt(this,s,e)}}if(a.scopedSlotTextContentFix){pt(f.prototype,s)}s.$lazyBundleId$=e[0];if(!o.includes(l)&&!i.get(l)){n.push(l);i.define(l,at(f,s,1))}}))}));if(a.invisiblePrehydration&&(a.hydratedClass||a.hydratedAttribute)){f.innerHTML=n+B;f.setAttribute("data-styles","");s.insertBefore(f,l?l.nextSibling:s.firstChild)}$=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{if(a.profile){S.jmp((function(){return d=setTimeout(qe,30,"timeout")}))}else{S.jmp((function(){return d=setTimeout(qe,30)}))}}r()}));var Nt=function(e){var t=new URL(e,S.$resourcesUrl$);return t.origin!==g.location.origin?t.href:t.pathname};var Rt=function(e){return S.$resourcesUrl$=e};var Ct=function(e,t){var r=function(){var e=b.querySelector(t);if(!e){e=b.createElement(t);b.body.appendChild(e)}return typeof e.componentOnReady==="function"?e.componentOnReady():Promise.resolve(e)};var n=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return r().then((function(t){return t.create.apply(t,e)}))};return{create:n,componentOnReady:r}};var Lt=function(e,t){if(t in T){return T[t]}else if(t==="window"){return g}else if(t==="document"){return b}else if(t==="isServer"||t==="isPrerender"){return a.hydrateServerSide?true:false}else if(t==="isClient"){return a.hydrateServerSide?false:true}else if(t==="resourcesUrl"||t==="publicPath"){return Nt(".")}else if(t==="queue"){return{write:nr,read:rr,tick:{then:function(e){return tr(e)}}}}return undefined};var xt=function(e,t){if(e!=null){var r={hostIds:0,rootLevelIds:0,staticComponents:new Set(t)};var n=[];Tt(e,e.body,r,n);n.forEach((function(t){if(t!=null){var n=t["s-nr"];var a=n["s-host-id"];var o=n["s-node-id"];var i=a+"."+o;if(a==null){a=0;r.rootLevelIds++;o=r.rootLevelIds;i=a+"."+o;if(n.nodeType===1){n.setAttribute(M,i)}else if(n.nodeType===3){if(a===0){var s=n.nodeValue.trim();if(s===""){t.remove();return}}var l=e.createComment(i);l.nodeValue=I+"."+i;n.parentNode.insertBefore(l,n)}}var f=O+"."+i;var u=t.parentElement;if(u){if(u["s-en"]===""){f+="."}else if(u["s-en"]==="c"){f+=".c"}}t.nodeValue=f}}))}};var Tt=function(e,t,r,n){if(t==null){return}if(t["s-nr"]!=null){n.push(t)}if(t.nodeType===1){t.childNodes.forEach((function(t){var a=Ot(t);if(a!=null&&!r.staticComponents.has(t.nodeName.toLowerCase())){var o={nodeIds:0};kt(e,t,a.$vnode$,r,o)}Tt(e,t,r,n)}))}};var kt=function(e,t,r,n,a){if(r!=null){var o=++n.hostIds;t.setAttribute(z,o);if(t["s-cr"]!=null){t["s-cr"].nodeValue=E+"."+o}if(r.$children$!=null){var i=0;r.$children$.forEach((function(t,r){_t(e,t,a,o,i,r)}))}if(t&&r&&r.$elm$&&!t.hasAttribute("c-id")){var s=t.parentElement;if(s&&s.childNodes){var l=Array.from(s.childNodes);var f=l.find((function(e){return e.nodeType===8&&e["s-sr"]}));if(f){var u=l.indexOf(t)-1;r.$elm$.setAttribute(M,f["s-host-id"]+"."+f["s-node-id"]+".0."+u)}}}}};var _t=function(e,t,r,n,a,o){var i=t.$elm$;if(i==null){return}var s=r.nodeIds++;var l=n+"."+s+"."+a+"."+o;i["s-host-id"]=n;i["s-node-id"]=s;if(i.nodeType===1){i.setAttribute(M,l)}else if(i.nodeType===3){var f=i.parentNode;var u=f.nodeName;if(u!=="STYLE"&&u!=="SCRIPT"){var c=I+"."+l;var d=e.createComment(c);f.insertBefore(d,i)}}else if(i.nodeType===8){if(i["s-sr"]){var $=i["s-sn"]||"";var v=P+"."+l+"."+$;i.nodeValue=v}}if(t.$children$!=null){var h=a+1;t.$children$.forEach((function(t,a){_t(e,t,r,n,h,a)}))}};var Dt=function(e){return Object.assign(S,e)};var At=function(e,t){return t};var Et=new WeakMap;var Ot=function(e){return Et.get(e)};var Pt=e("r",(function(e,t){return Et.set(t.$lazyInstance$=e,t)}));var It=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};if(a.isDev){r.$renderCount$=0}if(a.method&&a.lazyLoad){r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}if(a.asyncLoading){r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}k(e,r,t.$listeners$,false);return Et.set(e,r)};var zt=function(e,t){return t in e};var jt=function(e,t){return(f||console.error)(e,t)};var Mt=a.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var Bt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.error.apply(console,__spreadArray(__spreadArray([],Mt),e))};var Ut=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.warn.apply(console,__spreadArray(__spreadArray([],Mt),e))};var Ft=e("c",(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.info.apply(console,__spreadArray(__spreadArray([],Mt),e))}));var Ht=function(e){return f=e};var Vt=new Map;var Wt=function(e,r,n){var o=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;if(a.isDev&&typeof i!=="string"){Bt("Trying to lazily load component <"+e.$tagName$+'> with style mode "'+r.$modeName$+'", but it does not exist.');return undefined}var s=!a.hotModuleReplacement?Vt.get(i):false;if(s){return s[o]}return t.import("./"+i+".entry.js"+(a.hotModuleReplacement&&n?"?s-hmr="+n:"")).then((function(e){if(!a.hotModuleReplacement){Vt.set(i,e)}return e[o]}),jt)};var qt=new Map;var Qt=[];var Kt=[];var Xt=[];var Jt=[];var Gt=function(e,t){return function(r){e.push(r);if(!p){p=true;if(t&&S.$flags$&4){tr(er)}else{S.raf(er)}}}};var Yt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(r){jt(r)}}e.length=0};var Zt=function(e,t){var r=0;var n=0;while(r<e.length&&(n=performance.now())<t){try{e[r++](n)}catch(a){jt(a)}}if(r===e.length){e.length=0}else if(r!==0){e.splice(0,r)}};var er=function(){if(a.asyncQueue){m++}Yt(Kt);if(a.asyncQueue){var e=(S.$flags$&6)===2?performance.now()+14*Math.ceil(m*(1/10)):Infinity;Zt(Xt,e);Zt(Jt,e);if(Xt.length>0){Jt.push.apply(Jt,Xt);Xt.length=0}if(p=Kt.length+Xt.length+Jt.length>0){S.raf(er)}else{m=0}}else{Yt(Xt);if(p=Kt.length>0){S.raf(er)}}};var tr=function(e){return L().then(e)};var rr=Gt(Kt,false);var nr=Gt(Xt,true);var ar={isDev:a.isDev?true:false,isBrowser:true,isServer:false,isTesting:a.isTesting?true:false}}}}));
|