@devschile/chucao 2.7.1 → 2.9.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 (253) hide show
  1. package/dist/chucao/chucao.esm.js +1 -1
  2. package/dist/chucao/{p-01b6c7bf.entry.js → p-03acf096.entry.js} +2 -2
  3. package/dist/chucao/{p-10f6801e.entry.js → p-0ce2b15d.entry.js} +2 -2
  4. package/dist/chucao/p-10e37157.entry.js +2 -0
  5. package/dist/chucao/p-10e37157.entry.js.map +1 -0
  6. package/dist/chucao/{p-f917d34f.entry.js → p-12043dc1.entry.js} +2 -2
  7. package/dist/chucao/p-1dca55d6.entry.js +2 -0
  8. package/dist/chucao/{p-deb2571b.entry.js.map → p-1dca55d6.entry.js.map} +1 -1
  9. package/dist/chucao/{p-0c7f6f8d.entry.js → p-244d8e96.entry.js} +2 -2
  10. package/dist/chucao/{p-a7c674b7.entry.js → p-29841714.entry.js} +2 -2
  11. package/dist/chucao/{p-ffecdf25.entry.js → p-302ec527.entry.js} +2 -2
  12. package/dist/chucao/{p-337d7f68.entry.js → p-51f6327c.entry.js} +2 -2
  13. package/dist/chucao/{p-1b70e3f1.entry.js → p-5a62951e.entry.js} +2 -2
  14. package/dist/chucao/{p-472ec451.entry.js → p-5d0ac17a.entry.js} +2 -2
  15. package/dist/chucao/{p-d8b71751.entry.js → p-5e0e1012.entry.js} +2 -2
  16. package/dist/chucao/{p-15d27bb7.entry.js → p-61a94a4e.entry.js} +2 -2
  17. package/dist/chucao/p-649c2cef.entry.js +2 -0
  18. package/dist/chucao/p-649c2cef.entry.js.map +1 -0
  19. package/dist/chucao/p-674c0f61.entry.js +2 -0
  20. package/dist/chucao/p-674c0f61.entry.js.map +1 -0
  21. package/dist/chucao/{p-c4b2bd1f.entry.js → p-67f0fc77.entry.js} +2 -2
  22. package/dist/chucao/{p-5240f5ac.entry.js → p-68e4a129.entry.js} +2 -2
  23. package/dist/chucao/{p-2e37c61b.entry.js → p-6e345b3f.entry.js} +2 -2
  24. package/dist/chucao/{p-f6ab0a11.entry.js → p-72d4dacf.entry.js} +2 -2
  25. package/dist/chucao/{p-8ae680a4.entry.js → p-74d9b7e5.entry.js} +2 -2
  26. package/dist/chucao/p-791ce537.entry.js +2 -0
  27. package/dist/chucao/p-791ce537.entry.js.map +1 -0
  28. package/dist/chucao/{p-c90da3c0.entry.js → p-79e8c10b.entry.js} +2 -2
  29. package/dist/chucao/{p-90284ebe.entry.js → p-7e13f725.entry.js} +2 -2
  30. package/dist/chucao/{p-9ebcc7be.entry.js → p-8b23d072.entry.js} +2 -2
  31. package/dist/chucao/{p-CIV5Gg1o.js → p-8l_6qAY9.js} +3 -3
  32. package/dist/chucao/p-8l_6qAY9.js.map +1 -0
  33. package/dist/chucao/{p-1e4cd3aa.entry.js → p-a5430e95.entry.js} +2 -2
  34. package/dist/chucao/{p-e77d35c3.entry.js → p-a7c66879.entry.js} +2 -2
  35. package/dist/chucao/p-b452d6cb.entry.js +2 -0
  36. package/dist/chucao/p-b7332faf.entry.js +2 -0
  37. package/dist/chucao/{p-60e1c1df.entry.js.map → p-b7332faf.entry.js.map} +1 -1
  38. package/dist/chucao/{p-42028c97.entry.js → p-f3d03388.entry.js} +2 -2
  39. package/dist/chucao/{p-7cdc71cc.entry.js → p-f925d45c.entry.js} +2 -2
  40. package/dist/cjs/ch-accordion.cjs.entry.js +2 -2
  41. package/dist/cjs/ch-alert_8.cjs.entry.js +8 -8
  42. package/dist/cjs/ch-checkbox.cjs.entry.js +2 -2
  43. package/dist/cjs/ch-cluster.cjs.entry.js +3 -3
  44. package/dist/cjs/ch-combobox.cjs.entry.js +304 -0
  45. package/dist/cjs/ch-combobox.cjs.entry.js.map +1 -0
  46. package/dist/cjs/ch-confirm-dialog.cjs.entry.js +138 -0
  47. package/dist/cjs/ch-confirm-dialog.cjs.entry.js.map +1 -0
  48. package/dist/cjs/ch-description-list.cjs.entry.js +2 -2
  49. package/dist/cjs/ch-divider.cjs.entry.js +2 -2
  50. package/dist/cjs/ch-drawer.cjs.entry.js +2 -2
  51. package/dist/cjs/ch-emoji.cjs.entry.js +2 -2
  52. package/dist/cjs/ch-empty-state.cjs.entry.js +2 -2
  53. package/dist/cjs/ch-grid.cjs.entry.js +2 -2
  54. package/dist/cjs/ch-icon-button.cjs.entry.js +2 -2
  55. package/dist/cjs/ch-icon.cjs.entry.js +2 -2
  56. package/dist/cjs/ch-link.cjs.entry.js +1 -1
  57. package/dist/cjs/ch-modal.cjs.entry.js +2 -2
  58. package/dist/cjs/ch-number-input.cjs.entry.js +3 -3
  59. package/dist/cjs/ch-otp-input.cjs.entry.js +196 -0
  60. package/dist/cjs/ch-otp-input.cjs.entry.js.map +1 -0
  61. package/dist/cjs/ch-page-header.cjs.entry.js +2 -2
  62. package/dist/cjs/ch-pagination.cjs.entry.js +67 -0
  63. package/dist/cjs/ch-pagination.cjs.entry.js.map +1 -0
  64. package/dist/cjs/ch-radio.cjs.entry.js +2 -2
  65. package/dist/cjs/ch-segmented-control.cjs.entry.js +2 -2
  66. package/dist/cjs/ch-skeleton.cjs.entry.js +2 -2
  67. package/dist/cjs/ch-stack.cjs.entry.js +2 -2
  68. package/dist/cjs/ch-stat.cjs.entry.js +3 -3
  69. package/dist/cjs/ch-table.cjs.entry.js +2 -2
  70. package/dist/cjs/ch-tabs.cjs.entry.js +2 -2
  71. package/dist/cjs/ch-textarea.cjs.entry.js +2 -2
  72. package/dist/cjs/ch-timeline.cjs.entry.js +2 -2
  73. package/dist/cjs/ch-tooltip.cjs.entry.js +3 -3
  74. package/dist/cjs/chucao.cjs.js +2 -2
  75. package/dist/cjs/{index-ByZY6aTj.js → index-C6khqyw3.js} +19 -2
  76. package/dist/cjs/index-C6khqyw3.js.map +1 -0
  77. package/dist/cjs/loader.cjs.js +2 -2
  78. package/dist/collection/collection-manifest.json +4 -0
  79. package/dist/collection/components/ch-accordion/ch-accordion.js +1 -1
  80. package/dist/collection/components/ch-alert/ch-alert.js +1 -1
  81. package/dist/collection/components/ch-badge/ch-badge.js +1 -1
  82. package/dist/collection/components/ch-card/ch-card.js +1 -1
  83. package/dist/collection/components/ch-checkbox/ch-checkbox.js +1 -1
  84. package/dist/collection/components/ch-cluster/ch-cluster.js +2 -2
  85. package/dist/collection/components/ch-combobox/ch-combobox.css +153 -0
  86. package/dist/collection/components/ch-combobox/ch-combobox.js +577 -0
  87. package/dist/collection/components/ch-combobox/ch-combobox.js.map +1 -0
  88. package/dist/collection/components/ch-confirm-dialog/ch-confirm-dialog.css +71 -0
  89. package/dist/collection/components/ch-confirm-dialog/ch-confirm-dialog.js +382 -0
  90. package/dist/collection/components/ch-confirm-dialog/ch-confirm-dialog.js.map +1 -0
  91. package/dist/collection/components/ch-description-list/ch-description-list.js +1 -1
  92. package/dist/collection/components/ch-divider/ch-divider.js +1 -1
  93. package/dist/collection/components/ch-drawer/ch-drawer.js +1 -1
  94. package/dist/collection/components/ch-emoji/ch-emoji.js +1 -1
  95. package/dist/collection/components/ch-empty-state/ch-empty-state.js +1 -1
  96. package/dist/collection/components/ch-grid/ch-grid.js +1 -1
  97. package/dist/collection/components/ch-icon/ch-icon.js +1 -1
  98. package/dist/collection/components/ch-icon-button/ch-icon-button.js +1 -1
  99. package/dist/collection/components/ch-input/ch-input.js +1 -1
  100. package/dist/collection/components/ch-modal/ch-modal.js +1 -1
  101. package/dist/collection/components/ch-number-input/ch-number-input.js +2 -2
  102. package/dist/collection/components/ch-otp-input/ch-otp-input.css +86 -0
  103. package/dist/collection/components/ch-otp-input/ch-otp-input.js +478 -0
  104. package/dist/collection/components/ch-otp-input/ch-otp-input.js.map +1 -0
  105. package/dist/collection/components/ch-page-header/ch-page-header.js +1 -1
  106. package/dist/collection/components/ch-pagination/ch-pagination.css +63 -0
  107. package/dist/collection/components/ch-pagination/ch-pagination.js +228 -0
  108. package/dist/collection/components/ch-pagination/ch-pagination.js.map +1 -0
  109. package/dist/collection/components/ch-radio/ch-radio.js +1 -1
  110. package/dist/collection/components/ch-segmented-control/ch-segmented-control.js +1 -1
  111. package/dist/collection/components/ch-select/ch-select.js +1 -1
  112. package/dist/collection/components/ch-skeleton/ch-skeleton.js +1 -1
  113. package/dist/collection/components/ch-spinner/ch-spinner.js +1 -1
  114. package/dist/collection/components/ch-stack/ch-stack.js +1 -1
  115. package/dist/collection/components/ch-stat/ch-stat.js +2 -2
  116. package/dist/collection/components/ch-switch/ch-switch.js +1 -1
  117. package/dist/collection/components/ch-table/ch-table.js +1 -1
  118. package/dist/collection/components/ch-tabs/ch-tabs.js +1 -1
  119. package/dist/collection/components/ch-textarea/ch-textarea.js +1 -1
  120. package/dist/collection/components/ch-timeline/ch-timeline.js +1 -1
  121. package/dist/collection/components/ch-tooltip/ch-tooltip.js +2 -2
  122. package/dist/components/ch-accordion.js +1 -1
  123. package/dist/components/ch-alert.js +1 -1
  124. package/dist/components/ch-badge.js +1 -1
  125. package/dist/components/ch-button.js +1 -1
  126. package/dist/components/ch-card.js +1 -1
  127. package/dist/components/ch-checkbox.js +1 -1
  128. package/dist/components/ch-cluster.js +1 -1
  129. package/dist/components/ch-combobox.d.ts +11 -0
  130. package/dist/components/ch-combobox.js +2 -0
  131. package/dist/components/ch-combobox.js.map +1 -0
  132. package/dist/components/ch-confirm-dialog.d.ts +11 -0
  133. package/dist/components/ch-confirm-dialog.js +2 -0
  134. package/dist/components/ch-confirm-dialog.js.map +1 -0
  135. package/dist/components/ch-description-list.js +1 -1
  136. package/dist/components/ch-divider.js +1 -1
  137. package/dist/components/ch-drawer.js +1 -1
  138. package/dist/components/ch-emoji.js +1 -1
  139. package/dist/components/ch-empty-state.js +1 -1
  140. package/dist/components/ch-grid.js +1 -1
  141. package/dist/components/ch-icon-button.js +1 -1
  142. package/dist/components/ch-icon.js +1 -1
  143. package/dist/components/ch-input.js +1 -1
  144. package/dist/components/ch-modal.js +1 -1
  145. package/dist/components/ch-modal.js.map +1 -1
  146. package/dist/components/ch-number-input.js +1 -1
  147. package/dist/components/ch-otp-input.d.ts +11 -0
  148. package/dist/components/ch-otp-input.js +2 -0
  149. package/dist/components/ch-otp-input.js.map +1 -0
  150. package/dist/components/ch-page-header.js +1 -1
  151. package/dist/components/ch-pagination.d.ts +11 -0
  152. package/dist/components/ch-pagination.js +2 -0
  153. package/dist/components/ch-pagination.js.map +1 -0
  154. package/dist/components/ch-radio.js +1 -1
  155. package/dist/components/ch-segmented-control.js +1 -1
  156. package/dist/components/ch-select.js +1 -1
  157. package/dist/components/ch-skeleton.js +1 -1
  158. package/dist/components/ch-spinner.js +1 -1
  159. package/dist/components/ch-stack.js +1 -1
  160. package/dist/components/ch-stat.js +1 -1
  161. package/dist/components/ch-switch.js +1 -1
  162. package/dist/components/ch-table.js +1 -1
  163. package/dist/components/ch-tabs.js +1 -1
  164. package/dist/components/ch-textarea.js +1 -1
  165. package/dist/components/ch-timeline.js +1 -1
  166. package/dist/components/ch-tooltip.js +1 -1
  167. package/dist/components/{p-DiUN1WGc.js → p-CuSstsTP.js} +2 -2
  168. package/dist/components/p-MBLhKofG.js +2 -0
  169. package/dist/components/p-MBLhKofG.js.map +1 -0
  170. package/dist/components/p-qP_9qshx.js.map +1 -1
  171. package/dist/esm/ch-accordion.entry.js +2 -2
  172. package/dist/esm/ch-alert_8.entry.js +8 -8
  173. package/dist/esm/ch-checkbox.entry.js +2 -2
  174. package/dist/esm/ch-cluster.entry.js +3 -3
  175. package/dist/esm/ch-combobox.entry.js +302 -0
  176. package/dist/esm/ch-combobox.entry.js.map +1 -0
  177. package/dist/esm/ch-confirm-dialog.entry.js +136 -0
  178. package/dist/esm/ch-confirm-dialog.entry.js.map +1 -0
  179. package/dist/esm/ch-description-list.entry.js +2 -2
  180. package/dist/esm/ch-divider.entry.js +2 -2
  181. package/dist/esm/ch-drawer.entry.js +2 -2
  182. package/dist/esm/ch-emoji.entry.js +2 -2
  183. package/dist/esm/ch-empty-state.entry.js +2 -2
  184. package/dist/esm/ch-grid.entry.js +2 -2
  185. package/dist/esm/ch-icon-button.entry.js +2 -2
  186. package/dist/esm/ch-icon.entry.js +2 -2
  187. package/dist/esm/ch-link.entry.js +1 -1
  188. package/dist/esm/ch-modal.entry.js +2 -2
  189. package/dist/esm/ch-number-input.entry.js +3 -3
  190. package/dist/esm/ch-otp-input.entry.js +194 -0
  191. package/dist/esm/ch-otp-input.entry.js.map +1 -0
  192. package/dist/esm/ch-page-header.entry.js +2 -2
  193. package/dist/esm/ch-pagination.entry.js +65 -0
  194. package/dist/esm/ch-pagination.entry.js.map +1 -0
  195. package/dist/esm/ch-radio.entry.js +2 -2
  196. package/dist/esm/ch-segmented-control.entry.js +2 -2
  197. package/dist/esm/ch-skeleton.entry.js +2 -2
  198. package/dist/esm/ch-stack.entry.js +2 -2
  199. package/dist/esm/ch-stat.entry.js +3 -3
  200. package/dist/esm/ch-table.entry.js +2 -2
  201. package/dist/esm/ch-tabs.entry.js +2 -2
  202. package/dist/esm/ch-textarea.entry.js +2 -2
  203. package/dist/esm/ch-timeline.entry.js +2 -2
  204. package/dist/esm/ch-tooltip.entry.js +3 -3
  205. package/dist/esm/chucao.js +3 -3
  206. package/dist/esm/{index-CIV5Gg1o.js → index-8l_6qAY9.js} +19 -2
  207. package/dist/esm/index-8l_6qAY9.js.map +1 -0
  208. package/dist/esm/loader.js +3 -3
  209. package/dist/types/components/ch-combobox/ch-combobox.d.ts +98 -0
  210. package/dist/types/components/ch-confirm-dialog/ch-confirm-dialog.d.ts +81 -0
  211. package/dist/types/components/ch-otp-input/ch-otp-input.d.ts +79 -0
  212. package/dist/types/components/ch-pagination/ch-pagination.d.ts +44 -0
  213. package/dist/types/components.d.ts +757 -0
  214. package/dist-react/components.d.ts +27 -1
  215. package/dist-react/components.js +45 -0
  216. package/dist-react/components.ts +67 -1
  217. package/dist-vue/index.d.ts +4 -0
  218. package/dist-vue/index.js +67 -0
  219. package/dist-vue/index.ts +75 -0
  220. package/hydrate/index.js +855 -35
  221. package/hydrate/index.mjs +855 -35
  222. package/package.json +17 -1
  223. package/dist/chucao/p-60e1c1df.entry.js +0 -2
  224. package/dist/chucao/p-9db118d9.entry.js +0 -2
  225. package/dist/chucao/p-CIV5Gg1o.js.map +0 -1
  226. package/dist/chucao/p-deb2571b.entry.js +0 -2
  227. package/dist/cjs/index-ByZY6aTj.js.map +0 -1
  228. package/dist/esm/index-CIV5Gg1o.js.map +0 -1
  229. /package/dist/chucao/{p-01b6c7bf.entry.js.map → p-03acf096.entry.js.map} +0 -0
  230. /package/dist/chucao/{p-10f6801e.entry.js.map → p-0ce2b15d.entry.js.map} +0 -0
  231. /package/dist/chucao/{p-f917d34f.entry.js.map → p-12043dc1.entry.js.map} +0 -0
  232. /package/dist/chucao/{p-0c7f6f8d.entry.js.map → p-244d8e96.entry.js.map} +0 -0
  233. /package/dist/chucao/{p-a7c674b7.entry.js.map → p-29841714.entry.js.map} +0 -0
  234. /package/dist/chucao/{p-ffecdf25.entry.js.map → p-302ec527.entry.js.map} +0 -0
  235. /package/dist/chucao/{p-337d7f68.entry.js.map → p-51f6327c.entry.js.map} +0 -0
  236. /package/dist/chucao/{p-1b70e3f1.entry.js.map → p-5a62951e.entry.js.map} +0 -0
  237. /package/dist/chucao/{p-472ec451.entry.js.map → p-5d0ac17a.entry.js.map} +0 -0
  238. /package/dist/chucao/{p-d8b71751.entry.js.map → p-5e0e1012.entry.js.map} +0 -0
  239. /package/dist/chucao/{p-15d27bb7.entry.js.map → p-61a94a4e.entry.js.map} +0 -0
  240. /package/dist/chucao/{p-c4b2bd1f.entry.js.map → p-67f0fc77.entry.js.map} +0 -0
  241. /package/dist/chucao/{p-5240f5ac.entry.js.map → p-68e4a129.entry.js.map} +0 -0
  242. /package/dist/chucao/{p-2e37c61b.entry.js.map → p-6e345b3f.entry.js.map} +0 -0
  243. /package/dist/chucao/{p-f6ab0a11.entry.js.map → p-72d4dacf.entry.js.map} +0 -0
  244. /package/dist/chucao/{p-8ae680a4.entry.js.map → p-74d9b7e5.entry.js.map} +0 -0
  245. /package/dist/chucao/{p-c90da3c0.entry.js.map → p-79e8c10b.entry.js.map} +0 -0
  246. /package/dist/chucao/{p-90284ebe.entry.js.map → p-7e13f725.entry.js.map} +0 -0
  247. /package/dist/chucao/{p-9ebcc7be.entry.js.map → p-8b23d072.entry.js.map} +0 -0
  248. /package/dist/chucao/{p-1e4cd3aa.entry.js.map → p-a5430e95.entry.js.map} +0 -0
  249. /package/dist/chucao/{p-e77d35c3.entry.js.map → p-a7c66879.entry.js.map} +0 -0
  250. /package/dist/chucao/{p-9db118d9.entry.js.map → p-b452d6cb.entry.js.map} +0 -0
  251. /package/dist/chucao/{p-42028c97.entry.js.map → p-f3d03388.entry.js.map} +0 -0
  252. /package/dist/chucao/{p-7cdc71cc.entry.js.map → p-f925d45c.entry.js.map} +0 -0
  253. /package/dist/components/{p-DiUN1WGc.js.map → p-CuSstsTP.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as i}from"./p-CIV5Gg1o.js";const r=()=>`:host{display:block;width:100%}:host([hidden]){display:none}:host(.skeleton--circle){width:auto;display:inline-flex}.skeleton__item{display:block;background:var(--color-surface-default);border-radius:var(--radius-sm)}.skeleton--circle .skeleton__item{border-radius:50%}.skeleton--rect .skeleton__item{border-radius:var(--radius-md)}.skeleton--animated .skeleton__item{background-image:linear-gradient(90deg, transparent 0%, var(--color-surface-hover) 50%, transparent 100%);background-size:200% 100%;background-repeat:no-repeat;animation:ch-skeleton-shimmer 1.4s ease-in-out infinite}@keyframes ch-skeleton-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion: reduce){.skeleton--animated .skeleton__item{animation:none;background-image:none}}`;const s=class{constructor(t){e(this,t)}width="100%";height="1rem";shape="line";count=1;animated=true;get items(){const e=Number(this.count);return Number.isInteger(e)&&e>=1?e:1}get sizeStyle(){if(this.shape==="circle"){return{width:this.width,height:this.width}}if(this.shape==="line"){return{width:this.width,height:this.height}}return{width:this.width,height:this.height}}render(){return t(i,{key:"b28cd1be6da1721ff6b93ed1e4bab119ea066ad4","aria-hidden":"true",class:{skeleton:true,[`skeleton--${this.shape}`]:true,"skeleton--animated":this.animated}},Array.from({length:this.items}).map(((e,i)=>t("span",{class:"skeleton__item",style:this.sizeStyle,key:i,"data-index":String(e)}))))}};s.style=r();export{s as ch_skeleton};
2
- //# sourceMappingURL=p-2e37c61b.entry.js.map
1
+ import{r as e,h as t,H as i}from"./p-8l_6qAY9.js";const r=()=>`:host{display:block;width:100%}:host([hidden]){display:none}:host(.skeleton--circle){width:auto;display:inline-flex}.skeleton__item{display:block;background:var(--color-surface-default);border-radius:var(--radius-sm)}.skeleton--circle .skeleton__item{border-radius:50%}.skeleton--rect .skeleton__item{border-radius:var(--radius-md)}.skeleton--animated .skeleton__item{background-image:linear-gradient(90deg, transparent 0%, var(--color-surface-hover) 50%, transparent 100%);background-size:200% 100%;background-repeat:no-repeat;animation:ch-skeleton-shimmer 1.4s ease-in-out infinite}@keyframes ch-skeleton-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion: reduce){.skeleton--animated .skeleton__item{animation:none;background-image:none}}`;const s=class{constructor(t){e(this,t)}width="100%";height="1rem";shape="line";count=1;animated=true;get items(){const e=Number(this.count);return Number.isInteger(e)&&e>=1?e:1}get sizeStyle(){if(this.shape==="circle"){return{width:this.width,height:this.width}}if(this.shape==="line"){return{width:this.width,height:this.height}}return{width:this.width,height:this.height}}render(){return t(i,{key:"0a4de76c2f5d591ccdc128d41412fd99d5b0f191","aria-hidden":"true",class:{skeleton:true,[`skeleton--${this.shape}`]:true,"skeleton--animated":this.animated}},Array.from({length:this.items}).map(((e,i)=>t("span",{class:"skeleton__item",style:this.sizeStyle,key:i,"data-index":String(e)}))))}};s.style=r();export{s as ch_skeleton};
2
+ //# sourceMappingURL=p-6e345b3f.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as e,H as n}from"./p-CIV5Gg1o.js";import{c as o}from"./p-CnivhwvG.js";const s=()=>`:host{display:inline-flex;line-height:0}.icon{display:block;flex:none;color:inherit}.icon--sm{width:var(--icon-size-sm);height:var(--icon-size-sm)}.icon--md{width:var(--icon-size-md);height:var(--icon-size-md)}.icon--lg{width:var(--icon-size-lg);height:var(--icon-size-lg)}`;const r=class{constructor(e){i(this,e)}name;size="md";label;render(){const i=this.name?o[this.name]:undefined;const s=!this.label;return e(n,{key:"f45fcd8a7f620f12942e3c1dd1c68a16009905ad"},e("svg",{key:"c529a79b5ae690200fa0f66aa7eb482e26409ed5",class:`icon icon--${this.size}`,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",role:s?undefined:"img","aria-label":this.label,"aria-hidden":s?"true":undefined,focusable:"false"},(i??[]).map((i=>e(i.tag,i.attrs)))))}};r.style=s();export{r as ch_icon};
2
- //# sourceMappingURL=p-f6ab0a11.entry.js.map
1
+ import{r as i,h as e,H as n}from"./p-8l_6qAY9.js";import{c as o}from"./p-CnivhwvG.js";const s=()=>`:host{display:inline-flex;line-height:0}.icon{display:block;flex:none;color:inherit}.icon--sm{width:var(--icon-size-sm);height:var(--icon-size-sm)}.icon--md{width:var(--icon-size-md);height:var(--icon-size-md)}.icon--lg{width:var(--icon-size-lg);height:var(--icon-size-lg)}`;const c=class{constructor(e){i(this,e)}name;size="md";label;render(){const i=this.name?o[this.name]:undefined;const s=!this.label;return e(n,{key:"c55af60731d59ee48bfb2566f498c5675c36cb04"},e("svg",{key:"65334ba063c059ef2a505c7ea34859d1d1971f01",class:`icon icon--${this.size}`,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",role:s?undefined:"img","aria-label":this.label,"aria-hidden":s?"true":undefined,focusable:"false"},(i??[]).map((i=>e(i.tag,i.attrs)))))}};c.style=s();export{c as ch_icon};
2
+ //# sourceMappingURL=p-72d4dacf.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,a as g,h as i,H as r}from"./p-CIV5Gg1o.js";const s=()=>`:host{display:grid;grid-template-columns:var(--ch-grid-columns, repeat(auto-fit, minmax(min(16rem, 100%), 1fr)));box-sizing:border-box}:host([hidden]){display:none}.grid--gap-none{gap:0}.grid--gap-2xs{gap:var(--spacing-2xs)}.grid--gap-xs{gap:var(--spacing-xs)}.grid--gap-sm{gap:var(--spacing-sm)}.grid--gap-md{gap:var(--spacing-md)}.grid--gap-lg{gap:var(--spacing-lg)}.grid--gap-xl{gap:var(--spacing-xl)}.grid--gap-2xl{gap:var(--spacing-2xl)}.grid--gap-3xl{gap:var(--spacing-3xl)}.grid--gap-4xl{gap:var(--spacing-4xl)}.grid--gap-5xl{gap:var(--spacing-5xl)}.grid--gap-6xl{gap:var(--spacing-6xl)}`;const p=new Set(["none","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl"]);const t=class{constructor(g){a(this,g)}get el(){return g(this)}columns="auto-fit";gap="md";minItemWidth="16rem";get gapStep(){return p.has(this.gap)?this.gap:"md"}get fixedColumns(){const a=Number(this.columns);return Number.isInteger(a)&&a>=1&&a<=12?a:null}componentWillLoad(){this.applyColumns()}componentDidUpdate(){this.applyColumns()}applyColumns(){const a=this.fixedColumns===null?`repeat(auto-fit, minmax(min(${this.minItemWidth}, 100%), 1fr))`:`repeat(${this.fixedColumns}, minmax(0, 1fr))`;this.el.style.setProperty("--ch-grid-columns",a)}render(){return i(r,{key:"de6c2d15da9a5d735327df077c6b58abe9775267",class:{grid:true,[`grid--gap-${this.gapStep}`]:true}},i("slot",{key:"348289bcf2f46fb07e7392afa00c4619d6614fef"}))}};t.style=s();export{t as ch_grid};
2
- //# sourceMappingURL=p-8ae680a4.entry.js.map
1
+ import{r as a,a as g,h as i,H as r}from"./p-8l_6qAY9.js";const s=()=>`:host{display:grid;grid-template-columns:var(--ch-grid-columns, repeat(auto-fit, minmax(min(16rem, 100%), 1fr)));box-sizing:border-box}:host([hidden]){display:none}.grid--gap-none{gap:0}.grid--gap-2xs{gap:var(--spacing-2xs)}.grid--gap-xs{gap:var(--spacing-xs)}.grid--gap-sm{gap:var(--spacing-sm)}.grid--gap-md{gap:var(--spacing-md)}.grid--gap-lg{gap:var(--spacing-lg)}.grid--gap-xl{gap:var(--spacing-xl)}.grid--gap-2xl{gap:var(--spacing-2xl)}.grid--gap-3xl{gap:var(--spacing-3xl)}.grid--gap-4xl{gap:var(--spacing-4xl)}.grid--gap-5xl{gap:var(--spacing-5xl)}.grid--gap-6xl{gap:var(--spacing-6xl)}`;const p=new Set(["none","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl"]);const t=class{constructor(g){a(this,g)}get el(){return g(this)}columns="auto-fit";gap="md";minItemWidth="16rem";get gapStep(){return p.has(this.gap)?this.gap:"md"}get fixedColumns(){const a=Number(this.columns);return Number.isInteger(a)&&a>=1&&a<=12?a:null}componentWillLoad(){this.applyColumns()}componentDidUpdate(){this.applyColumns()}applyColumns(){const a=this.fixedColumns===null?`repeat(auto-fit, minmax(min(${this.minItemWidth}, 100%), 1fr))`:`repeat(${this.fixedColumns}, minmax(0, 1fr))`;this.el.style.setProperty("--ch-grid-columns",a)}render(){return i(r,{key:"4fbcd3b5e563ebf0f5b2878ef6af0cb2d1c0f427",class:{grid:true,[`grid--gap-${this.gapStep}`]:true}},i("slot",{key:"4fe1548392ab44de9dd895129d77f20650a0d929"}))}};t.style=s();export{t as ch_grid};
2
+ //# sourceMappingURL=p-74d9b7e5.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as a,c as t,h as e,H as r}from"./p-8l_6qAY9.js";const i=()=>`:host{display:block;font-family:var(--typography-body);color:var(--color-text-primary)}:host([hidden]){display:none}.pager{display:flex;align-items:center;gap:var(--spacing-md)}.pager__button{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 var(--spacing-sm);border:var(--border-width) solid var(--color-border-default);border-radius:var(--radius-sm);background:var(--color-surface-default);color:var(--color-text-primary);font-size:var(--typography-size-md);line-height:1;cursor:pointer}.pager__button:hover:not(:disabled){border-color:var(--color-border-hover);background:var(--color-surface-hover)}.pager__button:focus-visible{outline:2px solid var(--color-accent-default);outline-offset:2px}.pager__button:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.pager__summary{margin:0;font-size:var(--typography-size-sm);color:var(--color-text-secondary);font-variant-numeric:tabular-nums}.pager--sm .pager__button{min-width:1.5rem;height:1.5rem}.pager--sm .pager__summary{font-size:var(--typography-size-xs)}`;let s=0;const o=class{constructor(e){a(this,e);this.chPageChange=t(this,"chPageChange")}labelId=`ch-pagination-${++s}`;page=1;pageSize=10;total=0;label="Pagination";size="md";disabled=false;chPageChange;get pageCount(){if(this.total<=0||this.pageSize<=0){return 0}return Math.ceil(this.total/this.pageSize)}get rowsOnPage(){if(this.pageCount===0){return 0}const a=this.total-(this.page-1)*this.pageSize;return Math.max(0,Math.min(this.pageSize,a))}get firstRow(){return this.rowsOnPage===0?0:(this.page-1)*this.pageSize+1}get lastRow(){return this.rowsOnPage===0?0:this.firstRow+this.rowsOnPage-1}go(a){if(this.disabled||a<1||a>this.pageCount||a===this.page){return}this.chPageChange.emit({page:a,pageSize:this.pageSize})}render(){const a=this.pageCount;const t=this.page<=1;const i=a===0||this.page>=a;const s=this.disabled||a===0;return e(r,{key:"c5091d1a0791a1e0a87fb483ae026484d2aa6c6a"},e("nav",{key:"f70132cdc0ebd3f08d6b712b843bc5a36b20d355",class:{pager:true,[`pager--${this.size}`]:true},"aria-label":this.label},e("button",{key:"3aebe1cce9b909f8b5977f231bd540121fc95f50",class:"pager__button",type:"button",disabled:s||t,onClick:()=>this.go(this.page-1),"aria-label":"Previous page"},e("span",{key:"e68021c2356a38c6a79ecf79a9a7cbcd9063e6cf","aria-hidden":"true"},"‹")),e("p",{key:"d615f3d94d3c5c9a4232ca50ddf1fc8113eb932e",class:"pager__summary",id:this.labelId,"aria-live":"polite"},a===0?"No results":`${this.firstRow}–${this.lastRow} of ${this.total}`),e("button",{key:"0724d97b05c7fe1ef2501317bd28218fa4d8c440",class:"pager__button",type:"button",disabled:s||i,onClick:()=>this.go(this.page+1),"aria-label":"Next page"},e("span",{key:"05cbf13c2be6ccc33e4a517b995a22113306883b","aria-hidden":"true"},"›"))))}};o.style=i();export{o as ch_pagination};
2
+ //# sourceMappingURL=p-791ce537.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["chPaginationCss","paginationIds","ChPagination","labelId","page","pageSize","total","label","size","disabled","chPageChange","pageCount","this","Math","ceil","rowsOnPage","remaining","max","min","firstRow","lastRow","go","next","emit","render","count","atStart","atEnd","blocked","h","Host","key","class","pager","type","onClick","id"],"sources":["src/components/ch-pagination/ch-pagination.css?tag=ch-pagination&encapsulation=shadow","src/components/ch-pagination/ch-pagination.tsx"],"sourcesContent":[":host {\n display: block;\n font-family: var(--typography-body);\n color: var(--color-text-primary);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.pager {\n display: flex;\n align-items: center;\n gap: var(--spacing-md);\n}\n\n.pager__button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 2rem;\n height: 2rem;\n padding: 0 var(--spacing-sm);\n border: var(--border-width) solid var(--color-border-default);\n border-radius: var(--radius-sm);\n background: var(--color-surface-default);\n color: var(--color-text-primary);\n font-size: var(--typography-size-md);\n line-height: 1;\n cursor: pointer;\n}\n\n.pager__button:hover:not(:disabled) {\n border-color: var(--color-border-hover);\n background: var(--color-surface-hover);\n}\n\n.pager__button:focus-visible {\n outline: 2px solid var(--color-accent-default);\n outline-offset: 2px;\n}\n\n.pager__button:disabled {\n opacity: var(--opacity-disabled);\n cursor: not-allowed;\n}\n\n.pager__summary {\n margin: 0;\n font-size: var(--typography-size-sm);\n color: var(--color-text-secondary);\n /* Digits do not jitter as the range changes. */\n font-variant-numeric: tabular-nums;\n}\n\n.pager--sm .pager__button {\n min-width: 1.5rem;\n height: 1.5rem;\n}\n\n.pager--sm .pager__summary {\n font-size: var(--typography-size-xs);\n}\n","import { Component, Event, type EventEmitter, Host, Prop, h } from '@stencil/core';\n\nexport type ChPaginationSize = 'sm' | 'md';\n\nlet paginationIds = 0;\n\n/**\n * Controlled pagination for a known total.\n *\n * It holds no page state: `page` and `pageSize` come from the consumer and\n * every action emits `chPageChange` with the page it wants. That matches\n * `ch-table`, so a consumer wiring the two together has one model to reason\n * about — the table shows the rows for `page`, the pagination asks for the\n * next one, and nothing moves until the consumer's data does.\n *\n * No numbered page list. A list of numbers is wrong more often than it is\n * right (it depends on how many pages fit, which depends on the font, the\n * locale and the container), and it is the part consumers most often need to\n * replace with their own. Prev/next plus a position summary covers the\n * default case; the summary is what tells a screen-reader user where they are.\n */\n@Component({\n tag: 'ch-pagination',\n styleUrl: 'ch-pagination.css',\n shadow: true,\n})\nexport class ChPagination {\n private readonly labelId = `ch-pagination-${++paginationIds}`;\n\n /** The current page, 1-based. Controlled by the consumer. */\n @Prop() page = 1;\n\n /** How many rows a page holds. Controlled by the consumer. */\n @Prop() pageSize = 10;\n\n /** How many rows exist in total. Zero renders a disabled, empty pager. */\n @Prop() total = 0;\n\n /** Accessible name for the navigation landmark. */\n @Prop() label = 'Pagination';\n\n /** Size of the controls. */\n @Prop() size: ChPaginationSize = 'md';\n\n /** Whether the whole control is disabled. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the user asks for another page. The consumer applies it. */\n @Event() chPageChange: EventEmitter<{ page: number; pageSize: number }>;\n\n private get pageCount(): number {\n if (this.total <= 0 || this.pageSize <= 0) {\n return 0;\n }\n return Math.ceil(this.total / this.pageSize);\n }\n\n /** How many rows this page shows, which is short on the last page. */\n private get rowsOnPage(): number {\n if (this.pageCount === 0) {\n return 0;\n }\n const remaining = this.total - (this.page - 1) * this.pageSize;\n return Math.max(0, Math.min(this.pageSize, remaining));\n }\n\n private get firstRow(): number {\n return this.rowsOnPage === 0 ? 0 : (this.page - 1) * this.pageSize + 1;\n }\n\n private get lastRow(): number {\n return this.rowsOnPage === 0 ? 0 : this.firstRow + this.rowsOnPage - 1;\n }\n\n private go(next: number) {\n if (this.disabled || next < 1 || next > this.pageCount || next === this.page) {\n return;\n }\n this.chPageChange.emit({ page: next, pageSize: this.pageSize });\n }\n\n render() {\n const count = this.pageCount;\n const atStart = this.page <= 1;\n const atEnd = count === 0 || this.page >= count;\n const blocked = this.disabled || count === 0;\n\n return (\n <Host>\n <nav class={{ pager: true, [`pager--${this.size}`]: true }} aria-label={this.label}>\n <button class=\"pager__button\" type=\"button\" disabled={blocked || atStart} onClick={() => this.go(this.page - 1)} aria-label=\"Previous page\">\n <span aria-hidden=\"true\">‹</span>\n </button>\n <p class=\"pager__summary\" id={this.labelId} aria-live=\"polite\">\n {count === 0 ? 'No results' : `${this.firstRow}–${this.lastRow} of ${this.total}`}\n </p>\n <button class=\"pager__button\" type=\"button\" disabled={blocked || atEnd} onClick={() => this.go(this.page + 1)} aria-label=\"Next page\">\n <span aria-hidden=\"true\">›</span>\n </button>\n </nav>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAkB,IAAM,gjCCI9B,IAAIC,EAAgB,E,MAsBPC,EAAY,M,kEACNC,QAAU,mBAAmBF,IAGtCG,KAAO,EAGPC,SAAW,GAGXC,MAAQ,EAGRC,MAAQ,aAGRC,KAAyB,KAGRC,SAAW,MAG3BC,aAET,aAAYC,GACV,GAAIC,KAAKN,OAAS,GAAKM,KAAKP,UAAY,EAAG,CACzC,OAAO,C,CAET,OAAOQ,KAAKC,KAAKF,KAAKN,MAAQM,KAAKP,S,CAIrC,cAAYU,GACV,GAAIH,KAAKD,YAAc,EAAG,CACxB,OAAO,C,CAET,MAAMK,EAAYJ,KAAKN,OAASM,KAAKR,KAAO,GAAKQ,KAAKP,SACtD,OAAOQ,KAAKI,IAAI,EAAGJ,KAAKK,IAAIN,KAAKP,SAAUW,G,CAG7C,YAAYG,GACV,OAAOP,KAAKG,aAAe,EAAI,GAAKH,KAAKR,KAAO,GAAKQ,KAAKP,SAAW,C,CAGvE,WAAYe,GACV,OAAOR,KAAKG,aAAe,EAAI,EAAIH,KAAKO,SAAWP,KAAKG,WAAa,C,CAG/D,EAAAM,CAAGC,GACT,GAAIV,KAAKH,UAAYa,EAAO,GAAKA,EAAOV,KAAKD,WAAaW,IAASV,KAAKR,KAAM,CAC5E,M,CAEFQ,KAAKF,aAAaa,KAAK,CAAEnB,KAAMkB,EAAMjB,SAAUO,KAAKP,U,CAGtD,MAAAmB,GACE,MAAMC,EAAQb,KAAKD,UACnB,MAAMe,EAAUd,KAAKR,MAAQ,EAC7B,MAAMuB,EAAQF,IAAU,GAAKb,KAAKR,MAAQqB,EAC1C,MAAMG,EAAUhB,KAAKH,UAAYgB,IAAU,EAE3C,OACEI,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAO,CAAEC,MAAO,KAAM,CAAC,UAAUrB,KAAKJ,QAAS,MAAM,aAAcI,KAAKL,OAC3EsB,EAAA,UAAAE,IAAA,2CAAQC,MAAM,gBAAgBE,KAAK,SAASzB,SAAUmB,GAAWF,EAASS,QAAS,IAAMvB,KAAKS,GAAGT,KAAKR,KAAO,GAAE,aAAa,iBAC1HyB,EAAA,QAAAE,IAAA,yDAAkB,QAAM,MAE1BF,EAAA,KAAAE,IAAA,2CAAGC,MAAM,iBAAiBI,GAAIxB,KAAKT,QAAO,YAAY,UACnDsB,IAAU,EAAI,aAAe,GAAGb,KAAKO,YAAYP,KAAKQ,cAAcR,KAAKN,SAE5EuB,EAAA,UAAAE,IAAA,2CAAQC,MAAM,gBAAgBE,KAAK,SAASzB,SAAUmB,GAAWD,EAAOQ,QAAS,IAAMvB,KAAKS,GAAGT,KAAKR,KAAO,GAAE,aAAa,aACxHyB,EAAA,QAAAE,IAAA,yDAAkB,QAAM,O","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as s}from"./p-CIV5Gg1o.js";const a=()=>`:host{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;box-sizing:border-box}:host([hidden]){display:none}.cluster--nowrap{flex-wrap:nowrap}.cluster--gap-none{gap:0}.cluster--gap-2xs{gap:var(--spacing-2xs)}.cluster--gap-xs{gap:var(--spacing-xs)}.cluster--gap-sm{gap:var(--spacing-sm)}.cluster--gap-md{gap:var(--spacing-md)}.cluster--gap-lg{gap:var(--spacing-lg)}.cluster--gap-xl{gap:var(--spacing-xl)}.cluster--gap-2xl{gap:var(--spacing-2xl)}.cluster--gap-3xl{gap:var(--spacing-3xl)}.cluster--gap-4xl{gap:var(--spacing-4xl)}.cluster--gap-5xl{gap:var(--spacing-5xl)}.cluster--gap-6xl{gap:var(--spacing-6xl)}.cluster--align-stretch{align-items:stretch}.cluster--align-start{align-items:flex-start}.cluster--align-center{align-items:center}.cluster--align-end{align-items:flex-end}.cluster--align-baseline{align-items:baseline}.cluster--justify-start{justify-content:flex-start}.cluster--justify-center{justify-content:center}.cluster--justify-end{justify-content:flex-end}.cluster--justify-between{justify-content:space-between}.cluster--justify-around{justify-content:space-around}`;const r=new Set(["none","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl"]);const l=class{constructor(e){t(this,e)}gap="md";align="center";justify="start";wrap=true;get gapStep(){return r.has(this.gap)?this.gap:"md"}render(){return e(s,{key:"63f10662f55078a9aec2680653c040c8411cd80f",class:{cluster:true,[`cluster--gap-${this.gapStep}`]:true,[`cluster--align-${this.align}`]:true,[`cluster--justify-${this.justify}`]:true,"cluster--nowrap":!this.wrap}},e("slot",{key:"60f9896089d707fe0ef1980dcb9115bcf3308a2f"}))}};l.style=a();export{l as ch_cluster};
2
- //# sourceMappingURL=p-c90da3c0.entry.js.map
1
+ import{r as e,h as t,H as s}from"./p-8l_6qAY9.js";const a=()=>`:host{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;box-sizing:border-box}:host([hidden]){display:none}.cluster--nowrap{flex-wrap:nowrap}.cluster--gap-none{gap:0}.cluster--gap-2xs{gap:var(--spacing-2xs)}.cluster--gap-xs{gap:var(--spacing-xs)}.cluster--gap-sm{gap:var(--spacing-sm)}.cluster--gap-md{gap:var(--spacing-md)}.cluster--gap-lg{gap:var(--spacing-lg)}.cluster--gap-xl{gap:var(--spacing-xl)}.cluster--gap-2xl{gap:var(--spacing-2xl)}.cluster--gap-3xl{gap:var(--spacing-3xl)}.cluster--gap-4xl{gap:var(--spacing-4xl)}.cluster--gap-5xl{gap:var(--spacing-5xl)}.cluster--gap-6xl{gap:var(--spacing-6xl)}.cluster--align-stretch{align-items:stretch}.cluster--align-start{align-items:flex-start}.cluster--align-center{align-items:center}.cluster--align-end{align-items:flex-end}.cluster--align-baseline{align-items:baseline}.cluster--justify-start{justify-content:flex-start}.cluster--justify-center{justify-content:center}.cluster--justify-end{justify-content:flex-end}.cluster--justify-between{justify-content:space-between}.cluster--justify-around{justify-content:space-around}`;const r=new Set(["none","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl"]);const l=class{constructor(t){e(this,t)}gap="md";align="center";justify="start";wrap=true;get gapStep(){return r.has(this.gap)?this.gap:"md"}render(){return t(s,{key:"82b4133e903fd75e71314ae814d7c76d1844bcdc",class:{cluster:true,[`cluster--gap-${this.gapStep}`]:true,[`cluster--align-${this.align}`]:true,[`cluster--justify-${this.justify}`]:true,"cluster--nowrap":!this.wrap}},t("slot",{key:"a53161dbf0dbfeb52e5dae80de4764d9c708c3c6"}))}};l.style=a();export{l as ch_cluster};
2
+ //# sourceMappingURL=p-79e8c10b.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as a,h as e,H as r}from"./p-CIV5Gg1o.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 d=0;const c=class{constructor(e){t(this,e);this.chChange=a(this,"chChange")}baseId=`ch-tabs-${++d}`;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:"5fd5208bb1b9b75f13b9d3830d042f623aaca651"},e("div",{key:"8d602a604a8315db01f3e4d28a39e866efabdb48",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}`})))))}};c.style=i();export{c as ch_tabs};
2
- //# sourceMappingURL=p-90284ebe.entry.js.map
1
+ import{r as t,c as a,h as e,H as r}from"./p-8l_6qAY9.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:"2f6a0ba1be82d292dcb11f772f8764dcce7201bc"},e("div",{key:"914cb32e1467aaac43178866fbcc9b45d32ec495",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-7e13f725.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,a as r,h as s,H as e}from"./p-CIV5Gg1o.js";import{r as a}from"./p-BXzZsX2r.js";const n=()=>`: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 o=0;const h=class{constructor(r){t(this,r);this.chInput=i(this,"chInput");this.chChange=i(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}}inputId=`ch-number-input-${++o}`;hintId=`${this.inputId}-hint`;errorId=`${this.inputId}-error`;initialValue="";internals;formDisabled=false;get host(){return r(this)}label;value="";format="plain";placeholder;name;disabled=false;required=false;min;max;step="any";hint;errorMessage;invalid=false;chInput;chChange;draft="";typing=false;componentWillLoad(){this.draft=this.formatDisplay(this.value)}get decimals(){return this.format!=="clp"}formatDisplay(t){if(t===""){return""}if(this.format==="clp"){const i=t.replace(/\D/gu,"");return i===""?"":Number(i).toLocaleString("es-CL")}return t}toCanonical(t){if(this.format==="clp"){return t.replace(/\D/gu,"")}const i=t.replace(/\s/gu,"").replace(",",".");const r=/^-?\d*(?:\.\d*)?/u.exec(i);return r?r[0]:""}get isEmpty(){return!/^-?\d/u.test(this.toCanonical(this.draft))}get canonical(){return this.isEmpty?"":this.toCanonical(this.draft)}get numericValue(){return Number(this.canonical)}outOfRange(t){const{min:i,max:r}=this;if(i!==undefined&&t<i){return`Enter a value of at least ${i}.`}if(r!==undefined&&t>r){return`Enter a value of at most ${r}.`}return undefined}rangeError(){if(this.errorMessage||this.isEmpty||this.invalid){return undefined}const t=this.numericValue;return Number.isNaN(t)?"Enter a valid number.":this.outOfRange(t)}syncForm(){const{internals:t,required:i,invalid:r,errorMessage:s,canonical:e}=this;if(typeof t?.setFormValue!=="function"){return}t.setFormValue(e);const n=a({required:i,empty:e==="",invalid:r,errorMessage:s});const o=this.rangeError();if(o){t.setValidity({...n.flags,badInput:true},o);return}t.setValidity(n.flags,n.message)}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;this.draft=this.formatDisplay(this.initialValue);this.typing=false;this.syncForm();const t=this.host.shadowRoot?.querySelector("input");if(t){t.value=this.formatDisplay(this.initialValue)}}formDisabledCallback(t){this.formDisabled=t}commit(t){this.typing=true;this.draft=t;this.value=this.canonical;this.chInput.emit(this.value);this.syncForm()}handleInput=t=>{this.commit(t.target.value)};handleChange=t=>{this.commit(t.target.value);this.chChange.emit(this.value)};handleBlur=()=>{if(this.format==="clp"){this.draft=this.formatDisplay(this.canonical)}};get isInvalid(){return this.invalid||this.rangeError()!==undefined}get describedBy(){if(this.isInvalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){const t=this.isInvalid&&this.errorMessage;return s(e,{key:"1c424d9d76ec39e6cc6018d6ba483f95bd203d32"},this.label&&s("label",{key:"4fc03334128c33cc425da773df063cd99fee215c",class:"label",htmlFor:this.inputId},this.label),s("input",{key:"ece15737f83c181d615e906aba5cce80c0bcb8ba",id:this.label?this.inputId:undefined,class:{input:true,"input--invalid":this.isInvalid},type:"text",inputMode:this.decimals?"decimal":"numeric",name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.typing?this.draft:this.formatDisplay(this.value),"aria-invalid":this.isInvalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur}),this.hint&&!t&&s("p",{key:"7a2e3031b8bfebf26857dd60eb18340f21a01f3d",class:"hint",id:this.hintId},this.hint),t&&s("p",{key:"f90492532d27088f18b258f885d5d471f31d27cb",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}],min:[{syncForm:0}],max:[{syncForm:0}]}}};h.style=n();export{h as ch_number_input};
2
- //# sourceMappingURL=p-9ebcc7be.entry.js.map
1
+ import{r as t,c as i,a as r,h as s,H as e}from"./p-8l_6qAY9.js";import{r as a}from"./p-BXzZsX2r.js";const n=()=>`: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 o=0;const h=class{constructor(r){t(this,r);this.chInput=i(this,"chInput");this.chChange=i(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}}inputId=`ch-number-input-${++o}`;hintId=`${this.inputId}-hint`;errorId=`${this.inputId}-error`;initialValue="";internals;formDisabled=false;get host(){return r(this)}label;value="";format="plain";placeholder;name;disabled=false;required=false;min;max;step="any";hint;errorMessage;invalid=false;chInput;chChange;draft="";typing=false;componentWillLoad(){this.draft=this.formatDisplay(this.value)}get decimals(){return this.format!=="clp"}formatDisplay(t){if(t===""){return""}if(this.format==="clp"){const i=t.replace(/\D/gu,"");return i===""?"":Number(i).toLocaleString("es-CL")}return t}toCanonical(t){if(this.format==="clp"){return t.replace(/\D/gu,"")}const i=t.replace(/\s/gu,"").replace(",",".");const r=/^-?\d*(?:\.\d*)?/u.exec(i);return r?r[0]:""}get isEmpty(){return!/^-?\d/u.test(this.toCanonical(this.draft))}get canonical(){return this.isEmpty?"":this.toCanonical(this.draft)}get numericValue(){return Number(this.canonical)}outOfRange(t){const{min:i,max:r}=this;if(i!==undefined&&t<i){return`Enter a value of at least ${i}.`}if(r!==undefined&&t>r){return`Enter a value of at most ${r}.`}return undefined}rangeError(){if(this.errorMessage||this.isEmpty||this.invalid){return undefined}const t=this.numericValue;return Number.isNaN(t)?"Enter a valid number.":this.outOfRange(t)}syncForm(){const{internals:t,required:i,invalid:r,errorMessage:s,canonical:e}=this;if(typeof t?.setFormValue!=="function"){return}t.setFormValue(e);const n=a({required:i,empty:e==="",invalid:r,errorMessage:s});const o=this.rangeError();if(o){t.setValidity({...n.flags,badInput:true},o);return}t.setValidity(n.flags,n.message)}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;this.draft=this.formatDisplay(this.initialValue);this.typing=false;this.syncForm();const t=this.host.shadowRoot?.querySelector("input");if(t){t.value=this.formatDisplay(this.initialValue)}}formDisabledCallback(t){this.formDisabled=t}commit(t){this.typing=true;this.draft=t;this.value=this.canonical;this.chInput.emit(this.value);this.syncForm()}handleInput=t=>{this.commit(t.target.value)};handleChange=t=>{this.commit(t.target.value);this.chChange.emit(this.value)};handleBlur=()=>{if(this.format==="clp"){this.draft=this.formatDisplay(this.canonical)}};get isInvalid(){return this.invalid||this.rangeError()!==undefined}get describedBy(){if(this.isInvalid&&this.errorMessage){return this.errorId}if(this.hint){return this.hintId}return undefined}render(){const t=this.isInvalid&&this.errorMessage;return s(e,{key:"0265106cccf730338541d292be247b7853ab00cf"},this.label&&s("label",{key:"17293d5cc55a8d4de0cd544ea1f508d1ed820b12",class:"label",htmlFor:this.inputId},this.label),s("input",{key:"ce17dc7c0f5c1064d8535aef942e486a46b72188",id:this.label?this.inputId:undefined,class:{input:true,"input--invalid":this.isInvalid},type:"text",inputMode:this.decimals?"decimal":"numeric",name:this.name,placeholder:this.placeholder,disabled:this.disabled||this.formDisabled,required:this.required,value:this.typing?this.draft:this.formatDisplay(this.value),"aria-invalid":this.isInvalid?"true":undefined,"aria-describedby":this.describedBy,onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur}),this.hint&&!t&&s("p",{key:"37611a7755f6885e6f87a600b1a27cc5edd5fefd",class:"hint",id:this.hintId},this.hint),t&&s("p",{key:"68b8c5b964a2a98df493103b1fde088aeefda769",class:"error",id:this.errorId,role:"alert"},this.errorMessage))}static get formAssociated(){return true}static get watchers(){return{required:[{syncForm:0}],invalid:[{syncForm:0}],errorMessage:[{syncForm:0}],min:[{syncForm:0}],max:[{syncForm:0}]}}};h.style=n();export{h as ch_number_input};
2
+ //# sourceMappingURL=p-8b23d072.entry.js.map
@@ -1,3 +1,3 @@
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;--icon-size-sm:16px;--icon-size-md:20px;--icon-size-lg:24px;--icon-stroke:2px}@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="http://www.w3.org/2000/svg";var i="http://www.w3.org/1999/xhtml";var s=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(s||{});var l=(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})(l||{});var a="type";var f="value";var c="serialized:";function u(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 d=(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=u(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 v=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var p=(e,n)=>{if(!n)return;e.__stencil__getHostRef=()=>n;n.l=e;if(n.t.u&512&&t.state){d(e,n)}};var h=(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 m=(e,t)=>t in e;var y=(e,t)=>(0,console.error)(e,t);var g=new Map;var b=new Map;var $=(e,t,n)=>{var r;const o=e.$.replace(/-/g,"_");const i=e.S;if(!i){return void 0}const s=g.get(i);if(s){return s[o]}const l=(r=b.get(i))!=null?r:0;const a=[l>0?`s-retry=${l}`:"",""].filter(Boolean).join("&");
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${a?"?"+a:""}`).then((e=>{{b.delete(i);g.set(i,e)}return e[o]}),(e=>{b.set(i,l+1);y(e,t.$hostElement$)}))};var w=new Map;var x="r";var S="o";var j="s";var k="t";var O="c";var C="s-id";var I="sty-id";var M="c-id";var E="slot-fb{display:contents}slot-fb[hidden]{display:none}";var N=3;var z=1e3;var A=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var L=typeof window!=="undefined"?window:{};var R={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 D=(()=>{var e;let t=false;try{(e=L.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var U=e=>Promise.resolve(e);var F=(()=>{try{if(!L.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var T=F?(()=>!!L.document&&Object.getOwnPropertyDescriptor(L.document.adoptedStyleSheets,"length").writable)():false;var H=false;var P=[];var V=[];var _=()=>{var e;return((e=L.document)==null?void 0:e.hidden)?Y(q):R.raf(q)};var B=(e,t)=>n=>{e.push(n);if(!H){H=true;if(t&&R.u&4){Y(q)}else{_()}}};var W=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){y(e)}}e.length=0};var q=()=>{W(P);{W(V);if(H=P.length>0){_()}}};var Y=e=>U().then(e);var G=B(V,true);function J(e){if(!F)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var Z;function K(e){var t;const n={mode:"open"};const o=this.attachShadow(n);if(Z===void 0)Z=(t=J(r))!=null?t:null;if(Z){if(T){o.adoptedStyleSheets.push(Z)}else{o.adoptedStyleSheets=[...o.adoptedStyleSheets,Z]}}else if(!F){const e=document.createElement("style");e.innerHTML=r;o.prepend(e)}}var Q=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 X=(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 s=ne(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=ne(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=>s.call(i,e)))}else{s.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var ee=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(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:Q(o.childNodes);i.forEach((e=>{if(r===ee(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 ne(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 re=(e,t="")=>{{return()=>{}}};var oe=(e,t)=>{{return()=>{}}};function ie(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 se=new WeakMap;var le=(e,t,n)=>{let r=w.get(e);if(F&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}w.set(e,r)};var ae=(e,t,n)=>{var r,o,i;const s=ce(t);const l=w.get(s);if(!L.document){return s}e=e.nodeType===11?e:L.document;if(l){if(typeof l==="string"){e=e.head||e;let n=se.get(e);let i;if(!n){se.set(e,n=new Set)}const a=e.querySelector(`[${I}="${s}"]`);if(a){a.textContent=l}else if(!n.has(s)){i=L.document.createElement("style");i.textContent=l;const a=(r=R.k)!=null?r:ie(L.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(F){const t=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;const n=new t.CSSStyleSheet;n.replaceSync(l);if(T){e.adoptedStyleSheets.unshift(n)}else{e.adoptedStyleSheets=[n,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t&&true){t.textContent=l+t.textContent}else{e.prepend(i)}}}else{e.append(i)}}if(t.u&1){e.insertBefore(i,null)}if(t.u&4){i.textContent+=E}if(n){n.add(s)}}}else{let t=se.get(e);if(!t){se.set(e,t=new Set)}if(!t.has(s)){const n=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;let r;if(l.constructor===n.CSSStyleSheet){r=l}else{r=new n.CSSStyleSheet;for(let e=0;e<l.cssRules.length;e++){r.insertRule(l.cssRules[e].cssText,e)}}if(T){e.adoptedStyleSheets.push(r)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}t.add(s);if("host"in e){const t=e.querySelector(`[${I}="${s}"]`);if(t){G((()=>t.remove()))}}}}}return s};var fe=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=re("attachStyles",t.$);const i=ae(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var ce=(e,t)=>"sc-"+e.$;var ue=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var de=()=>{if(!L.document){return}const e=L.document.querySelectorAll(`[${I}]`);let t=0;for(;t<e.length;t++){le(e[t].getAttribute(I),ue(e[t].innerHTML),true)}};var ve=e=>{e=typeof e;return e==="object"||e==="function"};var pe=(e,t,...n)=>{if(typeof e==="string"){e=Lt(e)}let r=null;let o=null;let i=false;let s=false;const l=[];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"&&!ve(r)){r=String(r)}else if(typeof e!=="function"&&r.u===void 0){{y("Invalid vNode child")}continue}if(i&&s){l[l.length-1].O+=r}else{l.push(i?he(null,r):r)}s=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(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,l,ge)}const f=he(e,null);f.C=t;if(l.length>0){f.I=l}{f.M=o}return f};var he=(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 me={};var ye=e=>e&&e.N===me;var ge={forEach:(e,t)=>e.map(be).forEach(t),map:(e,t)=>e.map(be).map(t).map($e)};var be=e=>({vattrs:e.C,vchildren:e.I,vkey:e.M,vname:e.L,vtag:e.N,vtext:e.O});var $e=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return pe(e.vtag,t,...e.vchildren||[])}const t=he(e.vtag,e.vtext);t.C=e.vattrs;t.I=e.vchildren;t.M=e.vkey;t.L=e.vname;return t};var we=(e,t,n,r)=>{var o,i,s,l;const a=re("hydrateClient",t);const f=e.shadowRoot;const c=[];const u=[];const d=[];const p=f?[]:null;const h=he(t,null);h.A=e;if(L.document&&(!R.R||!R.R.size)){Se(L.document.body,R.R=new Map)}e[C]=n;e.removeAttribute(C);r.D=xe(h,c,u,p,e,e,n,d);let m=0;const y=c.length;let g;for(m;m<y;m++){g=c[m];const n=g.U+"."+g.F;const r=R.R.get(n);const i=g.A;if(!f){i["s-hn"]=Lt(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=v(g.A);if(e){const t=ce(e.t);const n=L.document.querySelector(`style[sty-id="${t}"]`);if(n){p.unshift(n.cloneNode(true))}}}if(g.N==="slot"){g.L=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.F)}}if(r&&!r["s-id"]){R.R.delete(n)}}const b=[];const $=d.length;let w=0;let x;let S;let j;let k;let O=0;for(w;w<$;w++){x=d[w];if(!x||!x.length)continue;j=x.length;S=0;for(S;S<j;S++){k=x[S];if(!b[k.hostId]){b[k.hostId]=R.R.get(k.hostId)}if(!b[k.hostId])continue;const e=b[k.hostId];if(e.shadowRoot&&k.node.parentElement!==e){e.insertBefore(k.node,(s=(i=x[S-1])==null?void 0:i.node)==null?void 0:s.nextSibling)}if(!e.shadowRoot||!f){if(!k.slot["s-cr"]){k.slot["s-cr"]=e["s-cr"];if(!k.slot["s-cr"]&&e.shadowRoot){k.slot["s-cr"]=e}else{k.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}X(k.node,k.slot,false,k.node["s-oo"]||O);if(((l=k.node.parentElement)==null?void 0:l.shadowRoot)&&k.node["getAttribute"]&&k.node.getAttribute("slot")){k.node.removeAttribute("slot")}}O=(k.node["s-oo"]||O)+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 xe=(e,t,n,r,o,i,s,l=[])=>{let a;let f;let c;let u;if(i.nodeType===1){a=i.getAttribute(M);if(a){f=a.split(".");if(f[0]===s||f[0]==="0"){c=je({u:0,U:f[0],F:f[1],T:f[2],H:f[3],N:i.tagName.toLowerCase(),A:i,C:{class:i.className||""}});t.push(c);i.removeAttribute(M);if(!e.I){e.I=[]}const o=c.A.getAttribute("s-sn");if(typeof o==="string"){if(c.N==="slot-fb"){ke(o,f[2],c,i,e,t,n,r,l)}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--){xe(e,t,n,r,o,i.shadowRoot.childNodes[u],s,l)}}const d=i.__childNodes||i.childNodes;for(u=d.length-1;u>=0;u--){xe(e,t,n,r,o,d[u],s,l)}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){a=f[0];c=je({U:f[1],F:f[2],T:f[3],H:f[4]||"0",A:i,C:null,I:null,M:null,L:null,N:null,O:null});if(a===k){c.A=Ce(i,3);if(c.A&&c.A.nodeType===3){c.O=c.A.textContent;t.push(c);i.remove();if(s===c.U){if(!e.I){e.I=[]}e.I[c.H]=c}if(r&&c.T==="0"){r[c.H]=c.A}}}else if(a===O){c.A=Ce(i,8);if(c.A&&c.A.nodeType===8){t.push(c);i.remove()}}else if(c.U===s){if(a===j){const o=i["s-sn"]=f[5]||"";ke(o,f[2],c,i,e,t,n,r,l)}else if(a===x){if(r){i.remove()}}}}}else if(e&&e.N==="style"){const t=he(null,i.textContent);t.A=i;t.H="0";e.I=[t]}return e};var Se=(e,t)=>{if(e.nodeType===1){const n=e[C]||e.getAttribute(C);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){Se(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){Se(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===S){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var je=e=>{const t={u:0,U:null,F:null,T:null,H:"0",A:null,C:null,I:null,M:null,L:null,N:null,O:null};return{...t,...e}};function ke(e,t,n,r,o,i,s,l,a){r["s-sr"]=true;n.L=e||null;n.N="slot";const f=(o==null?void 0:o.A)?o.A["s-id"]||o.A.getAttribute("s-id"):"";if(l&&L.document){const i=n.A=L.document.createElement(n.N);if(n.L){n.A.setAttribute("name",e)}if(o.A.shadowRoot&&f&&f!==n.U){ne(o.A,"insertBefore")(i,ne(o.A,"children")[0])}else{ne(ne(r,"parentNode"),"insertBefore")(i,r)}Oe(a,t,e,r,n.U);r.remove();if(n.T==="0"){l[n.H]=n.A}}else{const i=n.A;const s=f&&f!==n.U&&o.A.shadowRoot;Oe(a,t,e,r,s?f:n.U);te(r);if(s){o.A.insertBefore(i,o.A.children[0])}}i.push(n);s.push(n);if(!o.I){o.I=[]}o.I[n.H]=n}var Oe=(e,t,n,r,o)=>{var i,s;let l=r.nextSibling;e[t]=e[t]||[];if(!l||((i=l.nodeValue)==null?void 0:i.startsWith(j+".")))return;do{if(l&&((l["getAttribute"]&&l.getAttribute("slot")||l["s-sn"])===n||n===""&&!l["s-sn"]&&(!l["getAttribute"]||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))){l["s-sn"]=n;e[t].push({slot:r,node:l,hostId:o})}l=l==null?void 0:l.nextSibling}while(l&&!((s=l.nodeValue)==null?void 0:s.startsWith(j+".")))};var Ce=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Ie=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 Me=class e{static fromLocalValue(t){const n=t[a];const r=f in t?t[f]: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:s}=r;return new RegExp(i,s);case"set":const l=new Set;for(const t of r){l.add(e.fromLocalValue(t))}return l;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(a)){return false}const t=e[a];const n=Object.values({...s,...l}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(f)}return true}};function Ee(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 Ne(e){if(typeof e!=="string"||!e.startsWith(c)){return e}return Me.fromLocalValue(JSON.parse(Ee(e.slice(c.length))))}var ze=(e,t,n)=>{if(typeof e==="string"&&e.startsWith(c)){e=Ne(e);return e}if(e!=null&&!ve(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 Ae=e=>{var t;return(t=v(e))==null?void 0:t.$hostElement$};var Le=(e,t,n)=>{const r=Ae(e);return{emit:e=>Re(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Re=(e,t,n)=>{const r=R.ce(t,n);e.dispatchEvent(r);return r};var De=(e,t,n,r,o,i,s)=>{if(n===r){return}let l=m(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const o=He(n);let i=He(r);if((e["s-si"]||e["s-sc"])&&s){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==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){ot(r,e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(m(L,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const o=t.endsWith(Pe);t=t.replace(Ve,"");if(n){R.rel(e,t,n,o)}if(r){R.ael(e,t,r,o)}}}else if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=v(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 s=ve(r);if((l||s&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){l=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&&!Fe(t)){{e.removeAttribute(t)}}}else if((!l||i&4||o)&&!s&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var Ue=new Set(["draggable","contenteditable","spellcheck"]);var Fe=e=>Ue.has(e)||e.startsWith("aria-");var Te=/\s/;var He=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Te)};var Pe="Capture";var Ve=new RegExp(Pe+"$");var _e=(e,t,n,r)=>{const o=t.A.nodeType===11&&t.A.host?t.A.host:t.A;const i=e&&e.C||{};const s=t.C||{};{for(const e of Be(Object.keys(i))){if(!(e in s)){De(o,e,i[e],void 0,n,t.u,r)}}}for(const e of Be(Object.keys(s))){De(o,e,i[e],s[e],n,t.u,r)}};function Be(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var We;var qe=false;var Ye=false;var Ge=[];var Je=[];var Ze=(e,t,n)=>{const r=t.I[n];let s=0;let l;let a;if(r.O!=null){l=r.A=L.document.createTextNode(r.O)}else{if(!Ye){Ye=r.N==="svg"}if(!L.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}l=r.A=L.document.createElementNS(Ye?o:i,r.N);if(Ye&&r.N==="foreignObject"){Ye=false}{_e(null,r,Ye)}if(r.I){const t=r.N==="template"?l.content:l;for(s=0;s<r.I.length;++s){a=Ze(e,r,s);if(a){t.appendChild(a)}}}{if(r.N==="svg"){Ye=false}else if(l.tagName==="foreignObject"){Ye=true}}}l["s-hn"]=We;return l};var Ke=e=>{R.u|=1;const t=e.closest(We.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){st(t,e,n!=null?n:null);e["s-sh"]=void 0}}}R.u&=-2};var Qe=(e,t,n,r,o,i)=>{let s=e;let l;if(s.shadowRoot&&s.tagName===We){s=s.shadowRoot}if(n.N==="template"){s=s.content}for(;o<=i;++o){if(r[o]){l=Ze(null,n,o);if(l){r[o].A=l;st(s,l,t)}}}};var Xe=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.A;rt(t);if(e){e.remove()}}}};var et=(e,t,n,r,o=false)=>{let i=0;let s=0;let l=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&&s<=d){if(c==null){c=t[++i]}else if(u==null){u=t[--f]}else if(v==null){v=r[++s]}else if(p==null){p=r[--d]}else if(tt(c,v,o)){nt(c,v,o);c=t[++i];v=r[++s]}else if(tt(u,p,o)){nt(u,p,o);u=t[--f];p=r[--d]}else if(tt(c,p,o)){nt(c,p,o);st(y,c.A,u.A.nextSibling);c=t[++i];p=r[--d]}else if(tt(u,v,o)){nt(u,v,o);st(y,u.A,c.A);u=t[--f];v=r[++s]}else{l=-1;{for(a=i;a<=f;++a){if(t[a]&&t[a].M!==null&&t[a].M===v.M){l=a;break}}}if(l>=0){m=t[l];if(m.N!==v.N){h=Ze(t&&t[s],n,s)}else{nt(m,v,o);t[l]=void 0;h=m.A}v=r[++s]}else{h=Ze(t&&t[s],n,s);v=r[++s]}if(h){{st(c.A.parentNode,h,c.A)}}}}if(i>f){Qe(e,r[d+1]==null?null:r[d+1].A,n,r,s,d)}else if(s>d){Xe(t,i,f)}};var tt=(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 nt=(e,n,r=false)=>{const o=n.A=e.A;const i=e.I;const s=n.I;const l=n.N;const a=n.O;if(a==null){{Ye=l==="svg"?true:l==="foreignObject"?false:Ye}{if(l==="slot"&&!qe){if(e.L!==n.L){n.A["s-sn"]=n.L||"";Ke(n.A.parentElement)}}_e(e,n,Ye,r)}if(i!==null&&s!==null){et(o,i,n,s,r)}else if(s!==null){if(e.O!==null){o.textContent=""}Qe(o,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&i!==null){Xe(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&s===null){n.I=i}if(Ye&&l==="svg"){Ye=false}}else if(e.O!==a){o.data=a}};var rt=e=>{{if(e.C&&e.C.ref){Ge.push((()=>e.C.ref(null)))}e.I&&e.I.map(rt)}};var ot=(e,t)=>{{Je.push((()=>e(t)))}};var it=()=>{{Ge.forEach((e=>e()));Ge.length=0;Je.forEach((e=>e()));Je.length=0}};var st=(e,t,n,r)=>{{return e==null?void 0:e.insertBefore(t,n)}};var lt=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.t;const i=e.D||he(null,null);const s=ye(t);const l=s?t:pe(null,null,t);We=r.tagName;if(o.P){l.C=l.C||{};o.P.forEach((([e,t])=>{{l.C[t]=r[e]}}))}if(n&&l.C){for(const e of Object.keys(l.C)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){l.C[e]=r[e]}}}l.N=null;l.u|=4;e.D=l;l.A=i.A=r.shadowRoot||r;qe=!!(o.u&1)&&!(o.u&128);nt(i,l,n);it()};var at=(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 ft=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}at(e,e._);const n=()=>ct(e,t);if(t){queueMicrotask((()=>{n()}));return}return G(n)};var ct=(e,t)=>{const n=e.$hostElement$;const r=re("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])=>gt(o,e,t,n)));e.B=void 0}}if(e.m.length){e.m.forEach((e=>e(n)))}}i=gt(o,"componentWillLoad",void 0,n)}else{i=gt(o,"componentWillUpdate",void 0,n)}i=ut(i,(()=>gt(o,"componentWillRender",void 0,n)));r();return ut(i,(()=>vt(e,o,t)))};var ut=(e,t)=>dt(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var dt=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var vt=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=re("update",e.t.$);const s=o["s-rc"];if(n){fe(e)}const l=re("render",e.t.$);{pt(e,t,o,n)}if(s){s.map((e=>e()));o["s-rc"]=void 0}l();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>ht(e);if(t.length===0){n()}else{Promise.all(t).then(n).catch(n);e.u|=4;t.length=0}}};var pt=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{lt(e,t,r)}}}}catch(t){y(t,e.$hostElement$)}return null};var ht=e=>{const t=e.t.$;const n=e.$hostElement$;const r=re("postUpdate",t);const o=e.l;const i=e._;gt(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;gt(o,"componentDidLoad",void 0,n);r();{e.h(n);if(!i){yt()}}}else{gt(o,"componentDidUpdate",void 0,n);r()}{if(e.V){e.V();e.V=void 0}if(e.u&512){Y((()=>ft(e,false)))}e.u&=-517}};var mt=e=>{var t;{const n=v(e);const r=(t=n==null?void 0:n.$hostElement$)==null?void 0:t.isConnected;if(r&&(n.u&(2|16))===2){ft(n,false)}return r}};var yt=t=>{var n;Y((()=>Re(L,"appload",{detail:{namespace:e}})));{if((n=R.R)==null?void 0:n.size){R.R.clear()}}};var gt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){y(e,r)}}return void 0};var bt=(e,t)=>v(e).i.get(t);var $t=(e,t,n,r)=>{const o=v(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 s=o.i.get(t);const l=o.u;const a=o.l;n=ze(n,r.o[t][0],!!(r.u&64));const f=Number.isNaN(s)&&Number.isNaN(n);const c=n!==s&&!f;if((!(l&8)||s===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(l&128||i&1){if(!a){o.m.push((()=>{o.l[r](n,s,t)}))}else{a[r](n,s,t)}}}catch(e){y(e,i)}}))}}if(l&2){if(a.componentShouldUpdate){const e=a.componentShouldUpdate(n,s,t);if(e===false&&!(l&16)){return}}if(!(l&16)){ft(o,false)}}}};var wt=e=>e==null||e===false?null:e===true?"":String(e);var xt=(e,n,r)=>{var o,i;const s=e.prototype;if(n.u&64&&r&1){A.forEach((e=>{Object.defineProperty(s,e,{value(...t){var n;const r=v(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=Ie(e.watchers)}if(e.deserializers&&!n.q){n.q=e.deserializers}if(e.serializers&&!n.Y){n.Y=e.serializers}}const l=Object.entries((o=n.o)!=null?o:{});l.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=u(s,e)||{};if(o)n.o[e][0]|=2048;if(i)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(s,e,{get(){{if((n.o[e][0]&2048)===0){return bt(this,e)}const t=v(this);const r=t?t.l:s;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(s,e,{set(o){const s=v(this);if(!s){return}if(i){const r=t&32?this[e]:s.$hostElement$[e];if(typeof r==="undefined"&&s.i.get(e)){o=s.i.get(e)}i.apply(this,[ze(o,t,!!(n.u&64))]);o=t&32?this[e]:s.$hostElement$[e];$t(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){$t(this,e,o,n);if(r&1&&!s.l){s.m.push((()=>{if(n.o[e][0]&4096&&s.l[e]!==s.i.get(e)){s.l[e]=o}}))}return}const i=ze(o,t,!!(n.u&64));const l=t=>{const r=s.l[e];if(!s.i.get(e)&&r){s.i.set(e,r)}s.l[e]=t;$t(this,e,s.l[e],n)};if(s.l){l(i)}else{s.i.set(e,i);s.m.push((()=>{const t=s.i.get(e);if(s.l[e]!==t){l(t)}}))}}}})}}));if(r&1){const r=new Map;s.attributeChangedCallback=function(e,o,i){R.jmp((()=>{var a;const f=r.get(e);const c=v(this);if(this.hasOwnProperty(f)&&t.lazyLoad){i=this[f];delete this[f]}if(s.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 s=(a=n.W)==null?void 0:a[e];s==null?void 0:s.forEach((n=>{const[[s,l]]=Object.entries(n);if(r[s]!=null&&(t&128||l&1)){r[s].call(r,i,o,e)}}))}return}const u=l.find((([e])=>e===f));const d=u?u[1][0]:0;const p=d&4;if(d&512&&d&8&&!ve(this[f])&&wt(this[f])===i){return}const h=p&&i===null&&this[f]===void 0;if(p){i=i===null||i==="false"?false:true}const m=d&4096?c.i.get(f):this[f];const y=Object.getOwnPropertyDescriptor(s,f);if(!h&&i!=m&&(!y.get||!!y.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.W)!=null?i:{}),...l.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 St=async(e,n,r,o)=>{var i;let s;try{if((n.u&32)===0){n.u|=32;n.u&=-1025;const o=r.S;if(o){const t=$(r,n);if(t&&"then"in t){const e=oe();s=await t;e()}else{s=t}if(!s){n.u&=-33;n.G=((i=n.G)!=null?i:0)+1;if(n.G<N){n.u|=1024}throw new Error(`Constructor for "${r.$}#${n.J}" was not found`)}if(!s.isProxied){{r.W=Ie(s.watchers);r.Y=s.serializers;r.q=s.deserializers}xt(s,r,2);s.isProxied=true}const o=re("createInstance",r.$);{n.u|=8}try{new s(n)}catch(t){y(t,e)}{n.u&=-9}{n.u|=128}o();{jt(n.l,e)}}else{s=e.constructor;const t=e.localName;customElements.whenDefined(t).then((()=>n.u|=128))}if(s&&s.style){let e;if(typeof s.style==="string"){e=s.style}const n=ce(r);if(!w.has(n)||t.hotModuleReplacement){const t=re("registerStyles",r.$);le(n,e,!!(r.u&1));t()}}}const o=n._;const l=()=>ft(n,true);if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}}catch(t){y(t,e);if(n.V){n.V();n.V=void 0}if(n.h&&!(n.u&1024)){n.h(e)}}};var jt=(e,t)=>{{gt(e,"connectedCallback",void 0,t)}};var kt=e=>{if((R.u&1)===0){const t=v(e);if(!t){return}const n=t.t;const r=re("connectedCallback",n.$);if(!(t.u&1)){t.u|=1;let r;{r=e.getAttribute(C);if(r){if(n.u&1){const t=ae(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}we(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"]){at(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}}))}{St(e,t,n)}}else{Mt(e,t,n.Z);if(t==null?void 0:t.l){jt(t.l,e)}else if(t.u&1024){setTimeout((()=>St(e,t,n)),z)}else if(t==null?void 0:t.p){t.p.then((()=>jt(t.l,e)))}}r()}};var Ot=(e,t)=>{{gt(e,"disconnectedCallback",void 0,t||e)}};var Ct=async e=>{if((R.u&1)===0){const t=v(e);{if(t==null?void 0:t.K){t.K.map((e=>e()));t.K=void 0}}if(t==null?void 0:t.l){Ot(t.l,e)}else if(t==null?void 0:t.p){t.p.then((()=>Ot(t.l,e)))}}if(se.has(e)){se.delete(e)}if(e.shadowRoot&&se.has(e.shadowRoot)){se.delete(e.shadowRoot)}};var It=(e,t={})=>{var n;if(!L.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=re();const o=[];const i=t.exclude||[];const s=L.customElements;const l=L.document.head;const a=l.querySelector("meta[charset]");const f=L.document.createElement("style");const c=[];let u;let d=true;Object.assign(R,t);R.j=new URL(t.resourcesUrl||"./",L.document.baseURI).href;{R.u|=2}{de()}e.map((e=>{e[1].map((t=>{var n,r;const l={u:t[0],$:t[1],o:t[2],Z:t[3]};{l.o=t[2]}{l.Z=t[3]}{l.P=[]}{l.W=Ie(t[4]);l.Y=(n=t[5])!=null?n:{};l.q=(r=t[6])!=null?r:{}}const a=Lt(l.$);const f=class extends HTMLElement{["s-p"];["s-rc"];hasRegisteredEventListeners=false;constructor(e){super(e);e=this;h(e,l);if(l.u&1){{if(!e.shadowRoot){K.call(e,l)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${l.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=v(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Mt(this,e,l.Z)}if(u){clearTimeout(u);u=null}if(d){c.push(this)}else{R.jmp((()=>kt(this)))}}disconnectedCallback(){R.jmp((()=>Ct(this)));Y((()=>{var e;const t=v(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.D)==null?void 0:e.A)instanceof Node&&!t.D.A.isConnected){delete t.D.A}}))}componentOnReady(){var e;return(e=v(this))==null?void 0:e.p}};if(l.u&64){f.formAssociated=true}l.S=e[0];if(!i.includes(a)&&!s.get(a)){o.push(a);s.define(a,xt(f,l,1))}}))}));if(o.length>0){if(f.innerHTML.length){f.setAttribute("data-styles","");const e=(n=R.k)!=null?n:ie(L.document);if(e!=null){f.setAttribute("nonce",e)}l.insertBefore(f,a?a.nextSibling:l.firstChild)}}d=false;if(c.length){c.map((e=>e.connectedCallback()))}else{{R.jmp((()=>u=setTimeout(yt,30)))}}r()};var Mt=(e,t,n,r)=>{if(n&&L.document){n.map((([n,r,o])=>{const i=Nt(L.document,e,n);const s=Et(t,o);const l=zt(n);R.ael(i,r,s,l);(t.K=t.K||[]).push((()=>R.rel(i,r,s,l)))}))}};var Et=(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){y(t,e.$hostElement$)}};var Nt=(e,t,n)=>{if(n&4){return e}if(n&8){return L}return t};var zt=e=>D?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var At=e=>R.k=e;function Lt(e){return e}export{me as H,Ae as a,It as b,Le as c,mt as f,n as g,pe as h,U as p,p as r,At as s};
3
- //# sourceMappingURL=p-CIV5Gg1o.js.map
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;--icon-size-sm:16px;--icon-size-md:20px;--icon-size-lg:24px;--icon-stroke:2px}@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="http://www.w3.org/2000/svg";var i="http://www.w3.org/1999/xhtml";var s=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(s||{});var l=(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})(l||{});var a="type";var f="value";var c="serialized:";function u(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 d=(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=u(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 v=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var p=(e,n)=>{if(!n)return;e.__stencil__getHostRef=()=>n;n.l=e;if(n.t.u&512&&t.state){d(e,n)}};var h=(e,t)=>{const n={u:0,$hostElement$:e,t,i:new Map,v:new Map};{n.p=new Promise((e=>n.h=e))}{n.m=new Promise((e=>n.$=e));e["s-p"]=[];e["s-rc"]=[]}{n.S=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var m=(e,t)=>t in e;var y=(e,t)=>(0,console.error)(e,t);var g=new Map;var b=new Map;var $=(e,t,n)=>{var r;const o=e.j.replace(/-/g,"_");const i=e.k;if(!i){return void 0}const s=g.get(i);if(s){return s[o]}const l=(r=b.get(i))!=null?r:0;const a=[l>0?`s-retry=${l}`:"",""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${a?"?"+a:""}`).then((e=>{{b.delete(i);g.set(i,e)}return e[o]}),(e=>{b.set(i,l+1);y(e,t.$hostElement$)}))};var w=new Map;var x="r";var S="o";var j="s";var k="t";var O="c";var C="s-id";var I="sty-id";var M="c-id";var E="slot-fb{display:contents}slot-fb[hidden]{display:none}";var N=3;var z=1e3;var A=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var L=typeof window!=="undefined"?window:{};var R={u:0,O:"",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 D=(()=>{var e;let t=false;try{(e=L.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var U=e=>Promise.resolve(e);var F=(()=>{try{if(!L.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var T=F?(()=>!!L.document&&Object.getOwnPropertyDescriptor(L.document.adoptedStyleSheets,"length").writable)():false;var H=false;var P=[];var V=[];var _=()=>{var e;return((e=L.document)==null?void 0:e.hidden)?Y(q):R.raf(q)};var B=(e,t)=>n=>{e.push(n);if(!H){H=true;if(t&&R.u&4){Y(q)}else{_()}}};var W=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){y(e)}}e.length=0};var q=()=>{W(P);{W(V);if(H=P.length>0){_()}}};var Y=e=>U().then(e);var G=B(V,true);function J(e){if(!F)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var Z;function K(e){var t;const n={mode:"open"};const o=this.attachShadow(n);if(Z===void 0)Z=(t=J(r))!=null?t:null;if(Z){if(T){o.adoptedStyleSheets.push(Z)}else{o.adoptedStyleSheets=[...o.adoptedStyleSheets,Z]}}else if(!F){const e=document.createElement("style");e.innerHTML=r;o.prepend(e)}}var Q=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 X=(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 s=ne(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=ne(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=>s.call(i,e)))}else{s.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var ee=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(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:Q(o.childNodes);i.forEach((e=>{if(r===ee(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 ne(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 re=(e,t="")=>{{return()=>{}}};var oe=(e,t)=>{{return()=>{}}};function ie(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 se=new WeakMap;var le=(e,t,n)=>{let r=w.get(e);if(F&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}w.set(e,r)};var ae=(e,t,n)=>{var r,o,i;const s=ce(t);const l=w.get(s);if(!L.document){return s}e=e.nodeType===11?e:L.document;if(l){if(typeof l==="string"){e=e.head||e;let n=se.get(e);let i;if(!n){se.set(e,n=new Set)}const a=e.querySelector(`[${I}="${s}"]`);if(a){a.textContent=l}else if(!n.has(s)){i=L.document.createElement("style");i.textContent=l;const a=(r=R.C)!=null?r:ie(L.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(F){const t=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;const n=new t.CSSStyleSheet;n.replaceSync(l);if(T){e.adoptedStyleSheets.unshift(n)}else{e.adoptedStyleSheets=[n,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t&&true){t.textContent=l+t.textContent}else{e.prepend(i)}}}else{e.append(i)}}if(t.u&1){e.insertBefore(i,null)}if(t.u&4){i.textContent+=E}if(n){n.add(s)}}}else{let t=se.get(e);if(!t){se.set(e,t=new Set)}if(!t.has(s)){const n=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;let r;if(l.constructor===n.CSSStyleSheet){r=l}else{r=new n.CSSStyleSheet;for(let e=0;e<l.cssRules.length;e++){r.insertRule(l.cssRules[e].cssText,e)}}if(T){e.adoptedStyleSheets.push(r)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}t.add(s);if("host"in e){const t=e.querySelector(`[${I}="${s}"]`);if(t){G((()=>t.remove()))}}}}}return s};var fe=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=re("attachStyles",t.j);const i=ae(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var ce=(e,t)=>"sc-"+e.j;var ue=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var de=()=>{if(!L.document){return}const e=L.document.querySelectorAll(`[${I}]`);let t=0;for(;t<e.length;t++){le(e[t].getAttribute(I),ue(e[t].innerHTML),true)}};var ve=e=>{e=typeof e;return e==="object"||e==="function"};var pe=(e,t,...n)=>{if(typeof e==="string"){e=Lt(e)}let r=null;let o=null;let i=false;let s=false;const l=[];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"&&!ve(r)){r=String(r)}else if(typeof e!=="function"&&r.u===void 0){{y("Invalid vNode child")}continue}if(i&&s){l[l.length-1].I+=r}else{l.push(i?he(null,r):r)}s=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(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,l,ge)}const f=he(e,null);f.M=t;if(l.length>0){f.N=l}{f.A=o}return f};var he=(e,t)=>{const n={u:0,L:e,I:t!=null?t:null,R:null,N:null};{n.M=null}{n.A=null}return n};var me={};var ye=e=>e&&e.L===me;var ge={forEach:(e,t)=>e.map(be).forEach(t),map:(e,t)=>e.map(be).map(t).map($e)};var be=e=>({vattrs:e.M,vchildren:e.N,vkey:e.A,vname:e.D,vtag:e.L,vtext:e.I});var $e=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return pe(e.vtag,t,...e.vchildren||[])}const t=he(e.vtag,e.vtext);t.M=e.vattrs;t.N=e.vchildren;t.A=e.vkey;t.D=e.vname;return t};var we=(e,t,n,r)=>{var o,i,s,l;const a=re("hydrateClient",t);const f=e.shadowRoot;const c=[];const u=[];const d=[];const p=f?[]:null;const h=he(t,null);h.R=e;if(L.document&&(!R.U||!R.U.size)){Se(L.document.body,R.U=new Map)}e[C]=n;e.removeAttribute(C);r.F=xe(h,c,u,p,e,e,n,d);let m=0;const y=c.length;let g;for(m;m<y;m++){g=c[m];const n=g.T+"."+g.H;const r=R.U.get(n);const i=g.R;if(!f){i["s-hn"]=Lt(t).toUpperCase();if(g.L==="slot"){i["s-cr"]=e["s-cr"]}}else if(((o=g.L)==null?void 0:o.toString().includes("-"))&&g.L!=="slot-fb"&&!g.R.shadowRoot){const e=v(g.R);if(e){const t=ce(e.t);const n=L.document.querySelector(`style[sty-id="${t}"]`);if(n){p.unshift(n.cloneNode(true))}}}if(g.L==="slot"){g.D=g.R["s-sn"]||g.R["name"]||null;if(g.N){g.u|=2;if(!g.R.childNodes.length){g.N.forEach((e=>{g.R.appendChild(e.R)}))}}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.H)}}if(r&&!r["s-id"]){R.U.delete(n)}}const b=[];const $=d.length;let w=0;let x;let S;let j;let k;let O=0;for(w;w<$;w++){x=d[w];if(!x||!x.length)continue;j=x.length;S=0;for(S;S<j;S++){k=x[S];if(!b[k.hostId]){b[k.hostId]=R.U.get(k.hostId)}if(!b[k.hostId])continue;const e=b[k.hostId];if(e.shadowRoot&&k.node.parentElement!==e){e.insertBefore(k.node,(s=(i=x[S-1])==null?void 0:i.node)==null?void 0:s.nextSibling)}if(!e.shadowRoot||!f){if(!k.slot["s-cr"]){k.slot["s-cr"]=e["s-cr"];if(!k.slot["s-cr"]&&e.shadowRoot){k.slot["s-cr"]=e}else{k.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}X(k.node,k.slot,false,k.node["s-oo"]||O);if(((l=k.node.parentElement)==null?void 0:l.shadowRoot)&&k.node["getAttribute"]&&k.node.getAttribute("slot")){k.node.removeAttribute("slot")}}O=(k.node["s-oo"]||O)+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 xe=(e,t,n,r,o,i,s,l=[])=>{let a;let f;let c;let u;if(i.nodeType===1){a=i.getAttribute(M);if(a){f=a.split(".");if(f[0]===s||f[0]==="0"){c=je({u:0,T:f[0],H:f[1],P:f[2],V:f[3],L:i.tagName.toLowerCase(),R:i,M:{class:i.className||""}});t.push(c);i.removeAttribute(M);if(!e.N){e.N=[]}const o=c.R.getAttribute("s-sn");if(typeof o==="string"){if(c.L==="slot-fb"){ke(o,f[2],c,i,e,t,n,r,l)}c.R["s-sn"]=o;c.R.removeAttribute("s-sn")}if(c.V!==void 0){e.N[c.V]=c}e=c;if(r&&c.P==="0"){r[c.V]=c.R}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){xe(e,t,n,r,o,i.shadowRoot.childNodes[u],s,l)}}const d=i.__childNodes||i.childNodes;for(u=d.length-1;u>=0;u--){xe(e,t,n,r,o,d[u],s,l)}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){a=f[0];c=je({T:f[1],H:f[2],P:f[3],V:f[4]||"0",R:i,M:null,N:null,A:null,D:null,L:null,I:null});if(a===k){c.R=Ce(i,3);if(c.R&&c.R.nodeType===3){c.I=c.R.textContent;t.push(c);i.remove();if(s===c.T){if(!e.N){e.N=[]}e.N[c.V]=c}if(r&&c.P==="0"){r[c.V]=c.R}}}else if(a===O){c.R=Ce(i,8);if(c.R&&c.R.nodeType===8){t.push(c);i.remove()}}else if(c.T===s){if(a===j){const o=i["s-sn"]=f[5]||"";ke(o,f[2],c,i,e,t,n,r,l)}else if(a===x){if(r){i.remove()}}}}}else if(e&&e.L==="style"){const t=he(null,i.textContent);t.R=i;t.V="0";e.N=[t]}return e};var Se=(e,t)=>{if(e.nodeType===1){const n=e[C]||e.getAttribute(C);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){Se(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){Se(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===S){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var je=e=>{const t={u:0,T:null,H:null,P:null,V:"0",R:null,M:null,N:null,A:null,D:null,L:null,I:null};return{...t,...e}};function ke(e,t,n,r,o,i,s,l,a){r["s-sr"]=true;n.D=e||null;n.L="slot";const f=(o==null?void 0:o.R)?o.R["s-id"]||o.R.getAttribute("s-id"):"";if(l&&L.document){const i=n.R=L.document.createElement(n.L);if(n.D){n.R.setAttribute("name",e)}if(o.R.shadowRoot&&f&&f!==n.T){ne(o.R,"insertBefore")(i,ne(o.R,"children")[0])}else{ne(ne(r,"parentNode"),"insertBefore")(i,r)}Oe(a,t,e,r,n.T);r.remove();if(n.P==="0"){l[n.V]=n.R}}else{const i=n.R;const s=f&&f!==n.T&&o.R.shadowRoot;Oe(a,t,e,r,s?f:n.T);te(r);if(s){o.R.insertBefore(i,o.R.children[0])}}i.push(n);s.push(n);if(!o.N){o.N=[]}o.N[n.V]=n}var Oe=(e,t,n,r,o)=>{var i,s;let l=r.nextSibling;e[t]=e[t]||[];if(!l||((i=l.nodeValue)==null?void 0:i.startsWith(j+".")))return;do{if(l&&((l["getAttribute"]&&l.getAttribute("slot")||l["s-sn"])===n||n===""&&!l["s-sn"]&&(!l["getAttribute"]||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))){l["s-sn"]=n;e[t].push({slot:r,node:l,hostId:o})}l=l==null?void 0:l.nextSibling}while(l&&!((s=l.nodeValue)==null?void 0:s.startsWith(j+".")))};var Ce=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var Ie=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 Me=class e{static fromLocalValue(t){const n=t[a];const r=f in t?t[f]: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:s}=r;return new RegExp(i,s);case"set":const l=new Set;for(const t of r){l.add(e.fromLocalValue(t))}return l;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(a)){return false}const t=e[a];const n=Object.values({...s,...l}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(f)}return true}};function Ee(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 Ne(e){if(typeof e!=="string"||!e.startsWith(c)){return e}return Me.fromLocalValue(JSON.parse(Ee(e.slice(c.length))))}var ze=(e,t,n)=>{if(typeof e==="string"&&e.startsWith(c)){e=Ne(e);return e}if(e!=null&&!ve(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 Ae=e=>{var t;return(t=v(e))==null?void 0:t.$hostElement$};var Le=(e,t,n)=>{const r=Ae(e);return{emit:e=>Re(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Re=(e,t,n)=>{const r=R.ce(t,n);e.dispatchEvent(r);return r};var De=(e,t,n,r,o,i,s)=>{if(n===r){return}let l=m(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const o=He(n);let i=He(r);if((e["s-si"]||e["s-sc"])&&s){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==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){ot(r,e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(m(L,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const o=t.endsWith(Pe);t=t.replace(Ve,"");if(n){R.rel(e,t,n,o)}if(r){R.ael(e,t,r,o)}}}else if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=v(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 s=ve(r);if((l||s&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){l=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&&!Fe(t)){{e.removeAttribute(t)}}}else if((!l||i&4||o)&&!s&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var Ue=new Set(["draggable","contenteditable","spellcheck"]);var Fe=e=>Ue.has(e)||e.startsWith("aria-");var Te=/\s/;var He=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Te)};var Pe="Capture";var Ve=new RegExp(Pe+"$");var _e=(e,t,n,r)=>{const o=t.R.nodeType===11&&t.R.host?t.R.host:t.R;const i=e&&e.M||{};const s=t.M||{};{for(const e of Be(Object.keys(i))){if(!(e in s)){De(o,e,i[e],void 0,n,t.u,r)}}}for(const e of Be(Object.keys(s))){De(o,e,i[e],s[e],n,t.u,r)}};function Be(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var We;var qe=false;var Ye=false;var Ge=[];var Je=[];var Ze=(e,t,n)=>{const r=t.N[n];let s=0;let l;let a;if(r.I!=null){l=r.R=L.document.createTextNode(r.I)}else{if(!Ye){Ye=r.L==="svg"}if(!L.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}l=r.R=L.document.createElementNS(Ye?o:i,r.L);if(Ye&&r.L==="foreignObject"){Ye=false}{_e(null,r,Ye)}if(r.N){const t=r.L==="template"?l.content:l;for(s=0;s<r.N.length;++s){a=Ze(e,r,s);if(a){t.appendChild(a)}}}{if(r.L==="svg"){Ye=false}else if(l.tagName==="foreignObject"){Ye=true}}}l["s-hn"]=We;return l};var Ke=e=>{R.u|=1;const t=e.closest(We.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){st(t,e,n!=null?n:null);e["s-sh"]=void 0}}}R.u&=-2};var Qe=(e,t,n,r,o,i)=>{let s=e;let l;if(s.shadowRoot&&s.tagName===We){s=s.shadowRoot}if(n.L==="template"){s=s.content}for(;o<=i;++o){if(r[o]){l=Ze(null,n,o);if(l){r[o].R=l;st(s,l,t)}}}};var Xe=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.R;rt(t);if(e){e.remove()}}}};var et=(e,t,n,r,o=false)=>{let i=0;let s=0;let l=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.L==="template"?e.content:e;while(i<=f&&s<=d){if(c==null){c=t[++i]}else if(u==null){u=t[--f]}else if(v==null){v=r[++s]}else if(p==null){p=r[--d]}else if(tt(c,v,o)){nt(c,v,o);c=t[++i];v=r[++s]}else if(tt(u,p,o)){nt(u,p,o);u=t[--f];p=r[--d]}else if(tt(c,p,o)){nt(c,p,o);st(y,c.R,u.R.nextSibling);c=t[++i];p=r[--d]}else if(tt(u,v,o)){nt(u,v,o);st(y,u.R,c.R);u=t[--f];v=r[++s]}else{l=-1;{for(a=i;a<=f;++a){if(t[a]&&t[a].A!==null&&t[a].A===v.A){l=a;break}}}if(l>=0){m=t[l];if(m.L!==v.L){h=Ze(t&&t[s],n,s)}else{nt(m,v,o);t[l]=void 0;h=m.R}v=r[++s]}else{h=Ze(t&&t[s],n,s);v=r[++s]}if(h){{st(c.R.parentNode,h,c.R)}}}}if(i>f){Qe(e,r[d+1]==null?null:r[d+1].R,n,r,s,d)}else if(s>d){Xe(t,i,f)}};var tt=(e,t,n=false)=>{if(e.L===t.L){if(!n){return e.A===t.A}if(n&&!e.A&&t.A){e.A=t.A}return true}return false};var nt=(e,n,r=false)=>{const o=n.R=e.R;const i=e.N;const s=n.N;const l=n.L;const a=n.I;if(a==null){{Ye=l==="svg"?true:l==="foreignObject"?false:Ye}{if(l==="slot"&&!qe){if(e.D!==n.D){n.R["s-sn"]=n.D||"";Ke(n.R.parentElement)}}_e(e,n,Ye,r)}if(i!==null&&s!==null){et(o,i,n,s,r)}else if(s!==null){if(e.I!==null){o.textContent=""}Qe(o,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&i!==null){Xe(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&s===null){n.N=i}if(Ye&&l==="svg"){Ye=false}}else if(e.I!==a){o.data=a}};var rt=e=>{{if(e.M&&e.M.ref){Ge.push((()=>e.M.ref(null)))}e.N&&e.N.map(rt)}};var ot=(e,t)=>{{Je.push((()=>e(t)))}};var it=()=>{{Ge.forEach((e=>e()));Ge.length=0;Je.forEach((e=>e()));Je.length=0}};var st=(e,t,n,r)=>{{return e==null?void 0:e.insertBefore(t,n)}};var lt=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.t;const i=e.F||he(null,null);const s=ye(t);const l=s?t:pe(null,null,t);We=r.tagName;if(o._){l.M=l.M||{};o._.forEach((([e,t])=>{{l.M[t]=r[e]}}))}if(n&&l.M){for(const e of Object.keys(l.M)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){l.M[e]=r[e]}}}l.L=null;l.u|=4;e.F=l;l.R=i.R=r.shadowRoot||r;qe=!!(o.u&1)&&!(o.u&128);nt(i,l,n);it()};var at=(e,t)=>{if(t&&!e.B&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.B=()=>{t["s-p"].splice(n-1,1);r()})))}};var ft=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}at(e,e.W);const n=()=>ct(e,t);if(t){queueMicrotask((()=>{n()}));return}return G(n)};var ct=(e,t)=>{const n=e.$hostElement$;const r=re("scheduleUpdate",e.t.j);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.q){e.q.map((([e,t])=>gt(o,e,t,n)));e.q=void 0}}if(e.S.length){e.S.forEach((e=>e(n)))}}i=gt(o,"componentWillLoad",void 0,n)}else{i=gt(o,"componentWillUpdate",void 0,n)}i=ut(i,(()=>gt(o,"componentWillRender",void 0,n)));r();return ut(i,(()=>vt(e,o,t)))};var ut=(e,t)=>dt(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var dt=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var vt=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=re("update",e.t.j);const s=o["s-rc"];if(n){fe(e)}const l=re("render",e.t.j);{pt(e,t,o,n)}if(s){s.map((e=>e()));o["s-rc"]=void 0}l();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>ht(e);if(t.length===0){n()}else{Promise.all(t).then(n).catch(n);e.u|=4;t.length=0}}};var pt=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{lt(e,t,r)}}}}catch(t){y(t,e.$hostElement$)}return null};var ht=e=>{const t=e.t.j;const n=e.$hostElement$;const r=re("postUpdate",t);const o=e.l;const i=e.W;gt(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;gt(o,"componentDidLoad",void 0,n);r();{e.$(n);if(!i){yt()}}}else{gt(o,"componentDidUpdate",void 0,n);r()}{e.h(n)}{if(e.B){e.B();e.B=void 0}if(e.u&512){Y((()=>ft(e,false)))}e.u&=-517}};var mt=e=>{var t;{const n=v(e);const r=(t=n==null?void 0:n.$hostElement$)==null?void 0:t.isConnected;if(r&&(n.u&(2|16))===2){ft(n,false)}return r}};var yt=t=>{var n;Y((()=>Re(L,"appload",{detail:{namespace:e}})));{if((n=R.U)==null?void 0:n.size){R.U.clear()}}};var gt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){y(e,r)}}return void 0};var bt=(e,t)=>v(e).i.get(t);var $t=(e,t,n,r)=>{const o=v(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.j}" 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 s=o.i.get(t);const l=o.u;const a=o.l;n=ze(n,r.o[t][0],!!(r.u&64));const f=Number.isNaN(s)&&Number.isNaN(n);const c=n!==s&&!f;if((!(l&8)||s===void 0)&&c){o.i.set(t,n);if(r.Y){const e=r.Y[t];if(e){e.map((e=>{try{const[[r,i]]=Object.entries(e);if(l&128||i&1){if(!a){o.S.push((()=>{o.l[r](n,s,t)}))}else{a[r](n,s,t)}}}catch(e){y(e,i)}}))}}if(l&2){if(a.componentShouldUpdate){const e=a.componentShouldUpdate(n,s,t);if(e===false&&!(l&16)){return}}if(!(l&16)){ft(o,false)}}}};var wt=e=>e==null||e===false?null:e===true?"":String(e);var xt=(e,n,r)=>{var o,i;const s=e.prototype;if(n.u&64&&r&1){A.forEach((e=>{Object.defineProperty(s,e,{value(...t){var n;const r=v(this);const o=r==null?void 0:r.l;if(!o){(n=r==null?void 0:r.m)==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.Y){n.Y=Ie(e.watchers)}if(e.deserializers&&!n.G){n.G=e.deserializers}if(e.serializers&&!n.J){n.J=e.serializers}}const l=Object.entries((o=n.o)!=null?o:{});l.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=u(s,e)||{};if(o)n.o[e][0]|=2048;if(i)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(s,e,{get(){{if((n.o[e][0]&2048)===0){return bt(this,e)}const t=v(this);const r=t?t.l:s;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(s,e,{set(o){const s=v(this);if(!s){return}if(i){const r=t&32?this[e]:s.$hostElement$[e];if(typeof r==="undefined"&&s.i.get(e)){o=s.i.get(e)}i.apply(this,[ze(o,t,!!(n.u&64))]);o=t&32?this[e]:s.$hostElement$[e];$t(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){$t(this,e,o,n);if(r&1&&!s.l){s.S.push((()=>{if(n.o[e][0]&4096&&s.l[e]!==s.i.get(e)){s.l[e]=o}}))}return}const i=ze(o,t,!!(n.u&64));const l=t=>{const r=s.l[e];if(!s.i.get(e)&&r){s.i.set(e,r)}s.l[e]=t;$t(this,e,s.l[e],n)};if(s.l){l(i)}else{s.i.set(e,i);s.S.push((()=>{const t=s.i.get(e);if(s.l[e]!==t){l(t)}}))}}}})}else if(r&1&&t&64){Object.defineProperty(s,e,{value(...t){var n;const r=v(this);return(n=r==null?void 0:r.p)==null?void 0:n.then((()=>{var n;return(n=r.l)==null?void 0:n[e](...t)}))}})}}));if(r&1){const r=new Map;s.attributeChangedCallback=function(e,o,i){R.jmp((()=>{var a;const f=r.get(e);const c=v(this);if(this.hasOwnProperty(f)&&t.lazyLoad){i=this[f];delete this[f]}if(s.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 s=(a=n.Y)==null?void 0:a[e];s==null?void 0:s.forEach((n=>{const[[s,l]]=Object.entries(n);if(r[s]!=null&&(t&128||l&1)){r[s].call(r,i,o,e)}}))}return}const u=l.find((([e])=>e===f));const d=u?u[1][0]:0;const p=d&4;if(d&512&&d&8&&!ve(this[f])&&wt(this[f])===i){return}const h=p&&i===null&&this[f]===void 0;if(p){i=i===null||i==="false"?false:true}const m=d&4096?c.i.get(f):this[f];const y=Object.getOwnPropertyDescriptor(s,f);if(!h&&i!=m&&(!y.get||!!y.set)){this[f]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.Y)!=null?i:{}),...l.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._)==null?void 0:o.push([e,i])}return i}))]))}}return e};var St=async(e,n,r,o)=>{var i;let s;try{if((n.u&32)===0){n.u|=32;n.u&=-1025;const o=r.k;if(o){const t=$(r,n);if(t&&"then"in t){const e=oe();s=await t;e()}else{s=t}if(!s){n.u&=-33;n.Z=((i=n.Z)!=null?i:0)+1;if(n.Z<N){n.u|=1024}throw new Error(`Constructor for "${r.j}#${n.K}" was not found`)}if(!s.isProxied){{r.Y=Ie(s.watchers);r.J=s.serializers;r.G=s.deserializers}xt(s,r,2);s.isProxied=true}const o=re("createInstance",r.j);{n.u|=8}try{new s(n)}catch(t){y(t,e)}{n.u&=-9}{n.u|=128}o();{jt(n.l,e)}}else{s=e.constructor;const t=e.localName;customElements.whenDefined(t).then((()=>n.u|=128))}if(s&&s.style){let e;if(typeof s.style==="string"){e=s.style}const n=ce(r);if(!w.has(n)||t.hotModuleReplacement){const t=re("registerStyles",r.j);le(n,e,!!(r.u&1));t()}}}const o=n.W;const l=()=>ft(n,true);if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}}catch(t){y(t,e);if(n.B){n.B();n.B=void 0}if(n.$&&!(n.u&1024)){n.$(e)}}};var jt=(e,t)=>{{gt(e,"connectedCallback",void 0,t)}};var kt=e=>{if((R.u&1)===0){const t=v(e);if(!t){return}const n=t.t;const r=re("connectedCallback",n.j);if(!(t.u&1)){t.u|=1;let r;{r=e.getAttribute(C);if(r){if(n.u&1){const t=ae(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}we(e,n.j,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"]){at(t,t.W=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}}))}{St(e,t,n)}}else{Mt(e,t,n.X);if(t==null?void 0:t.l){jt(t.l,e)}else if(t.u&1024){setTimeout((()=>St(e,t,n)),z)}else if(t==null?void 0:t.m){t.m.then((()=>jt(t.l,e)))}}r()}};var Ot=(e,t)=>{{gt(e,"disconnectedCallback",void 0,t||e)}};var Ct=async e=>{if((R.u&1)===0){const t=v(e);{if(t==null?void 0:t.ee){t.ee.map((e=>e()));t.ee=void 0}}if(t==null?void 0:t.l){Ot(t.l,e)}else if(t==null?void 0:t.m){t.m.then((()=>Ot(t.l,e)))}}if(se.has(e)){se.delete(e)}if(e.shadowRoot&&se.has(e.shadowRoot)){se.delete(e.shadowRoot)}};var It=(e,t={})=>{var n;if(!L.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=re();const o=[];const i=t.exclude||[];const s=L.customElements;const l=L.document.head;const a=l.querySelector("meta[charset]");const f=L.document.createElement("style");const c=[];let u;let d=true;Object.assign(R,t);R.O=new URL(t.resourcesUrl||"./",L.document.baseURI).href;{R.u|=2}{de()}e.map((e=>{e[1].map((t=>{var n,r;const l={u:t[0],j:t[1],o:t[2],X:t[3]};{l.o=t[2]}{l.X=t[3]}{l._=[]}{l.Y=Ie(t[4]);l.J=(n=t[5])!=null?n:{};l.G=(r=t[6])!=null?r:{}}const a=Lt(l.j);const f=class extends HTMLElement{["s-p"];["s-rc"];hasRegisteredEventListeners=false;constructor(e){super(e);e=this;h(e,l);if(l.u&1){{if(!e.shadowRoot){K.call(e,l)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${l.j}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=v(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Mt(this,e,l.X)}if(u){clearTimeout(u);u=null}if(d){c.push(this)}else{R.jmp((()=>kt(this)))}}disconnectedCallback(){R.jmp((()=>Ct(this)));Y((()=>{var e;const t=v(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.F)==null?void 0:e.R)instanceof Node&&!t.F.R.isConnected){delete t.F.R}}))}componentOnReady(){var e;return(e=v(this))==null?void 0:e.m}};if(l.u&64){f.formAssociated=true}l.k=e[0];if(!i.includes(a)&&!s.get(a)){o.push(a);s.define(a,xt(f,l,1))}}))}));if(o.length>0){if(f.innerHTML.length){f.setAttribute("data-styles","");const e=(n=R.C)!=null?n:ie(L.document);if(e!=null){f.setAttribute("nonce",e)}l.insertBefore(f,a?a.nextSibling:l.firstChild)}}d=false;if(c.length){c.map((e=>e.connectedCallback()))}else{{R.jmp((()=>u=setTimeout(yt,30)))}}r()};var Mt=(e,t,n,r)=>{if(n&&L.document){n.map((([n,r,o])=>{const i=Nt(L.document,e,n);const s=Et(t,o);const l=zt(n);R.ael(i,r,s,l);(t.ee=t.ee||[]).push((()=>R.rel(i,r,s,l)))}))}};var Et=(e,t)=>n=>{var r;try{{if(e.u&256){(r=e.l)==null?void 0:r[t](n)}else{(e.q=e.q||[]).push([t,n])}}}catch(t){y(t,e.$hostElement$)}};var Nt=(e,t,n)=>{if(n&4){return e}if(n&8){return L}return t};var zt=e=>D?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var At=e=>R.C=e;function Lt(e){return e}export{me as H,Ae as a,It as b,Le as c,mt as f,n as g,pe as h,U as p,p as r,At as s};
3
+ //# sourceMappingURL=p-8l_6qAY9.js.map