@devschile/chucao 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +2 -0
  2. package/dist/chucao/chucao.esm.js +1 -1
  3. package/dist/chucao/chucao.esm.js.map +1 -1
  4. package/dist/chucao/{p-a0ec231a.entry.js → p-04dbcfa0.entry.js} +2 -2
  5. package/dist/chucao/{p-75184fe1.entry.js → p-11083711.entry.js} +2 -2
  6. package/dist/chucao/{p-f04d2f75.entry.js → p-121fbfc8.entry.js} +2 -2
  7. package/dist/chucao/{p-10658dc9.entry.js → p-1b1e56cd.entry.js} +2 -2
  8. package/dist/chucao/{p-e48912c7.entry.js → p-2ab4a6a8.entry.js} +2 -2
  9. package/dist/chucao/{p-19dde4f9.entry.js → p-4bc8e098.entry.js} +2 -2
  10. package/dist/chucao/{p-2e20c7a1.entry.js → p-5fe8bfff.entry.js} +2 -2
  11. package/dist/chucao/p-9bb81a65.entry.js +2 -0
  12. package/dist/chucao/p-9bb81a65.entry.js.map +1 -0
  13. package/dist/chucao/{p-BaKXvAYc.js → p-DWC12BJ-.js} +2 -2
  14. package/dist/chucao/p-DWC12BJ-.js.map +1 -0
  15. package/dist/chucao/{p-66dce533.entry.js → p-a955eebf.entry.js} +2 -2
  16. package/dist/chucao/{p-96c852f5.entry.js → p-d5a9e340.entry.js} +2 -2
  17. package/dist/chucao/{p-f62e1da2.entry.js → p-ff5f5c1f.entry.js} +2 -2
  18. package/dist/cjs/ch-accordion.cjs.entry.js +1 -1
  19. package/dist/cjs/ch-alert_8.cjs.entry.js +6 -6
  20. package/dist/cjs/ch-checkbox.cjs.entry.js +2 -2
  21. package/dist/cjs/ch-divider.cjs.entry.js +1 -1
  22. package/dist/cjs/ch-emoji.cjs.entry.js +104 -0
  23. package/dist/cjs/ch-emoji.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ch-link.cjs.entry.js +1 -1
  25. package/dist/cjs/ch-modal.cjs.entry.js +2 -2
  26. package/dist/cjs/ch-radio.cjs.entry.js +2 -2
  27. package/dist/cjs/ch-tabs.cjs.entry.js +2 -2
  28. package/dist/cjs/ch-textarea.cjs.entry.js +2 -2
  29. package/dist/cjs/ch-tooltip.cjs.entry.js +2 -2
  30. package/dist/cjs/chucao.cjs.js +3 -3
  31. package/dist/cjs/chucao.cjs.js.map +1 -1
  32. package/dist/cjs/{index-C9Abf0td.js → index-C9cpLteP.js} +15 -8
  33. package/dist/cjs/index-C9cpLteP.js.map +1 -0
  34. package/dist/cjs/loader.cjs.js +2 -2
  35. package/dist/collection/collection-manifest.json +2 -1
  36. package/dist/collection/components/ch-card/ch-card.js +1 -1
  37. package/dist/collection/components/ch-checkbox/ch-checkbox.js +1 -1
  38. package/dist/collection/components/ch-emoji/ch-emoji.css +33 -0
  39. package/dist/collection/components/ch-emoji/ch-emoji.js +151 -0
  40. package/dist/collection/components/ch-emoji/ch-emoji.js.map +1 -0
  41. package/dist/collection/components/ch-input/ch-input.js +1 -1
  42. package/dist/collection/components/ch-modal/ch-modal.js +1 -1
  43. package/dist/collection/components/ch-radio/ch-radio.js +1 -1
  44. package/dist/collection/components/ch-select/ch-select.js +1 -1
  45. package/dist/collection/components/ch-spinner/ch-spinner.js +1 -1
  46. package/dist/collection/components/ch-switch/ch-switch.js +1 -1
  47. package/dist/collection/components/ch-tabs/ch-tabs.js +1 -1
  48. package/dist/collection/components/ch-textarea/ch-textarea.js +1 -1
  49. package/dist/collection/components/ch-tooltip/ch-tooltip.js +1 -1
  50. package/dist/components/ch-accordion.js +1 -1
  51. package/dist/components/ch-alert.js +1 -1
  52. package/dist/components/ch-badge.js +1 -1
  53. package/dist/components/ch-button.js +1 -1
  54. package/dist/components/ch-card.js +1 -1
  55. package/dist/components/ch-checkbox.js +1 -1
  56. package/dist/components/ch-divider.js +1 -1
  57. package/dist/components/ch-emoji.d.ts +11 -0
  58. package/dist/components/ch-emoji.js +2 -0
  59. package/dist/components/ch-emoji.js.map +1 -0
  60. package/dist/components/ch-input.js +1 -1
  61. package/dist/components/ch-link.js +1 -1
  62. package/dist/components/ch-modal.js +1 -1
  63. package/dist/components/ch-radio.js +1 -1
  64. package/dist/components/ch-select.js +1 -1
  65. package/dist/components/ch-spinner.js +1 -1
  66. package/dist/components/ch-switch.js +1 -1
  67. package/dist/components/ch-tabs.js +1 -1
  68. package/dist/components/ch-textarea.js +1 -1
  69. package/dist/components/ch-tooltip.js +1 -1
  70. package/dist/components/index.js +1 -1
  71. package/dist/components/{p-DL-bL54o.js → p-BhAZrOxf.js} +2 -2
  72. package/dist/components/p-BhAZrOxf.js.map +1 -0
  73. package/dist/esm/ch-accordion.entry.js +1 -1
  74. package/dist/esm/ch-alert_8.entry.js +6 -6
  75. package/dist/esm/ch-checkbox.entry.js +2 -2
  76. package/dist/esm/ch-divider.entry.js +1 -1
  77. package/dist/esm/ch-emoji.entry.js +102 -0
  78. package/dist/esm/ch-emoji.entry.js.map +1 -0
  79. package/dist/esm/ch-link.entry.js +1 -1
  80. package/dist/esm/ch-modal.entry.js +2 -2
  81. package/dist/esm/ch-radio.entry.js +2 -2
  82. package/dist/esm/ch-tabs.entry.js +2 -2
  83. package/dist/esm/ch-textarea.entry.js +2 -2
  84. package/dist/esm/ch-tooltip.entry.js +2 -2
  85. package/dist/esm/chucao.js +4 -4
  86. package/dist/esm/chucao.js.map +1 -1
  87. package/dist/esm/{index-BaKXvAYc.js → index-DWC12BJ-.js} +15 -8
  88. package/dist/esm/index-DWC12BJ-.js.map +1 -0
  89. package/dist/esm/loader.js +3 -3
  90. package/dist/types/components/ch-emoji/ch-emoji.d.ts +32 -0
  91. package/dist/types/components.d.ts +72 -0
  92. package/dist/types/stencil-public-runtime.d.ts +1 -0
  93. package/dist-react/components.d.ts +3 -0
  94. package/dist-react/components.js +9 -0
  95. package/dist-react/components.ts +12 -0
  96. package/dist-vue/index.d.ts +1 -0
  97. package/dist-vue/index.js +6 -0
  98. package/dist-vue/index.ts +8 -0
  99. package/hydrate/index.js +135 -17
  100. package/hydrate/index.mjs +135 -17
  101. package/loader/index.d.ts +1 -1
  102. package/package.json +2 -1
  103. package/dist/chucao/p-BaKXvAYc.js.map +0 -1
  104. package/dist/cjs/index-C9Abf0td.js.map +0 -1
  105. package/dist/components/p-DL-bL54o.js.map +0 -1
  106. package/dist/esm/index-BaKXvAYc.js.map +0 -1
  107. /package/dist/chucao/{p-a0ec231a.entry.js.map → p-04dbcfa0.entry.js.map} +0 -0
  108. /package/dist/chucao/{p-75184fe1.entry.js.map → p-11083711.entry.js.map} +0 -0
  109. /package/dist/chucao/{p-f04d2f75.entry.js.map → p-121fbfc8.entry.js.map} +0 -0
  110. /package/dist/chucao/{p-10658dc9.entry.js.map → p-1b1e56cd.entry.js.map} +0 -0
  111. /package/dist/chucao/{p-e48912c7.entry.js.map → p-2ab4a6a8.entry.js.map} +0 -0
  112. /package/dist/chucao/{p-19dde4f9.entry.js.map → p-4bc8e098.entry.js.map} +0 -0
  113. /package/dist/chucao/{p-2e20c7a1.entry.js.map → p-5fe8bfff.entry.js.map} +0 -0
  114. /package/dist/chucao/{p-66dce533.entry.js.map → p-a955eebf.entry.js.map} +0 -0
  115. /package/dist/chucao/{p-96c852f5.entry.js.map → p-d5a9e340.entry.js.map} +0 -0
  116. /package/dist/chucao/{p-f62e1da2.entry.js.map → p-ff5f5c1f.entry.js.map} +0 -0
package/README.md CHANGED
@@ -48,6 +48,8 @@ piezas externas.
48
48
  | [`docs/releasing.md`](docs/releasing.md) | English | Cómo publicar releases y desplegar la librería al CDN |
49
49
  | [`docs/testing.md`](docs/testing.md) | English | Testing y cobertura de los componentes |
50
50
  | [`docs/storybook.md`](docs/storybook.md) | English | Evaluación de desplegar Storybook en el CDN (no adoptado) |
51
+ | [`llms.txt`](llms.txt) | English | Índice para agentes y crawlers (componentes, tokens, docs) |
52
+ | [`docs/ai.md`](docs/ai.md) | English | Guía para agentes IA que consumen Chucao |
51
53
 
52
54
  ## Cómo reusar esto en un proyecto nuevo
53
55
 
@@ -1,2 +1,2 @@
1
- import{p as e,g as r,b as a}from"./p-BaKXvAYc.js";export{s as setNonce}from"./p-BaKXvAYc.js";var l=()=>{const r=import.meta.url;const a={};if(r!==""){a.resourcesUrl=new URL(".",r).href}return e(a)};l().then((async e=>{await r();return a([["p-75184fe1",[[769,"ch-alert",{variant:[1],dismissLabel:[1,"dismiss-label"]}],[769,"ch-badge",{variant:[1]}],[769,"ch-button",{variant:[1],disabled:[4],label:[1]}],[257,"ch-card"],[577,"ch-input",{label:[1],type:[1],value:[1025],placeholder:[1],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}],[577,"ch-select",{label:[1],options:[16],value:[1025],placeholder:[1],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}],[513,"ch-spinner",{size:[1],label:[1]}],[577,"ch-switch",{label:[1],name:[513],value:[1],checked:[1028],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-f62e1da2",[[769,"ch-accordion",{items:[16],value:[1025]}]]],["p-19dde4f9",[[577,"ch-checkbox",{label:[1],name:[513],value:[1],checked:[1028],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-e48912c7",[[513,"ch-divider",{orientation:[1]}]]],["p-a0ec231a",[[769,"ch-link",{href:[1],target:[1],variant:[1],disabled:[4]}]]],["p-66dce533",[[769,"ch-modal",{open:[1028],label:[1],closeLabel:[1,"close-label"]},null,{open:[{handleOpenChange:0}]}]]],["p-2e20c7a1",[[577,"ch-radio",{label:[1],options:[16],value:[1025],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-f04d2f75",[[769,"ch-tabs",{tabs:[16],value:[1025],label:[1]}]]],["p-10658dc9",[[577,"ch-textarea",{label:[1],value:[1025],placeholder:[1],rows:[2],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-96c852f5",[[769,"ch-tooltip",{placement:[1],hovered:[32],focused:[32],dismissed:[32]},[[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[4,"keydown","handleKeyDown"]]]]]],e)}));
1
+ import{p as e,g as r,b as a}from"./p-DWC12BJ-.js";export{s as setNonce}from"./p-DWC12BJ-.js";var l=()=>{const r=import.meta.url;const a={};if(r!==""){a.resourcesUrl=new URL(".",r).href}return e(a)};l().then((async e=>{await r();return a([["p-11083711",[[769,"ch-alert",{variant:[1],dismissLabel:[1,"dismiss-label"]}],[769,"ch-badge",{variant:[1]}],[769,"ch-button",{variant:[1],disabled:[4],label:[1]}],[257,"ch-card"],[577,"ch-input",{label:[1],type:[1],value:[1025],placeholder:[1],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}],[577,"ch-select",{label:[1],options:[16],value:[1025],placeholder:[1],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}],[513,"ch-spinner",{size:[1],label:[1]}],[577,"ch-switch",{label:[1],name:[513],value:[1],checked:[1028],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-ff5f5c1f",[[769,"ch-accordion",{items:[16],value:[1025]}]]],["p-4bc8e098",[[577,"ch-checkbox",{label:[1],name:[513],value:[1],checked:[1028],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-2ab4a6a8",[[513,"ch-divider",{orientation:[1]}]]],["p-9bb81a65",[[513,"ch-emoji",{name:[1],alt:[1],size:[1],extIndex:[32],loaded:[32]},null,{name:[{handleNameChange:0}]}]]],["p-04dbcfa0",[[769,"ch-link",{href:[1],target:[1],variant:[1],disabled:[4]}]]],["p-a955eebf",[[769,"ch-modal",{open:[1028],label:[1],closeLabel:[1,"close-label"]},null,{open:[{handleOpenChange:0}]}]]],["p-5fe8bfff",[[577,"ch-radio",{label:[1],options:[16],value:[1025],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-121fbfc8",[[769,"ch-tabs",{tabs:[16],value:[1025],label:[1]}]]],["p-1b1e56cd",[[577,"ch-textarea",{label:[1],value:[1025],placeholder:[1],rows:[2],name:[513],disabled:[516],required:[516],hint:[1],errorMessage:[1,"error-message"],invalid:[4],formDisabled:[32]},null,{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}]]],["p-d5a9e340",[[769,"ch-tooltip",{placement:[1],hovered:[32],focused:[32],dismissed:[32]},[[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[4,"keydown","handleKeyDown"]]]]]],e)}));
2
2
  //# sourceMappingURL=chucao.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chucao.esm.js","sources":["node_modules/.pnpm/@stencil+core@4.44.0/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"chucao.esm.js","sources":["node_modules/.pnpm/@stencil+core@4.44.2/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.44.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as r,H as i}from"./p-BaKXvAYc.js";const a=()=>`:host{display:inline}.link{color:var(--accent);font-weight:var(--typography-weight-semibold);text-decoration:var(--ch-link-text-decoration, underline);text-decoration-thickness:var(--border-width);text-underline-offset:var(--spacing-shift);border-radius:var(--radius-sm);transition:color var(--duration-normal) var(--easing-default), opacity var(--duration-normal) var(--easing-default)}.link:hover{color:var(--accent-hover)}.link:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.link--muted{color:var(--text-muted);text-decoration:none}.link--muted:hover{color:var(--text)}.link--disabled{color:var(--text-muted);text-decoration:none;opacity:var(--opacity-disabled);cursor:not-allowed}`;const n=class{constructor(r){t(this,r);this.chClick=e(this,"chClick")}href;target;variant="default";disabled=false;chClick;handleClick=t=>{this.chClick.emit(t)};render(){if(this.disabled){return r(i,null,r("span",{class:{link:true,[`link--${this.variant}`]:true,"link--disabled":true},part:"link","aria-disabled":"true"},r("slot",null)))}return r(i,null,r("a",{class:{link:true,[`link--${this.variant}`]:true},part:"link",href:this.href,target:this.target,rel:this.target==="_blank"?"noopener noreferrer":undefined,onClick:this.handleClick},r("slot",null)))}};n.style=a();export{n as ch_link};
2
- //# sourceMappingURL=p-a0ec231a.entry.js.map
1
+ import{r as t,c as e,h as r,H as i}from"./p-DWC12BJ-.js";const a=()=>`:host{display:inline}.link{color:var(--accent);font-weight:var(--typography-weight-semibold);text-decoration:var(--ch-link-text-decoration, underline);text-decoration-thickness:var(--border-width);text-underline-offset:var(--spacing-shift);border-radius:var(--radius-sm);transition:color var(--duration-normal) var(--easing-default), opacity var(--duration-normal) var(--easing-default)}.link:hover{color:var(--accent-hover)}.link:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.link--muted{color:var(--text-muted);text-decoration:none}.link--muted:hover{color:var(--text)}.link--disabled{color:var(--text-muted);text-decoration:none;opacity:var(--opacity-disabled);cursor:not-allowed}`;const n=class{constructor(r){t(this,r);this.chClick=e(this,"chClick")}href;target;variant="default";disabled=false;chClick;handleClick=t=>{this.chClick.emit(t)};render(){if(this.disabled){return r(i,null,r("span",{class:{link:true,[`link--${this.variant}`]:true,"link--disabled":true},part:"link","aria-disabled":"true"},r("slot",null)))}return r(i,null,r("a",{class:{link:true,[`link--${this.variant}`]:true},part:"link",href:this.href,target:this.target,rel:this.target==="_blank"?"noopener noreferrer":undefined,onClick:this.handleClick},r("slot",null)))}};n.style=a();export{n as ch_link};
2
+ //# sourceMappingURL=p-04dbcfa0.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,c as a,h as t,H as e,a as i}from"./p-BaKXvAYc.js";const s=()=>`:host{display:block}.alert{display:flex;align-items:flex-start;gap:var(--spacing-2xl);padding:var(--spacing-2xl) var(--spacing-3xl);border:var(--border-width) solid transparent;border-radius:var(--radius);font-size:var(--typography-size-sm);line-height:1.5}.alert-content{flex:1;min-width:0;overflow-wrap:anywhere}.alert--default{color:var(--text);background:var(--surface);border-color:var(--border)}.alert--positive{color:var(--color-status-positive);background:var(--color-status-positive-background);border-color:var(--color-status-positive)}.alert--warning{color:var(--color-status-warning);background:var(--color-status-warning-background);border-color:var(--color-status-warning)}.alert-dismiss{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--spacing-2xs) var(--spacing-md);border:0;border-radius:var(--radius);background:none;color:inherit;cursor:pointer;font-family:var(--font-heading);font-size:var(--typography-size-lg);line-height:1;transition:background-color var(--duration-normal) var(--easing-default)}.alert-dismiss:hover{background:var(--surface-hover)}.alert-dismiss:focus-visible{outline:var(--focus-outline-width) solid currentColor;outline-offset:var(--focus-outline-offset)}@media (pointer: coarse){.alert-dismiss{min-width:44px;min-height:44px}}@media (prefers-reduced-motion: reduce){.alert-dismiss{transition:none}}`;const o=class{constructor(t){r(this,t);this.chDismiss=a(this,"chDismiss")}variant="default";dismissLabel;chDismiss;handleDismiss=()=>{this.chDismiss.emit()};render(){const r=this.variant==="warning"?"alert":"status";return t(e,{key:"7d96602ad2c2b3824588f01d5b94d73098da6ce4"},t("div",{key:r,class:{alert:true,[`alert--${this.variant}`]:true},role:r},t("div",{key:"64d7af5aad0e4b103b35cc2ba3756b1a1601b148",class:"alert-content"},t("slot",{key:"44573092407161bbeafe5117bddb54168b183d90"})),this.dismissLabel&&t("button",{key:"018858ac292c0fb7f26c788f629638f533d0dfd6",class:"alert-dismiss",type:"button","aria-label":this.dismissLabel,onClick:this.handleDismiss},t("span",{key:"f6454d5285ed9c7c414d839d2d35d2ce0c271dd4","aria-hidden":"true"},"×"))))}};o.style=s();const n=()=>`:host{display:inline-block}.badge{display:inline-block;padding:var(--spacing-2xs) var(--spacing-lg);border-radius:var(--radius-pill);font-size:var(--typography-size-xs);font-weight:var(--typography-weight-semibold);text-transform:uppercase;letter-spacing:var(--typography-tracking-badge)}.badge--default{background:var(--color-surface-hover);color:var(--accent)}.badge--positive{background:var(--color-status-positive-background);color:var(--color-status-positive)}.badge--warning{background:var(--color-status-warning-background);color:var(--color-status-warning)}`;const d=class{constructor(a){r(this,a)}variant="default";render(){return t(e,{key:"ca1fb0c9d678b6ea5b68ca131ba153116bbd577d"},t("span",{key:"929e2268094bdad7df6e3c8371896e364ebf79c3",class:{badge:true,[`badge--${this.variant}`]:true}},t("slot",{key:"64422988ad046244722755d39e564295f79a6ce1"})))}};d.style=n();const c=()=>`:host{display:inline-block}.btn{display:inline-flex;align-items:center;gap:var(--spacing-sm);border:none;cursor:pointer;font-family:inherit;font-size:inherit}.btn:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.btn:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.btn--primary{background-color:var(--accent);color:var(--color-accent-text);font-weight:var(--typography-weight-bold);padding:var(--spacing-xs) var(--spacing-xl);border-radius:var(--radius-pill);transition:background-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default)}.btn--primary:hover{background-color:var(--accent-hover);transform:translateY(calc(-1 * var(--spacing-elevate)))}.btn--secondary{background-color:transparent;color:var(--text);font-weight:var(--typography-weight-bold);padding:var(--spacing-xs) var(--spacing-xl);border-radius:var(--radius-pill);border:var(--border-width) solid var(--border);transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default)}.btn--secondary:hover{border-color:var(--border-hover);background-color:var(--surface-hover);transform:translateY(calc(-1 * var(--spacing-elevate)))}`;const l=class{constructor(t){r(this,t);this.chClick=a(this,"chClick")}variant="primary";disabled=false;label;chClick;handleClick=r=>{this.chClick.emit(r)};render(){return t(e,{key:"9363b49e8d38c0fab49ed10356380ded20a8cf5e"},t("button",{key:"3c98506ae1418c4bc88f5aa72dfe058948556ed5",class:{btn:true,[`btn--${this.variant}`]:true},type:"button",disabled:this.disabled,"aria-label":this.label,onClick:this.handleClick},t("slot",{key:"cdcf4f656b995fa527d4139a41b2ea3c7086e065"})))}};l.style=c();const h=()=>`:host{display:block}::slotted(p){color:var(--text-muted)}.card{color:var(--text);background:var(--surface);border:var(--border-width) solid var(--border);border-radius:var(--radius);padding:var(--spacing-4xl) var(--spacing-5xl);backdrop-filter:blur(var(--effect-blur));position:relative;overflow:hidden;transition:border-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:var(--border-accent-bar);background:var(--accent);opacity:0;transition:opacity var(--duration-normal) var(--easing-default)}.card:hover{border-color:var(--border-hover);transform:translateX(var(--spacing-shift));box-shadow:var(--shadow-card-hover)}.card:hover::before{opacity:1}`;const u=class{constructor(a){r(this,a)}render(){return t(e,{key:"1541ba4361c996716356fb87cdcc73b1260d4c6a"},t("div",{key:"924070eeb79f6c8f8e6362772bbab0dcc1c6f315",class:"card"},t("slot",{key:"2fde36426395a519cb1ebe265ba0eef3aaf6ff38"})))}};u.style=h();const b=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.input{box-sizing:border-box;width:100%;padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input::placeholder{color:var(--text-muted)}.input:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus,:host(:user-invalid) .input:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.input:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let f=0;const v=class{constructor(t){r(this,t);this.chInput=a(this,"chInput");this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}inputId=`ch-input-${++f}`;hintId=`${this.inputId}-hint`;errorId=`${this.inputId}-error`;initialValue="";internals;formDisabled=false;get host(){return i(this)}label;type="text";value="";placeholder;name;disabled=false;required=false;hint;errorMessage;invalid=false;chInput;chChange;handleInput=r=>{this.value=r.target.value;this.chInput.emit(this.value)};handleChange=r=>{this.value=r.target.value;this.chChange.emit(this.value)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.value);const a={};let t;if(this.required&&this.value===""){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"8ac09d33deda0e98464108b77ef5e79ca1696e3f"},this.label&&t("label",{key:"e66ab373c5234c2fdacf6bbb796b42ed212c3fd8",class:"label",htmlFor:this.inputId},this.label),t("input",{key:"ae23f4e30970287927f418aebd3b1f83be6d7738",id:this.label?this.inputId:undefined,class:{input:true,"input--invalid":this.invalid},type:this.type,name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.value,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange}),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"8a6ff789e40a0b3595a34c1e94c3d779d4169bf0",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"aa4c0d89748ad91d91f6483fcf9b3641b44ee864",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};v.style=b();const p=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.select{box-sizing:border-box;width:100%;padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.select:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.select--invalid{border-color:var(--color-status-warning)}.select--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .select,:host(:user-invalid) .select{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .select:focus,:host(:user-invalid) .select:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.select:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.select option{background:var(--bg);color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let g=0;const m=class{constructor(t){r(this,t);this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}selectId=`ch-select-${++g}`;hintId=`${this.selectId}-hint`;errorId=`${this.selectId}-error`;initialValue;internals;formDisabled=false;get host(){return i(this)}label;options=[];value;placeholder;name;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=r=>{this.value=r.target.value;this.chChange.emit(this.value)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.value??"");const a={};let t;if(this.required&&!this.value){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"b3336d43945543f23e903df41eaefef23fde6ff4"},this.label&&t("label",{key:"1928d359fce76001c24c969ccc59c5bc7c67e676",class:"label",htmlFor:this.selectId},this.label),t("select",{key:"7896282971021ef35d9bd3926335e02bc0efc804",id:this.label?this.selectId:undefined,class:{select:true,"select--invalid":this.invalid},name:this.name,disabled:this.disabled||this.formDisabled,required:this.required,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange},this.placeholder&&t("option",{key:"4acfff84e5616092c6a8d0741cdf6bf959a4cfee",value:"",disabled:true,hidden:true,selected:!this.value},this.placeholder),this.options.map((r=>t("option",{value:r.value,disabled:r.disabled,selected:r.value===this.value},r.label)))),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"cb079b5ed1a64e53b6bc3ba07f63dee0baa0f78f",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"87e730d857a4a8c44378c98759ac8ecc7cfde366",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};m.style=p();const y=()=>`:host{display:inline-block;vertical-align:middle}.spinner{display:block;box-sizing:border-box;width:1em;height:1em;border:0.125em solid currentColor;border-top-color:transparent;border-radius:50%;animation:ch-spinner-rotate var(--duration-spin) var(--easing-linear) infinite}.spinner--sm{font-size:var(--typography-size-sm)}.spinner--md{font-size:var(--typography-size-lg)}.spinner--lg{font-size:var(--typography-size-xl)}@keyframes ch-spinner-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation-duration:calc(var(--duration-spin) * 4)}}`;const k=class{constructor(a){r(this,a)}size="md";label;render(){const r=Boolean(this.label);return t(e,{key:"dc7c7e19f6a6878680555b0d7dbd84f5dc5774c8"},t("span",{key:"d29d5f3344ae578d2a28382b13b45b901d41e52b",class:{spinner:true,[`spinner--${this.size}`]:true},role:r?"status":undefined,"aria-label":r?this.label:undefined,"aria-hidden":r?undefined:"true"}))}};k.style=y();const w=()=>`:host{display:inline-block}.control{position:relative;display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.input:focus-visible~.track{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.track{position:relative;box-sizing:border-box;width:var(--spacing-6xl);height:var(--spacing-5xl);flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:var(--radius-pill);background:var(--surface);transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default)}.thumb{position:absolute;top:50%;left:var(--spacing-2xs);width:var(--spacing-2xl);height:var(--spacing-2xl);border-radius:50%;background:var(--text-muted);transform:translateY(-50%);transition:left var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default)}.input:checked~.track{border-color:var(--accent);background:var(--accent)}.input:checked~.track .thumb{left:calc(100% - var(--spacing-2xl) - var(--spacing-2xs));background:var(--color-accent-text)}.input--invalid~.track{border-color:var(--color-status-warning)}.input--invalid:focus-visible~.track{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .track,:host(:user-invalid) .track{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible~.track,:host(:user-invalid) .input:focus-visible~.track{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let x=0;const z=class{constructor(t){r(this,t);this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}switchId=`ch-switch-${++x}`;hintId=`${this.switchId}-hint`;errorId=`${this.switchId}-error`;initialChecked=false;internals;formDisabled=false;get host(){return i(this)}label;name;value="on";checked=false;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=r=>{this.checked=r.target.checked;this.chChange.emit(this.checked)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.checked?this.value:null);const a={};let t;if(this.required&&!this.checked){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialChecked=this.checked;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.checked=this.initialChecked}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"1f868bf2f0a95e5eb0b0013de2a1414034a0af78"},t("label",{key:"bfa3ff8ca66a9c367882808718b882bb1679d5fd",class:{control:true,"control--disabled":this.disabled||this.formDisabled},htmlFor:this.switchId},t("input",{key:"49d10196b6df781b1e76d0b33118cc21294136f4",id:this.switchId,class:{input:true,"input--invalid":this.invalid},type:"checkbox",role:"switch",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.formDisabled,required:this.required,"aria-checked":this.checked?"true":"false","aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),t("span",{key:"79948dc41567e2c52023e1c0ddd17888b4a04335",class:"track"},t("span",{key:"d07b297ff5edd963954e4ab2b7e678176a1823f6",class:"thumb"})),this.label&&t("span",{key:"33695230dab7fc68c0dc1b06cc21b7f8bf7bb1ec",class:"label-text"},this.label)),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"3be08bad4526e8c1adde62a154654079b17d6910",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"623cff85e039ecb640238d9e41fd3aa82c671ddd",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};z.style=w();export{o as ch_alert,d as ch_badge,l as ch_button,u as ch_card,v as ch_input,m as ch_select,k as ch_spinner,z as ch_switch};
2
- //# sourceMappingURL=p-75184fe1.entry.js.map
1
+ import{r,c as a,h as t,H as e,a as i}from"./p-DWC12BJ-.js";const s=()=>`:host{display:block}.alert{display:flex;align-items:flex-start;gap:var(--spacing-2xl);padding:var(--spacing-2xl) var(--spacing-3xl);border:var(--border-width) solid transparent;border-radius:var(--radius);font-size:var(--typography-size-sm);line-height:1.5}.alert-content{flex:1;min-width:0;overflow-wrap:anywhere}.alert--default{color:var(--text);background:var(--surface);border-color:var(--border)}.alert--positive{color:var(--color-status-positive);background:var(--color-status-positive-background);border-color:var(--color-status-positive)}.alert--warning{color:var(--color-status-warning);background:var(--color-status-warning-background);border-color:var(--color-status-warning)}.alert-dismiss{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--spacing-2xs) var(--spacing-md);border:0;border-radius:var(--radius);background:none;color:inherit;cursor:pointer;font-family:var(--font-heading);font-size:var(--typography-size-lg);line-height:1;transition:background-color var(--duration-normal) var(--easing-default)}.alert-dismiss:hover{background:var(--surface-hover)}.alert-dismiss:focus-visible{outline:var(--focus-outline-width) solid currentColor;outline-offset:var(--focus-outline-offset)}@media (pointer: coarse){.alert-dismiss{min-width:44px;min-height:44px}}@media (prefers-reduced-motion: reduce){.alert-dismiss{transition:none}}`;const o=class{constructor(t){r(this,t);this.chDismiss=a(this,"chDismiss")}variant="default";dismissLabel;chDismiss;handleDismiss=()=>{this.chDismiss.emit()};render(){const r=this.variant==="warning"?"alert":"status";return t(e,{key:"7d96602ad2c2b3824588f01d5b94d73098da6ce4"},t("div",{key:r,class:{alert:true,[`alert--${this.variant}`]:true},role:r},t("div",{key:"64d7af5aad0e4b103b35cc2ba3756b1a1601b148",class:"alert-content"},t("slot",{key:"44573092407161bbeafe5117bddb54168b183d90"})),this.dismissLabel&&t("button",{key:"018858ac292c0fb7f26c788f629638f533d0dfd6",class:"alert-dismiss",type:"button","aria-label":this.dismissLabel,onClick:this.handleDismiss},t("span",{key:"f6454d5285ed9c7c414d839d2d35d2ce0c271dd4","aria-hidden":"true"},"×"))))}};o.style=s();const n=()=>`:host{display:inline-block}.badge{display:inline-block;padding:var(--spacing-2xs) var(--spacing-lg);border-radius:var(--radius-pill);font-size:var(--typography-size-xs);font-weight:var(--typography-weight-semibold);text-transform:uppercase;letter-spacing:var(--typography-tracking-badge)}.badge--default{background:var(--color-surface-hover);color:var(--accent)}.badge--positive{background:var(--color-status-positive-background);color:var(--color-status-positive)}.badge--warning{background:var(--color-status-warning-background);color:var(--color-status-warning)}`;const d=class{constructor(a){r(this,a)}variant="default";render(){return t(e,{key:"ca1fb0c9d678b6ea5b68ca131ba153116bbd577d"},t("span",{key:"929e2268094bdad7df6e3c8371896e364ebf79c3",class:{badge:true,[`badge--${this.variant}`]:true}},t("slot",{key:"64422988ad046244722755d39e564295f79a6ce1"})))}};d.style=n();const c=()=>`:host{display:inline-block}.btn{display:inline-flex;align-items:center;gap:var(--spacing-sm);border:none;cursor:pointer;font-family:inherit;font-size:inherit}.btn:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.btn:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.btn--primary{background-color:var(--accent);color:var(--color-accent-text);font-weight:var(--typography-weight-bold);padding:var(--spacing-xs) var(--spacing-xl);border-radius:var(--radius-pill);transition:background-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default)}.btn--primary:hover{background-color:var(--accent-hover);transform:translateY(calc(-1 * var(--spacing-elevate)))}.btn--secondary{background-color:transparent;color:var(--text);font-weight:var(--typography-weight-bold);padding:var(--spacing-xs) var(--spacing-xl);border-radius:var(--radius-pill);border:var(--border-width) solid var(--border);transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default)}.btn--secondary:hover{border-color:var(--border-hover);background-color:var(--surface-hover);transform:translateY(calc(-1 * var(--spacing-elevate)))}`;const l=class{constructor(t){r(this,t);this.chClick=a(this,"chClick")}variant="primary";disabled=false;label;chClick;handleClick=r=>{this.chClick.emit(r)};render(){return t(e,{key:"9363b49e8d38c0fab49ed10356380ded20a8cf5e"},t("button",{key:"3c98506ae1418c4bc88f5aa72dfe058948556ed5",class:{btn:true,[`btn--${this.variant}`]:true},type:"button",disabled:this.disabled,"aria-label":this.label,onClick:this.handleClick},t("slot",{key:"cdcf4f656b995fa527d4139a41b2ea3c7086e065"})))}};l.style=c();const h=()=>`:host{display:block}::slotted(p){color:var(--text-muted)}.card{color:var(--text);background:var(--surface);border:var(--border-width) solid var(--border);border-radius:var(--radius);padding:var(--spacing-4xl) var(--spacing-5xl);backdrop-filter:blur(var(--effect-blur));position:relative;overflow:hidden;transition:border-color var(--duration-normal) var(--easing-default), transform var(--duration-fast) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:var(--border-accent-bar);background:var(--accent);opacity:0;transition:opacity var(--duration-normal) var(--easing-default)}.card:hover{border-color:var(--border-hover);transform:translateX(var(--spacing-shift));box-shadow:var(--shadow-card-hover)}.card:hover::before{opacity:1}`;const u=class{constructor(a){r(this,a)}render(){return t(e,{key:"de570a460eff697eb242ef56fcedd5b400d6b03f"},t("div",{key:"3350619356a929c5d922948d52d6635420dc8547",class:"card"},t("slot",{key:"b50679202b5fea142702de0babf62587186d4dc8"})))}};u.style=h();const b=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.input{box-sizing:border-box;width:100%;padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input::placeholder{color:var(--text-muted)}.input:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus,:host(:user-invalid) .input:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.input:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let f=0;const v=class{constructor(t){r(this,t);this.chInput=a(this,"chInput");this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}inputId=`ch-input-${++f}`;hintId=`${this.inputId}-hint`;errorId=`${this.inputId}-error`;initialValue="";internals;formDisabled=false;get host(){return i(this)}label;type="text";value="";placeholder;name;disabled=false;required=false;hint;errorMessage;invalid=false;chInput;chChange;handleInput=r=>{this.value=r.target.value;this.chInput.emit(this.value)};handleChange=r=>{this.value=r.target.value;this.chChange.emit(this.value)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.value);const a={};let t;if(this.required&&this.value===""){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"8a4b7cf5b80097afb849e2de9620fdd205774923"},this.label&&t("label",{key:"7400206e6c27d61e7b9afadeba8a2131059af59a",class:"label",htmlFor:this.inputId},this.label),t("input",{key:"2c4fd9215d5b21f28d57a1c49eeaa64224e21e05",id:this.label?this.inputId:undefined,class:{input:true,"input--invalid":this.invalid},type:this.type,name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.value,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange}),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"6e6a381f81442622784afc480eb79327ae8a8525",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"743215633ca399d801c813194b054d40631b7be6",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};v.style=b();const p=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.select{box-sizing:border-box;width:100%;padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.select:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.select--invalid{border-color:var(--color-status-warning)}.select--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .select,:host(:user-invalid) .select{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .select:focus,:host(:user-invalid) .select:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.select:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.select option{background:var(--bg);color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let g=0;const m=class{constructor(t){r(this,t);this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}selectId=`ch-select-${++g}`;hintId=`${this.selectId}-hint`;errorId=`${this.selectId}-error`;initialValue;internals;formDisabled=false;get host(){return i(this)}label;options=[];value;placeholder;name;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=r=>{this.value=r.target.value;this.chChange.emit(this.value)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.value??"");const a={};let t;if(this.required&&!this.value){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"ffca23504c723f60f7430e6db2e1fa00db1fd4d8"},this.label&&t("label",{key:"697998ec67f01f3ca2849b1fb2aa88790d98010b",class:"label",htmlFor:this.selectId},this.label),t("select",{key:"f344d240f38dd123bdfd2d34cd15fbc7b5ae0a2c",id:this.label?this.selectId:undefined,class:{select:true,"select--invalid":this.invalid},name:this.name,disabled:this.disabled||this.formDisabled,required:this.required,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange},this.placeholder&&t("option",{key:"34200e96dad92ed55632f0430abde5bc34cf6e6a",value:"",disabled:true,hidden:true,selected:!this.value},this.placeholder),this.options.map((r=>t("option",{value:r.value,disabled:r.disabled,selected:r.value===this.value},r.label)))),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"55690dbf57cad7c974d0bf1b8eedb733ddc5b571",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"7d4598b112d21ebc96ac04bca553f63dd5825996",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};m.style=p();const y=()=>`:host{display:inline-block;vertical-align:middle}.spinner{display:block;box-sizing:border-box;width:1em;height:1em;border:0.125em solid currentColor;border-top-color:transparent;border-radius:50%;animation:ch-spinner-rotate var(--duration-spin) var(--easing-linear) infinite}.spinner--sm{font-size:var(--typography-size-sm)}.spinner--md{font-size:var(--typography-size-lg)}.spinner--lg{font-size:var(--typography-size-xl)}@keyframes ch-spinner-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation-duration:calc(var(--duration-spin) * 4)}}`;const k=class{constructor(a){r(this,a)}size="md";label;render(){const r=Boolean(this.label);return t(e,{key:"9182eecf066be099714a870fa601f744362e697d"},t("span",{key:"d67f2572ab80facadd4d49043a892b16816b4fef",class:{spinner:true,[`spinner--${this.size}`]:true},role:r?"status":undefined,"aria-label":r?this.label:undefined,"aria-hidden":r?undefined:"true"}))}};k.style=y();const w=()=>`:host{display:inline-block}.control{position:relative;display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.input:focus-visible~.track{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.track{position:relative;box-sizing:border-box;width:var(--spacing-6xl);height:var(--spacing-5xl);flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:var(--radius-pill);background:var(--surface);transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default)}.thumb{position:absolute;top:50%;left:var(--spacing-2xs);width:var(--spacing-2xl);height:var(--spacing-2xl);border-radius:50%;background:var(--text-muted);transform:translateY(-50%);transition:left var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default)}.input:checked~.track{border-color:var(--accent);background:var(--accent)}.input:checked~.track .thumb{left:calc(100% - var(--spacing-2xl) - var(--spacing-2xs));background:var(--color-accent-text)}.input--invalid~.track{border-color:var(--color-status-warning)}.input--invalid:focus-visible~.track{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .track,:host(:user-invalid) .track{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible~.track,:host(:user-invalid) .input:focus-visible~.track{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let x=0;const z=class{constructor(t){r(this,t);this.chChange=a(this,"chChange");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}}switchId=`ch-switch-${++x}`;hintId=`${this.switchId}-hint`;errorId=`${this.switchId}-error`;initialChecked=false;internals;formDisabled=false;get host(){return i(this)}label;name;value="on";checked=false;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=r=>{this.checked=r.target.checked;this.chChange.emit(this.checked)};syncForm(){const r=this.internals;if(typeof r?.setFormValue!=="function"){return}r.setFormValue(this.checked?this.value:null);const a={};let t;if(this.required&&!this.checked){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}t=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);r.setValidity(a,t)}componentDidLoad(){this.initialChecked=this.checked;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.checked=this.initialChecked}formDisabledCallback(r){this.formDisabled=r}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return t(e,{key:"c1a98e9b04710ed014a8c18d6591fee427df0033"},t("label",{key:"4b14ec7d7709090235b0e9b74a45d4c76dd52f25",class:{control:true,"control--disabled":this.disabled||this.formDisabled},htmlFor:this.switchId},t("input",{key:"4f2c9472b3bf34db582a94e307cc8b47b5dfcd38",id:this.switchId,class:{input:true,"input--invalid":this.invalid},type:"checkbox",role:"switch",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.formDisabled,required:this.required,"aria-checked":this.checked?"true":"false","aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),t("span",{key:"6b2c20c6242178bba39f105a535bb12fc5198cd0",class:"track"},t("span",{key:"4ae0e675ce335417b867f6b688ec5545769b2d2c",class:"thumb"})),this.label&&t("span",{key:"d5383fac3349441104c0926a6c88078b85bda05c",class:"label-text"},this.label)),this.hint&&!(this.invalid&&this.errorMessage)&&t("p",{key:"41ed07a95f8d627fb4ed8c903b6ba5ee39baa6a5",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&t("p",{key:"71cf8526dec44e2099235e3bc744db2aa53d70f0",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};z.style=w();export{o as ch_alert,d as ch_badge,l as ch_button,u as ch_card,v as ch_input,m as ch_select,k as ch_spinner,z as ch_switch};
2
+ //# sourceMappingURL=p-11083711.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as a,h as e,H as r}from"./p-BaKXvAYc.js";const i=()=>`:host{display:block}.tablist{display:flex;gap:var(--spacing-2xl);border-bottom:var(--border-width) solid var(--border)}.tab{appearance:none;position:relative;background:transparent;border:none;padding:var(--spacing-md) 0 var(--spacing-xl);margin-bottom:calc(-1 * var(--border-width));color:var(--text-muted);font-family:inherit;font-size:inherit;font-weight:var(--typography-weight-semibold);cursor:pointer;transition:color var(--duration-normal) var(--easing-default), border-color var(--duration-normal) var(--easing-default)}.tab::after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--border-accent-bar);background:var(--accent);opacity:0;transition:opacity var(--duration-normal) var(--easing-default)}.tab:hover{color:var(--text)}.tab:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.tab--active{color:var(--text)}.tab--active::after{opacity:1}.tab--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.tabpanel{padding-top:var(--spacing-2xl);color:var(--text)}.tabpanel[hidden]{display:none}`;const o=0;const n=-1;const s=1;const l=-1;let c=0;const d=class{constructor(e){t(this,e);this.chChange=a(this,"chChange")}baseId=`ch-tabs-${++c}`;tablistEl;tabs=[];value;label;chChange;tabId(t){return`${this.baseId}-${t}`}panelId(t){return`${this.baseId}-${t}-panel`}get activeValue(){if(this.value&&this.tabs.some((t=>!t.disabled&&t.value===this.value))){return this.value}return this.tabs.find((t=>!t.disabled))?.value}select=t=>{this.value=t;this.chChange.emit(this.value)};focusTab(t){this.tablistEl?.querySelectorAll('[role="tab"]').forEach((a=>{if(a.dataset.value===t){a.focus()}}))}handleKeyDown=t=>{const a=this.tabs.filter((t=>!t.disabled));if(!a.length){return}const e=this.targetFor(t.key,a);if(!e){return}t.preventDefault();this.select(e);this.focusTab(e)};targetFor(t,a){const e=a.findIndex((t=>t.value===this.activeValue));if(t==="ArrowRight"){return a[(e+s)%a.length]?.value}if(t==="ArrowLeft"){return a[(e+l+a.length)%a.length]?.value}if(t==="Home"){return a[o]?.value}if(t==="End"){return a[a.length+n]?.value}return undefined}render(){const t=this.activeValue;return e(r,{key:"0467e7ea24884d4c19c33b736a07303569dfaa3b"},e("div",{key:"8ad451816ef31809c82486f3c9dd36b6e89e77e5",class:"tablist",role:"tablist","aria-label":this.label,onKeyDown:this.handleKeyDown,ref:t=>this.tablistEl=t},this.tabs.map((a=>{const r=a.value===t;return e("button",{key:a.value,type:"button",class:{tab:true,"tab--active":r,"tab--disabled":Boolean(a.disabled)},role:"tab",id:this.tabId(a.value),"data-value":a.value,"aria-selected":r?"true":"false","aria-controls":this.panelId(a.value),tabIndex:r?o:n,disabled:a.disabled,onClick:()=>this.select(a.value)},a.label)}))),this.tabs.map((a=>e("div",{key:`${a.value}-panel`,class:"tabpanel",id:this.panelId(a.value),role:"tabpanel","aria-labelledby":this.tabId(a.value),tabIndex:o,hidden:a.value!==t},e("slot",{name:`panel-${a.value}`})))))}};d.style=i();export{d as ch_tabs};
2
- //# sourceMappingURL=p-f04d2f75.entry.js.map
1
+ import{r as t,c as a,h as e,H as r}from"./p-DWC12BJ-.js";const i=()=>`:host{display:block}.tablist{display:flex;gap:var(--spacing-2xl);border-bottom:var(--border-width) solid var(--border)}.tab{appearance:none;position:relative;background:transparent;border:none;padding:var(--spacing-md) 0 var(--spacing-xl);margin-bottom:calc(-1 * var(--border-width));color:var(--text-muted);font-family:inherit;font-size:inherit;font-weight:var(--typography-weight-semibold);cursor:pointer;transition:color var(--duration-normal) var(--easing-default), border-color var(--duration-normal) var(--easing-default)}.tab::after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--border-accent-bar);background:var(--accent);opacity:0;transition:opacity var(--duration-normal) var(--easing-default)}.tab:hover{color:var(--text)}.tab:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.tab--active{color:var(--text)}.tab--active::after{opacity:1}.tab--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.tabpanel{padding-top:var(--spacing-2xl);color:var(--text)}.tabpanel[hidden]{display:none}`;const o=0;const n=-1;const s=1;const l=-1;let c=0;const d=class{constructor(e){t(this,e);this.chChange=a(this,"chChange")}baseId=`ch-tabs-${++c}`;tablistEl;tabs=[];value;label;chChange;tabId(t){return`${this.baseId}-${t}`}panelId(t){return`${this.baseId}-${t}-panel`}get activeValue(){if(this.value&&this.tabs.some((t=>!t.disabled&&t.value===this.value))){return this.value}return this.tabs.find((t=>!t.disabled))?.value}select=t=>{this.value=t;this.chChange.emit(this.value)};focusTab(t){this.tablistEl?.querySelectorAll('[role="tab"]').forEach((a=>{if(a.dataset.value===t){a.focus()}}))}handleKeyDown=t=>{const a=this.tabs.filter((t=>!t.disabled));if(!a.length){return}const e=this.targetFor(t.key,a);if(!e){return}t.preventDefault();this.select(e);this.focusTab(e)};targetFor(t,a){const e=a.findIndex((t=>t.value===this.activeValue));if(t==="ArrowRight"){return a[(e+s)%a.length]?.value}if(t==="ArrowLeft"){return a[(e+l+a.length)%a.length]?.value}if(t==="Home"){return a[o]?.value}if(t==="End"){return a[a.length+n]?.value}return undefined}render(){const t=this.activeValue;return e(r,{key:"7c6b34c34e73f034eb03473ad9941eade91317c3"},e("div",{key:"601bae37f4fb3e5e0d07fb7a91968171b0bd18a3",class:"tablist",role:"tablist","aria-label":this.label,onKeyDown:this.handleKeyDown,ref:t=>this.tablistEl=t},this.tabs.map((a=>{const r=a.value===t;return e("button",{key:a.value,type:"button",class:{tab:true,"tab--active":r,"tab--disabled":Boolean(a.disabled)},role:"tab",id:this.tabId(a.value),"data-value":a.value,"aria-selected":r?"true":"false","aria-controls":this.panelId(a.value),tabIndex:r?o:n,disabled:a.disabled,onClick:()=>this.select(a.value)},a.label)}))),this.tabs.map((a=>e("div",{key:`${a.value}-panel`,class:"tabpanel",id:this.panelId(a.value),role:"tabpanel","aria-labelledby":this.tabId(a.value),tabIndex:o,hidden:a.value!==t},e("slot",{name:`panel-${a.value}`})))))}};d.style=i();export{d as ch_tabs};
2
+ //# sourceMappingURL=p-121fbfc8.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as a,a as e,h as r,H as i}from"./p-BaKXvAYc.js";const s=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.textarea{box-sizing:border-box;width:100%;min-height:var(--spacing-6xl);padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;line-height:var(--spacing-5xl);resize:vertical;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.textarea::placeholder{color:var(--text-muted)}.textarea:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.textarea--invalid{border-color:var(--color-status-warning)}.textarea--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .textarea,:host(:user-invalid) .textarea{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .textarea:focus,:host(:user-invalid) .textarea:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.textarea:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const h=4;const n=class{constructor(e){t(this,e);this.chInput=a(this,"chInput");this.chChange=a(this,"chChange");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}textareaId=`ch-textarea-${++o}`;hintId=`${this.textareaId}-hint`;errorId=`${this.textareaId}-error`;initialValue="";internals;formDisabled=false;get host(){return e(this)}label;value="";placeholder;rows=h;name;disabled=false;required=false;hint;errorMessage;invalid=false;chInput;chChange;handleInput=t=>{this.value=t.target.value;this.chInput.emit(this.value)};handleChange=t=>{this.value=t.target.value;this.chChange.emit(this.value)};syncForm(){const t=this.internals;if(typeof t?.setFormValue!=="function"){return}t.setFormValue(this.value);const a={};let e;if(this.required&&this.value===""){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}e=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);t.setValidity(a,e)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(t){this.formDisabled=t}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return r(i,{key:"de54ff9593c43939689cfbe2e13de538fcc7c022"},this.label&&r("label",{key:"bfab3a6e82c1dbb03bd8f3477e6def631eca2e26",class:"label",htmlFor:this.textareaId},this.label),r("textarea",{key:"a2de483052ac7849f9f7ff61b4052d068cf7fcf6",id:this.label?this.textareaId:undefined,class:{textarea:true,"textarea--invalid":this.invalid},rows:this.rows,name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.value,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange}),this.hint&&!(this.invalid&&this.errorMessage)&&r("p",{key:"80e2a1a36274eaff1609b60882dee02c34138687",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&r("p",{key:"b086d35f6579c56debdb8445aefa79ae953c8734",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=s();export{n as ch_textarea};
2
- //# sourceMappingURL=p-10658dc9.entry.js.map
1
+ import{r as t,c as a,a as r,h as e,H as i}from"./p-DWC12BJ-.js";const s=()=>`:host{display:inline-block;width:100%}.label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.textarea{box-sizing:border-box;width:100%;min-height:var(--spacing-6xl);padding:var(--spacing-xl) var(--spacing-3xl);border-radius:var(--radius);border:var(--border-width) solid var(--border);background:var(--surface);color:var(--text);backdrop-filter:blur(var(--effect-blur));font-family:inherit;font-size:inherit;line-height:var(--spacing-5xl);resize:vertical;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.textarea::placeholder{color:var(--text-muted)}.textarea:focus{border-color:var(--accent);box-shadow:var(--shadow-focus-ring);outline:none}.textarea--invalid{border-color:var(--color-status-warning)}.textarea--invalid:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}:host([data-touched]:invalid) .textarea,:host(:user-invalid) .textarea{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .textarea:focus,:host(:user-invalid) .textarea:focus{border-color:var(--color-status-warning);box-shadow:0 0 0 3px var(--color-status-warning-background)}.textarea:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const h=4;const n=class{constructor(r){t(this,r);this.chInput=a(this,"chInput");this.chChange=a(this,"chChange");if(r.$hostElement$["s-ei"]){this.internals=r.$hostElement$["s-ei"]}else{this.internals=r.$hostElement$.attachInternals();r.$hostElement$["s-ei"]=this.internals}}textareaId=`ch-textarea-${++o}`;hintId=`${this.textareaId}-hint`;errorId=`${this.textareaId}-error`;initialValue="";internals;formDisabled=false;get host(){return r(this)}label;value="";placeholder;rows=h;name;disabled=false;required=false;hint;errorMessage;invalid=false;chInput;chChange;handleInput=t=>{this.value=t.target.value;this.chInput.emit(this.value)};handleChange=t=>{this.value=t.target.value;this.chChange.emit(this.value)};syncForm(){const t=this.internals;if(typeof t?.setFormValue!=="function"){return}t.setFormValue(this.value);const a={};let r;if(this.required&&this.value===""){a.valueMissing=true}if(this.invalid&&this.errorMessage){a.customError=true}r=this.errorMessage??(a.valueMissing?"Please fill out this field.":undefined);t.setValidity(a,r)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(t){this.formDisabled=t}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return e(i,{key:"6e738612514b114571c1edfad0fb85e2228653a8"},this.label&&e("label",{key:"3b58b49a02dd532430cfd9096c326288a5120d6d",class:"label",htmlFor:this.textareaId},this.label),e("textarea",{key:"0922df038ea6ce6d1567ffe8d02c5b65534bec7a",id:this.label?this.textareaId:undefined,class:{textarea:true,"textarea--invalid":this.invalid},rows:this.rows,name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.value,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange}),this.hint&&!(this.invalid&&this.errorMessage)&&e("p",{key:"6d3518345b9afaad782741a854053ed2b32e31db",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&e("p",{key:"8a26edd5a1ef3647133813003fb1a53b1a5f99d6",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=s();export{n as ch_textarea};
2
+ //# sourceMappingURL=p-1b1e56cd.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as r,H as e}from"./p-BaKXvAYc.js";const a=()=>`:host{display:block}:host(.divider--vertical){display:inline-block;height:100%;align-self:stretch}.divider{margin:0;border:none;background:var(--border)}.divider--horizontal{width:100%;height:var(--border-width)}.divider--vertical{width:var(--border-width);height:100%}`;const t=class{constructor(r){i(this,r)}orientation="horizontal";render(){return r(e,{key:"888debaaee690d5bbc5e276773f16ac7ead0129a",class:{"divider--vertical":this.orientation==="vertical"}},r("hr",{key:"ae175f047605cfbe2b24d50e0dab56ac362c49a1",class:{divider:true,[`divider--${this.orientation}`]:true},"aria-orientation":this.orientation}))}};t.style=a();export{t as ch_divider};
2
- //# sourceMappingURL=p-e48912c7.entry.js.map
1
+ import{r as i,h as r,H as e}from"./p-DWC12BJ-.js";const t=()=>`:host{display:block}:host(.divider--vertical){display:inline-block;height:100%;align-self:stretch}.divider{margin:0;border:none;background:var(--border)}.divider--horizontal{width:100%;height:var(--border-width)}.divider--vertical{width:var(--border-width);height:100%}`;const a=class{constructor(r){i(this,r)}orientation="horizontal";render(){return r(e,{key:"888debaaee690d5bbc5e276773f16ac7ead0129a",class:{"divider--vertical":this.orientation==="vertical"}},r("hr",{key:"ae175f047605cfbe2b24d50e0dab56ac362c49a1",class:{divider:true,[`divider--${this.orientation}`]:true},"aria-orientation":this.orientation}))}};a.style=t();export{a as ch_divider};
2
+ //# sourceMappingURL=p-2ab4a6a8.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c as t,a as e,h as a,H as r}from"./p-BaKXvAYc.js";const s=()=>`:host{display:inline-block}.control{display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--spacing-4xl);height:var(--spacing-4xl);margin:0;flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.input:checked{border-color:var(--accent);background:var(--accent)}.input:checked::before{content:'';width:var(--spacing-xs);height:var(--spacing-lg);border:solid var(--color-accent-text);border-width:0 var(--spacing-shift) var(--spacing-shift) 0;transform:rotate(45deg);margin-top:calc(-1 * var(--spacing-2xs))}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus-visible{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible,:host(:user-invalid) .input:focus-visible{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const n=class{constructor(e){i(this,e);this.chChange=t(this,"chChange");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}checkboxId=`ch-checkbox-${++o}`;hintId=`${this.checkboxId}-hint`;errorId=`${this.checkboxId}-error`;initialChecked=false;internals;formDisabled=false;get host(){return e(this)}label;name;value="on";checked=false;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=i=>{this.checked=i.target.checked;this.chChange.emit(this.checked)};syncForm(){const i=this.internals;if(typeof i?.setFormValue!=="function"){return}i.setFormValue(this.checked?this.value:null);const t={};let e;if(this.required&&!this.checked){t.valueMissing=true}if(this.invalid&&this.errorMessage){t.customError=true}e=this.errorMessage??(t.valueMissing?"Please fill out this field.":undefined);i.setValidity(t,e)}componentDidLoad(){this.initialChecked=this.checked;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.checked=this.initialChecked}formDisabledCallback(i){this.formDisabled=i}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return a(r,{key:"ca6c6f1297434052eeee68fd76cf21d6a7b99aae"},a("label",{key:"1f3538da6eb2ce91a75cf73044e2103ba472d4ed",class:{control:true,"control--disabled":this.disabled||this.formDisabled},htmlFor:this.checkboxId},a("input",{key:"7ed674616bc70af42b025a2b945378192ce48a58",id:this.checkboxId,class:{input:true,"input--invalid":this.invalid},type:"checkbox",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.formDisabled,required:this.required,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),this.label&&a("span",{key:"4f5ccc7b28d95d012aa5cd87ec2411be34672d9e",class:"label-text"},this.label)),this.hint&&!(this.invalid&&this.errorMessage)&&a("p",{key:"b7d2b09c54ed61907e4e7110af867b2a0592924c",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&a("p",{key:"2340791705a5fce22b810a3a32377a7b1ccef852",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=s();export{n as ch_checkbox};
2
- //# sourceMappingURL=p-19dde4f9.entry.js.map
1
+ import{r as i,c as t,a as e,h as r,H as a}from"./p-DWC12BJ-.js";const s=()=>`:host{display:inline-block}.control{display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--spacing-4xl);height:var(--spacing-4xl);margin:0;flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), background-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.input:checked{border-color:var(--accent);background:var(--accent)}.input:checked::before{content:'';width:var(--spacing-xs);height:var(--spacing-lg);border:solid var(--color-accent-text);border-width:0 var(--spacing-shift) var(--spacing-shift) 0;transform:rotate(45deg);margin-top:calc(-1 * var(--spacing-2xs))}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus-visible{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible,:host(:user-invalid) .input:focus-visible{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const n=class{constructor(e){i(this,e);this.chChange=t(this,"chChange");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}checkboxId=`ch-checkbox-${++o}`;hintId=`${this.checkboxId}-hint`;errorId=`${this.checkboxId}-error`;initialChecked=false;internals;formDisabled=false;get host(){return e(this)}label;name;value="on";checked=false;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=i=>{this.checked=i.target.checked;this.chChange.emit(this.checked)};syncForm(){const i=this.internals;if(typeof i?.setFormValue!=="function"){return}i.setFormValue(this.checked?this.value:null);const t={};let e;if(this.required&&!this.checked){t.valueMissing=true}if(this.invalid&&this.errorMessage){t.customError=true}e=this.errorMessage??(t.valueMissing?"Please fill out this field.":undefined);i.setValidity(t,e)}componentDidLoad(){this.initialChecked=this.checked;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.checked=this.initialChecked}formDisabledCallback(i){this.formDisabled=i}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){return r(a,{key:"ad83b999d4dbafbd7b6f2369bae8fbce8e068cad"},r("label",{key:"e5927ad9d76db7cd9418debe8e635767b597e27a",class:{control:true,"control--disabled":this.disabled||this.formDisabled},htmlFor:this.checkboxId},r("input",{key:"93c49822bf5a470d67a7077354adcd9144643843",id:this.checkboxId,class:{input:true,"input--invalid":this.invalid},type:"checkbox",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.formDisabled,required:this.required,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),this.label&&r("span",{key:"da90747e3339879a744569c98befed94507bebdd",class:"label-text"},this.label)),this.hint&&!(this.invalid&&this.errorMessage)&&r("p",{key:"3c10c9e29a943bc12983d4ef6b9fa00d95293c80",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&r("p",{key:"76e4a8debadd36dae475bd2439410c0f2a82cb62",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{checked:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=s();export{n as ch_checkbox};
2
+ //# sourceMappingURL=p-4bc8e098.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c as t,a as e,h as s,H as a}from"./p-BaKXvAYc.js";const r=()=>`:host{display:inline-block}.group-label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.radio-group{display:flex;flex-direction:column;gap:var(--spacing-lg)}.control{display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--spacing-4xl);height:var(--spacing-4xl);margin:0;flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:50%;background:var(--surface);cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.input:checked{border-color:var(--accent)}.input:checked::before{content:'';width:var(--spacing-md);height:var(--spacing-md);border-radius:50%;background:var(--accent)}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus-visible{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible,:host(:user-invalid) .input:focus-visible{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const n=class{constructor(e){i(this,e);this.chChange=t(this,"chChange");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}groupId=`ch-radio-${++o}`;labelId=`${this.groupId}-label`;hintId=`${this.groupId}-hint`;errorId=`${this.groupId}-error`;initialValue;internals;formDisabled=false;get host(){return e(this)}label;options=[];value;name;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=i=>{this.value=i.target.value;this.chChange.emit(this.value)};syncForm(){const i=this.internals;if(typeof i?.setFormValue!=="function"){return}i.setFormValue(this.value??null);const t={};let e;if(this.required&&!this.value){t.valueMissing=true}if(this.invalid&&this.errorMessage){t.customError=true}e=this.errorMessage??(t.valueMissing?"Please fill out this field.":undefined);i.setValidity(t,e)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(i){this.formDisabled=i}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){const i=this.name||`${this.groupId}-group`;return s(a,{key:"1a2562301b8daf00c557764c7f4cdfd54e6e11ef"},this.label&&s("span",{key:"873958acd3422069572031d59be22c06e3e705a6",class:"group-label",id:this.labelId},this.label),s("div",{key:"860c71f128b6fb84dce3c14d2086fd77cc1a4a1e",class:"radio-group",role:"radiogroup","aria-labelledby":this.label?this.labelId:undefined},this.options.map((t=>s("label",{class:{control:true,"control--disabled":this.disabled||this.formDisabled||t.disabled}},s("input",{class:{input:true,"input--invalid":this.invalid},type:"radio",name:i,value:t.value,checked:t.value===this.value,disabled:this.disabled||this.formDisabled||t.disabled,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),s("span",{class:"mark"}),s("span",{class:"label-text"},t.label))))),this.hint&&!(this.invalid&&this.errorMessage)&&s("p",{key:"2b358f659d1ef21b1e90ecb67c41d6a0054806e3",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&s("p",{key:"4e60f0303e42668c4532f076143a47daa216dff8",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=r();export{n as ch_radio};
2
- //# sourceMappingURL=p-2e20c7a1.entry.js.map
1
+ import{r as i,c as t,a as e,h as a,H as s}from"./p-DWC12BJ-.js";const r=()=>`:host{display:inline-block}.group-label{display:block;margin-bottom:var(--spacing-sm);font-size:var(--typography-size-sm);font-weight:var(--typography-weight-semibold);color:var(--text)}.radio-group{display:flex;flex-direction:column;gap:var(--spacing-lg)}.control{display:inline-flex;align-items:center;gap:var(--spacing-lg);cursor:pointer}.control--disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.input{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--spacing-4xl);height:var(--spacing-4xl);margin:0;flex-shrink:0;border:var(--border-width) solid var(--border);border-radius:50%;background:var(--surface);cursor:pointer;transition:border-color var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal) var(--easing-default)}.input:focus-visible{outline:var(--focus-outline-width) solid var(--accent);outline-offset:var(--focus-outline-offset)}.input:checked{border-color:var(--accent)}.input:checked::before{content:'';width:var(--spacing-md);height:var(--spacing-md);border-radius:50%;background:var(--accent)}.input--invalid{border-color:var(--color-status-warning)}.input--invalid:focus-visible{outline-color:var(--color-status-warning)}:host([data-touched]:invalid) .input,:host(:user-invalid) .input{border-color:var(--color-status-warning)}:host([data-touched]:invalid) .input:focus-visible,:host(:user-invalid) .input:focus-visible{outline-color:var(--color-status-warning)}.label-text{color:var(--text)}.hint,.error{margin:var(--spacing-sm) 0 0;font-size:var(--typography-size-sm);color:var(--text-muted)}.error{color:var(--color-status-warning)}`;let o=0;const n=class{constructor(e){i(this,e);this.chChange=t(this,"chChange");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}groupId=`ch-radio-${++o}`;labelId=`${this.groupId}-label`;hintId=`${this.groupId}-hint`;errorId=`${this.groupId}-error`;initialValue;internals;formDisabled=false;get host(){return e(this)}label;options=[];value;name;disabled=false;required=false;hint;errorMessage;invalid=false;chChange;handleChange=i=>{this.value=i.target.value;this.chChange.emit(this.value)};syncForm(){const i=this.internals;if(typeof i?.setFormValue!=="function"){return}i.setFormValue(this.value??null);const t={};let e;if(this.required&&!this.value){t.valueMissing=true}if(this.invalid&&this.errorMessage){t.customError=true}e=this.errorMessage??(t.valueMissing?"Please fill out this field.":undefined);i.setValidity(t,e)}componentDidLoad(){this.initialValue=this.value;this.syncForm();this.host.addEventListener("change",this.markTouched);this.host.addEventListener("focusout",this.markTouched);this.host.addEventListener("invalid",this.markTouched)}markTouched=()=>{this.host.setAttribute("data-touched","")};formResetCallback(){this.value=this.initialValue}formDisabledCallback(i){this.formDisabled=i}get describedBy(){if(this.invalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){const i=this.name||`${this.groupId}-group`;return a(s,{key:"2d0f02cbeae89b8c60664825f3885bbeeafd896a"},this.label&&a("span",{key:"c32fd25be5eaf0d05c2d8d6aae01dda281f4b952",class:"group-label",id:this.labelId},this.label),a("div",{key:"bd05a360ad1fd794c95d8066dbb93300152a88dc",class:"radio-group",role:"radiogroup","aria-labelledby":this.label?this.labelId:undefined},this.options.map((t=>a("label",{class:{control:true,"control--disabled":this.disabled||this.formDisabled||t.disabled}},a("input",{class:{input:true,"input--invalid":this.invalid},type:"radio",name:i,value:t.value,checked:t.value===this.value,disabled:this.disabled||this.formDisabled||t.disabled,"aria-invalid":this.invalid?"true":undefined,"aria-describedby":this.describedBy,onChange:this.handleChange}),a("span",{class:"mark"}),a("span",{class:"label-text"},t.label))))),this.hint&&!(this.invalid&&this.errorMessage)&&a("p",{key:"8c451f8d166c6002a4f30bfb72acd6b863ec38c2",class:"hint",id:this.hintId},this.hint),this.invalid&&this.errorMessage&&a("p",{key:"8ac12f60e463c908dff76d64d7ae0e216ed51489",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{value:[{syncForm:0}],required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}]}}};n.style=r();export{n as ch_radio};
2
+ //# sourceMappingURL=p-5fe8bfff.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,H as o}from"./p-DWC12BJ-.js";const s="aaaa";const i="ameno";const a="huemul-love";const n="huemul-love";const h="humo";const l="hypnotoad";const c="lmao";const m="loading";const d="loco";const r="loco2";const u="lol";const g="lol2";const p="monea";const f="negative";var j={aaaa:s,ameno:i,"huemul-huaso":"huemul-huaso","huemul-love":"huemul-love",heart:a,love:n,"huemul-trusted":"huemul-trusted",humo:h,hypnotoad:l,"lets-fucking-go":"lets-fucking-go",lmao:c,loading:m,loco:d,loco2:r,lol:u,lol2:g,monea:p,negative:f};const v=()=>`:host{display:inline-block;vertical-align:middle}.emoji{display:block;object-fit:contain}.emoji--sm{width:16px;height:16px}.emoji--md{width:24px;height:24px}.emoji--lg{width:32px;height:32px}.emoji--xl{width:48px;height:48px}.emoji--hidden{display:none}`;const x="https://static.devschile.cl/emoji";const b=["png","gif","jpg","svg"];const y=class{constructor(t){e(this,t)}extIndex=0;loaded=false;name;alt;size="md";componentWillLoad(){this.resolveAsset()}handleNameChange(){this.resolveAsset()}resolveAsset(){this.extIndex=0;this.loaded=false}get assetName(){return j[this.name]??this.name}get currentSrc(){return`${x}/${this.assetName}.${b[this.extIndex]}`}handleError=()=>{if(this.extIndex<b.length-1){this.extIndex++}};handleLoad=()=>{this.loaded=true};render(){return t(o,{key:"bfc646f047dae03aa8079825012305d7beb1fa6d"},t("img",{key:"c397cc1f928c6871df10adc1f43874738e1cbf33",class:{emoji:true,[`emoji--${this.size}`]:true,"emoji--hidden":!this.loaded},src:this.currentSrc,alt:this.alt??this.name,onError:this.handleError,onLoad:this.handleLoad}))}static get watchers(){return{name:[{handleNameChange:0}]}}};y.style=v();export{y as ch_emoji};
2
+ //# sourceMappingURL=p-9bb81a65.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["chEmojiCss","CDN_BASE","EXTENSIONS","ChEmoji","extIndex","loaded","name","alt","size","componentWillLoad","this","resolveAsset","handleNameChange","assetName","emojiMap","currentSrc","handleError","length","handleLoad","render","h","Host","key","class","emoji","src","onError","onLoad"],"sources":["src/components/ch-emoji/ch-emoji.css?tag=ch-emoji&encapsulation=shadow","src/components/ch-emoji/ch-emoji.tsx"],"sourcesContent":[":host {\n display: inline-block;\n vertical-align: middle;\n}\n\n.emoji {\n display: block;\n object-fit: contain;\n}\n\n.emoji--sm {\n width: 16px;\n height: 16px;\n}\n\n.emoji--md {\n width: 24px;\n height: 24px;\n}\n\n.emoji--lg {\n width: 32px;\n height: 32px;\n}\n\n.emoji--xl {\n width: 48px;\n height: 48px;\n}\n\n.emoji--hidden {\n display: none;\n}\n","import { Component, Host, Prop, State, Watch, h } from '@stencil/core';\n\nimport emojiMap from './emoji-map.json';\n\nexport type ChEmojiSize = 'sm' | 'md' | 'lg' | 'xl';\n\nconst CDN_BASE = 'https://static.devschile.cl/emoji';\nconst EXTENSIONS = ['png', 'gif', 'jpg', 'svg'];\n\n/**\n * Inline emoji from the devsChile CDN.\n *\n * Given a name (or alias from the emoji map), the component resolves the\n * asset URL and tries each possible file extension until one loads.\n * Size is controlled via the `size` prop.\n */\n@Component({\n tag: 'ch-emoji',\n styleUrl: 'ch-emoji.css',\n shadow: true,\n})\nexport class ChEmoji {\n @State() private extIndex = 0;\n @State() private loaded = false;\n\n /**\n * The emoji name or alias, e.g. `\"huemul-love\"` or `\"heart\"`.\n */\n @Prop() name!: string;\n\n /**\n * Accessible alt text for the image. Defaults to the `name` prop.\n */\n @Prop() alt?: string;\n\n /**\n * Size of the emoji. Either `sm`, `md`, `lg`, or `xl`.\n */\n @Prop() size: ChEmojiSize = 'md';\n\n componentWillLoad(): void {\n this.resolveAsset();\n }\n\n @Watch('name')\n handleNameChange(): void {\n this.resolveAsset();\n }\n\n private resolveAsset(): void {\n this.extIndex = 0;\n this.loaded = false;\n }\n\n private get assetName(): string {\n return (emojiMap as Record<string, string>)[this.name] ?? this.name;\n }\n\n private get currentSrc(): string {\n return `${CDN_BASE}/${this.assetName}.${EXTENSIONS[this.extIndex]}`;\n }\n\n private handleError = (): void => {\n if (this.extIndex < EXTENSIONS.length - 1) {\n this.extIndex++;\n }\n };\n\n private handleLoad = (): void => {\n this.loaded = true;\n };\n\n render() {\n return (\n <Host>\n <img\n class={{\n 'emoji': true,\n [`emoji--${this.size}`]: true,\n 'emoji--hidden': !this.loaded,\n }}\n src={this.currentSrc}\n alt={this.alt ?? this.name}\n onError={this.handleError}\n onLoad={this.handleLoad}\n />\n </Host>\n );\n }\n}\n"],"mappings":"yhBAAA,MAAMA,EAAa,IAAM,gQCMzB,MAAMC,EAAW,oCACjB,MAAMC,EAAa,CAAC,MAAO,MAAO,MAAO,O,MAc5BC,EAAO,M,yBACDC,SAAW,EACXC,OAAS,MAKlBC,KAKAC,IAKAC,KAAoB,KAE5B,iBAAAC,GACEC,KAAKC,c,CAIP,gBAAAC,GACEF,KAAKC,c,CAGC,YAAAA,GACND,KAAKN,SAAW,EAChBM,KAAKL,OAAS,K,CAGhB,aAAYQ,GACV,OAAQC,EAAoCJ,KAAKJ,OAASI,KAAKJ,I,CAGjE,cAAYS,GACV,MAAO,GAAGd,KAAYS,KAAKG,aAAaX,EAAWQ,KAAKN,W,CAGlDY,YAAc,KACpB,GAAIN,KAAKN,SAAWF,EAAWe,OAAS,EAAG,CACzCP,KAAKN,U,GAIDc,WAAa,KACnBR,KAAKL,OAAS,IAAI,EAGpB,MAAAc,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACLC,MAAS,KACT,CAAC,UAAUd,KAAKF,QAAS,KACzB,iBAAkBE,KAAKL,QAEzBoB,IAAKf,KAAKK,WACVR,IAAKG,KAAKH,KAAOG,KAAKJ,KACtBoB,QAAShB,KAAKM,YACdW,OAAQjB,KAAKQ,a","ignoreList":[]}
@@ -1,3 +1,3 @@
1
1
  const e="chucao";const t={hotModuleReplacement:false,lazyLoad:true,propChangeCallback:true,state:true,updatable:true};const n=()=>{};const r=":root{--color-background-base:#100a1c;--color-background-top-glow:#201e40;--color-background-bottom-glow:#261226;--color-surface-default:rgba(32, 30, 64, 0.6);--color-surface-hover:rgba(45, 212, 191, 0.08);--color-scrim-default:rgba(0, 0, 0, 0.6);--color-border-default:rgba(255, 255, 255, 0.08);--color-border-hover:rgba(45, 212, 191, 0.3);--color-accent-default:#2dd4bf;--color-accent-hover:#5ee8d4;--color-accent-text:#06210f;--color-status-positive:#4ade80;--color-status-positive-background:rgba(34, 197, 94, 0.18);--color-status-warning:#f87171;--color-status-warning-background:rgba(248, 113, 113, 0.15);--color-text-primary:#ffffff;--color-text-secondary:rgba(255, 255, 255, 0.55);--color-brand-huemul-dark:#85422b;--color-brand-huemul-light:#b45b38;--color-brand-stroke:#1d1d1b;--typography-body:Fira Sans, Droid Sans, Helvetica Neue, sans-serif;--typography-heading:Inconsolata, monospace;--typography-size-xs:0.68rem;--typography-size-sm:0.85rem;--typography-size-md:1rem;--typography-size-lg:1.25rem;--typography-size-xl:1.5rem;--typography-weight-regular:400;--typography-weight-semibold:600;--typography-weight-bold:700;--typography-tracking-badge:0.03em;--spacing-2xs:0.18rem;--spacing-xs:0.25rem;--spacing-sm:0.35rem;--spacing-md:0.5rem;--spacing-lg:0.6rem;--spacing-xl:0.8rem;--spacing-2xl:1rem;--spacing-3xl:1.25rem;--spacing-4xl:1.35rem;--spacing-5xl:1.5rem;--spacing-6xl:2rem;--spacing-shift:2px;--spacing-elevate:1px;--radius-sm:6px;--radius-md:8px;--radius-pill:999px;--border-width:1px;--border-accent-bar:3px;--shadow-focus-ring:0 0 0 3px rgba(45, 212, 191, 0.12);--shadow-card-hover:0 4px 20px rgba(45, 212, 191, 0.06);--effect-blur:10px;--duration-fast:150ms;--duration-normal:200ms;--duration-spin:800ms;--easing-default:ease;--easing-linear:linear;--focus-outline-width:2px;--focus-outline-offset:2px;--opacity-disabled:0.5;--z-index-base:0;--z-index-dropdown:100;--z-index-modal:1000;--layout-max-width:68rem}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-400-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:600;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-600-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:700;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-700-normal.woff2') format('woff2')}@font-face{font-family:'Inconsolata';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/inconsolata-latin-400-normal.woff2') format('woff2')}:root{--bg:var(--color-background-base);--bg-gradient:radial-gradient(50% 30% ellipse at center top, var(--color-background-top-glow) 0%, rgba(0, 0, 0, 0) 100%),\n radial-gradient(60% 50% ellipse at center bottom, var(--color-background-bottom-glow) 0%, var(--color-background-base) 100%);--surface:var(--color-surface-default);--surface-hover:var(--color-surface-hover);--border:var(--color-border-default);--border-hover:var(--color-border-hover);--text:var(--color-text-primary);--text-muted:var(--color-text-secondary);--accent:var(--color-accent-default);--accent-hover:var(--color-accent-hover);--font-body:var(--typography-body);--font-heading:var(--typography-heading);--radius:var(--radius-sm)}body{font-family:var(--font-body)}.ch-container{width:100%;max-width:var(--layout-max-width);margin-inline:auto}.ch-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.ch-flex{display:flex}.ch-flex-col{display:flex;flex-direction:column}.ch-items-center{align-items:center}.ch-justify-center{justify-content:center}.ch-justify-between{justify-content:space-between}.ch-gap-sm{gap:var(--spacing-md)}.ch-gap-md{gap:var(--spacing-2xl)}.ch-text-center{text-align:center}.ch-text-primary{color:var(--text)}.ch-text-muted{color:var(--text-muted)}.ch-text-accent{color:var(--accent)}.ch-heading{font-family:var(--font-heading)}";var o=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(o||{});var i=(e=>{e["Array"]="array";e["Date"]="date";e["Map"]="map";e["Object"]="object";e["RegularExpression"]="regexp";e["Set"]="set";e["Channel"]="channel";e["Symbol"]="symbol";return e})(i||{});var l="type";var s="value";var a="serialized:";function f(e,t,n){const r=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(e&&e!==r){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!n||r.get))return r;e=Object.getPrototypeOf(e)}return void 0}var c=(e,t)=>{var n;const r=t.t;const o=Object.entries((n=r.o)!=null?n:{});o.map((([n,[r]])=>{if(r&31||r&32){const r=e[n];const o=f(Object.getPrototypeOf(e),n,true)||Object.getOwnPropertyDescriptor(e,n);if(o){Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:true,enumerable:true})}if(t.i.has(n)){e[n]=t.i.get(n)}else if(r!==void 0){e[n]=r}}}))};var u=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var d=(e,n)=>{if(!n)return;e.__stencil__getHostRef=()=>n;n.l=e;if(n.t.u&512&&t.state){c(e,n)}};var v=(e,t)=>{const n={u:0,$hostElement$:e,t,i:new Map,v:new Map};{n.p=new Promise((e=>n.h=e));e["s-p"]=[];e["s-rc"]=[]}{n.m=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var p=(e,t)=>t in e;var h=(e,t)=>(0,console.error)(e,t);var m=new Map;var y=new Map;var g=(e,t,n)=>{var r;const o=e.$.replace(/-/g,"_");const i=e.S;if(!i){return void 0}const l=m.get(i);if(l){return l[o]}const s=(r=y.get(i))!=null?r:0;const a=[s>0?`s-retry=${s}`:"",""].filter(Boolean).join("&");
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${a?"?"+a:""}`).then((e=>{{y.delete(i);m.set(i,e)}return e[o]}),(e=>{y.set(i,s+1);h(e,t.$hostElement$)}))};var b=new Map;var $="r";var w="o";var x="s";var S="t";var j="c";var k="s-id";var O="sty-id";var C="c-id";var I="slot-fb{display:contents}slot-fb[hidden]{display:none}";var M=3;var N=1e3;var E=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var z=typeof window!=="undefined"?window:{};var A={u:0,j:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var L=(()=>{var e;let t=false;try{(e=z.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var R=e=>Promise.resolve(e);var D=(()=>{try{if(!z.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var U=D?(()=>!!z.document&&Object.getOwnPropertyDescriptor(z.document.adoptedStyleSheets,"length").writable)():false;var F=false;var T=[];var H=[];var P=()=>{var e;return((e=z.document)==null?void 0:e.hidden)?W(B):A.raf(B)};var V=(e,t)=>n=>{e.push(n);if(!F){F=true;if(t&&A.u&4){W(B)}else{P()}}};var _=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){h(e)}}e.length=0};var B=()=>{_(T);{_(H);if(F=T.length>0){P()}}};var W=e=>R().then(e);var q=V(H,true);function Y(e){if(!D)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var G;function J(e){var t;const n={mode:"open"};const o=this.attachShadow(n);if(G===void 0)G=(t=Y(r))!=null?t:null;if(G){if(U){o.adoptedStyleSheets.push(G)}else{o.adoptedStyleSheets=[...o.adoptedStyleSheets,G]}}else if(!D){const e=document.createElement("style");e.innerHTML=r;o.prepend(e)}}var Z=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};var K=(e,t,n,r)=>{if(e["s-ol"]&&e["s-ol"].isConnected){return}const o=document.createTextNode("");o["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const l=ee(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=ee(i,"childNodes");const t=[o];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>l.call(i,e)))}else{l.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var Q=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function X(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.flatten){console.error(`\n Flattening is not supported for Stencil non-shadow slots.\n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `)}const o=this["s-cr"].parentElement;const i=o.__childNodes?o.childNodes:Z(o.childNodes);i.forEach((e=>{if(r===Q(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function ee(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var te=(e,t="")=>{{return()=>{}}};var ne=(e,t)=>{{return()=>{}}};function re(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var oe=new WeakMap;var ie=(e,t,n)=>{let r=b.get(e);if(D&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}b.set(e,r)};var le=(e,t,n)=>{var r,o,i;const l=ae(t);const s=b.get(l);if(!z.document){return l}e=e.nodeType===11?e:z.document;if(s){if(typeof s==="string"){e=e.head||e;let n=oe.get(e);let i;if(!n){oe.set(e,n=new Set)}const a=e.querySelector(`[${O}="${l}"]`);if(a){a.textContent=s}else if(!n.has(l)){i=z.document.createElement("style");i.textContent=s;const a=(r=A.k)!=null?r:re(z.document);if(a!=null){i.setAttribute("nonce",a)}if(!(t.u&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(D){const t=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;const n=new t.CSSStyleSheet;n.replaceSync(s);if(U){e.adoptedStyleSheets.unshift(n)}else{e.adoptedStyleSheets=[n,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t&&true){t.textContent=s+t.textContent}else{e.prepend(i)}}}else{e.append(i)}}if(t.u&1){e.insertBefore(i,null)}if(t.u&4){i.textContent+=I}if(n){n.add(l)}}}else{let t=oe.get(e);if(!t){oe.set(e,t=new Set)}if(!t.has(l)){const n=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;let r;if(s.constructor===n.CSSStyleSheet){r=s}else{r=new n.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++){r.insertRule(s.cssRules[e].cssText,e)}}if(U){e.adoptedStyleSheets.push(r)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}t.add(l);if("host"in e){const t=e.querySelector(`[${O}="${l}"]`);if(t){q((()=>t.remove()))}}}}}return l};var se=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=te("attachStyles",t.$);const i=le(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var ae=(e,t)=>"sc-"+e.$;var fe=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var ce=()=>{if(!z.document){return}const e=z.document.querySelectorAll(`[${O}]`);let t=0;for(;t<e.length;t++){ie(e[t].getAttribute(O),fe(e[t].innerHTML),true)}};var ue=e=>{e=typeof e;return e==="object"||e==="function"};var de=(e,t,...n)=>{if(typeof e==="string"){e=kt(e)}let r=null;let o=null;let i=false;let l=false;const s=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(i=typeof e!=="function"&&!ue(r)){r=String(r)}else if(typeof e!=="function"&&r.u===void 0){{h("Invalid vNode child")}continue}if(i&&l){s[s.length-1].O+=r}else{s.push(i?ve(null,r):r)}l=i}}};a(n);if(t){if(t.key){o=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const f=ve(e,null);f.C=t;if(s.length>0){f.I=s}{f.M=o}return f};var ve=(e,t)=>{const n={u:0,N:e,O:t!=null?t:null,A:null,I:null};{n.C=null}{n.M=null}return n};var pe={};var he=e=>e&&e.N===pe;var me=(e,t,n,r)=>{var o,i,l,s;const a=te("hydrateClient",t);const f=e.shadowRoot;const c=[];const d=[];const v=[];const p=f?[]:null;const h=ve(t,null);h.A=e;if(z.document&&(!A.L||!A.L.size)){ge(z.document.body,A.L=new Map)}e[k]=n;e.removeAttribute(k);r.R=ye(h,c,d,p,e,e,n,v);let m=0;const y=c.length;let g;for(m;m<y;m++){g=c[m];const n=g.D+"."+g.U;const r=A.L.get(n);const i=g.A;if(!f){i["s-hn"]=kt(t).toUpperCase();if(g.N==="slot"){i["s-cr"]=e["s-cr"]}}else if(((o=g.N)==null?void 0:o.toString().includes("-"))&&g.N!=="slot-fb"&&!g.A.shadowRoot){const e=u(g.A);if(e){const t=ae(e.t);const n=z.document.querySelector(`style[sty-id="${t}"]`);if(n){p.unshift(n.cloneNode(true))}}}if(g.N==="slot"){g.F=g.A["s-sn"]||g.A["name"]||null;if(g.I){g.u|=2;if(!g.A.childNodes.length){g.I.forEach((e=>{g.A.appendChild(e.A)}))}}else{g.u|=1}}if(r&&r.isConnected){if(r.parentElement.shadowRoot&&r["s-en"]===""){r.parentNode.insertBefore(i,r.nextSibling)}r.parentNode.removeChild(r);if(!f){i["s-oo"]=parseInt(g.U)}}if(r&&!r["s-id"]){A.L.delete(n)}}const b=[];const $=v.length;let w=0;let x;let S;let j;let O;let C=0;for(w;w<$;w++){x=v[w];if(!x||!x.length)continue;j=x.length;S=0;for(S;S<j;S++){O=x[S];if(!b[O.hostId]){b[O.hostId]=A.L.get(O.hostId)}if(!b[O.hostId])continue;const e=b[O.hostId];if(e.shadowRoot&&O.node.parentElement!==e){e.insertBefore(O.node,(l=(i=x[S-1])==null?void 0:i.node)==null?void 0:l.nextSibling)}if(!e.shadowRoot||!f){if(!O.slot["s-cr"]){O.slot["s-cr"]=e["s-cr"];if(!O.slot["s-cr"]&&e.shadowRoot){O.slot["s-cr"]=e}else{O.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}K(O.node,O.slot,false,O.node["s-oo"]||C);if(((s=O.node.parentElement)==null?void 0:s.shadowRoot)&&O.node["getAttribute"]&&O.node.getAttribute("slot")){O.node.removeAttribute("slot")}}C=(O.node["s-oo"]||C)+1}}if(f&&!f.childNodes.length){let t=0;const n=p.length;if(n){for(t;t<n;t++){const e=p[t];if(e){f.appendChild(e)}}Array.from(e.childNodes).forEach((e=>{if(typeof e["s-en"]!=="string"&&typeof e["s-sn"]!=="string"){if(e.nodeType===1&&e.slot&&e.hidden){e.removeAttribute("hidden")}else if(e.nodeType===8&&!e.nodeValue){e.parentNode.removeChild(e)}}}))}}r.$hostElement$=e;a()};var ye=(e,t,n,r,o,i,l,s=[])=>{let a;let f;let c;let u;if(i.nodeType===1){a=i.getAttribute(C);if(a){f=a.split(".");if(f[0]===l||f[0]==="0"){c=be({u:0,D:f[0],U:f[1],T:f[2],H:f[3],N:i.tagName.toLowerCase(),A:i,C:{class:i.className||""}});t.push(c);i.removeAttribute(C);if(!e.I){e.I=[]}const o=c.A.getAttribute("s-sn");if(typeof o==="string"){if(c.N==="slot-fb"){$e(o,f[2],c,i,e,t,n,r,s)}c.A["s-sn"]=o;c.A.removeAttribute("s-sn")}if(c.H!==void 0){e.I[c.H]=c}e=c;if(r&&c.T==="0"){r[c.H]=c.A}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){ye(e,t,n,r,o,i.shadowRoot.childNodes[u],l,s)}}const d=i.__childNodes||i.childNodes;for(u=d.length-1;u>=0;u--){ye(e,t,n,r,o,d[u],l,s)}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===l||f[1]==="0"){a=f[0];c=be({D:f[1],U:f[2],T:f[3],H:f[4]||"0",A:i,C:null,I:null,M:null,F:null,N:null,O:null});if(a===S){c.A=xe(i,3);if(c.A&&c.A.nodeType===3){c.O=c.A.textContent;t.push(c);i.remove();if(l===c.D){if(!e.I){e.I=[]}e.I[c.H]=c}if(r&&c.T==="0"){r[c.H]=c.A}}}else if(a===j){c.A=xe(i,8);if(c.A&&c.A.nodeType===8){t.push(c);i.remove()}}else if(c.D===l){if(a===x){const o=i["s-sn"]=f[5]||"";$e(o,f[2],c,i,e,t,n,r,s)}else if(a===$){if(r){i.remove()}}}}}else if(e&&e.N==="style"){const t=ve(null,i.textContent);t.A=i;t.H="0";e.I=[t]}return e};var ge=(e,t)=>{if(e.nodeType===1){const n=e[k]||e.getAttribute(k);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){ge(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){ge(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===w){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var be=e=>{const t={u:0,D:null,U:null,T:null,H:"0",A:null,C:null,I:null,M:null,F:null,N:null,O:null};return{...t,...e}};function $e(e,t,n,r,o,i,l,s,a){r["s-sr"]=true;n.F=e||null;n.N="slot";const f=(o==null?void 0:o.A)?o.A["s-id"]||o.A.getAttribute("s-id"):"";if(s&&z.document){const i=n.A=z.document.createElement(n.N);if(n.F){n.A.setAttribute("name",e)}if(o.A.shadowRoot&&f&&f!==n.D){ee(o.A,"insertBefore")(i,ee(o.A,"children")[0])}else{ee(ee(r,"parentNode"),"insertBefore")(i,r)}we(a,t,e,r,n.D);r.remove();if(n.T==="0"){s[n.H]=n.A}}else{const i=n.A;const l=f&&f!==n.D&&o.A.shadowRoot;we(a,t,e,r,l?f:n.D);X(r);if(l){o.A.insertBefore(i,o.A.children[0])}}i.push(n);l.push(n);if(!o.I){o.I=[]}o.I[n.H]=n}var we=(e,t,n,r,o)=>{var i,l;let s=r.nextSibling;e[t]=e[t]||[];if(!s||((i=s.nodeValue)==null?void 0:i.startsWith(x+".")))return;do{if(s&&((s["getAttribute"]&&s.getAttribute("slot")||s["s-sn"])===n||n===""&&!s["s-sn"]&&(!s["getAttribute"]||!s.getAttribute("slot"))&&(s.nodeType===8||s.nodeType===3))){s["s-sn"]=n;e[t].push({slot:r,node:s,hostId:o})}s=s==null?void 0:s.nextSibling}while(s&&!((l=s.nodeValue)==null?void 0:l.startsWith(x+".")))};var xe=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Se=e=>{if(!e)return void 0;const t=Object.keys(e);if(t.length===0)return void 0;let n=false;for(const r of t){if(n)break;for(const t of e[r]){if(typeof t==="string"){n=true;break}}}if(!n)return e;const r={};for(const n of t){r[n]=e[n].map((e=>typeof e==="string"?{[e]:0}:e))}return r};var je=class e{static fromLocalValue(t){const n=t[l];const r=s in t?t[s]:void 0;switch(n){case"string":return r;case"boolean":return r;case"bigint":return BigInt(r);case"undefined":return void 0;case"null":return null;case"number":if(r==="NaN")return NaN;if(r==="-0")return-0;if(r==="Infinity")return Infinity;if(r==="-Infinity")return-Infinity;return r;case"array":return r.map((t=>e.fromLocalValue(t)));case"date":return new Date(r);case"map":const t=new Map;for(const[n,o]of r){const r=typeof n==="object"&&n!==null?e.fromLocalValue(n):n;const i=e.fromLocalValue(o);t.set(r,i)}return t;case"object":const o={};for(const[t,n]of r){o[t]=e.fromLocalValue(n)}return o;case"regexp":const{pattern:i,flags:l}=r;return new RegExp(i,l);case"set":const s=new Set;for(const t of r){s.add(e.fromLocalValue(t))}return s;case"symbol":return Symbol(r);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(l)){return false}const t=e[l];const n=Object.values({...o,...i}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(s)}return true}};function ke(e){const t=atob(e);const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++){n[e]=t.charCodeAt(e)}return(new TextDecoder).decode(n)}function Oe(e){if(typeof e!=="string"||!e.startsWith(a)){return e}return je.fromLocalValue(JSON.parse(ke(e.slice(a.length))))}var Ce=(e,t,n)=>{if(typeof e==="string"&&e.startsWith(a)){e=Oe(e);return e}if(e!=null&&!ue(e)){if(t&4){if(n&&typeof e==="string"){return e===""||!!e}else{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var Ie=e=>{var t;return(t=u(e))==null?void 0:t.$hostElement$};var Me=(e,t,n)=>{const r=Ie(e);return{emit:e=>Ne(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Ne=(e,t,n)=>{const r=A.ce(t,n);e.dispatchEvent(r);return r};var Ee=(e,t,n,r,o,i,l)=>{if(n===r){return}let s=p(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const o=Ae(n);let i=Ae(r);if((e["s-si"]||e["s-sc"])&&l){const n=e["s-sc"]||e["s-si"];i.push(n);o.forEach((e=>{if(e.startsWith(n))i.push(e)}));i=[...new Set(i)].filter((e=>e));t.add(...i)}else{t.remove(...o.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!o.includes(e))))}}else if(t==="key");else if(t==="ref"){if(r){Ke(r,e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(p(z,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const o=t.endsWith(Le);t=t.replace(Re,"");if(n){A.rel(e,t,n,o)}if(r){A.ael(e,t,r,o)}}}else if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=u(e);if(t&&t.t&&t.t.o){const e=t.t.o[n];if(e&&e[1]){o=e[1]}}}if(!o){o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(r==null||r===false){if(r!==false||e.getAttribute(o)===""){e.removeAttribute(o)}}else{e.setAttribute(o,r===true?"":r)}return}else if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=r}catch(e){}return}else{const l=ue(r);if((s||l&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!==o){if(typeof e.__lookupSetter__(t)==="function"){e[t]=o}else{e.setAttribute(t,o)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!l&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var ze=/\s/;var Ae=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(ze)};var Le="Capture";var Re=new RegExp(Le+"$");var De=(e,t,n,r)=>{const o=t.A.nodeType===11&&t.A.host?t.A.host:t.A;const i=e&&e.C||{};const l=t.C||{};{for(const e of Ue(Object.keys(i))){if(!(e in l)){Ee(o,e,i[e],void 0,n,t.u,r)}}}for(const e of Ue(Object.keys(l))){Ee(o,e,i[e],l[e],n,t.u,r)}};function Ue(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Fe;var Te=false;var He=false;var Pe=[];var Ve=[];var _e=(e,t,n)=>{const r=t.I[n];let o=0;let i;let l;if(r.O!=null){i=r.A=z.document.createTextNode(r.O)}else{if(!z.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}i=r.A=z.document.createElement(r.N);{De(null,r,He)}if(r.I){const t=r.N==="template"?i.content:i;for(o=0;o<r.I.length;++o){l=_e(e,r,o);if(l){t.appendChild(l)}}}}i["s-hn"]=Fe;return i};var Be=e=>{A.u|=1;const t=e.closest(Fe.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const r=Array.from(e.__childNodes||e.childNodes);for(const e of n?r.reverse():r){if(e["s-sh"]!=null){Xe(t,e,n!=null?n:null);e["s-sh"]=void 0}}}A.u&=-2};var We=(e,t,n,r,o,i)=>{let l=e;let s;if(l.shadowRoot&&l.tagName===Fe){l=l.shadowRoot}if(n.N==="template"){l=l.content}for(;o<=i;++o){if(r[o]){s=_e(null,n,o);if(s){r[o].A=s;Xe(l,s,t)}}}};var qe=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.A;Ze(t);if(e){e.remove()}}}};var Ye=(e,t,n,r,o=false)=>{let i=0;let l=0;let s=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let d=r.length-1;let v=r[0];let p=r[d];let h;let m;const y=n.N==="template"?e.content:e;while(i<=f&&l<=d){if(c==null){c=t[++i]}else if(u==null){u=t[--f]}else if(v==null){v=r[++l]}else if(p==null){p=r[--d]}else if(Ge(c,v,o)){Je(c,v,o);c=t[++i];v=r[++l]}else if(Ge(u,p,o)){Je(u,p,o);u=t[--f];p=r[--d]}else if(Ge(c,p,o)){Je(c,p,o);Xe(y,c.A,u.A.nextSibling);c=t[++i];p=r[--d]}else if(Ge(u,v,o)){Je(u,v,o);Xe(y,u.A,c.A);u=t[--f];v=r[++l]}else{s=-1;{for(a=i;a<=f;++a){if(t[a]&&t[a].M!==null&&t[a].M===v.M){s=a;break}}}if(s>=0){m=t[s];if(m.N!==v.N){h=_e(t&&t[l],n,s)}else{Je(m,v,o);t[s]=void 0;h=m.A}v=r[++l]}else{h=_e(t&&t[l],n,l);v=r[++l]}if(h){{Xe(c.A.parentNode,h,c.A)}}}}if(i>f){We(e,r[d+1]==null?null:r[d+1].A,n,r,l,d)}else if(l>d){qe(t,i,f)}};var Ge=(e,t,n=false)=>{if(e.N===t.N){if(!n){return e.M===t.M}if(n&&!e.M&&t.M){e.M=t.M}return true}return false};var Je=(e,n,r=false)=>{const o=n.A=e.A;const i=e.I;const l=n.I;const s=n.N;const a=n.O;if(a==null){{if(s==="slot"&&!Te){if(e.F!==n.F){n.A["s-sn"]=n.F||"";Be(n.A.parentElement)}}De(e,n,He,r)}if(i!==null&&l!==null){Ye(o,i,n,l,r)}else if(l!==null){if(e.O!==null){o.textContent=""}We(o,null,n,l,0,l.length-1)}else if(!r&&t.updatable&&i!==null){qe(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&l===null){n.I=i}}else if(e.O!==a){o.data=a}};var Ze=e=>{{if(e.C&&e.C.ref){Pe.push((()=>e.C.ref(null)))}e.I&&e.I.map(Ze)}};var Ke=(e,t)=>{{Ve.push((()=>e(t)))}};var Qe=()=>{{Pe.forEach((e=>e()));Pe.length=0;Ve.forEach((e=>e()));Ve.length=0}};var Xe=(e,t,n,r)=>{if(e.__insertBefore){return e.__insertBefore(t,n)}else{return e==null?void 0:e.insertBefore(t,n)}};var et=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.t;const i=e.R||ve(null,null);const l=he(t);const s=l?t:de(null,null,t);Fe=r.tagName;if(o.P){s.C=s.C||{};o.P.forEach((([e,t])=>{{s.C[t]=r[e]}}))}if(n&&s.C){for(const e of Object.keys(s.C)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){s.C[e]=r[e]}}}s.N=null;s.u|=4;e.R=s;s.A=i.A=r.shadowRoot||r;Te=!!(o.u&1)&&!(o.u&128);Je(i,s,n);Qe()};var tt=(e,t)=>{if(t&&!e.V&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.V=()=>{t["s-p"].splice(n-1,1);r()})))}};var nt=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}tt(e,e._);const n=()=>rt(e,t);if(t){queueMicrotask((()=>{n()}));return}return q(n)};var rt=(e,t)=>{const n=e.$hostElement$;const r=te("scheduleUpdate",e.t.$);const o=e.l;if(!o){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let i;if(t){{{e.u|=256;if(e.B){e.B.map((([e,t])=>ct(o,e,t,n)));e.B=void 0}}if(e.m.length){e.m.forEach((e=>e(n)))}}i=ct(o,"componentWillLoad",void 0,n)}else{i=ct(o,"componentWillUpdate",void 0,n)}i=ot(i,(()=>ct(o,"componentWillRender",void 0,n)));r();return ot(i,(()=>lt(e,o,t)))};var ot=(e,t)=>it(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var it=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var lt=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=te("update",e.t.$);const l=o["s-rc"];if(n){se(e)}const s=te("render",e.t.$);{st(e,t,o,n)}if(l){l.map((e=>e()));o["s-rc"]=void 0}s();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>at(e);if(t.length===0){n()}else{Promise.all(t).then(n).catch(n);e.u|=4;t.length=0}}};var st=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{et(e,t,r)}}}}catch(t){h(t,e.$hostElement$)}return null};var at=e=>{const t=e.t.$;const n=e.$hostElement$;const r=te("postUpdate",t);const o=e.l;const i=e._;ct(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;ct(o,"componentDidLoad",void 0,n);r();{e.h(n);if(!i){ft()}}}else{ct(o,"componentDidUpdate",void 0,n);r()}{if(e.V){e.V();e.V=void 0}if(e.u&512){W((()=>nt(e,false)))}e.u&=-517}};var ft=t=>{var n;W((()=>Ne(z,"appload",{detail:{namespace:e}})));{if((n=A.L)==null?void 0:n.size){A.L.clear()}}};var ct=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){h(e,r)}}return void 0};var ut=(e,t)=>u(e).i.get(t);var dt=(e,t,n,r)=>{const o=u(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const i=o.$hostElement$;const l=o.i.get(t);const s=o.u;const a=o.l;n=Ce(n,r.o[t][0],!!(r.u&64));const f=Number.isNaN(l)&&Number.isNaN(n);const c=n!==l&&!f;if((!(s&8)||l===void 0)&&c){o.i.set(t,n);if(r.W){const e=r.W[t];if(e){e.map((e=>{try{const[[r,i]]=Object.entries(e);if(s&128||i&1){if(!a){o.m.push((()=>{o.l[r](n,l,t)}))}else{a[r](n,l,t)}}}catch(e){h(e,i)}}))}}if(s&2){if(a.componentShouldUpdate){const e=a.componentShouldUpdate(n,l,t);if(e===false&&!(s&16)){return}}if(!(s&16)){nt(o,false)}}}};var vt=(e,n,r)=>{var o,i;const l=e.prototype;if(n.u&64&&r&1){E.forEach((e=>{Object.defineProperty(l,e,{value(...t){var n;const r=u(this);const o=r==null?void 0:r.l;if(!o){(n=r==null?void 0:r.p)==null?void 0:n.then((n=>{const r=n[e];typeof r==="function"&&r.call(n,...t)}))}else{const n=o[e];typeof n==="function"&&n.call(o,...t)}}})}))}if(n.o||t.propChangeCallback){{if(e.watchers&&!n.W){n.W=Se(e.watchers)}if(e.deserializers&&!n.q){n.q=e.deserializers}if(e.serializers&&!n.Y){n.Y=e.serializers}}const s=Object.entries((o=n.o)!=null?o:{});s.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=f(l,e)||{};if(o)n.o[e][0]|=2048;if(i)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(l,e,{get(){{if((n.o[e][0]&2048)===0){return ut(this,e)}const t=u(this);const r=t?t.l:l;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(l,e,{set(o){const l=u(this);if(!l){return}if(i){const r=t&32?this[e]:l.$hostElement$[e];if(typeof r==="undefined"&&l.i.get(e)){o=l.i.get(e)}i.apply(this,[Ce(o,t,!!(n.u&64))]);o=t&32?this[e]:l.$hostElement$[e];dt(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){dt(this,e,o,n);if(r&1&&!l.l){l.m.push((()=>{if(n.o[e][0]&4096&&l.l[e]!==l.i.get(e)){l.l[e]=o}}))}return}const i=()=>{const r=l.l[e];if(!l.i.get(e)&&r){l.i.set(e,r)}l.l[e]=Ce(o,t,!!(n.u&64));dt(this,e,l.l[e],n)};if(l.l){i()}else{l.m.push((()=>{i()}))}}}})}}));if(r&1){const r=new Map;l.attributeChangedCallback=function(e,o,i){A.jmp((()=>{var a;const f=r.get(e);const c=u(this);if(this.hasOwnProperty(f)&&t.lazyLoad){i=this[f];delete this[f]}if(l.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==i){return}else if(f==null){const t=c==null?void 0:c.u;if(c&&t&&!(t&8)&&i!==o){const r=c.l;const l=(a=n.W)==null?void 0:a[e];l==null?void 0:l.forEach((n=>{const[[l,s]]=Object.entries(n);if(r[l]!=null&&(t&128||s&1)){r[l].call(r,i,o,e)}}))}return}const d=s.find((([e])=>e===f));const v=d&&d[1][0]&4;const p=v&&i===null&&this[f]===void 0;if(v){i=i===null||i==="false"?false:true}const h=Object.getOwnPropertyDescriptor(l,f);if(!p&&i!=this[f]&&(!h.get||!!h.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.W)!=null?i:{}),...s.filter((([e,t])=>t[0]&31)).map((([e,t])=>{var o;const i=t[1]||e;r.set(i,e);if(t[0]&512){(o=n.P)==null?void 0:o.push([e,i])}return i}))]))}}return e};var pt=async(e,n,r,o)=>{var i;let l;try{if((n.u&32)===0){n.u|=32;n.u&=-1025;const o=r.S;if(o){const t=g(r,n);if(t&&"then"in t){const e=ne();l=await t;e()}else{l=t}if(!l){n.u&=-33;n.G=((i=n.G)!=null?i:0)+1;if(n.G<M){n.u|=1024}throw new Error(`Constructor for "${r.$}#${n.J}" was not found`)}if(!l.isProxied){{r.W=Se(l.watchers);r.Y=l.serializers;r.q=l.deserializers}vt(l,r,2);l.isProxied=true}const o=te("createInstance",r.$);{n.u|=8}try{new l(n)}catch(t){h(t,e)}{n.u&=-9}{n.u|=128}o();{ht(n.l,e)}}else{l=e.constructor;const t=e.localName;customElements.whenDefined(t).then((()=>n.u|=128))}if(l&&l.style){let e;if(typeof l.style==="string"){e=l.style}const n=ae(r);if(!b.has(n)||t.hotModuleReplacement){const t=te("registerStyles",r.$);ie(n,e,!!(r.u&1));t()}}}const o=n._;const s=()=>nt(n,true);if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}}catch(t){h(t,e);if(n.V){n.V();n.V=void 0}if(n.h&&!(n.u&1024)){n.h(e)}}};var ht=(e,t)=>{{ct(e,"connectedCallback",void 0,t)}};var mt=e=>{if((A.u&1)===0){const t=u(e);if(!t){return}const n=t.t;const r=te("connectedCallback",n.$);if(!(t.u&1)){t.u|=1;let r;{r=e.getAttribute(k);if(r){if(n.u&1){const t=le(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}me(e,n.$,r,t)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){tt(t,t._=n);break}}}if(n.o){Object.entries(n.o).map((([t,[n]])=>{if(n&31&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t];e[t]=n}}))}{pt(e,t,n)}}else{$t(e,t,n.Z);if(t==null?void 0:t.l){ht(t.l,e)}else if(t.u&1024){setTimeout((()=>pt(e,t,n)),N)}else if(t==null?void 0:t.p){t.p.then((()=>ht(t.l,e)))}}r()}};var yt=(e,t)=>{{ct(e,"disconnectedCallback",void 0,t||e)}};var gt=async e=>{if((A.u&1)===0){const t=u(e);{if(t==null?void 0:t.K){t.K.map((e=>e()));t.K=void 0}}if(t==null?void 0:t.l){yt(t.l,e)}else if(t==null?void 0:t.p){t.p.then((()=>yt(t.l,e)))}}if(oe.has(e)){oe.delete(e)}if(e.shadowRoot&&oe.has(e.shadowRoot)){oe.delete(e.shadowRoot)}};var bt=(e,t={})=>{var n;if(!z.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=te();const o=[];const i=t.exclude||[];const l=z.customElements;const s=z.document.head;const a=s.querySelector("meta[charset]");const f=z.document.createElement("style");const c=[];let d;let p=true;Object.assign(A,t);A.j=new URL(t.resourcesUrl||"./",z.document.baseURI).href;{A.u|=2}{ce()}e.map((e=>{e[1].map((t=>{var n,r;const s={u:t[0],$:t[1],o:t[2],Z:t[3]};{s.o=t[2]}{s.Z=t[3]}{s.P=[]}{s.W=Se(t[4]);s.Y=(n=t[5])!=null?n:{};s.q=(r=t[6])!=null?r:{}}const a=kt(s.$);const f=class extends HTMLElement{["s-p"];["s-rc"];hasRegisteredEventListeners=false;constructor(e){super(e);e=this;v(e,s);if(s.u&1){{if(!e.shadowRoot){J.call(e,s)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${s.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=u(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;$t(this,e,s.Z)}if(d){clearTimeout(d);d=null}if(p){c.push(this)}else{A.jmp((()=>mt(this)))}}disconnectedCallback(){A.jmp((()=>gt(this)));W((()=>{var e;const t=u(this);if(!t){return}const n=c.findIndex((e=>e===this));if(n>-1){c.splice(n,1)}if(((e=t==null?void 0:t.R)==null?void 0:e.A)instanceof Node&&!t.R.A.isConnected){delete t.R.A}}))}componentOnReady(){var e;return(e=u(this))==null?void 0:e.p}};if(s.u&64){f.formAssociated=true}s.S=e[0];if(!i.includes(a)&&!l.get(a)){o.push(a);l.define(a,vt(f,s,1))}}))}));if(o.length>0){if(f.innerHTML.length){f.setAttribute("data-styles","");const e=(n=A.k)!=null?n:re(z.document);if(e!=null){f.setAttribute("nonce",e)}s.insertBefore(f,a?a.nextSibling:s.firstChild)}}p=false;if(c.length){c.map((e=>e.connectedCallback()))}else{{A.jmp((()=>d=setTimeout(ft,30)))}}r()};var $t=(e,t,n,r)=>{if(n&&z.document){n.map((([n,r,o])=>{const i=xt(z.document,e,n);const l=wt(t,o);const s=St(n);A.ael(i,r,l,s);(t.K=t.K||[]).push((()=>A.rel(i,r,l,s)))}))}};var wt=(e,t)=>n=>{var r;try{{if(e.u&256){(r=e.l)==null?void 0:r[t](n)}else{(e.B=e.B||[]).push([t,n])}}}catch(t){h(t,e.$hostElement$)}};var xt=(e,t,n)=>{if(n&4){return e}return t};var St=e=>L?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var jt=e=>A.k=e;function kt(e){return e}export{pe as H,Ie as a,bt as b,Me as c,n as g,de as h,R as p,d as r,jt as s};
3
- //# sourceMappingURL=p-BaKXvAYc.js.map
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${a?"?"+a:""}`).then((e=>{{y.delete(i);m.set(i,e)}return e[o]}),(e=>{y.set(i,s+1);h(e,t.$hostElement$)}))};var b=new Map;var $="r";var w="o";var x="s";var S="t";var j="c";var k="s-id";var O="sty-id";var C="c-id";var I="slot-fb{display:contents}slot-fb[hidden]{display:none}";var M=3;var N=1e3;var E=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var z=typeof window!=="undefined"?window:{};var A={u:0,j:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var L=(()=>{var e;let t=false;try{(e=z.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var R=e=>Promise.resolve(e);var D=(()=>{try{if(!z.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var U=D?(()=>!!z.document&&Object.getOwnPropertyDescriptor(z.document.adoptedStyleSheets,"length").writable)():false;var F=false;var T=[];var H=[];var P=()=>{var e;return((e=z.document)==null?void 0:e.hidden)?W(B):A.raf(B)};var V=(e,t)=>n=>{e.push(n);if(!F){F=true;if(t&&A.u&4){W(B)}else{P()}}};var _=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){h(e)}}e.length=0};var B=()=>{_(T);{_(H);if(F=T.length>0){P()}}};var W=e=>R().then(e);var q=V(H,true);function Y(e){if(!D)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var G;function J(e){var t;const n={mode:"open"};const o=this.attachShadow(n);if(G===void 0)G=(t=Y(r))!=null?t:null;if(G){if(U){o.adoptedStyleSheets.push(G)}else{o.adoptedStyleSheets=[...o.adoptedStyleSheets,G]}}else if(!D){const e=document.createElement("style");e.innerHTML=r;o.prepend(e)}}var Z=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};var K=(e,t,n,r)=>{if(e["s-ol"]&&e["s-ol"].isConnected){return}const o=document.createTextNode("");o["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const l=ee(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=ee(i,"childNodes");const t=[o];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>l.call(i,e)))}else{l.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var Q=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function X(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.flatten){console.error(`\n Flattening is not supported for Stencil non-shadow slots.\n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `)}const o=this["s-cr"].parentElement;const i=o.__childNodes?o.childNodes:Z(o.childNodes);i.forEach((e=>{if(r===Q(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function ee(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var te=(e,t="")=>{{return()=>{}}};var ne=(e,t)=>{{return()=>{}}};function re(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var oe=new WeakMap;var ie=(e,t,n)=>{let r=b.get(e);if(D&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}b.set(e,r)};var le=(e,t,n)=>{var r,o,i;const l=ae(t);const s=b.get(l);if(!z.document){return l}e=e.nodeType===11?e:z.document;if(s){if(typeof s==="string"){e=e.head||e;let n=oe.get(e);let i;if(!n){oe.set(e,n=new Set)}const a=e.querySelector(`[${O}="${l}"]`);if(a){a.textContent=s}else if(!n.has(l)){i=z.document.createElement("style");i.textContent=s;const a=(r=A.k)!=null?r:re(z.document);if(a!=null){i.setAttribute("nonce",a)}if(!(t.u&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(D){const t=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;const n=new t.CSSStyleSheet;n.replaceSync(s);if(U){e.adoptedStyleSheets.unshift(n)}else{e.adoptedStyleSheets=[n,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t&&true){t.textContent=s+t.textContent}else{e.prepend(i)}}}else{e.append(i)}}if(t.u&1){e.insertBefore(i,null)}if(t.u&4){i.textContent+=I}if(n){n.add(l)}}}else{let t=oe.get(e);if(!t){oe.set(e,t=new Set)}if(!t.has(l)){const n=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;let r;if(s.constructor===n.CSSStyleSheet){r=s}else{r=new n.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++){r.insertRule(s.cssRules[e].cssText,e)}}if(U){e.adoptedStyleSheets.push(r)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}t.add(l);if("host"in e){const t=e.querySelector(`[${O}="${l}"]`);if(t){q((()=>t.remove()))}}}}}return l};var se=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=te("attachStyles",t.$);const i=le(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var ae=(e,t)=>"sc-"+e.$;var fe=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var ce=()=>{if(!z.document){return}const e=z.document.querySelectorAll(`[${O}]`);let t=0;for(;t<e.length;t++){ie(e[t].getAttribute(O),fe(e[t].innerHTML),true)}};var ue=e=>{e=typeof e;return e==="object"||e==="function"};var de=(e,t,...n)=>{if(typeof e==="string"){e=It(e)}let r=null;let o=null;let i=false;let l=false;const s=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(i=typeof e!=="function"&&!ue(r)){r=String(r)}else if(typeof e!=="function"&&r.u===void 0){{h("Invalid vNode child")}continue}if(i&&l){s[s.length-1].O+=r}else{s.push(i?ve(null,r):r)}l=i}}};a(n);if(t){if(t.key){o=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const f=ve(e,null);f.C=t;if(s.length>0){f.I=s}{f.M=o}return f};var ve=(e,t)=>{const n={u:0,N:e,O:t!=null?t:null,A:null,I:null};{n.C=null}{n.M=null}return n};var pe={};var he=e=>e&&e.N===pe;var me=(e,t,n,r)=>{var o,i,l,s;const a=te("hydrateClient",t);const f=e.shadowRoot;const c=[];const d=[];const v=[];const p=f?[]:null;const h=ve(t,null);h.A=e;if(z.document&&(!A.L||!A.L.size)){ge(z.document.body,A.L=new Map)}e[k]=n;e.removeAttribute(k);r.R=ye(h,c,d,p,e,e,n,v);let m=0;const y=c.length;let g;for(m;m<y;m++){g=c[m];const n=g.D+"."+g.U;const r=A.L.get(n);const i=g.A;if(!f){i["s-hn"]=It(t).toUpperCase();if(g.N==="slot"){i["s-cr"]=e["s-cr"]}}else if(((o=g.N)==null?void 0:o.toString().includes("-"))&&g.N!=="slot-fb"&&!g.A.shadowRoot){const e=u(g.A);if(e){const t=ae(e.t);const n=z.document.querySelector(`style[sty-id="${t}"]`);if(n){p.unshift(n.cloneNode(true))}}}if(g.N==="slot"){g.F=g.A["s-sn"]||g.A["name"]||null;if(g.I){g.u|=2;if(!g.A.childNodes.length){g.I.forEach((e=>{g.A.appendChild(e.A)}))}}else{g.u|=1}}if(r&&r.isConnected){if(r.parentElement.shadowRoot&&r["s-en"]===""){r.parentNode.insertBefore(i,r.nextSibling)}r.parentNode.removeChild(r);if(!f){i["s-oo"]=parseInt(g.U)}}if(r&&!r["s-id"]){A.L.delete(n)}}const b=[];const $=v.length;let w=0;let x;let S;let j;let O;let C=0;for(w;w<$;w++){x=v[w];if(!x||!x.length)continue;j=x.length;S=0;for(S;S<j;S++){O=x[S];if(!b[O.hostId]){b[O.hostId]=A.L.get(O.hostId)}if(!b[O.hostId])continue;const e=b[O.hostId];if(e.shadowRoot&&O.node.parentElement!==e){e.insertBefore(O.node,(l=(i=x[S-1])==null?void 0:i.node)==null?void 0:l.nextSibling)}if(!e.shadowRoot||!f){if(!O.slot["s-cr"]){O.slot["s-cr"]=e["s-cr"];if(!O.slot["s-cr"]&&e.shadowRoot){O.slot["s-cr"]=e}else{O.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}K(O.node,O.slot,false,O.node["s-oo"]||C);if(((s=O.node.parentElement)==null?void 0:s.shadowRoot)&&O.node["getAttribute"]&&O.node.getAttribute("slot")){O.node.removeAttribute("slot")}}C=(O.node["s-oo"]||C)+1}}if(f&&!f.childNodes.length){let t=0;const n=p.length;if(n){for(t;t<n;t++){const e=p[t];if(e){f.appendChild(e)}}Array.from(e.childNodes).forEach((e=>{if(typeof e["s-en"]!=="string"&&typeof e["s-sn"]!=="string"){if(e.nodeType===1&&e.slot&&e.hidden){e.removeAttribute("hidden")}else if(e.nodeType===8&&!e.nodeValue){e.parentNode.removeChild(e)}}}))}}r.$hostElement$=e;a()};var ye=(e,t,n,r,o,i,l,s=[])=>{let a;let f;let c;let u;if(i.nodeType===1){a=i.getAttribute(C);if(a){f=a.split(".");if(f[0]===l||f[0]==="0"){c=be({u:0,D:f[0],U:f[1],T:f[2],H:f[3],N:i.tagName.toLowerCase(),A:i,C:{class:i.className||""}});t.push(c);i.removeAttribute(C);if(!e.I){e.I=[]}const o=c.A.getAttribute("s-sn");if(typeof o==="string"){if(c.N==="slot-fb"){$e(o,f[2],c,i,e,t,n,r,s)}c.A["s-sn"]=o;c.A.removeAttribute("s-sn")}if(c.H!==void 0){e.I[c.H]=c}e=c;if(r&&c.T==="0"){r[c.H]=c.A}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){ye(e,t,n,r,o,i.shadowRoot.childNodes[u],l,s)}}const d=i.__childNodes||i.childNodes;for(u=d.length-1;u>=0;u--){ye(e,t,n,r,o,d[u],l,s)}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===l||f[1]==="0"){a=f[0];c=be({D:f[1],U:f[2],T:f[3],H:f[4]||"0",A:i,C:null,I:null,M:null,F:null,N:null,O:null});if(a===S){c.A=xe(i,3);if(c.A&&c.A.nodeType===3){c.O=c.A.textContent;t.push(c);i.remove();if(l===c.D){if(!e.I){e.I=[]}e.I[c.H]=c}if(r&&c.T==="0"){r[c.H]=c.A}}}else if(a===j){c.A=xe(i,8);if(c.A&&c.A.nodeType===8){t.push(c);i.remove()}}else if(c.D===l){if(a===x){const o=i["s-sn"]=f[5]||"";$e(o,f[2],c,i,e,t,n,r,s)}else if(a===$){if(r){i.remove()}}}}}else if(e&&e.N==="style"){const t=ve(null,i.textContent);t.A=i;t.H="0";e.I=[t]}return e};var ge=(e,t)=>{if(e.nodeType===1){const n=e[k]||e.getAttribute(k);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){ge(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){ge(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===w){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var be=e=>{const t={u:0,D:null,U:null,T:null,H:"0",A:null,C:null,I:null,M:null,F:null,N:null,O:null};return{...t,...e}};function $e(e,t,n,r,o,i,l,s,a){r["s-sr"]=true;n.F=e||null;n.N="slot";const f=(o==null?void 0:o.A)?o.A["s-id"]||o.A.getAttribute("s-id"):"";if(s&&z.document){const i=n.A=z.document.createElement(n.N);if(n.F){n.A.setAttribute("name",e)}if(o.A.shadowRoot&&f&&f!==n.D){ee(o.A,"insertBefore")(i,ee(o.A,"children")[0])}else{ee(ee(r,"parentNode"),"insertBefore")(i,r)}we(a,t,e,r,n.D);r.remove();if(n.T==="0"){s[n.H]=n.A}}else{const i=n.A;const l=f&&f!==n.D&&o.A.shadowRoot;we(a,t,e,r,l?f:n.D);X(r);if(l){o.A.insertBefore(i,o.A.children[0])}}i.push(n);l.push(n);if(!o.I){o.I=[]}o.I[n.H]=n}var we=(e,t,n,r,o)=>{var i,l;let s=r.nextSibling;e[t]=e[t]||[];if(!s||((i=s.nodeValue)==null?void 0:i.startsWith(x+".")))return;do{if(s&&((s["getAttribute"]&&s.getAttribute("slot")||s["s-sn"])===n||n===""&&!s["s-sn"]&&(!s["getAttribute"]||!s.getAttribute("slot"))&&(s.nodeType===8||s.nodeType===3))){s["s-sn"]=n;e[t].push({slot:r,node:s,hostId:o})}s=s==null?void 0:s.nextSibling}while(s&&!((l=s.nodeValue)==null?void 0:l.startsWith(x+".")))};var xe=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Se=e=>{if(!e)return void 0;const t=Object.keys(e);if(t.length===0)return void 0;let n=false;for(const r of t){if(n)break;for(const t of e[r]){if(typeof t==="string"){n=true;break}}}if(!n)return e;const r={};for(const n of t){r[n]=e[n].map((e=>typeof e==="string"?{[e]:0}:e))}return r};var je=class e{static fromLocalValue(t){const n=t[l];const r=s in t?t[s]:void 0;switch(n){case"string":return r;case"boolean":return r;case"bigint":return BigInt(r);case"undefined":return void 0;case"null":return null;case"number":if(r==="NaN")return NaN;if(r==="-0")return-0;if(r==="Infinity")return Infinity;if(r==="-Infinity")return-Infinity;return r;case"array":return r.map((t=>e.fromLocalValue(t)));case"date":return new Date(r);case"map":const t=new Map;for(const[n,o]of r){const r=typeof n==="object"&&n!==null?e.fromLocalValue(n):n;const i=e.fromLocalValue(o);t.set(r,i)}return t;case"object":const o={};for(const[t,n]of r){o[t]=e.fromLocalValue(n)}return o;case"regexp":const{pattern:i,flags:l}=r;return new RegExp(i,l);case"set":const s=new Set;for(const t of r){s.add(e.fromLocalValue(t))}return s;case"symbol":return Symbol(r);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(l)){return false}const t=e[l];const n=Object.values({...o,...i}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(s)}return true}};function ke(e){const t=atob(e);const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++){n[e]=t.charCodeAt(e)}return(new TextDecoder).decode(n)}function Oe(e){if(typeof e!=="string"||!e.startsWith(a)){return e}return je.fromLocalValue(JSON.parse(ke(e.slice(a.length))))}var Ce=(e,t,n)=>{if(typeof e==="string"&&e.startsWith(a)){e=Oe(e);return e}if(e!=null&&!ue(e)){if(t&4){if(n&&typeof e==="string"){return e===""||!!e}else{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var Ie=e=>{var t;return(t=u(e))==null?void 0:t.$hostElement$};var Me=(e,t,n)=>{const r=Ie(e);return{emit:e=>Ne(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Ne=(e,t,n)=>{const r=A.ce(t,n);e.dispatchEvent(r);return r};var Ee=(e,t,n,r,o,i,l)=>{if(n===r){return}let s=p(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const o=Re(n);let i=Re(r);if((e["s-si"]||e["s-sc"])&&l){const n=e["s-sc"]||e["s-si"];i.push(n);o.forEach((e=>{if(e.startsWith(n))i.push(e)}));i=[...new Set(i)].filter((e=>e));t.add(...i)}else{t.remove(...o.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!o.includes(e))))}}else if(t==="key");else if(t==="ref"){if(r){Xe(r,e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(p(z,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const o=t.endsWith(De);t=t.replace(Ue,"");if(n){A.rel(e,t,n,o)}if(r){A.ael(e,t,r,o)}}}else if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=u(e);if(t&&t.t&&t.t.o){const e=t.t.o[n];if(e&&e[1]){o=e[1]}}}if(!o){o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(r==null||r===false){if(r!==false||e.getAttribute(o)===""){e.removeAttribute(o)}}else{e.setAttribute(o,r===true?"":r)}return}else if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=r}catch(e){}return}else{const l=ue(r);if((s||l&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!==o){if(typeof e.__lookupSetter__(t)==="function"){e[t]=o}else{e.setAttribute(t,o)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""||i&4&&!Ae(t)){{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!l&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var ze=new Set(["draggable","contenteditable","spellcheck"]);var Ae=e=>ze.has(e)||e.startsWith("aria-");var Le=/\s/;var Re=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Le)};var De="Capture";var Ue=new RegExp(De+"$");var Fe=(e,t,n,r)=>{const o=t.A.nodeType===11&&t.A.host?t.A.host:t.A;const i=e&&e.C||{};const l=t.C||{};{for(const e of Te(Object.keys(i))){if(!(e in l)){Ee(o,e,i[e],void 0,n,t.u,r)}}}for(const e of Te(Object.keys(l))){Ee(o,e,i[e],l[e],n,t.u,r)}};function Te(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var He;var Pe=false;var Ve=false;var _e=[];var Be=[];var We=(e,t,n)=>{const r=t.I[n];let o=0;let i;let l;if(r.O!=null){i=r.A=z.document.createTextNode(r.O)}else{if(!z.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}i=r.A=z.document.createElement(r.N);{Fe(null,r,Ve)}if(r.I){const t=r.N==="template"?i.content:i;for(o=0;o<r.I.length;++o){l=We(e,r,o);if(l){t.appendChild(l)}}}}i["s-hn"]=He;return i};var qe=e=>{A.u|=1;const t=e.closest(He.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const r=Array.from(e.__childNodes||e.childNodes);for(const e of n?r.reverse():r){if(e["s-sh"]!=null){tt(t,e,n!=null?n:null);e["s-sh"]=void 0}}}A.u&=-2};var Ye=(e,t,n,r,o,i)=>{let l=e;let s;if(l.shadowRoot&&l.tagName===He){l=l.shadowRoot}if(n.N==="template"){l=l.content}for(;o<=i;++o){if(r[o]){s=We(null,n,o);if(s){r[o].A=s;tt(l,s,t)}}}};var Ge=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.A;Qe(t);if(e){e.remove()}}}};var Je=(e,t,n,r,o=false)=>{let i=0;let l=0;let s=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let d=r.length-1;let v=r[0];let p=r[d];let h;let m;const y=n.N==="template"?e.content:e;while(i<=f&&l<=d){if(c==null){c=t[++i]}else if(u==null){u=t[--f]}else if(v==null){v=r[++l]}else if(p==null){p=r[--d]}else if(Ze(c,v,o)){Ke(c,v,o);c=t[++i];v=r[++l]}else if(Ze(u,p,o)){Ke(u,p,o);u=t[--f];p=r[--d]}else if(Ze(c,p,o)){Ke(c,p,o);tt(y,c.A,u.A.nextSibling);c=t[++i];p=r[--d]}else if(Ze(u,v,o)){Ke(u,v,o);tt(y,u.A,c.A);u=t[--f];v=r[++l]}else{s=-1;{for(a=i;a<=f;++a){if(t[a]&&t[a].M!==null&&t[a].M===v.M){s=a;break}}}if(s>=0){m=t[s];if(m.N!==v.N){h=We(t&&t[l],n,s)}else{Ke(m,v,o);t[s]=void 0;h=m.A}v=r[++l]}else{h=We(t&&t[l],n,l);v=r[++l]}if(h){{tt(c.A.parentNode,h,c.A)}}}}if(i>f){Ye(e,r[d+1]==null?null:r[d+1].A,n,r,l,d)}else if(l>d){Ge(t,i,f)}};var Ze=(e,t,n=false)=>{if(e.N===t.N){if(!n){return e.M===t.M}if(n&&!e.M&&t.M){e.M=t.M}return true}return false};var Ke=(e,n,r=false)=>{const o=n.A=e.A;const i=e.I;const l=n.I;const s=n.N;const a=n.O;if(a==null){{if(s==="slot"&&!Pe){if(e.F!==n.F){n.A["s-sn"]=n.F||"";qe(n.A.parentElement)}}Fe(e,n,Ve,r)}if(i!==null&&l!==null){Je(o,i,n,l,r)}else if(l!==null){if(e.O!==null){o.textContent=""}Ye(o,null,n,l,0,l.length-1)}else if(!r&&t.updatable&&i!==null){Ge(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&l===null){n.I=i}}else if(e.O!==a){o.data=a}};var Qe=e=>{{if(e.C&&e.C.ref){_e.push((()=>e.C.ref(null)))}e.I&&e.I.map(Qe)}};var Xe=(e,t)=>{{Be.push((()=>e(t)))}};var et=()=>{{_e.forEach((e=>e()));_e.length=0;Be.forEach((e=>e()));Be.length=0}};var tt=(e,t,n,r)=>{{return e==null?void 0:e.insertBefore(t,n)}};var nt=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.t;const i=e.R||ve(null,null);const l=he(t);const s=l?t:de(null,null,t);He=r.tagName;if(o.P){s.C=s.C||{};o.P.forEach((([e,t])=>{{s.C[t]=r[e]}}))}if(n&&s.C){for(const e of Object.keys(s.C)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){s.C[e]=r[e]}}}s.N=null;s.u|=4;e.R=s;s.A=i.A=r.shadowRoot||r;Pe=!!(o.u&1)&&!(o.u&128);Ke(i,s,n);et()};var rt=(e,t)=>{if(t&&!e.V&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.V=()=>{t["s-p"].splice(n-1,1);r()})))}};var ot=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}rt(e,e._);const n=()=>it(e,t);if(t){queueMicrotask((()=>{n()}));return}return q(n)};var it=(e,t)=>{const n=e.$hostElement$;const r=te("scheduleUpdate",e.t.$);const o=e.l;if(!o){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let i;if(t){{{e.u|=256;if(e.B){e.B.map((([e,t])=>dt(o,e,t,n)));e.B=void 0}}if(e.m.length){e.m.forEach((e=>e(n)))}}i=dt(o,"componentWillLoad",void 0,n)}else{i=dt(o,"componentWillUpdate",void 0,n)}i=lt(i,(()=>dt(o,"componentWillRender",void 0,n)));r();return lt(i,(()=>at(e,o,t)))};var lt=(e,t)=>st(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var st=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var at=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=te("update",e.t.$);const l=o["s-rc"];if(n){se(e)}const s=te("render",e.t.$);{ft(e,t,o,n)}if(l){l.map((e=>e()));o["s-rc"]=void 0}s();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>ct(e);if(t.length===0){n()}else{Promise.all(t).then(n).catch(n);e.u|=4;t.length=0}}};var ft=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{nt(e,t,r)}}}}catch(t){h(t,e.$hostElement$)}return null};var ct=e=>{const t=e.t.$;const n=e.$hostElement$;const r=te("postUpdate",t);const o=e.l;const i=e._;dt(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;dt(o,"componentDidLoad",void 0,n);r();{e.h(n);if(!i){ut()}}}else{dt(o,"componentDidUpdate",void 0,n);r()}{if(e.V){e.V();e.V=void 0}if(e.u&512){W((()=>ot(e,false)))}e.u&=-517}};var ut=t=>{var n;W((()=>Ne(z,"appload",{detail:{namespace:e}})));{if((n=A.L)==null?void 0:n.size){A.L.clear()}}};var dt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){h(e,r)}}return void 0};var vt=(e,t)=>u(e).i.get(t);var pt=(e,t,n,r)=>{const o=u(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const i=o.$hostElement$;const l=o.i.get(t);const s=o.u;const a=o.l;n=Ce(n,r.o[t][0],!!(r.u&64));const f=Number.isNaN(l)&&Number.isNaN(n);const c=n!==l&&!f;if((!(s&8)||l===void 0)&&c){o.i.set(t,n);if(r.W){const e=r.W[t];if(e){e.map((e=>{try{const[[r,i]]=Object.entries(e);if(s&128||i&1){if(!a){o.m.push((()=>{o.l[r](n,l,t)}))}else{a[r](n,l,t)}}}catch(e){h(e,i)}}))}}if(s&2){if(a.componentShouldUpdate){const e=a.componentShouldUpdate(n,l,t);if(e===false&&!(s&16)){return}}if(!(s&16)){ot(o,false)}}}};var ht=e=>e==null||e===false?null:e===true?"":String(e);var mt=(e,n,r)=>{var o,i;const l=e.prototype;if(n.u&64&&r&1){E.forEach((e=>{Object.defineProperty(l,e,{value(...t){var n;const r=u(this);const o=r==null?void 0:r.l;if(!o){(n=r==null?void 0:r.p)==null?void 0:n.then((n=>{const r=n[e];typeof r==="function"&&r.call(n,...t)}))}else{const n=o[e];typeof n==="function"&&n.call(o,...t)}}})}))}if(n.o||t.propChangeCallback){{if(e.watchers&&!n.W){n.W=Se(e.watchers)}if(e.deserializers&&!n.q){n.q=e.deserializers}if(e.serializers&&!n.Y){n.Y=e.serializers}}const s=Object.entries((o=n.o)!=null?o:{});s.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=f(l,e)||{};if(o)n.o[e][0]|=2048;if(i)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(l,e,{get(){{if((n.o[e][0]&2048)===0){return vt(this,e)}const t=u(this);const r=t?t.l:l;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(l,e,{set(o){const l=u(this);if(!l){return}if(i){const r=t&32?this[e]:l.$hostElement$[e];if(typeof r==="undefined"&&l.i.get(e)){o=l.i.get(e)}i.apply(this,[Ce(o,t,!!(n.u&64))]);o=t&32?this[e]:l.$hostElement$[e];pt(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){pt(this,e,o,n);if(r&1&&!l.l){l.m.push((()=>{if(n.o[e][0]&4096&&l.l[e]!==l.i.get(e)){l.l[e]=o}}))}return}const i=()=>{const r=l.l[e];if(!l.i.get(e)&&r){l.i.set(e,r)}l.l[e]=Ce(o,t,!!(n.u&64));pt(this,e,l.l[e],n)};if(l.l){i()}else{l.m.push((()=>{i()}))}}}})}}));if(r&1){const r=new Map;l.attributeChangedCallback=function(e,o,i){A.jmp((()=>{var a;const f=r.get(e);const c=u(this);if(this.hasOwnProperty(f)&&t.lazyLoad){i=this[f];delete this[f]}if(l.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==i){return}else if(f==null){const t=c==null?void 0:c.u;if(c&&t&&!(t&8)&&i!==o){const r=c.l;const l=(a=n.W)==null?void 0:a[e];l==null?void 0:l.forEach((n=>{const[[l,s]]=Object.entries(n);if(r[l]!=null&&(t&128||s&1)){r[l].call(r,i,o,e)}}))}return}const d=s.find((([e])=>e===f));const v=d?d[1][0]:0;const p=v&4;if(v&512&&v&8&&!ue(this[f])&&ht(this[f])===i){return}const h=p&&i===null&&this[f]===void 0;if(p){i=i===null||i==="false"?false:true}const m=Object.getOwnPropertyDescriptor(l,f);if(!h&&i!=this[f]&&(!m.get||!!m.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.W)!=null?i:{}),...s.filter((([e,t])=>t[0]&31)).map((([e,t])=>{var o;const i=t[1]||e;r.set(i,e);if(t[0]&512){(o=n.P)==null?void 0:o.push([e,i])}return i}))]))}}return e};var yt=async(e,n,r,o)=>{var i;let l;try{if((n.u&32)===0){n.u|=32;n.u&=-1025;const o=r.S;if(o){const t=g(r,n);if(t&&"then"in t){const e=ne();l=await t;e()}else{l=t}if(!l){n.u&=-33;n.G=((i=n.G)!=null?i:0)+1;if(n.G<M){n.u|=1024}throw new Error(`Constructor for "${r.$}#${n.J}" was not found`)}if(!l.isProxied){{r.W=Se(l.watchers);r.Y=l.serializers;r.q=l.deserializers}mt(l,r,2);l.isProxied=true}const o=te("createInstance",r.$);{n.u|=8}try{new l(n)}catch(t){h(t,e)}{n.u&=-9}{n.u|=128}o();{gt(n.l,e)}}else{l=e.constructor;const t=e.localName;customElements.whenDefined(t).then((()=>n.u|=128))}if(l&&l.style){let e;if(typeof l.style==="string"){e=l.style}const n=ae(r);if(!b.has(n)||t.hotModuleReplacement){const t=te("registerStyles",r.$);ie(n,e,!!(r.u&1));t()}}}const o=n._;const s=()=>ot(n,true);if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}}catch(t){h(t,e);if(n.V){n.V();n.V=void 0}if(n.h&&!(n.u&1024)){n.h(e)}}};var gt=(e,t)=>{{dt(e,"connectedCallback",void 0,t)}};var bt=e=>{if((A.u&1)===0){const t=u(e);if(!t){return}const n=t.t;const r=te("connectedCallback",n.$);if(!(t.u&1)){t.u|=1;let r;{r=e.getAttribute(k);if(r){if(n.u&1){const t=le(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}me(e,n.$,r,t)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){rt(t,t._=n);break}}}if(n.o){Object.entries(n.o).map((([t,[n]])=>{if(n&31&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t];e[t]=n}}))}{yt(e,t,n)}}else{St(e,t,n.Z);if(t==null?void 0:t.l){gt(t.l,e)}else if(t.u&1024){setTimeout((()=>yt(e,t,n)),N)}else if(t==null?void 0:t.p){t.p.then((()=>gt(t.l,e)))}}r()}};var $t=(e,t)=>{{dt(e,"disconnectedCallback",void 0,t||e)}};var wt=async e=>{if((A.u&1)===0){const t=u(e);{if(t==null?void 0:t.K){t.K.map((e=>e()));t.K=void 0}}if(t==null?void 0:t.l){$t(t.l,e)}else if(t==null?void 0:t.p){t.p.then((()=>$t(t.l,e)))}}if(oe.has(e)){oe.delete(e)}if(e.shadowRoot&&oe.has(e.shadowRoot)){oe.delete(e.shadowRoot)}};var xt=(e,t={})=>{var n;if(!z.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=te();const o=[];const i=t.exclude||[];const l=z.customElements;const s=z.document.head;const a=s.querySelector("meta[charset]");const f=z.document.createElement("style");const c=[];let d;let p=true;Object.assign(A,t);A.j=new URL(t.resourcesUrl||"./",z.document.baseURI).href;{A.u|=2}{ce()}e.map((e=>{e[1].map((t=>{var n,r;const s={u:t[0],$:t[1],o:t[2],Z:t[3]};{s.o=t[2]}{s.Z=t[3]}{s.P=[]}{s.W=Se(t[4]);s.Y=(n=t[5])!=null?n:{};s.q=(r=t[6])!=null?r:{}}const a=It(s.$);const f=class extends HTMLElement{["s-p"];["s-rc"];hasRegisteredEventListeners=false;constructor(e){super(e);e=this;v(e,s);if(s.u&1){{if(!e.shadowRoot){J.call(e,s)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${s.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=u(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;St(this,e,s.Z)}if(d){clearTimeout(d);d=null}if(p){c.push(this)}else{A.jmp((()=>bt(this)))}}disconnectedCallback(){A.jmp((()=>wt(this)));W((()=>{var e;const t=u(this);if(!t){return}const n=c.findIndex((e=>e===this));if(n>-1){c.splice(n,1)}if(((e=t==null?void 0:t.R)==null?void 0:e.A)instanceof Node&&!t.R.A.isConnected){delete t.R.A}}))}componentOnReady(){var e;return(e=u(this))==null?void 0:e.p}};if(s.u&64){f.formAssociated=true}s.S=e[0];if(!i.includes(a)&&!l.get(a)){o.push(a);l.define(a,mt(f,s,1))}}))}));if(o.length>0){if(f.innerHTML.length){f.setAttribute("data-styles","");const e=(n=A.k)!=null?n:re(z.document);if(e!=null){f.setAttribute("nonce",e)}s.insertBefore(f,a?a.nextSibling:s.firstChild)}}p=false;if(c.length){c.map((e=>e.connectedCallback()))}else{{A.jmp((()=>d=setTimeout(ut,30)))}}r()};var St=(e,t,n,r)=>{if(n&&z.document){n.map((([n,r,o])=>{const i=kt(z.document,e,n);const l=jt(t,o);const s=Ot(n);A.ael(i,r,l,s);(t.K=t.K||[]).push((()=>A.rel(i,r,l,s)))}))}};var jt=(e,t)=>n=>{var r;try{{if(e.u&256){(r=e.l)==null?void 0:r[t](n)}else{(e.B=e.B||[]).push([t,n])}}}catch(t){h(t,e.$hostElement$)}};var kt=(e,t,n)=>{if(n&4){return e}return t};var Ot=e=>L?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var Ct=e=>A.k=e;function It(e){return e}export{pe as H,Ie as a,xt as b,Me as c,n as g,de as h,R as p,d as r,Ct as s};
3
+ //# sourceMappingURL=p-DWC12BJ-.js.map