@pine-ds/core 1.3.0-dev.4 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (706) hide show
  1. package/components/index.d.ts +0 -0
  2. package/components/index.js +1 -1
  3. package/components/index2.js +1 -1
  4. package/components/index2.js.map +1 -1
  5. package/components/pds-accordion.d.ts +0 -0
  6. package/components/pds-accordion.js +7 -1
  7. package/components/pds-accordion.js.map +1 -1
  8. package/components/pds-avatar.d.ts +0 -0
  9. package/components/pds-avatar.js +7 -1
  10. package/components/pds-avatar.js.map +1 -1
  11. package/components/pds-box.d.ts +0 -0
  12. package/components/pds-button.d.ts +0 -0
  13. package/components/pds-button2.js +7 -1
  14. package/components/pds-button2.js.map +1 -1
  15. package/components/pds-checkbox.d.ts +0 -0
  16. package/components/pds-chip.d.ts +0 -0
  17. package/components/pds-chip.js +7 -1
  18. package/components/pds-chip.js.map +1 -1
  19. package/components/pds-copytext.d.ts +0 -0
  20. package/components/pds-copytext.js +8 -2
  21. package/components/pds-copytext.js.map +1 -1
  22. package/components/pds-divider.d.ts +0 -0
  23. package/components/pds-icon.js +8 -0
  24. package/components/pds-icon.js.map +1 -0
  25. package/components/pds-icon2.js +370 -0
  26. package/components/pds-icon2.js.map +1 -0
  27. package/components/pds-image.d.ts +0 -0
  28. package/components/pds-input.d.ts +0 -0
  29. package/components/pds-link.d.ts +0 -0
  30. package/components/pds-link.js +7 -1
  31. package/components/pds-link.js.map +1 -1
  32. package/components/pds-progress.d.ts +0 -0
  33. package/components/pds-radio.d.ts +0 -0
  34. package/components/pds-row.d.ts +0 -0
  35. package/components/pds-sortable-item.d.ts +0 -0
  36. package/components/pds-sortable-item.js +7 -1
  37. package/components/pds-sortable-item.js.map +1 -1
  38. package/components/pds-sortable.d.ts +0 -0
  39. package/components/pds-switch.d.ts +0 -0
  40. package/components/pds-tab.d.ts +0 -0
  41. package/components/pds-table-body.d.ts +0 -0
  42. package/components/pds-table-cell.d.ts +0 -0
  43. package/components/pds-table-head-cell.d.ts +0 -0
  44. package/components/pds-table-head-cell2.js +7 -1
  45. package/components/pds-table-head-cell2.js.map +1 -1
  46. package/components/pds-table-head.d.ts +0 -0
  47. package/components/pds-table-head.js +8 -2
  48. package/components/pds-table-head.js.map +1 -1
  49. package/components/pds-table-row.d.ts +0 -0
  50. package/components/pds-table.d.ts +0 -0
  51. package/components/pds-tabpanel.d.ts +0 -0
  52. package/components/pds-tabs.d.ts +0 -0
  53. package/components/pds-textarea.d.ts +0 -0
  54. package/components/pds-tooltip.d.ts +0 -0
  55. package/dist/cjs/index-46fb0736.js +1956 -0
  56. package/dist/cjs/index-46fb0736.js.map +1 -0
  57. package/dist/cjs/{index-dd191bbe.js → index-de3f0730.js} +2 -2
  58. package/dist/cjs/{index-dd191bbe.js.map → index-de3f0730.js.map} +1 -1
  59. package/dist/cjs/index.cjs.js +1 -1
  60. package/dist/cjs/loader.cjs.js +2 -2
  61. package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
  62. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  63. package/dist/cjs/pds-box.cjs.entry.js +1 -1
  64. package/dist/cjs/pds-button.cjs.entry.js +2 -2
  65. package/dist/cjs/pds-checkbox.cjs.entry.js +2 -2
  66. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  67. package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
  68. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-icon.cjs.entry.js +344 -0
  70. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
  71. package/dist/cjs/pds-image.cjs.entry.js +1 -1
  72. package/dist/cjs/pds-input.cjs.entry.js +2 -2
  73. package/dist/cjs/{pds-label-7acec6ab.js → pds-label-7aabdc4e.js} +2 -2
  74. package/dist/cjs/{pds-label-7acec6ab.js.map → pds-label-7aabdc4e.js.map} +1 -1
  75. package/dist/cjs/pds-link.cjs.entry.js +2 -2
  76. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  77. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  78. package/dist/cjs/pds-radio.cjs.entry.js +2 -2
  79. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  80. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  81. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  82. package/dist/cjs/pds-switch.cjs.entry.js +2 -2
  83. package/dist/cjs/pds-tab.cjs.entry.js +1 -1
  84. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-table-cell.cjs.entry.js +1 -1
  86. package/dist/cjs/pds-table-head-cell.cjs.entry.js +2 -2
  87. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  88. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  89. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  90. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  91. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  92. package/dist/cjs/pds-textarea.cjs.entry.js +2 -2
  93. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  94. package/dist/cjs/pine-core.cjs.js +10 -10
  95. package/dist/cjs/pine-core.cjs.js.map +1 -1
  96. package/dist/collection/collection-manifest.json +10 -3
  97. package/dist/docs.d.ts +34 -0
  98. package/dist/docs.json +65 -17
  99. package/dist/esm/index-2a33b470.js +1927 -0
  100. package/dist/esm/index-2a33b470.js.map +1 -0
  101. package/dist/esm/{index-b8872c16.js → index-a1e2f9af.js} +2 -2
  102. package/dist/esm/{index-b8872c16.js.map → index-a1e2f9af.js.map} +1 -1
  103. package/dist/esm/index.js +1 -1
  104. package/dist/esm/loader.js +3 -3
  105. package/dist/esm/pds-accordion.entry.js +2 -2
  106. package/dist/esm/pds-avatar.entry.js +2 -2
  107. package/dist/esm/pds-box.entry.js +1 -1
  108. package/dist/esm/pds-button.entry.js +2 -2
  109. package/dist/esm/pds-checkbox.entry.js +2 -2
  110. package/dist/esm/pds-chip.entry.js +2 -2
  111. package/dist/esm/pds-copytext.entry.js +2 -2
  112. package/dist/esm/pds-divider.entry.js +1 -1
  113. package/dist/esm/pds-icon.entry.js +340 -0
  114. package/dist/esm/pds-icon.entry.js.map +1 -0
  115. package/dist/esm/pds-image.entry.js +1 -1
  116. package/dist/esm/pds-input.entry.js +2 -2
  117. package/dist/esm/{pds-label-7abc6d85.js → pds-label-31a5848b.js} +2 -2
  118. package/dist/esm/{pds-label-7abc6d85.js.map → pds-label-31a5848b.js.map} +1 -1
  119. package/dist/esm/pds-link.entry.js +2 -2
  120. package/dist/esm/pds-loader.entry.js +1 -1
  121. package/dist/esm/pds-progress.entry.js +1 -1
  122. package/dist/esm/pds-radio.entry.js +2 -2
  123. package/dist/esm/pds-row.entry.js +1 -1
  124. package/dist/esm/pds-sortable-item.entry.js +2 -2
  125. package/dist/esm/pds-sortable.entry.js +1 -1
  126. package/dist/esm/pds-switch.entry.js +2 -2
  127. package/dist/esm/pds-tab.entry.js +1 -1
  128. package/dist/esm/pds-table-body.entry.js +1 -1
  129. package/dist/esm/pds-table-cell.entry.js +1 -1
  130. package/dist/esm/pds-table-head-cell.entry.js +2 -2
  131. package/dist/esm/pds-table-head.entry.js +1 -1
  132. package/dist/esm/pds-table-row.entry.js +1 -1
  133. package/dist/esm/pds-table.entry.js +1 -1
  134. package/dist/esm/pds-tabpanel.entry.js +1 -1
  135. package/dist/esm/pds-tabs.entry.js +1 -1
  136. package/dist/esm/pds-textarea.entry.js +2 -2
  137. package/dist/esm/pds-tooltip.entry.js +1 -1
  138. package/dist/esm/pine-core.js +11 -11
  139. package/dist/esm/pine-core.js.map +1 -1
  140. package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -1
  141. package/dist/esm-es5/closest-d2d192be.js.map +1 -1
  142. package/dist/esm-es5/index-2a33b470.js +3 -0
  143. package/dist/esm-es5/index-2a33b470.js.map +1 -0
  144. package/dist/esm-es5/{index-b8872c16.js → index-a1e2f9af.js} +1 -1
  145. package/dist/esm-es5/{index-b8872c16.js.map → index-a1e2f9af.js.map} +1 -1
  146. package/dist/esm-es5/index.js +1 -1
  147. package/dist/esm-es5/index.js.map +1 -1
  148. package/dist/esm-es5/loader.js +1 -1
  149. package/dist/esm-es5/loader.js.map +1 -1
  150. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  151. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  152. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  153. package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
  154. package/dist/esm-es5/pds-box.entry.js +1 -1
  155. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  156. package/dist/esm-es5/pds-button.entry.js +1 -1
  157. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  158. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  159. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  160. package/dist/esm-es5/pds-chip.entry.js +1 -1
  161. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  162. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  163. package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
  164. package/dist/esm-es5/pds-divider.entry.js +1 -1
  165. package/dist/esm-es5/pds-divider.entry.js.map +1 -1
  166. package/dist/esm-es5/pds-icon.entry.js +2 -0
  167. package/dist/esm-es5/pds-icon.entry.js.map +1 -0
  168. package/dist/esm-es5/pds-image.entry.js +1 -1
  169. package/dist/esm-es5/pds-image.entry.js.map +1 -1
  170. package/dist/esm-es5/pds-input.entry.js +1 -1
  171. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  172. package/dist/esm-es5/{pds-label-7abc6d85.js → pds-label-31a5848b.js} +2 -2
  173. package/dist/esm-es5/{pds-label-7abc6d85.js.map → pds-label-31a5848b.js.map} +1 -1
  174. package/dist/esm-es5/pds-link.entry.js +1 -1
  175. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  176. package/dist/esm-es5/pds-loader.entry.js +1 -1
  177. package/dist/esm-es5/pds-loader.entry.js.map +1 -1
  178. package/dist/esm-es5/pds-progress.entry.js +1 -1
  179. package/dist/esm-es5/pds-progress.entry.js.map +1 -1
  180. package/dist/esm-es5/pds-radio.entry.js +1 -1
  181. package/dist/esm-es5/pds-radio.entry.js.map +1 -1
  182. package/dist/esm-es5/pds-row.entry.js +1 -1
  183. package/dist/esm-es5/pds-row.entry.js.map +1 -1
  184. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  185. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
  186. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  187. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  188. package/dist/esm-es5/pds-switch.entry.js +1 -1
  189. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  190. package/dist/esm-es5/pds-tab.entry.js +1 -1
  191. package/dist/esm-es5/pds-tab.entry.js.map +1 -1
  192. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  193. package/dist/esm-es5/pds-table-body.entry.js.map +1 -1
  194. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  195. package/dist/esm-es5/pds-table-cell.entry.js.map +1 -1
  196. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  197. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -1
  198. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  199. package/dist/esm-es5/pds-table-head.entry.js.map +1 -1
  200. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  201. package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
  202. package/dist/esm-es5/pds-table.entry.js +1 -1
  203. package/dist/esm-es5/pds-table.entry.js.map +1 -1
  204. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  205. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -1
  206. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  207. package/dist/esm-es5/pds-tabs.entry.js.map +1 -1
  208. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  209. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  210. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  211. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
  212. package/dist/esm-es5/pine-core.js +1 -1
  213. package/dist/esm-es5/pine-core.js.map +1 -1
  214. package/dist/pine-core/index.esm.js +1 -1
  215. package/dist/pine-core/index.esm.js.map +1 -1
  216. package/dist/pine-core/{p-60f4dc68.system.entry.js → p-06c33261.system.entry.js} +2 -2
  217. package/dist/pine-core/{p-60f4dc68.system.entry.js.map → p-06c33261.system.entry.js.map} +1 -1
  218. package/dist/pine-core/{p-90694e70.entry.js → p-07f80cb6.entry.js} +2 -2
  219. package/dist/pine-core/{p-90694e70.entry.js.map → p-07f80cb6.entry.js.map} +1 -1
  220. package/dist/pine-core/{p-1b1c6e9e.system.entry.js → p-09b1c7f1.system.entry.js} +2 -2
  221. package/dist/pine-core/{p-1b1c6e9e.system.entry.js.map → p-09b1c7f1.system.entry.js.map} +1 -1
  222. package/dist/pine-core/{p-39bc5dc9.system.entry.js → p-0a4b1ce9.system.entry.js} +2 -2
  223. package/dist/pine-core/{p-39bc5dc9.system.entry.js.map → p-0a4b1ce9.system.entry.js.map} +1 -1
  224. package/dist/pine-core/p-0b541f88.js +3 -0
  225. package/dist/pine-core/p-0b541f88.js.map +1 -0
  226. package/dist/pine-core/p-0b77685e.js.map +1 -1
  227. package/dist/pine-core/{p-f1610dff.system.entry.js → p-0d6fafef.system.entry.js} +2 -2
  228. package/dist/pine-core/{p-f1610dff.system.entry.js.map → p-0d6fafef.system.entry.js.map} +1 -1
  229. package/dist/pine-core/{p-443202f8.entry.js → p-0e1c0d03.entry.js} +2 -2
  230. package/dist/pine-core/{p-443202f8.entry.js.map → p-0e1c0d03.entry.js.map} +1 -1
  231. package/dist/pine-core/{p-56588c5d.entry.js → p-0e936138.entry.js} +2 -2
  232. package/dist/pine-core/{p-56588c5d.entry.js.map → p-0e936138.entry.js.map} +1 -1
  233. package/dist/pine-core/p-143795e5.system.entry.js +2 -0
  234. package/dist/pine-core/p-143795e5.system.entry.js.map +1 -0
  235. package/dist/pine-core/{p-5c8608cd.system.entry.js → p-1f2b0be3.system.entry.js} +2 -2
  236. package/dist/pine-core/{p-5c8608cd.system.entry.js.map → p-1f2b0be3.system.entry.js.map} +1 -1
  237. package/dist/pine-core/p-224a435b.system.js.map +1 -1
  238. package/dist/pine-core/{p-8f3273ed.system.entry.js → p-31056348.system.entry.js} +2 -2
  239. package/dist/pine-core/{p-8f3273ed.system.entry.js.map → p-31056348.system.entry.js.map} +1 -1
  240. package/dist/pine-core/{p-38a23fac.system.entry.js → p-32498622.system.entry.js} +2 -2
  241. package/dist/pine-core/{p-38a23fac.system.entry.js.map → p-32498622.system.entry.js.map} +1 -1
  242. package/dist/pine-core/{p-252bcd1c.system.entry.js → p-3261fdf5.system.entry.js} +2 -2
  243. package/dist/pine-core/{p-252bcd1c.system.entry.js.map → p-3261fdf5.system.entry.js.map} +1 -1
  244. package/dist/pine-core/{p-9d959d25.system.entry.js → p-32e41e3d.system.entry.js} +2 -2
  245. package/dist/pine-core/{p-9d959d25.system.entry.js.map → p-32e41e3d.system.entry.js.map} +1 -1
  246. package/dist/pine-core/p-34631565.system.js +2 -0
  247. package/dist/pine-core/p-34631565.system.js.map +1 -0
  248. package/dist/pine-core/{p-3c02b099.entry.js → p-3aa152c6.entry.js} +2 -2
  249. package/dist/pine-core/{p-3c02b099.entry.js.map → p-3aa152c6.entry.js.map} +1 -1
  250. package/dist/pine-core/{p-867aee19.entry.js → p-3ba3d44c.entry.js} +2 -2
  251. package/dist/pine-core/{p-867aee19.entry.js.map → p-3ba3d44c.entry.js.map} +1 -1
  252. package/dist/pine-core/{p-5d08fe24.entry.js → p-46161cec.entry.js} +2 -2
  253. package/dist/pine-core/{p-5d08fe24.entry.js.map → p-46161cec.entry.js.map} +1 -1
  254. package/dist/pine-core/{p-6525ed78.entry.js → p-4f69a7b7.entry.js} +2 -2
  255. package/dist/pine-core/{p-6525ed78.entry.js.map → p-4f69a7b7.entry.js.map} +1 -1
  256. package/dist/pine-core/{p-806b41c3.entry.js → p-50a23474.entry.js} +2 -2
  257. package/dist/pine-core/{p-806b41c3.entry.js.map → p-50a23474.entry.js.map} +1 -1
  258. package/dist/pine-core/{p-f666c482.entry.js → p-511bf308.entry.js} +2 -2
  259. package/dist/pine-core/{p-f666c482.entry.js.map → p-511bf308.entry.js.map} +1 -1
  260. package/dist/pine-core/{p-35f2208a.system.entry.js → p-52515d64.system.entry.js} +2 -2
  261. package/dist/pine-core/{p-35f2208a.system.entry.js.map → p-52515d64.system.entry.js.map} +1 -1
  262. package/dist/pine-core/p-56ba5cbf.system.js.map +1 -1
  263. package/dist/pine-core/{p-2ac1781f.entry.js → p-5a384517.entry.js} +2 -2
  264. package/dist/pine-core/{p-2ac1781f.entry.js.map → p-5a384517.entry.js.map} +1 -1
  265. package/dist/pine-core/{p-807d5d68.system.entry.js → p-5bee6677.system.entry.js} +2 -2
  266. package/dist/pine-core/{p-807d5d68.system.entry.js.map → p-5bee6677.system.entry.js.map} +1 -1
  267. package/dist/pine-core/{p-ee65aef1.system.js → p-5df76e04.system.js} +1 -1
  268. package/dist/pine-core/{p-ee65aef1.system.js.map → p-5df76e04.system.js.map} +1 -1
  269. package/dist/pine-core/{p-f80b45a9.system.entry.js → p-62ec9a0f.system.entry.js} +2 -2
  270. package/dist/pine-core/{p-f80b45a9.system.entry.js.map → p-62ec9a0f.system.entry.js.map} +1 -1
  271. package/dist/pine-core/{p-8c719c49.entry.js → p-6a7a864f.entry.js} +2 -2
  272. package/dist/pine-core/{p-8c719c49.entry.js.map → p-6a7a864f.entry.js.map} +1 -1
  273. package/dist/pine-core/{p-cddeae53.entry.js → p-6ae2f0f5.entry.js} +2 -2
  274. package/dist/pine-core/{p-cddeae53.entry.js.map → p-6ae2f0f5.entry.js.map} +1 -1
  275. package/dist/pine-core/{p-24d43a5d.system.entry.js → p-6d9edf7d.system.entry.js} +2 -2
  276. package/dist/pine-core/{p-24d43a5d.system.entry.js.map → p-6d9edf7d.system.entry.js.map} +1 -1
  277. package/dist/pine-core/{p-6f511f31.entry.js → p-6e146962.entry.js} +2 -2
  278. package/dist/pine-core/{p-6f511f31.entry.js.map → p-6e146962.entry.js.map} +1 -1
  279. package/dist/pine-core/{p-684d04ae.entry.js → p-6ff9ebfa.entry.js} +2 -2
  280. package/dist/pine-core/{p-684d04ae.entry.js.map → p-6ff9ebfa.entry.js.map} +1 -1
  281. package/dist/pine-core/{p-dcc876d5.entry.js → p-701ba882.entry.js} +2 -2
  282. package/dist/pine-core/{p-dcc876d5.entry.js.map → p-701ba882.entry.js.map} +1 -1
  283. package/dist/pine-core/{p-fc202585.entry.js → p-73eb1722.entry.js} +2 -2
  284. package/dist/pine-core/{p-fc202585.entry.js.map → p-73eb1722.entry.js.map} +1 -1
  285. package/dist/pine-core/{p-27dfade4.system.entry.js → p-78c6c37a.system.entry.js} +2 -2
  286. package/dist/pine-core/{p-27dfade4.system.entry.js.map → p-78c6c37a.system.entry.js.map} +1 -1
  287. package/dist/pine-core/{p-03ac85bb.system.entry.js → p-79ca4ab9.system.entry.js} +2 -2
  288. package/dist/pine-core/{p-03ac85bb.system.entry.js.map → p-79ca4ab9.system.entry.js.map} +1 -1
  289. package/dist/pine-core/{p-b47f8855.entry.js → p-7c33a02e.entry.js} +2 -2
  290. package/dist/pine-core/{p-b47f8855.entry.js.map → p-7c33a02e.entry.js.map} +1 -1
  291. package/dist/pine-core/{p-924a951b.system.entry.js → p-7dac515e.system.entry.js} +2 -2
  292. package/dist/pine-core/{p-924a951b.system.entry.js.map → p-7dac515e.system.entry.js.map} +1 -1
  293. package/dist/pine-core/{p-41d6881e.system.entry.js → p-7ea6838b.system.entry.js} +2 -2
  294. package/dist/pine-core/{p-41d6881e.system.entry.js.map → p-7ea6838b.system.entry.js.map} +1 -1
  295. package/dist/pine-core/{p-d33de2b3.system.entry.js → p-7ebfdef4.system.entry.js} +2 -2
  296. package/dist/pine-core/{p-d33de2b3.system.entry.js.map → p-7ebfdef4.system.entry.js.map} +1 -1
  297. package/dist/pine-core/{p-b5859bbd.system.entry.js → p-829777e4.system.entry.js} +2 -2
  298. package/dist/pine-core/{p-b5859bbd.system.entry.js.map → p-829777e4.system.entry.js.map} +1 -1
  299. package/dist/pine-core/{p-efc85823.js → p-8317c6c2.js} +1 -1
  300. package/dist/pine-core/{p-efc85823.js.map → p-8317c6c2.js.map} +1 -1
  301. package/dist/pine-core/{p-b1363254.entry.js → p-8469b65a.entry.js} +2 -2
  302. package/dist/pine-core/{p-b1363254.entry.js.map → p-8469b65a.entry.js.map} +1 -1
  303. package/dist/pine-core/{p-9c538ab0.entry.js → p-8d8de5fd.entry.js} +2 -2
  304. package/dist/pine-core/{p-9c538ab0.entry.js.map → p-8d8de5fd.entry.js.map} +1 -1
  305. package/dist/pine-core/{p-b480d80a.entry.js → p-8df8debd.entry.js} +2 -2
  306. package/dist/pine-core/{p-b480d80a.entry.js.map → p-8df8debd.entry.js.map} +1 -1
  307. package/dist/pine-core/{p-cca53530.system.entry.js → p-8f73bf14.system.entry.js} +2 -2
  308. package/dist/pine-core/{p-cca53530.system.entry.js.map → p-8f73bf14.system.entry.js.map} +1 -1
  309. package/dist/pine-core/p-8fbec4fe.system.js +2 -0
  310. package/dist/pine-core/p-8fbec4fe.system.js.map +1 -0
  311. package/dist/pine-core/{p-8701cb7b.system.entry.js → p-909b305c.system.entry.js} +2 -2
  312. package/dist/pine-core/{p-8701cb7b.system.entry.js.map → p-909b305c.system.entry.js.map} +1 -1
  313. package/dist/pine-core/{p-5c60147f.system.entry.js → p-936d96ec.system.entry.js} +2 -2
  314. package/dist/pine-core/{p-5c60147f.system.entry.js.map → p-936d96ec.system.entry.js.map} +1 -1
  315. package/dist/pine-core/{p-f92e85c4.entry.js → p-9583e6d5.entry.js} +2 -2
  316. package/dist/pine-core/{p-f92e85c4.entry.js.map → p-9583e6d5.entry.js.map} +1 -1
  317. package/dist/pine-core/{p-91bb8017.entry.js → p-96c750d1.entry.js} +2 -2
  318. package/dist/pine-core/{p-91bb8017.entry.js.map → p-96c750d1.entry.js.map} +1 -1
  319. package/dist/pine-core/{p-8fcfa336.entry.js → p-a03e587c.entry.js} +2 -2
  320. package/dist/pine-core/{p-8fcfa336.entry.js.map → p-a03e587c.entry.js.map} +1 -1
  321. package/dist/pine-core/{p-854fa9e2.entry.js → p-a79a8159.entry.js} +2 -2
  322. package/dist/pine-core/{p-854fa9e2.entry.js.map → p-a79a8159.entry.js.map} +1 -1
  323. package/dist/pine-core/{p-6f38bc8e.entry.js → p-a962fe8e.entry.js} +2 -2
  324. package/dist/pine-core/{p-6f38bc8e.entry.js.map → p-a962fe8e.entry.js.map} +1 -1
  325. package/dist/pine-core/{p-bdc39517.system.entry.js → p-ad4238c9.system.entry.js} +2 -2
  326. package/dist/pine-core/{p-bdc39517.system.entry.js.map → p-ad4238c9.system.entry.js.map} +1 -1
  327. package/dist/pine-core/{p-1d34a83d.system.entry.js → p-af7df3c2.system.entry.js} +2 -2
  328. package/dist/pine-core/{p-1d34a83d.system.entry.js.map → p-af7df3c2.system.entry.js.map} +1 -1
  329. package/dist/pine-core/{p-519ef0c4.system.js → p-b18b20f4.system.js} +2 -2
  330. package/dist/pine-core/{p-519ef0c4.system.js.map → p-b18b20f4.system.js.map} +1 -1
  331. package/dist/pine-core/{p-b978c861.entry.js → p-b4518566.entry.js} +2 -2
  332. package/dist/pine-core/{p-b978c861.entry.js.map → p-b4518566.entry.js.map} +1 -1
  333. package/dist/pine-core/{p-4df579f2.entry.js → p-b5c7e02a.entry.js} +2 -2
  334. package/dist/pine-core/{p-4df579f2.entry.js.map → p-b5c7e02a.entry.js.map} +1 -1
  335. package/dist/pine-core/{p-ad997571.system.entry.js → p-bc20946b.system.entry.js} +2 -2
  336. package/dist/pine-core/{p-ad997571.system.entry.js.map → p-bc20946b.system.entry.js.map} +1 -1
  337. package/dist/pine-core/{p-87b61d15.system.entry.js → p-c52d0465.system.entry.js} +2 -2
  338. package/dist/pine-core/{p-87b61d15.system.entry.js.map → p-c52d0465.system.entry.js.map} +1 -1
  339. package/dist/pine-core/{p-c56d871e.system.entry.js → p-c84cc2f8.system.entry.js} +2 -2
  340. package/dist/pine-core/{p-c56d871e.system.entry.js.map → p-c84cc2f8.system.entry.js.map} +1 -1
  341. package/dist/pine-core/{p-28d205e0.system.entry.js → p-ca239d59.system.entry.js} +2 -2
  342. package/dist/pine-core/{p-28d205e0.system.entry.js.map → p-ca239d59.system.entry.js.map} +1 -1
  343. package/dist/pine-core/p-e1255160.js.map +1 -1
  344. package/dist/pine-core/{p-606b6dbb.entry.js → p-e4b3115c.entry.js} +2 -2
  345. package/dist/pine-core/{p-606b6dbb.entry.js.map → p-e4b3115c.entry.js.map} +1 -1
  346. package/dist/pine-core/{p-c03cfc96.js → p-e60fccc0.js} +2 -2
  347. package/dist/pine-core/{p-c03cfc96.js.map → p-e60fccc0.js.map} +1 -1
  348. package/dist/pine-core/{p-74d57e61.system.entry.js → p-eb56f262.system.entry.js} +2 -2
  349. package/dist/pine-core/{p-74d57e61.system.entry.js.map → p-eb56f262.system.entry.js.map} +1 -1
  350. package/dist/pine-core/{p-8a1b3866.entry.js → p-ec484bf6.entry.js} +2 -2
  351. package/dist/pine-core/{p-8a1b3866.entry.js.map → p-ec484bf6.entry.js.map} +1 -1
  352. package/dist/pine-core/p-f59d4a46.entry.js +2 -0
  353. package/dist/pine-core/p-f59d4a46.entry.js.map +1 -0
  354. package/dist/pine-core/p-f74c489d.system.js +3 -0
  355. package/dist/pine-core/p-f74c489d.system.js.map +1 -0
  356. package/dist/pine-core/pine-core.esm.js +1 -1
  357. package/dist/pine-core/pine-core.esm.js.map +1 -1
  358. package/dist/pine-core/pine-core.js +1 -1
  359. package/dist/pine-core/svg/access-key.svg +1 -0
  360. package/dist/pine-core/svg/add-circle.svg +1 -0
  361. package/dist/pine-core/svg/add-image.svg +1 -0
  362. package/dist/pine-core/svg/add-small.svg +1 -0
  363. package/dist/pine-core/svg/add-square.svg +1 -0
  364. package/dist/pine-core/svg/add.svg +1 -0
  365. package/dist/pine-core/svg/advanced.svg +1 -0
  366. package/dist/pine-core/svg/ai-sparkle.svg +1 -0
  367. package/dist/pine-core/svg/ai-writer-filled.svg +1 -0
  368. package/dist/pine-core/svg/ai-writer.svg +1 -0
  369. package/dist/pine-core/svg/align-center.svg +1 -0
  370. package/dist/pine-core/svg/align-justify.svg +1 -0
  371. package/dist/pine-core/svg/align-left.svg +1 -0
  372. package/dist/pine-core/svg/align-right.svg +1 -0
  373. package/dist/pine-core/svg/app-store.svg +1 -0
  374. package/dist/pine-core/svg/archive.svg +1 -0
  375. package/dist/pine-core/svg/arrow-corner.svg +1 -0
  376. package/dist/pine-core/svg/arrow-down.svg +1 -0
  377. package/dist/pine-core/svg/arrow-left.svg +1 -0
  378. package/dist/pine-core/svg/arrow-right.svg +1 -0
  379. package/dist/pine-core/svg/arrow-up.svg +1 -0
  380. package/dist/pine-core/svg/assessment.svg +1 -0
  381. package/dist/pine-core/svg/at-sign.svg +1 -0
  382. package/dist/pine-core/svg/attach.svg +1 -0
  383. package/dist/pine-core/svg/automations.svg +1 -0
  384. package/dist/pine-core/svg/ban.svg +1 -0
  385. package/dist/pine-core/svg/bank.svg +1 -0
  386. package/dist/pine-core/svg/bar-chart-10-tone.svg +1 -0
  387. package/dist/pine-core/svg/bell-01-tone.svg +1 -0
  388. package/dist/pine-core/svg/bell.svg +1 -0
  389. package/dist/pine-core/svg/block.svg +1 -0
  390. package/dist/pine-core/svg/blog-filled.svg +1 -0
  391. package/dist/pine-core/svg/blog.svg +1 -0
  392. package/dist/pine-core/svg/bold.svg +1 -0
  393. package/dist/pine-core/svg/broadcast.svg +1 -0
  394. package/dist/pine-core/svg/bulb.svg +1 -0
  395. package/dist/pine-core/svg/button.svg +1 -0
  396. package/dist/pine-core/svg/calendar-date.svg +1 -0
  397. package/dist/pine-core/svg/calendar-schedule.svg +1 -0
  398. package/dist/pine-core/svg/calendar-simple.svg +1 -0
  399. package/dist/pine-core/svg/card-amex.svg +1 -0
  400. package/dist/pine-core/svg/card-android.svg +1 -0
  401. package/dist/pine-core/svg/card-apple.svg +1 -0
  402. package/dist/pine-core/svg/card-diners-club.svg +1 -0
  403. package/dist/pine-core/svg/card-discover.svg +1 -0
  404. package/dist/pine-core/svg/card-generic.svg +1 -0
  405. package/dist/pine-core/svg/card-gpay.svg +1 -0
  406. package/dist/pine-core/svg/card-mastercard.svg +1 -0
  407. package/dist/pine-core/svg/card-paypal.svg +1 -0
  408. package/dist/pine-core/svg/card-stripe.svg +1 -0
  409. package/dist/pine-core/svg/card-update.svg +1 -0
  410. package/dist/pine-core/svg/card-visa.svg +1 -0
  411. package/dist/pine-core/svg/caret-down.svg +1 -0
  412. package/dist/pine-core/svg/caret-left.svg +1 -0
  413. package/dist/pine-core/svg/caret-right.svg +1 -0
  414. package/dist/pine-core/svg/caret-up.svg +1 -0
  415. package/dist/pine-core/svg/cart-add.svg +1 -0
  416. package/dist/pine-core/svg/cart.svg +1 -0
  417. package/dist/pine-core/svg/certificate.svg +1 -0
  418. package/dist/pine-core/svg/chart-filled.svg +1 -0
  419. package/dist/pine-core/svg/chart.svg +1 -0
  420. package/dist/pine-core/svg/check-circle-filled.svg +1 -0
  421. package/dist/pine-core/svg/check-circle.svg +1 -0
  422. package/dist/pine-core/svg/check.svg +1 -0
  423. package/dist/pine-core/svg/circle-1.svg +1 -0
  424. package/dist/pine-core/svg/circle-2.svg +1 -0
  425. package/dist/pine-core/svg/circle-3.svg +1 -0
  426. package/dist/pine-core/svg/circle-4.svg +1 -0
  427. package/dist/pine-core/svg/circle-5.svg +1 -0
  428. package/dist/pine-core/svg/circle-6.svg +1 -0
  429. package/dist/pine-core/svg/circle-7.svg +1 -0
  430. package/dist/pine-core/svg/circle-8.svg +1 -0
  431. package/dist/pine-core/svg/circle-9.svg +1 -0
  432. package/dist/pine-core/svg/circle-a.svg +1 -0
  433. package/dist/pine-core/svg/circle-b.svg +1 -0
  434. package/dist/pine-core/svg/circle-dashed.svg +1 -0
  435. package/dist/pine-core/svg/clapperboard-tone.svg +1 -0
  436. package/dist/pine-core/svg/clock.svg +1 -0
  437. package/dist/pine-core/svg/closed-captions.svg +1 -0
  438. package/dist/pine-core/svg/cloud-upload.svg +1 -0
  439. package/dist/pine-core/svg/code-block.svg +1 -0
  440. package/dist/pine-core/svg/code.svg +1 -0
  441. package/dist/pine-core/svg/color.svg +1 -0
  442. package/dist/pine-core/svg/columns.svg +1 -0
  443. package/dist/pine-core/svg/comment-no.svg +1 -0
  444. package/dist/pine-core/svg/comment.svg +1 -0
  445. package/dist/pine-core/svg/connect.svg +1 -0
  446. package/dist/pine-core/svg/contact.svg +1 -0
  447. package/dist/pine-core/svg/conversation.svg +1 -0
  448. package/dist/pine-core/svg/copy.svg +1 -0
  449. package/dist/pine-core/svg/coupon.svg +1 -0
  450. package/dist/pine-core/svg/course-filled.svg +1 -0
  451. package/dist/pine-core/svg/course.svg +1 -0
  452. package/dist/pine-core/svg/creator-studio-filled.svg +1 -0
  453. package/dist/pine-core/svg/creator-studio.svg +1 -0
  454. package/dist/pine-core/svg/credit-card-02-tone.svg +1 -0
  455. package/dist/pine-core/svg/cube-01-tone.svg +1 -0
  456. package/dist/pine-core/svg/cursor-pointer.svg +1 -0
  457. package/dist/pine-core/svg/cursor.svg +1 -0
  458. package/dist/pine-core/svg/custom-field.svg +1 -0
  459. package/dist/pine-core/svg/customize.svg +1 -0
  460. package/dist/pine-core/svg/danger-filled.svg +1 -0
  461. package/dist/pine-core/svg/danger.svg +1 -0
  462. package/dist/pine-core/svg/delete-circle.svg +1 -0
  463. package/dist/pine-core/svg/delete-key.svg +1 -0
  464. package/dist/pine-core/svg/delete-x.svg +1 -0
  465. package/dist/pine-core/svg/dollar.svg +1 -0
  466. package/dist/pine-core/svg/dot-menu-horizontal.svg +1 -0
  467. package/dist/pine-core/svg/dots-horizontal-tone.svg +1 -0
  468. package/dist/pine-core/svg/down-small.svg +1 -0
  469. package/dist/pine-core/svg/download.svg +1 -0
  470. package/dist/pine-core/svg/downsell.svg +1 -0
  471. package/dist/pine-core/svg/draft.svg +1 -0
  472. package/dist/pine-core/svg/drawer-collapse.svg +1 -0
  473. package/dist/pine-core/svg/drawer-expand.svg +1 -0
  474. package/dist/pine-core/svg/drop.svg +1 -0
  475. package/dist/pine-core/svg/duplicate.svg +1 -0
  476. package/dist/pine-core/svg/editor-filled.svg +1 -0
  477. package/dist/pine-core/svg/editor.svg +1 -0
  478. package/dist/pine-core/svg/email-activity.svg +1 -0
  479. package/dist/pine-core/svg/emoji.svg +1 -0
  480. package/dist/pine-core/svg/enlarge-vertical.svg +1 -0
  481. package/dist/pine-core/svg/enlarge.svg +1 -0
  482. package/dist/pine-core/svg/expand.svg +1 -0
  483. package/dist/pine-core/svg/favorite.svg +1 -0
  484. package/dist/pine-core/svg/feedback.svg +1 -0
  485. package/dist/pine-core/svg/file-02.svg +1 -0
  486. package/dist/pine-core/svg/file-money.svg +1 -0
  487. package/dist/pine-core/svg/file.svg +1 -0
  488. package/dist/pine-core/svg/filter.svg +1 -0
  489. package/dist/pine-core/svg/flag.svg +1 -0
  490. package/dist/pine-core/svg/flash-filled.svg +1 -0
  491. package/dist/pine-core/svg/flash.svg +1 -0
  492. package/dist/pine-core/svg/floppy-disk.svg +1 -0
  493. package/dist/pine-core/svg/folder-group.svg +1 -0
  494. package/dist/pine-core/svg/folder.svg +1 -0
  495. package/dist/pine-core/svg/form-field.svg +1 -0
  496. package/dist/pine-core/svg/form-filled.svg +1 -0
  497. package/dist/pine-core/svg/form.svg +1 -0
  498. package/dist/pine-core/svg/fullscreen.svg +1 -0
  499. package/dist/pine-core/svg/funnel.svg +1 -0
  500. package/dist/pine-core/svg/gear-filled.svg +1 -0
  501. package/dist/pine-core/svg/gear.svg +1 -0
  502. package/dist/pine-core/svg/grant-offer.svg +1 -0
  503. package/dist/pine-core/svg/handle-2-vertical.svg +1 -0
  504. package/dist/pine-core/svg/handle-2.svg +1 -0
  505. package/dist/pine-core/svg/handle.svg +1 -0
  506. package/dist/pine-core/svg/hashtag.svg +1 -0
  507. package/dist/pine-core/svg/hd-video.svg +1 -0
  508. package/dist/pine-core/svg/heading-1.svg +1 -0
  509. package/dist/pine-core/svg/heading-2.svg +1 -0
  510. package/dist/pine-core/svg/heading-3.svg +1 -0
  511. package/dist/pine-core/svg/heading-4.svg +1 -0
  512. package/dist/pine-core/svg/heading-5.svg +1 -0
  513. package/dist/pine-core/svg/heading-6.svg +1 -0
  514. package/dist/pine-core/svg/heading-large.svg +1 -0
  515. package/dist/pine-core/svg/heading-small.svg +1 -0
  516. package/dist/pine-core/svg/headset-tone.svg +1 -0
  517. package/dist/pine-core/svg/headset.svg +1 -0
  518. package/dist/pine-core/svg/help-filled.svg +1 -0
  519. package/dist/pine-core/svg/help.svg +1 -0
  520. package/dist/pine-core/svg/home-02-tone.svg +1 -0
  521. package/dist/pine-core/svg/home-alt.svg +1 -0
  522. package/dist/pine-core/svg/home-filled.svg +1 -0
  523. package/dist/pine-core/svg/home.svg +1 -0
  524. package/dist/pine-core/svg/horizontal-line.svg +1 -0
  525. package/dist/pine-core/svg/image.svg +1 -0
  526. package/dist/pine-core/svg/info-circle-filled.svg +1 -0
  527. package/dist/pine-core/svg/info-circle.svg +1 -0
  528. package/dist/pine-core/svg/ios-battery.svg +1 -0
  529. package/dist/pine-core/svg/ios-data.svg +1 -0
  530. package/dist/pine-core/svg/ios-wifi.svg +1 -0
  531. package/dist/pine-core/svg/italic.svg +1 -0
  532. package/dist/pine-core/svg/kajabi-filled.svg +1 -0
  533. package/dist/pine-core/svg/kajabi.svg +1 -0
  534. package/dist/pine-core/svg/klarna.svg +1 -0
  535. package/dist/pine-core/svg/lab.svg +1 -0
  536. package/dist/pine-core/svg/launch.svg +1 -0
  537. package/dist/pine-core/svg/layout-grid.svg +1 -0
  538. package/dist/pine-core/svg/layout-list.svg +1 -0
  539. package/dist/pine-core/svg/left-small.svg +1 -0
  540. package/dist/pine-core/svg/list-bullet.svg +1 -0
  541. package/dist/pine-core/svg/list-details.svg +1 -0
  542. package/dist/pine-core/svg/list-numbers.svg +1 -0
  543. package/dist/pine-core/svg/location.svg +1 -0
  544. package/dist/pine-core/svg/lock-alt.svg +1 -0
  545. package/dist/pine-core/svg/lock.svg +1 -0
  546. package/dist/pine-core/svg/logo-afterpay.svg +1 -0
  547. package/dist/pine-core/svg/logo-facebook-round.svg +1 -0
  548. package/dist/pine-core/svg/logo-facebook.svg +1 -0
  549. package/dist/pine-core/svg/logo-instagram.svg +1 -0
  550. package/dist/pine-core/svg/logo-linkedin.svg +1 -0
  551. package/dist/pine-core/svg/logo-tiktok.svg +1 -0
  552. package/dist/pine-core/svg/logo-twitter-x.svg +1 -0
  553. package/dist/pine-core/svg/logo-twitter.svg +1 -0
  554. package/dist/pine-core/svg/logo-youtube.svg +1 -0
  555. package/dist/pine-core/svg/loop.svg +1 -0
  556. package/dist/pine-core/svg/mail-01-tone.svg +1 -0
  557. package/dist/pine-core/svg/mail-filled.svg +1 -0
  558. package/dist/pine-core/svg/mail-open.svg +1 -0
  559. package/dist/pine-core/svg/mail.svg +1 -0
  560. package/dist/pine-core/svg/map.svg +1 -0
  561. package/dist/pine-core/svg/mapped.svg +1 -0
  562. package/dist/pine-core/svg/margin-left.svg +1 -0
  563. package/dist/pine-core/svg/margin-right.svg +1 -0
  564. package/dist/pine-core/svg/marker-filled.svg +1 -0
  565. package/dist/pine-core/svg/marker.svg +1 -0
  566. package/dist/pine-core/svg/megaphone-filled.svg +1 -0
  567. package/dist/pine-core/svg/megaphone.svg +1 -0
  568. package/dist/pine-core/svg/menu-alt.svg +1 -0
  569. package/dist/pine-core/svg/menu-bordered.svg +1 -0
  570. package/dist/pine-core/svg/menu.svg +1 -0
  571. package/dist/pine-core/svg/merge.svg +1 -0
  572. package/dist/pine-core/svg/microphone-off.svg +1 -0
  573. package/dist/pine-core/svg/microphone.svg +1 -0
  574. package/dist/pine-core/svg/monitor-03-tone.svg +1 -0
  575. package/dist/pine-core/svg/monitor-filled.svg +1 -0
  576. package/dist/pine-core/svg/monitor.svg +1 -0
  577. package/dist/pine-core/svg/more-menu-filled.svg +1 -0
  578. package/dist/pine-core/svg/more-menu.svg +1 -0
  579. package/dist/pine-core/svg/move-left.svg +1 -0
  580. package/dist/pine-core/svg/move-right.svg +1 -0
  581. package/dist/pine-core/svg/multi-pay.svg +1 -0
  582. package/dist/pine-core/svg/newsletter-2.svg +1 -0
  583. package/dist/pine-core/svg/newsletter.svg +1 -0
  584. package/dist/pine-core/svg/one-off-session.svg +1 -0
  585. package/dist/pine-core/svg/one-time.svg +1 -0
  586. package/dist/pine-core/svg/packages.svg +1 -0
  587. package/dist/pine-core/svg/pause-circle.svg +1 -0
  588. package/dist/pine-core/svg/pause.svg +1 -0
  589. package/dist/pine-core/svg/payout.svg +1 -0
  590. package/dist/pine-core/svg/pen.svg +1 -0
  591. package/dist/pine-core/svg/phone-02-tone.svg +1 -0
  592. package/dist/pine-core/svg/phone-portrait.svg +1 -0
  593. package/dist/pine-core/svg/phone-toolbar-filled.svg +1 -0
  594. package/dist/pine-core/svg/phone-toolbar.svg +1 -0
  595. package/dist/pine-core/svg/play-circle.svg +1 -0
  596. package/dist/pine-core/svg/play-outline.svg +1 -0
  597. package/dist/pine-core/svg/play-store.svg +1 -0
  598. package/dist/pine-core/svg/play.svg +1 -0
  599. package/dist/pine-core/svg/plug.svg +1 -0
  600. package/dist/pine-core/svg/premium.svg +1 -0
  601. package/dist/pine-core/svg/present.svg +1 -0
  602. package/dist/pine-core/svg/preview-off.svg +1 -0
  603. package/dist/pine-core/svg/preview-on.svg +1 -0
  604. package/dist/pine-core/svg/product-filled.svg +1 -0
  605. package/dist/pine-core/svg/product.svg +1 -0
  606. package/dist/pine-core/svg/question-circle.svg +1 -0
  607. package/dist/pine-core/svg/quote.svg +1 -0
  608. package/dist/pine-core/svg/redo.svg +1 -0
  609. package/dist/pine-core/svg/refresh.svg +1 -0
  610. package/dist/pine-core/svg/remove-circle.svg +1 -0
  611. package/dist/pine-core/svg/remove.svg +1 -0
  612. package/dist/pine-core/svg/rename.svg +1 -0
  613. package/dist/pine-core/svg/reset-password.svg +1 -0
  614. package/dist/pine-core/svg/restore.svg +1 -0
  615. package/dist/pine-core/svg/right-small.svg +1 -0
  616. package/dist/pine-core/svg/rocket-filled.svg +1 -0
  617. package/dist/pine-core/svg/rocket.svg +1 -0
  618. package/dist/pine-core/svg/round-dollar.svg +1 -0
  619. package/dist/pine-core/svg/rows.svg +1 -0
  620. package/dist/pine-core/svg/scissor.svg +1 -0
  621. package/dist/pine-core/svg/screen-share-off.svg +1 -0
  622. package/dist/pine-core/svg/screen-share-on.svg +1 -0
  623. package/dist/pine-core/svg/search-md-tone.svg +1 -0
  624. package/dist/pine-core/svg/search-small.svg +1 -0
  625. package/dist/pine-core/svg/search.svg +1 -0
  626. package/dist/pine-core/svg/send-message.svg +1 -0
  627. package/dist/pine-core/svg/sequences.svg +1 -0
  628. package/dist/pine-core/svg/settings-01-tone.svg +1 -0
  629. package/dist/pine-core/svg/share.svg +1 -0
  630. package/dist/pine-core/svg/skipped.svg +1 -0
  631. package/dist/pine-core/svg/slash-divider.svg +1 -0
  632. package/dist/pine-core/svg/speaker.svg +1 -0
  633. package/dist/pine-core/svg/stack.svg +1 -0
  634. package/dist/pine-core/svg/star.svg +1 -0
  635. package/dist/pine-core/svg/stars-01-tone.svg +1 -0
  636. package/dist/pine-core/svg/stop.svg +1 -0
  637. package/dist/pine-core/svg/stopwatch.svg +1 -0
  638. package/dist/pine-core/svg/strikethrough.svg +1 -0
  639. package/dist/pine-core/svg/subscript.svg +1 -0
  640. package/dist/pine-core/svg/subscriptions.svg +1 -0
  641. package/dist/pine-core/svg/super-admin.svg +1 -0
  642. package/dist/pine-core/svg/superscript.svg +1 -0
  643. package/dist/pine-core/svg/sync.svg +1 -0
  644. package/dist/pine-core/svg/tablet-landscape.svg +1 -0
  645. package/dist/pine-core/svg/tablet-portrait.svg +1 -0
  646. package/dist/pine-core/svg/tag-filled.svg +1 -0
  647. package/dist/pine-core/svg/tag.svg +1 -0
  648. package/dist/pine-core/svg/text-styles.svg +1 -0
  649. package/dist/pine-core/svg/theme-store-filled.svg +1 -0
  650. package/dist/pine-core/svg/theme-store.svg +1 -0
  651. package/dist/pine-core/svg/thumb-down-filled.svg +1 -0
  652. package/dist/pine-core/svg/thumb-down.svg +1 -0
  653. package/dist/pine-core/svg/thumb-up-filled.svg +1 -0
  654. package/dist/pine-core/svg/thumb-up.svg +1 -0
  655. package/dist/pine-core/svg/trash.svg +1 -0
  656. package/dist/pine-core/svg/trophy-filled.svg +1 -0
  657. package/dist/pine-core/svg/trophy.svg +1 -0
  658. package/dist/pine-core/svg/underline.svg +1 -0
  659. package/dist/pine-core/svg/undo.svg +1 -0
  660. package/dist/pine-core/svg/unlock.svg +1 -0
  661. package/dist/pine-core/svg/unmapped.svg +1 -0
  662. package/dist/pine-core/svg/up-small.svg +1 -0
  663. package/dist/pine-core/svg/upload.svg +1 -0
  664. package/dist/pine-core/svg/url.svg +1 -0
  665. package/dist/pine-core/svg/user-circle-filled.svg +1 -0
  666. package/dist/pine-core/svg/user-circle.svg +1 -0
  667. package/dist/pine-core/svg/user-filled.svg +1 -0
  668. package/dist/pine-core/svg/user-star-filled.svg +1 -0
  669. package/dist/pine-core/svg/user-star.svg +1 -0
  670. package/dist/pine-core/svg/user.svg +1 -0
  671. package/dist/pine-core/svg/users-02-tone.svg +1 -0
  672. package/dist/pine-core/svg/users-alt.svg +1 -0
  673. package/dist/pine-core/svg/users-filled.svg +1 -0
  674. package/dist/pine-core/svg/users.svg +1 -0
  675. package/dist/pine-core/svg/video-off.svg +1 -0
  676. package/dist/pine-core/svg/video-on.svg +1 -0
  677. package/dist/pine-core/svg/warning-filled.svg +1 -0
  678. package/dist/pine-core/svg/warning.svg +1 -0
  679. package/dist/pine-core/svg/window-paragraph.svg +1 -0
  680. package/dist/pine-core/svg/world.svg +1 -0
  681. package/dist/pine-core/svg/wrench.svg +1 -0
  682. package/dist/types/stencil-public-runtime.d.ts +3 -10
  683. package/hydrate/index.d.ts +30 -12
  684. package/hydrate/index.js +21699 -12234
  685. package/hydrate/index.mjs +22564 -0
  686. package/hydrate/package.json +7 -1
  687. package/loader/cdn.js +1 -2
  688. package/loader/index.cjs.js +1 -2
  689. package/loader/index.d.ts +3 -0
  690. package/loader/index.es2017.js +1 -2
  691. package/loader/index.js +1 -2
  692. package/package.json +4 -4
  693. package/dist/cjs/index-11f95019.js +0 -2840
  694. package/dist/cjs/index-11f95019.js.map +0 -1
  695. package/dist/esm/index-cd2796be.js +0 -2811
  696. package/dist/esm/index-cd2796be.js.map +0 -1
  697. package/dist/esm-es5/index-cd2796be.js +0 -3
  698. package/dist/esm-es5/index-cd2796be.js.map +0 -1
  699. package/dist/pine-core/p-0935a593.system.js +0 -3
  700. package/dist/pine-core/p-0935a593.system.js.map +0 -1
  701. package/dist/pine-core/p-0ca08a85.system.js +0 -2
  702. package/dist/pine-core/p-0ca08a85.system.js.map +0 -1
  703. package/dist/pine-core/p-23d97662.js +0 -3
  704. package/dist/pine-core/p-23d97662.js.map +0 -1
  705. package/dist/pine-core/p-ece97e5b.system.js +0 -2
  706. package/dist/pine-core/p-ece97e5b.system.js.map +0 -1
@@ -0,0 +1,1927 @@
1
+ const NAMESPACE = 'pine-core';
2
+ const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
+
4
+ /*
5
+ Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
6
+ */
7
+ var __defProp = Object.defineProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var hostRefs = /* @__PURE__ */ new WeakMap();
13
+ var getHostRef = (ref) => hostRefs.get(ref);
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
15
+ var registerHost = (hostElement, cmpMeta) => {
16
+ const hostRef = {
17
+ $flags$: 0,
18
+ $hostElement$: hostElement,
19
+ $cmpMeta$: cmpMeta,
20
+ $instanceValues$: /* @__PURE__ */ new Map()
21
+ };
22
+ {
23
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
24
+ }
25
+ {
26
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
27
+ hostElement["s-p"] = [];
28
+ hostElement["s-rc"] = [];
29
+ }
30
+ return hostRefs.set(hostElement, hostRef);
31
+ };
32
+ var isMemberInElement = (elm, memberName) => memberName in elm;
33
+ var consoleError = (e, el) => (0, console.error)(e, el);
34
+
35
+ // src/client/client-load-module.ts
36
+ var cmpModules = /* @__PURE__ */ new Map();
37
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
38
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
39
+ const bundleId = cmpMeta.$lazyBundleId$;
40
+ if (!bundleId) {
41
+ return void 0;
42
+ }
43
+ const module = cmpModules.get(bundleId) ;
44
+ if (module) {
45
+ return module[exportName];
46
+ }
47
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
48
+ return import(
49
+ /* @vite-ignore */
50
+ /* webpackInclude: /\.entry\.js$/ */
51
+ /* webpackExclude: /\.system\.entry\.js$/ */
52
+ /* webpackMode: "lazy" */
53
+ `./${bundleId}.entry.js${""}`
54
+ ).then((importedModule) => {
55
+ {
56
+ cmpModules.set(bundleId, importedModule);
57
+ }
58
+ return importedModule[exportName];
59
+ }, consoleError);
60
+ };
61
+
62
+ // src/client/client-style.ts
63
+ var styles = /* @__PURE__ */ new Map();
64
+
65
+ // src/runtime/runtime-constants.ts
66
+ var CONTENT_REF_ID = "r";
67
+ var ORG_LOCATION_ID = "o";
68
+ var SLOT_NODE_ID = "s";
69
+ var TEXT_NODE_ID = "t";
70
+ var HYDRATE_ID = "s-id";
71
+ var HYDRATED_STYLE_ID = "sty-id";
72
+ var HYDRATE_CHILD_ID = "c-id";
73
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
74
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
75
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
76
+ var win = typeof window !== "undefined" ? window : {};
77
+ var doc = win.document || { head: {} };
78
+ var plt = {
79
+ $flags$: 0,
80
+ $resourcesUrl$: "",
81
+ jmp: (h2) => h2(),
82
+ raf: (h2) => requestAnimationFrame(h2),
83
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
84
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
85
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
86
+ };
87
+ var supportsShadow = BUILD.shadowDom;
88
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
89
+ let supportsListenerOptions2 = false;
90
+ try {
91
+ doc.addEventListener(
92
+ "e",
93
+ null,
94
+ Object.defineProperty({}, "passive", {
95
+ get() {
96
+ supportsListenerOptions2 = true;
97
+ }
98
+ })
99
+ );
100
+ } catch (e) {
101
+ }
102
+ return supportsListenerOptions2;
103
+ })();
104
+ var promiseResolve = (v) => Promise.resolve(v);
105
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
106
+ try {
107
+ new CSSStyleSheet();
108
+ return typeof new CSSStyleSheet().replaceSync === "function";
109
+ } catch (e) {
110
+ }
111
+ return false;
112
+ })() ;
113
+ var queuePending = false;
114
+ var queueDomReads = [];
115
+ var queueDomWrites = [];
116
+ var queueTask = (queue, write) => (cb) => {
117
+ queue.push(cb);
118
+ if (!queuePending) {
119
+ queuePending = true;
120
+ if (write && plt.$flags$ & 4 /* queueSync */) {
121
+ nextTick(flush);
122
+ } else {
123
+ plt.raf(flush);
124
+ }
125
+ }
126
+ };
127
+ var consume = (queue) => {
128
+ for (let i2 = 0; i2 < queue.length; i2++) {
129
+ try {
130
+ queue[i2](performance.now());
131
+ } catch (e) {
132
+ consoleError(e);
133
+ }
134
+ }
135
+ queue.length = 0;
136
+ };
137
+ var flush = () => {
138
+ consume(queueDomReads);
139
+ {
140
+ consume(queueDomWrites);
141
+ if (queuePending = queueDomReads.length > 0) {
142
+ plt.raf(flush);
143
+ }
144
+ }
145
+ };
146
+ var nextTick = (cb) => promiseResolve().then(cb);
147
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
148
+
149
+ // src/utils/constants.ts
150
+ var EMPTY_OBJ = {};
151
+ var SVG_NS = "http://www.w3.org/2000/svg";
152
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
153
+
154
+ // src/utils/helpers.ts
155
+ var isDef = (v) => v != null;
156
+ var isComplexType = (o) => {
157
+ o = typeof o;
158
+ return o === "object" || o === "function";
159
+ };
160
+
161
+ // src/utils/query-nonce-meta-tag-content.ts
162
+ function queryNonceMetaTagContent(doc2) {
163
+ var _a, _b, _c;
164
+ return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
165
+ }
166
+
167
+ // src/utils/result.ts
168
+ var result_exports = {};
169
+ __export(result_exports, {
170
+ err: () => err,
171
+ map: () => map,
172
+ ok: () => ok,
173
+ unwrap: () => unwrap,
174
+ unwrapErr: () => unwrapErr
175
+ });
176
+ var ok = (value) => ({
177
+ isOk: true,
178
+ isErr: false,
179
+ value
180
+ });
181
+ var err = (value) => ({
182
+ isOk: false,
183
+ isErr: true,
184
+ value
185
+ });
186
+ function map(result, fn) {
187
+ if (result.isOk) {
188
+ const val = fn(result.value);
189
+ if (val instanceof Promise) {
190
+ return val.then((newVal) => ok(newVal));
191
+ } else {
192
+ return ok(val);
193
+ }
194
+ }
195
+ if (result.isErr) {
196
+ const value = result.value;
197
+ return err(value);
198
+ }
199
+ throw "should never get here";
200
+ }
201
+ var unwrap = (result) => {
202
+ if (result.isOk) {
203
+ return result.value;
204
+ } else {
205
+ throw result.value;
206
+ }
207
+ };
208
+ var unwrapErr = (result) => {
209
+ if (result.isErr) {
210
+ return result.value;
211
+ } else {
212
+ throw result.value;
213
+ }
214
+ };
215
+ var createTime = (fnName, tagName = "") => {
216
+ {
217
+ return () => {
218
+ return;
219
+ };
220
+ }
221
+ };
222
+ var uniqueTime = (key, measureText) => {
223
+ {
224
+ return () => {
225
+ return;
226
+ };
227
+ }
228
+ };
229
+ var h = (nodeName, vnodeData, ...children) => {
230
+ let child = null;
231
+ let key = null;
232
+ let slotName = null;
233
+ let simple = false;
234
+ let lastSimple = false;
235
+ const vNodeChildren = [];
236
+ const walk = (c) => {
237
+ for (let i2 = 0; i2 < c.length; i2++) {
238
+ child = c[i2];
239
+ if (Array.isArray(child)) {
240
+ walk(child);
241
+ } else if (child != null && typeof child !== "boolean") {
242
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
243
+ child = String(child);
244
+ }
245
+ if (simple && lastSimple) {
246
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
247
+ } else {
248
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
249
+ }
250
+ lastSimple = simple;
251
+ }
252
+ }
253
+ };
254
+ walk(children);
255
+ if (vnodeData) {
256
+ if (vnodeData.key) {
257
+ key = vnodeData.key;
258
+ }
259
+ if (vnodeData.name) {
260
+ slotName = vnodeData.name;
261
+ }
262
+ {
263
+ const classData = vnodeData.className || vnodeData.class;
264
+ if (classData) {
265
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
266
+ }
267
+ }
268
+ }
269
+ if (typeof nodeName === "function") {
270
+ return nodeName(
271
+ vnodeData === null ? {} : vnodeData,
272
+ vNodeChildren,
273
+ vdomFnUtils
274
+ );
275
+ }
276
+ const vnode = newVNode(nodeName, null);
277
+ vnode.$attrs$ = vnodeData;
278
+ if (vNodeChildren.length > 0) {
279
+ vnode.$children$ = vNodeChildren;
280
+ }
281
+ {
282
+ vnode.$key$ = key;
283
+ }
284
+ {
285
+ vnode.$name$ = slotName;
286
+ }
287
+ return vnode;
288
+ };
289
+ var newVNode = (tag, text) => {
290
+ const vnode = {
291
+ $flags$: 0,
292
+ $tag$: tag,
293
+ $text$: text,
294
+ $elm$: null,
295
+ $children$: null
296
+ };
297
+ {
298
+ vnode.$attrs$ = null;
299
+ }
300
+ {
301
+ vnode.$key$ = null;
302
+ }
303
+ {
304
+ vnode.$name$ = null;
305
+ }
306
+ return vnode;
307
+ };
308
+ var Host = {};
309
+ var isHost = (node) => node && node.$tag$ === Host;
310
+ var vdomFnUtils = {
311
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
312
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
313
+ };
314
+ var convertToPublic = (node) => ({
315
+ vattrs: node.$attrs$,
316
+ vchildren: node.$children$,
317
+ vkey: node.$key$,
318
+ vname: node.$name$,
319
+ vtag: node.$tag$,
320
+ vtext: node.$text$
321
+ });
322
+ var convertToPrivate = (node) => {
323
+ if (typeof node.vtag === "function") {
324
+ const vnodeData = { ...node.vattrs };
325
+ if (node.vkey) {
326
+ vnodeData.key = node.vkey;
327
+ }
328
+ if (node.vname) {
329
+ vnodeData.name = node.vname;
330
+ }
331
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
332
+ }
333
+ const vnode = newVNode(node.vtag, node.vtext);
334
+ vnode.$attrs$ = node.vattrs;
335
+ vnode.$children$ = node.vchildren;
336
+ vnode.$key$ = node.vkey;
337
+ vnode.$name$ = node.vname;
338
+ return vnode;
339
+ };
340
+
341
+ // src/runtime/client-hydrate.ts
342
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
343
+ const endHydrate = createTime("hydrateClient", tagName);
344
+ const shadowRoot = hostElm.shadowRoot;
345
+ const childRenderNodes = [];
346
+ const slotNodes = [];
347
+ const shadowRootNodes = shadowRoot ? [] : null;
348
+ const vnode = hostRef.$vnode$ = newVNode(tagName, null);
349
+ if (!plt.$orgLocNodes$) {
350
+ initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
351
+ }
352
+ hostElm[HYDRATE_ID] = hostId;
353
+ hostElm.removeAttribute(HYDRATE_ID);
354
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
355
+ childRenderNodes.map((c) => {
356
+ const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
357
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
358
+ const node = c.$elm$;
359
+ if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
360
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
361
+ }
362
+ if (!shadowRoot) {
363
+ node["s-hn"] = tagName;
364
+ if (orgLocationNode) {
365
+ node["s-ol"] = orgLocationNode;
366
+ node["s-ol"]["s-nr"] = node;
367
+ }
368
+ }
369
+ plt.$orgLocNodes$.delete(orgLocationId);
370
+ });
371
+ if (shadowRoot) {
372
+ shadowRootNodes.map((shadowRootNode) => {
373
+ if (shadowRootNode) {
374
+ shadowRoot.appendChild(shadowRootNode);
375
+ }
376
+ });
377
+ }
378
+ endHydrate();
379
+ };
380
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
381
+ let childNodeType;
382
+ let childIdSplt;
383
+ let childVNode;
384
+ let i2;
385
+ if (node.nodeType === 1 /* ElementNode */) {
386
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
387
+ if (childNodeType) {
388
+ childIdSplt = childNodeType.split(".");
389
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
390
+ childVNode = {
391
+ $flags$: 0,
392
+ $hostId$: childIdSplt[0],
393
+ $nodeId$: childIdSplt[1],
394
+ $depth$: childIdSplt[2],
395
+ $index$: childIdSplt[3],
396
+ $tag$: node.tagName.toLowerCase(),
397
+ $elm$: node,
398
+ $attrs$: null,
399
+ $children$: null,
400
+ $key$: null,
401
+ $name$: null,
402
+ $text$: null
403
+ };
404
+ childRenderNodes.push(childVNode);
405
+ node.removeAttribute(HYDRATE_CHILD_ID);
406
+ if (!parentVNode.$children$) {
407
+ parentVNode.$children$ = [];
408
+ }
409
+ parentVNode.$children$[childVNode.$index$] = childVNode;
410
+ parentVNode = childVNode;
411
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
412
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
413
+ }
414
+ }
415
+ }
416
+ if (node.shadowRoot) {
417
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
418
+ clientHydrate(
419
+ parentVNode,
420
+ childRenderNodes,
421
+ slotNodes,
422
+ shadowRootNodes,
423
+ hostElm,
424
+ node.shadowRoot.childNodes[i2],
425
+ hostId
426
+ );
427
+ }
428
+ }
429
+ for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
430
+ clientHydrate(
431
+ parentVNode,
432
+ childRenderNodes,
433
+ slotNodes,
434
+ shadowRootNodes,
435
+ hostElm,
436
+ node.childNodes[i2],
437
+ hostId
438
+ );
439
+ }
440
+ } else if (node.nodeType === 8 /* CommentNode */) {
441
+ childIdSplt = node.nodeValue.split(".");
442
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
443
+ childNodeType = childIdSplt[0];
444
+ childVNode = {
445
+ $flags$: 0,
446
+ $hostId$: childIdSplt[1],
447
+ $nodeId$: childIdSplt[2],
448
+ $depth$: childIdSplt[3],
449
+ $index$: childIdSplt[4],
450
+ $elm$: node,
451
+ $attrs$: null,
452
+ $children$: null,
453
+ $key$: null,
454
+ $name$: null,
455
+ $tag$: null,
456
+ $text$: null
457
+ };
458
+ if (childNodeType === TEXT_NODE_ID) {
459
+ childVNode.$elm$ = node.nextSibling;
460
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
461
+ childVNode.$text$ = childVNode.$elm$.textContent;
462
+ childRenderNodes.push(childVNode);
463
+ node.remove();
464
+ if (!parentVNode.$children$) {
465
+ parentVNode.$children$ = [];
466
+ }
467
+ parentVNode.$children$[childVNode.$index$] = childVNode;
468
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
469
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
470
+ }
471
+ }
472
+ } else if (childVNode.$hostId$ === hostId) {
473
+ if (childNodeType === SLOT_NODE_ID) {
474
+ childVNode.$tag$ = "slot";
475
+ if (childIdSplt[5]) {
476
+ node["s-sn"] = childVNode.$name$ = childIdSplt[5];
477
+ } else {
478
+ node["s-sn"] = "";
479
+ }
480
+ node["s-sr"] = true;
481
+ if (shadowRootNodes) {
482
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
483
+ if (childVNode.$name$) {
484
+ childVNode.$elm$.setAttribute("name", childVNode.$name$);
485
+ }
486
+ node.parentNode.insertBefore(childVNode.$elm$, node);
487
+ node.remove();
488
+ if (childVNode.$depth$ === "0") {
489
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
490
+ }
491
+ }
492
+ slotNodes.push(childVNode);
493
+ if (!parentVNode.$children$) {
494
+ parentVNode.$children$ = [];
495
+ }
496
+ parentVNode.$children$[childVNode.$index$] = childVNode;
497
+ } else if (childNodeType === CONTENT_REF_ID) {
498
+ if (shadowRootNodes) {
499
+ node.remove();
500
+ } else {
501
+ hostElm["s-cr"] = node;
502
+ node["s-cn"] = true;
503
+ }
504
+ }
505
+ }
506
+ }
507
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
508
+ const vnode = newVNode(null, node.textContent);
509
+ vnode.$elm$ = node;
510
+ vnode.$index$ = "0";
511
+ parentVNode.$children$ = [vnode];
512
+ }
513
+ };
514
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
515
+ if (node.nodeType === 1 /* ElementNode */) {
516
+ let i2 = 0;
517
+ if (node.shadowRoot) {
518
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
519
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
520
+ }
521
+ }
522
+ for (i2 = 0; i2 < node.childNodes.length; i2++) {
523
+ initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
524
+ }
525
+ } else if (node.nodeType === 8 /* CommentNode */) {
526
+ const childIdSplt = node.nodeValue.split(".");
527
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
528
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
529
+ node.nodeValue = "";
530
+ node["s-en"] = childIdSplt[3];
531
+ }
532
+ }
533
+ };
534
+ var parsePropertyValue = (propValue, propType) => {
535
+ if (propValue != null && !isComplexType(propValue)) {
536
+ if (propType & 4 /* Boolean */) {
537
+ return propValue === "false" ? false : propValue === "" || !!propValue;
538
+ }
539
+ if (propType & 2 /* Number */) {
540
+ return parseFloat(propValue);
541
+ }
542
+ if (propType & 1 /* String */) {
543
+ return String(propValue);
544
+ }
545
+ return propValue;
546
+ }
547
+ return propValue;
548
+ };
549
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
550
+
551
+ // src/runtime/event-emitter.ts
552
+ var createEvent = (ref, name, flags) => {
553
+ const elm = getElement(ref);
554
+ return {
555
+ emit: (detail) => {
556
+ return emitEvent(elm, name, {
557
+ bubbles: !!(flags & 4 /* Bubbles */),
558
+ composed: !!(flags & 2 /* Composed */),
559
+ cancelable: !!(flags & 1 /* Cancellable */),
560
+ detail
561
+ });
562
+ }
563
+ };
564
+ };
565
+ var emitEvent = (elm, name, opts) => {
566
+ const ev = plt.ce(name, opts);
567
+ elm.dispatchEvent(ev);
568
+ return ev;
569
+ };
570
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
571
+ var registerStyle = (scopeId2, cssText, allowCS) => {
572
+ let style = styles.get(scopeId2);
573
+ if (supportsConstructableStylesheets && allowCS) {
574
+ style = style || new CSSStyleSheet();
575
+ if (typeof style === "string") {
576
+ style = cssText;
577
+ } else {
578
+ style.replaceSync(cssText);
579
+ }
580
+ } else {
581
+ style = cssText;
582
+ }
583
+ styles.set(scopeId2, style);
584
+ };
585
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
586
+ var _a;
587
+ const scopeId2 = getScopeId(cmpMeta);
588
+ const style = styles.get(scopeId2);
589
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
590
+ if (style) {
591
+ if (typeof style === "string") {
592
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
593
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
594
+ let styleElm;
595
+ if (!appliedStyles) {
596
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
597
+ }
598
+ if (!appliedStyles.has(scopeId2)) {
599
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
600
+ styleElm.innerHTML = style;
601
+ } else {
602
+ styleElm = doc.createElement("style");
603
+ styleElm.innerHTML = style;
604
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
605
+ if (nonce != null) {
606
+ styleElm.setAttribute("nonce", nonce);
607
+ }
608
+ const injectStyle = (
609
+ /**
610
+ * we render a scoped component
611
+ */
612
+ !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
613
+ * we are using shadow dom and render the style tag within the shadowRoot
614
+ */
615
+ cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
616
+ );
617
+ if (injectStyle) {
618
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
619
+ }
620
+ }
621
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
622
+ styleElm.innerHTML += SLOT_FB_CSS;
623
+ }
624
+ if (appliedStyles) {
625
+ appliedStyles.add(scopeId2);
626
+ }
627
+ }
628
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
629
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
630
+ }
631
+ }
632
+ return scopeId2;
633
+ };
634
+ var attachStyles = (hostRef) => {
635
+ const cmpMeta = hostRef.$cmpMeta$;
636
+ const elm = hostRef.$hostElement$;
637
+ const flags = cmpMeta.$flags$;
638
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
639
+ const scopeId2 = addStyle(
640
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
641
+ cmpMeta);
642
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
643
+ elm["s-sc"] = scopeId2;
644
+ elm.classList.add(scopeId2 + "-h");
645
+ if (flags & 2 /* scopedCssEncapsulation */) {
646
+ elm.classList.add(scopeId2 + "-s");
647
+ }
648
+ }
649
+ endAttachStyles();
650
+ };
651
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
652
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
653
+ if (oldValue !== newValue) {
654
+ let isProp = isMemberInElement(elm, memberName);
655
+ let ln = memberName.toLowerCase();
656
+ if (memberName === "class") {
657
+ const classList = elm.classList;
658
+ const oldClasses = parseClassList(oldValue);
659
+ const newClasses = parseClassList(newValue);
660
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
661
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
662
+ } else if (memberName === "style") {
663
+ {
664
+ for (const prop in oldValue) {
665
+ if (!newValue || newValue[prop] == null) {
666
+ if (prop.includes("-")) {
667
+ elm.style.removeProperty(prop);
668
+ } else {
669
+ elm.style[prop] = "";
670
+ }
671
+ }
672
+ }
673
+ }
674
+ for (const prop in newValue) {
675
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
676
+ if (prop.includes("-")) {
677
+ elm.style.setProperty(prop, newValue[prop]);
678
+ } else {
679
+ elm.style[prop] = newValue[prop];
680
+ }
681
+ }
682
+ }
683
+ } else if (memberName === "key") ; else if (memberName === "ref") {
684
+ if (newValue) {
685
+ newValue(elm);
686
+ }
687
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
688
+ if (memberName[2] === "-") {
689
+ memberName = memberName.slice(3);
690
+ } else if (isMemberInElement(win, ln)) {
691
+ memberName = ln.slice(2);
692
+ } else {
693
+ memberName = ln[2] + memberName.slice(3);
694
+ }
695
+ if (oldValue || newValue) {
696
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
697
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
698
+ if (oldValue) {
699
+ plt.rel(elm, memberName, oldValue, capture);
700
+ }
701
+ if (newValue) {
702
+ plt.ael(elm, memberName, newValue, capture);
703
+ }
704
+ }
705
+ } else {
706
+ const isComplex = isComplexType(newValue);
707
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
708
+ try {
709
+ if (!elm.tagName.includes("-")) {
710
+ const n = newValue == null ? "" : newValue;
711
+ if (memberName === "list") {
712
+ isProp = false;
713
+ } else if (oldValue == null || elm[memberName] != n) {
714
+ elm[memberName] = n;
715
+ }
716
+ } else {
717
+ elm[memberName] = newValue;
718
+ }
719
+ } catch (e) {
720
+ }
721
+ }
722
+ let xlink = false;
723
+ {
724
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
725
+ memberName = ln;
726
+ xlink = true;
727
+ }
728
+ }
729
+ if (newValue == null || newValue === false) {
730
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
731
+ if (xlink) {
732
+ elm.removeAttributeNS(XLINK_NS, memberName);
733
+ } else {
734
+ elm.removeAttribute(memberName);
735
+ }
736
+ }
737
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
738
+ newValue = newValue === true ? "" : newValue;
739
+ if (xlink) {
740
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
741
+ } else {
742
+ elm.setAttribute(memberName, newValue);
743
+ }
744
+ }
745
+ }
746
+ }
747
+ };
748
+ var parseClassListRegex = /\s/;
749
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
750
+ var CAPTURE_EVENT_SUFFIX = "Capture";
751
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
752
+
753
+ // src/runtime/vdom/update-element.ts
754
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
755
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
756
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
757
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
758
+ {
759
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
760
+ if (!(memberName in newVnodeAttrs)) {
761
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
762
+ }
763
+ }
764
+ }
765
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
766
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
767
+ }
768
+ };
769
+ function sortedAttrNames(attrNames) {
770
+ return attrNames.includes("ref") ? (
771
+ // we need to sort these to ensure that `'ref'` is the last attr
772
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
773
+ ) : (
774
+ // no need to sort, return the original array
775
+ attrNames
776
+ );
777
+ }
778
+
779
+ // src/runtime/vdom/vdom-render.ts
780
+ var scopeId;
781
+ var contentRef;
782
+ var hostTagName;
783
+ var useNativeShadowDom = false;
784
+ var checkSlotFallbackVisibility = false;
785
+ var checkSlotRelocate = false;
786
+ var isSvgMode = false;
787
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
788
+ var _a;
789
+ const newVNode2 = newParentVNode.$children$[childIndex];
790
+ let i2 = 0;
791
+ let elm;
792
+ let childNode;
793
+ let oldVNode;
794
+ if (!useNativeShadowDom) {
795
+ checkSlotRelocate = true;
796
+ if (newVNode2.$tag$ === "slot") {
797
+ if (scopeId) {
798
+ parentElm.classList.add(scopeId + "-s");
799
+ }
800
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
801
+ // slot element has fallback content
802
+ // still create an element that "mocks" the slot element
803
+ 2 /* isSlotFallback */
804
+ ) : (
805
+ // slot element does not have fallback content
806
+ // create an html comment we'll use to always reference
807
+ // where actual slot content should sit next to
808
+ 1 /* isSlotReference */
809
+ );
810
+ }
811
+ }
812
+ if (newVNode2.$text$ !== null) {
813
+ elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
814
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
815
+ elm = newVNode2.$elm$ = doc.createTextNode("");
816
+ } else {
817
+ if (!isSvgMode) {
818
+ isSvgMode = newVNode2.$tag$ === "svg";
819
+ }
820
+ elm = newVNode2.$elm$ = doc.createElementNS(
821
+ isSvgMode ? SVG_NS : HTML_NS,
822
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
823
+ ) ;
824
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
825
+ isSvgMode = false;
826
+ }
827
+ {
828
+ updateElement(null, newVNode2, isSvgMode);
829
+ }
830
+ const rootNode = elm.getRootNode();
831
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
832
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
833
+ elm.classList.add(elm["s-si"] = scopeId);
834
+ }
835
+ {
836
+ updateElementScopeIds(elm, parentElm);
837
+ }
838
+ if (newVNode2.$children$) {
839
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
840
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
841
+ if (childNode) {
842
+ elm.appendChild(childNode);
843
+ }
844
+ }
845
+ }
846
+ {
847
+ if (newVNode2.$tag$ === "svg") {
848
+ isSvgMode = false;
849
+ } else if (elm.tagName === "foreignObject") {
850
+ isSvgMode = true;
851
+ }
852
+ }
853
+ }
854
+ elm["s-hn"] = hostTagName;
855
+ {
856
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
857
+ elm["s-sr"] = true;
858
+ elm["s-cr"] = contentRef;
859
+ elm["s-sn"] = newVNode2.$name$ || "";
860
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
861
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
862
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
863
+ {
864
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
865
+ }
866
+ }
867
+ }
868
+ }
869
+ return elm;
870
+ };
871
+ var putBackInOriginalLocation = (parentElm, recursive) => {
872
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
873
+ const oldSlotChildNodes = Array.from(parentElm.childNodes);
874
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
875
+ let node = parentElm;
876
+ while (node = node.nextSibling) {
877
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
878
+ oldSlotChildNodes.push(node);
879
+ }
880
+ }
881
+ }
882
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
883
+ const childNode = oldSlotChildNodes[i2];
884
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
885
+ insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
886
+ childNode["s-ol"].remove();
887
+ childNode["s-ol"] = void 0;
888
+ childNode["s-sh"] = void 0;
889
+ checkSlotRelocate = true;
890
+ }
891
+ if (recursive) {
892
+ putBackInOriginalLocation(childNode, recursive);
893
+ }
894
+ }
895
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
896
+ };
897
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
898
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
899
+ let childNode;
900
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
901
+ containerElm = containerElm.shadowRoot;
902
+ }
903
+ for (; startIdx <= endIdx; ++startIdx) {
904
+ if (vnodes[startIdx]) {
905
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
906
+ if (childNode) {
907
+ vnodes[startIdx].$elm$ = childNode;
908
+ insertBefore(containerElm, childNode, referenceNode(before) );
909
+ }
910
+ }
911
+ }
912
+ };
913
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
914
+ for (let index = startIdx; index <= endIdx; ++index) {
915
+ const vnode = vnodes[index];
916
+ if (vnode) {
917
+ const elm = vnode.$elm$;
918
+ nullifyVNodeRefs(vnode);
919
+ if (elm) {
920
+ {
921
+ checkSlotFallbackVisibility = true;
922
+ if (elm["s-ol"]) {
923
+ elm["s-ol"].remove();
924
+ } else {
925
+ putBackInOriginalLocation(elm, true);
926
+ }
927
+ }
928
+ elm.remove();
929
+ }
930
+ }
931
+ }
932
+ };
933
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
934
+ let oldStartIdx = 0;
935
+ let newStartIdx = 0;
936
+ let idxInOld = 0;
937
+ let i2 = 0;
938
+ let oldEndIdx = oldCh.length - 1;
939
+ let oldStartVnode = oldCh[0];
940
+ let oldEndVnode = oldCh[oldEndIdx];
941
+ let newEndIdx = newCh.length - 1;
942
+ let newStartVnode = newCh[0];
943
+ let newEndVnode = newCh[newEndIdx];
944
+ let node;
945
+ let elmToMove;
946
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
947
+ if (oldStartVnode == null) {
948
+ oldStartVnode = oldCh[++oldStartIdx];
949
+ } else if (oldEndVnode == null) {
950
+ oldEndVnode = oldCh[--oldEndIdx];
951
+ } else if (newStartVnode == null) {
952
+ newStartVnode = newCh[++newStartIdx];
953
+ } else if (newEndVnode == null) {
954
+ newEndVnode = newCh[--newEndIdx];
955
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
956
+ patch(oldStartVnode, newStartVnode, isInitialRender);
957
+ oldStartVnode = oldCh[++oldStartIdx];
958
+ newStartVnode = newCh[++newStartIdx];
959
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
960
+ patch(oldEndVnode, newEndVnode, isInitialRender);
961
+ oldEndVnode = oldCh[--oldEndIdx];
962
+ newEndVnode = newCh[--newEndIdx];
963
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
964
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
965
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
966
+ }
967
+ patch(oldStartVnode, newEndVnode, isInitialRender);
968
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
969
+ oldStartVnode = oldCh[++oldStartIdx];
970
+ newEndVnode = newCh[--newEndIdx];
971
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
972
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
973
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
974
+ }
975
+ patch(oldEndVnode, newStartVnode, isInitialRender);
976
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
977
+ oldEndVnode = oldCh[--oldEndIdx];
978
+ newStartVnode = newCh[++newStartIdx];
979
+ } else {
980
+ idxInOld = -1;
981
+ {
982
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
983
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
984
+ idxInOld = i2;
985
+ break;
986
+ }
987
+ }
988
+ }
989
+ if (idxInOld >= 0) {
990
+ elmToMove = oldCh[idxInOld];
991
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
992
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
993
+ } else {
994
+ patch(elmToMove, newStartVnode, isInitialRender);
995
+ oldCh[idxInOld] = void 0;
996
+ node = elmToMove.$elm$;
997
+ }
998
+ newStartVnode = newCh[++newStartIdx];
999
+ } else {
1000
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
1001
+ newStartVnode = newCh[++newStartIdx];
1002
+ }
1003
+ if (node) {
1004
+ {
1005
+ insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ if (oldStartIdx > oldEndIdx) {
1011
+ addVnodes(
1012
+ parentElm,
1013
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1014
+ newVNode2,
1015
+ newCh,
1016
+ newStartIdx,
1017
+ newEndIdx
1018
+ );
1019
+ } else if (newStartIdx > newEndIdx) {
1020
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1021
+ }
1022
+ };
1023
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1024
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1025
+ if (leftVNode.$tag$ === "slot") {
1026
+ if (
1027
+ // The component gets hydrated and no VDOM has been initialized.
1028
+ // Here the comparison can't happen as $name$ property is not set for `leftNode`.
1029
+ "$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
1030
+ // hydration comments to be removed
1031
+ leftVNode.$elm$.nodeType !== 8
1032
+ ) {
1033
+ return false;
1034
+ }
1035
+ return leftVNode.$name$ === rightVNode.$name$;
1036
+ }
1037
+ if (!isInitialRender) {
1038
+ return leftVNode.$key$ === rightVNode.$key$;
1039
+ }
1040
+ return true;
1041
+ }
1042
+ return false;
1043
+ };
1044
+ var referenceNode = (node) => {
1045
+ return node && node["s-ol"] || node;
1046
+ };
1047
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
1048
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1049
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1050
+ const oldChildren = oldVNode.$children$;
1051
+ const newChildren = newVNode2.$children$;
1052
+ const tag = newVNode2.$tag$;
1053
+ const text = newVNode2.$text$;
1054
+ let defaultHolder;
1055
+ if (text === null) {
1056
+ {
1057
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1058
+ }
1059
+ {
1060
+ if (tag === "slot" && !useNativeShadowDom) ; else {
1061
+ updateElement(oldVNode, newVNode2, isSvgMode);
1062
+ }
1063
+ }
1064
+ if (oldChildren !== null && newChildren !== null) {
1065
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1066
+ } else if (newChildren !== null) {
1067
+ if (oldVNode.$text$ !== null) {
1068
+ elm.textContent = "";
1069
+ }
1070
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1071
+ } else if (
1072
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1073
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1074
+ ) {
1075
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1076
+ }
1077
+ if (isSvgMode && tag === "svg") {
1078
+ isSvgMode = false;
1079
+ }
1080
+ } else if ((defaultHolder = elm["s-cr"])) {
1081
+ defaultHolder.parentNode.textContent = text;
1082
+ } else if (oldVNode.$text$ !== text) {
1083
+ elm.data = text;
1084
+ }
1085
+ };
1086
+ var updateFallbackSlotVisibility = (elm) => {
1087
+ const childNodes = elm.childNodes;
1088
+ for (const childNode of childNodes) {
1089
+ if (childNode.nodeType === 1 /* ElementNode */) {
1090
+ if (childNode["s-sr"]) {
1091
+ const slotName = childNode["s-sn"];
1092
+ childNode.hidden = false;
1093
+ for (const siblingNode of childNodes) {
1094
+ if (siblingNode !== childNode) {
1095
+ if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
1096
+ if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
1097
+ childNode.hidden = true;
1098
+ break;
1099
+ }
1100
+ } else {
1101
+ if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
1102
+ childNode.hidden = true;
1103
+ break;
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ }
1109
+ updateFallbackSlotVisibility(childNode);
1110
+ }
1111
+ }
1112
+ };
1113
+ var relocateNodes = [];
1114
+ var markSlotContentForRelocation = (elm) => {
1115
+ let node;
1116
+ let hostContentNodes;
1117
+ let j;
1118
+ for (const childNode of elm.childNodes) {
1119
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1120
+ hostContentNodes = node.parentNode.childNodes;
1121
+ const slotName = childNode["s-sn"];
1122
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1123
+ node = hostContentNodes[j];
1124
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
1125
+ if (isNodeLocatedInSlot(node, slotName)) {
1126
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1127
+ checkSlotFallbackVisibility = true;
1128
+ node["s-sn"] = node["s-sn"] || slotName;
1129
+ if (relocateNodeData) {
1130
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1131
+ relocateNodeData.$slotRefNode$ = childNode;
1132
+ } else {
1133
+ node["s-sh"] = childNode["s-hn"];
1134
+ relocateNodes.push({
1135
+ $slotRefNode$: childNode,
1136
+ $nodeToRelocate$: node
1137
+ });
1138
+ }
1139
+ if (node["s-sr"]) {
1140
+ relocateNodes.map((relocateNode) => {
1141
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1142
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1143
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1144
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1145
+ }
1146
+ }
1147
+ });
1148
+ }
1149
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1150
+ relocateNodes.push({
1151
+ $nodeToRelocate$: node
1152
+ });
1153
+ }
1154
+ }
1155
+ }
1156
+ }
1157
+ if (childNode.nodeType === 1 /* ElementNode */) {
1158
+ markSlotContentForRelocation(childNode);
1159
+ }
1160
+ }
1161
+ };
1162
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
1163
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1164
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
1165
+ return true;
1166
+ }
1167
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
1168
+ return true;
1169
+ }
1170
+ return false;
1171
+ }
1172
+ if (nodeToRelocate["s-sn"] === slotName) {
1173
+ return true;
1174
+ }
1175
+ return slotName === "";
1176
+ };
1177
+ var nullifyVNodeRefs = (vNode) => {
1178
+ {
1179
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1180
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1181
+ }
1182
+ };
1183
+ var insertBefore = (parent, newNode, reference) => {
1184
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
1185
+ {
1186
+ updateElementScopeIds(newNode, parent);
1187
+ }
1188
+ return inserted;
1189
+ };
1190
+ var findScopeIds = (element) => {
1191
+ const scopeIds = [];
1192
+ if (element) {
1193
+ scopeIds.push(
1194
+ ...element["s-scs"] || [],
1195
+ element["s-si"],
1196
+ element["s-sc"],
1197
+ ...findScopeIds(element.parentElement)
1198
+ );
1199
+ }
1200
+ return scopeIds;
1201
+ };
1202
+ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
1203
+ var _a;
1204
+ if (element && parent && element.nodeType === 1 /* ElementNode */) {
1205
+ const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
1206
+ if (scopeIds.size) {
1207
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
1208
+ if (element["s-ol"] || iterateChildNodes) {
1209
+ for (const childNode of Array.from(element.childNodes)) {
1210
+ updateElementScopeIds(childNode, element, true);
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ };
1216
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1217
+ var _a, _b, _c, _d;
1218
+ const hostElm = hostRef.$hostElement$;
1219
+ const cmpMeta = hostRef.$cmpMeta$;
1220
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1221
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1222
+ hostTagName = hostElm.tagName;
1223
+ if (cmpMeta.$attrsToReflect$) {
1224
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1225
+ cmpMeta.$attrsToReflect$.map(
1226
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1227
+ );
1228
+ }
1229
+ if (isInitialLoad && rootVnode.$attrs$) {
1230
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1231
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1232
+ rootVnode.$attrs$[key] = hostElm[key];
1233
+ }
1234
+ }
1235
+ }
1236
+ rootVnode.$tag$ = null;
1237
+ rootVnode.$flags$ |= 4 /* isHost */;
1238
+ hostRef.$vnode$ = rootVnode;
1239
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1240
+ {
1241
+ scopeId = hostElm["s-sc"];
1242
+ }
1243
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1244
+ {
1245
+ contentRef = hostElm["s-cr"];
1246
+ checkSlotFallbackVisibility = false;
1247
+ }
1248
+ patch(oldVNode, rootVnode, isInitialLoad);
1249
+ {
1250
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1251
+ if (checkSlotRelocate) {
1252
+ markSlotContentForRelocation(rootVnode.$elm$);
1253
+ for (const relocateData of relocateNodes) {
1254
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1255
+ if (!nodeToRelocate["s-ol"]) {
1256
+ const orgLocationNode = doc.createTextNode("");
1257
+ orgLocationNode["s-nr"] = nodeToRelocate;
1258
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1259
+ }
1260
+ }
1261
+ for (const relocateData of relocateNodes) {
1262
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1263
+ const slotRefNode = relocateData.$slotRefNode$;
1264
+ if (slotRefNode) {
1265
+ const parentNodeRef = slotRefNode.parentNode;
1266
+ let insertBeforeNode = slotRefNode.nextSibling;
1267
+ {
1268
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1269
+ while (orgLocationNode) {
1270
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1271
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
1272
+ refNode = refNode.nextSibling;
1273
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1274
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1275
+ }
1276
+ if (!refNode || !refNode["s-nr"]) {
1277
+ insertBeforeNode = refNode;
1278
+ break;
1279
+ }
1280
+ }
1281
+ orgLocationNode = orgLocationNode.previousSibling;
1282
+ }
1283
+ }
1284
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
1285
+ if (nodeToRelocate !== insertBeforeNode) {
1286
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1287
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1288
+ }
1289
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1290
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1291
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1292
+ }
1293
+ }
1294
+ }
1295
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](nodeToRelocate);
1296
+ } else {
1297
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1298
+ if (isInitialLoad) {
1299
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1300
+ }
1301
+ nodeToRelocate.hidden = true;
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ if (checkSlotFallbackVisibility) {
1307
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1308
+ }
1309
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1310
+ relocateNodes.length = 0;
1311
+ }
1312
+ contentRef = void 0;
1313
+ };
1314
+
1315
+ // src/runtime/update-component.ts
1316
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1317
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1318
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1319
+ }
1320
+ };
1321
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1322
+ {
1323
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1324
+ }
1325
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1326
+ hostRef.$flags$ |= 512 /* needsRerender */;
1327
+ return;
1328
+ }
1329
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1330
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1331
+ return writeTask(dispatch) ;
1332
+ };
1333
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1334
+ const elm = hostRef.$hostElement$;
1335
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1336
+ const instance = hostRef.$lazyInstance$ ;
1337
+ if (!instance) {
1338
+ throw new Error(
1339
+ `Can't render component <${elm.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`
1340
+ );
1341
+ }
1342
+ let maybePromise;
1343
+ if (isInitialLoad) {
1344
+ {
1345
+ hostRef.$flags$ |= 256 /* isListenReady */;
1346
+ if (hostRef.$queuedListeners$) {
1347
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1348
+ hostRef.$queuedListeners$ = void 0;
1349
+ }
1350
+ }
1351
+ {
1352
+ maybePromise = safeCall(instance, "componentWillLoad");
1353
+ }
1354
+ }
1355
+ {
1356
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
1357
+ }
1358
+ endSchedule();
1359
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1360
+ };
1361
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1362
+ console.error(err2);
1363
+ fn();
1364
+ }) : fn();
1365
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1366
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1367
+ var _a;
1368
+ const elm = hostRef.$hostElement$;
1369
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1370
+ const rc = elm["s-rc"];
1371
+ if (isInitialLoad) {
1372
+ attachStyles(hostRef);
1373
+ }
1374
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1375
+ {
1376
+ callRender(hostRef, instance, elm, isInitialLoad);
1377
+ }
1378
+ if (rc) {
1379
+ rc.map((cb) => cb());
1380
+ elm["s-rc"] = void 0;
1381
+ }
1382
+ endRender();
1383
+ endUpdate();
1384
+ {
1385
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1386
+ const postUpdate = () => postUpdateComponent(hostRef);
1387
+ if (childrenPromises.length === 0) {
1388
+ postUpdate();
1389
+ } else {
1390
+ Promise.all(childrenPromises).then(postUpdate);
1391
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1392
+ childrenPromises.length = 0;
1393
+ }
1394
+ }
1395
+ };
1396
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1397
+ try {
1398
+ instance = instance.render() ;
1399
+ {
1400
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1401
+ }
1402
+ {
1403
+ hostRef.$flags$ |= 2 /* hasRendered */;
1404
+ }
1405
+ {
1406
+ {
1407
+ {
1408
+ renderVdom(hostRef, instance, isInitialLoad);
1409
+ }
1410
+ }
1411
+ }
1412
+ } catch (e) {
1413
+ consoleError(e, hostRef.$hostElement$);
1414
+ }
1415
+ return null;
1416
+ };
1417
+ var postUpdateComponent = (hostRef) => {
1418
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1419
+ const elm = hostRef.$hostElement$;
1420
+ const endPostUpdate = createTime("postUpdate", tagName);
1421
+ const instance = hostRef.$lazyInstance$ ;
1422
+ const ancestorComponent = hostRef.$ancestorComponent$;
1423
+ {
1424
+ safeCall(instance, "componentDidRender");
1425
+ }
1426
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1427
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1428
+ {
1429
+ addHydratedFlag(elm);
1430
+ }
1431
+ {
1432
+ safeCall(instance, "componentDidLoad");
1433
+ }
1434
+ endPostUpdate();
1435
+ {
1436
+ hostRef.$onReadyResolve$(elm);
1437
+ if (!ancestorComponent) {
1438
+ appDidLoad();
1439
+ }
1440
+ }
1441
+ } else {
1442
+ {
1443
+ safeCall(instance, "componentDidUpdate");
1444
+ }
1445
+ endPostUpdate();
1446
+ }
1447
+ {
1448
+ hostRef.$onInstanceResolve$(elm);
1449
+ }
1450
+ {
1451
+ if (hostRef.$onRenderResolve$) {
1452
+ hostRef.$onRenderResolve$();
1453
+ hostRef.$onRenderResolve$ = void 0;
1454
+ }
1455
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1456
+ nextTick(() => scheduleUpdate(hostRef, false));
1457
+ }
1458
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1459
+ }
1460
+ };
1461
+ var appDidLoad = (who) => {
1462
+ {
1463
+ addHydratedFlag(doc.documentElement);
1464
+ }
1465
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1466
+ };
1467
+ var safeCall = (instance, method, arg) => {
1468
+ if (instance && instance[method]) {
1469
+ try {
1470
+ return instance[method](arg);
1471
+ } catch (e) {
1472
+ consoleError(e);
1473
+ }
1474
+ }
1475
+ return void 0;
1476
+ };
1477
+ var addHydratedFlag = (elm) => {
1478
+ var _a;
1479
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1480
+ };
1481
+
1482
+ // src/runtime/set-value.ts
1483
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1484
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1485
+ const hostRef = getHostRef(ref);
1486
+ if (!hostRef) {
1487
+ throw new Error(
1488
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
1489
+ );
1490
+ }
1491
+ const elm = hostRef.$hostElement$ ;
1492
+ const oldVal = hostRef.$instanceValues$.get(propName);
1493
+ const flags = hostRef.$flags$;
1494
+ const instance = hostRef.$lazyInstance$ ;
1495
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1496
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1497
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1498
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1499
+ hostRef.$instanceValues$.set(propName, newVal);
1500
+ if (instance) {
1501
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1502
+ const watchMethods = cmpMeta.$watchers$[propName];
1503
+ if (watchMethods) {
1504
+ watchMethods.map((watchMethodName) => {
1505
+ try {
1506
+ instance[watchMethodName](newVal, oldVal, propName);
1507
+ } catch (e) {
1508
+ consoleError(e, elm);
1509
+ }
1510
+ });
1511
+ }
1512
+ }
1513
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1514
+ scheduleUpdate(hostRef, false);
1515
+ }
1516
+ }
1517
+ }
1518
+ };
1519
+
1520
+ // src/runtime/proxy-component.ts
1521
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1522
+ var _a, _b;
1523
+ const prototype = Cstr.prototype;
1524
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1525
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1526
+ cmpMeta.$watchers$ = Cstr.watchers;
1527
+ }
1528
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1529
+ members.map(([memberName, [memberFlags]]) => {
1530
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1531
+ Object.defineProperty(prototype, memberName, {
1532
+ get() {
1533
+ return getValue(this, memberName);
1534
+ },
1535
+ set(newValue) {
1536
+ setValue(this, memberName, newValue, cmpMeta);
1537
+ },
1538
+ configurable: true,
1539
+ enumerable: true
1540
+ });
1541
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1542
+ Object.defineProperty(prototype, memberName, {
1543
+ value(...args) {
1544
+ var _a2;
1545
+ const ref = getHostRef(this);
1546
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1547
+ var _a3;
1548
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1549
+ });
1550
+ }
1551
+ });
1552
+ }
1553
+ });
1554
+ if ((flags & 1 /* isElementConstructor */)) {
1555
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1556
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1557
+ plt.jmp(() => {
1558
+ var _a2;
1559
+ const propName = attrNameToPropName.get(attrName);
1560
+ if (this.hasOwnProperty(propName)) {
1561
+ newValue = this[propName];
1562
+ delete this[propName];
1563
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1564
+ this[propName] == newValue) {
1565
+ return;
1566
+ } else if (propName == null) {
1567
+ const hostRef = getHostRef(this);
1568
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1569
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1570
+ const instance = hostRef.$lazyInstance$ ;
1571
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1572
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1573
+ if (instance[callbackName] != null) {
1574
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1575
+ }
1576
+ });
1577
+ }
1578
+ return;
1579
+ }
1580
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1581
+ });
1582
+ };
1583
+ Cstr.observedAttributes = Array.from(
1584
+ /* @__PURE__ */ new Set([
1585
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1586
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1587
+ var _a2;
1588
+ const attrName = m[1] || propName;
1589
+ attrNameToPropName.set(attrName, propName);
1590
+ if (m[0] & 512 /* ReflectAttr */) {
1591
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1592
+ }
1593
+ return attrName;
1594
+ })
1595
+ ])
1596
+ );
1597
+ }
1598
+ }
1599
+ return Cstr;
1600
+ };
1601
+
1602
+ // src/runtime/initialize-component.ts
1603
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1604
+ let Cstr;
1605
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1606
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1607
+ const bundleId = cmpMeta.$lazyBundleId$;
1608
+ if (bundleId) {
1609
+ const CstrImport = loadModule(cmpMeta);
1610
+ if (CstrImport && "then" in CstrImport) {
1611
+ const endLoad = uniqueTime();
1612
+ Cstr = await CstrImport;
1613
+ endLoad();
1614
+ } else {
1615
+ Cstr = CstrImport;
1616
+ }
1617
+ if (!Cstr) {
1618
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1619
+ }
1620
+ if (!Cstr.isProxied) {
1621
+ {
1622
+ cmpMeta.$watchers$ = Cstr.watchers;
1623
+ }
1624
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1625
+ Cstr.isProxied = true;
1626
+ }
1627
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1628
+ {
1629
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1630
+ }
1631
+ try {
1632
+ new Cstr(hostRef);
1633
+ } catch (e) {
1634
+ consoleError(e);
1635
+ }
1636
+ {
1637
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1638
+ }
1639
+ {
1640
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1641
+ }
1642
+ endNewInstance();
1643
+ fireConnectedCallback(hostRef.$lazyInstance$);
1644
+ } else {
1645
+ Cstr = elm.constructor;
1646
+ const cmpTag = elm.localName;
1647
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1648
+ }
1649
+ if (Cstr && Cstr.style) {
1650
+ let style;
1651
+ if (typeof Cstr.style === "string") {
1652
+ style = Cstr.style;
1653
+ }
1654
+ const scopeId2 = getScopeId(cmpMeta);
1655
+ if (!styles.has(scopeId2)) {
1656
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1657
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1658
+ endRegisterStyles();
1659
+ }
1660
+ }
1661
+ }
1662
+ const ancestorComponent = hostRef.$ancestorComponent$;
1663
+ const schedule = () => scheduleUpdate(hostRef, true);
1664
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1665
+ ancestorComponent["s-rc"].push(schedule);
1666
+ } else {
1667
+ schedule();
1668
+ }
1669
+ };
1670
+ var fireConnectedCallback = (instance) => {
1671
+ {
1672
+ safeCall(instance, "connectedCallback");
1673
+ }
1674
+ };
1675
+
1676
+ // src/runtime/connected-callback.ts
1677
+ var connectedCallback = (elm) => {
1678
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1679
+ const hostRef = getHostRef(elm);
1680
+ const cmpMeta = hostRef.$cmpMeta$;
1681
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1682
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1683
+ hostRef.$flags$ |= 1 /* hasConnected */;
1684
+ let hostId;
1685
+ {
1686
+ hostId = elm.getAttribute(HYDRATE_ID);
1687
+ if (hostId) {
1688
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1689
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
1690
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1691
+ }
1692
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1693
+ }
1694
+ }
1695
+ if (!hostId) {
1696
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1697
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1698
+ setContentReference(elm);
1699
+ }
1700
+ }
1701
+ {
1702
+ let ancestorComponent = elm;
1703
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1704
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1705
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1706
+ break;
1707
+ }
1708
+ }
1709
+ }
1710
+ if (cmpMeta.$members$) {
1711
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1712
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1713
+ const value = elm[memberName];
1714
+ delete elm[memberName];
1715
+ elm[memberName] = value;
1716
+ }
1717
+ });
1718
+ }
1719
+ {
1720
+ initializeComponent(elm, hostRef, cmpMeta);
1721
+ }
1722
+ } else {
1723
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1724
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1725
+ fireConnectedCallback(hostRef.$lazyInstance$);
1726
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1727
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1728
+ }
1729
+ }
1730
+ endConnected();
1731
+ }
1732
+ };
1733
+ var setContentReference = (elm) => {
1734
+ const contentRefElm = elm["s-cr"] = doc.createComment(
1735
+ ""
1736
+ );
1737
+ contentRefElm["s-cn"] = true;
1738
+ insertBefore(elm, contentRefElm, elm.firstChild);
1739
+ };
1740
+ var disconnectInstance = (instance) => {
1741
+ {
1742
+ safeCall(instance, "disconnectedCallback");
1743
+ }
1744
+ };
1745
+ var disconnectedCallback = async (elm) => {
1746
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1747
+ const hostRef = getHostRef(elm);
1748
+ {
1749
+ if (hostRef.$rmListeners$) {
1750
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1751
+ hostRef.$rmListeners$ = void 0;
1752
+ }
1753
+ }
1754
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1755
+ disconnectInstance(hostRef.$lazyInstance$);
1756
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1757
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1758
+ }
1759
+ }
1760
+ };
1761
+
1762
+ // src/runtime/bootstrap-lazy.ts
1763
+ var bootstrapLazy = (lazyBundles, options = {}) => {
1764
+ var _a;
1765
+ const endBootstrap = createTime();
1766
+ const cmpTags = [];
1767
+ const exclude = options.exclude || [];
1768
+ const customElements2 = win.customElements;
1769
+ const head = doc.head;
1770
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1771
+ const dataStyles = /* @__PURE__ */ doc.createElement("style");
1772
+ const deferredConnectedCallbacks = [];
1773
+ let appLoadFallback;
1774
+ let isBootstrapping = true;
1775
+ Object.assign(plt, options);
1776
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1777
+ {
1778
+ plt.$flags$ |= 2 /* appLoaded */;
1779
+ }
1780
+ let hasSlotRelocation = false;
1781
+ lazyBundles.map((lazyBundle) => {
1782
+ lazyBundle[1].map((compactMeta) => {
1783
+ var _a2;
1784
+ const cmpMeta = {
1785
+ $flags$: compactMeta[0],
1786
+ $tagName$: compactMeta[1],
1787
+ $members$: compactMeta[2],
1788
+ $listeners$: compactMeta[3]
1789
+ };
1790
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1791
+ hasSlotRelocation = true;
1792
+ }
1793
+ {
1794
+ cmpMeta.$members$ = compactMeta[2];
1795
+ }
1796
+ {
1797
+ cmpMeta.$listeners$ = compactMeta[3];
1798
+ }
1799
+ {
1800
+ cmpMeta.$attrsToReflect$ = [];
1801
+ }
1802
+ {
1803
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1804
+ }
1805
+ const tagName = cmpMeta.$tagName$;
1806
+ const HostElement = class extends HTMLElement {
1807
+ // StencilLazyHost
1808
+ constructor(self) {
1809
+ super(self);
1810
+ this.hasRegisteredEventListeners = false;
1811
+ self = this;
1812
+ registerHost(self, cmpMeta);
1813
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1814
+ {
1815
+ if (!self.shadowRoot) {
1816
+ {
1817
+ self.attachShadow({ mode: "open" });
1818
+ }
1819
+ } else {
1820
+ if (self.shadowRoot.mode !== "open") {
1821
+ throw new Error(
1822
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
1823
+ );
1824
+ }
1825
+ }
1826
+ }
1827
+ }
1828
+ }
1829
+ connectedCallback() {
1830
+ const hostRef = getHostRef(this);
1831
+ if (!this.hasRegisteredEventListeners) {
1832
+ this.hasRegisteredEventListeners = true;
1833
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1834
+ }
1835
+ if (appLoadFallback) {
1836
+ clearTimeout(appLoadFallback);
1837
+ appLoadFallback = null;
1838
+ }
1839
+ if (isBootstrapping) {
1840
+ deferredConnectedCallbacks.push(this);
1841
+ } else {
1842
+ plt.jmp(() => connectedCallback(this));
1843
+ }
1844
+ }
1845
+ disconnectedCallback() {
1846
+ plt.jmp(() => disconnectedCallback(this));
1847
+ }
1848
+ componentOnReady() {
1849
+ return getHostRef(this).$onReadyPromise$;
1850
+ }
1851
+ };
1852
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1853
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
1854
+ cmpTags.push(tagName);
1855
+ customElements2.define(
1856
+ tagName,
1857
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
1858
+ );
1859
+ }
1860
+ });
1861
+ });
1862
+ if (cmpTags.length > 0) {
1863
+ if (hasSlotRelocation) {
1864
+ dataStyles.textContent += SLOT_FB_CSS;
1865
+ }
1866
+ {
1867
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1868
+ }
1869
+ if (dataStyles.innerHTML.length) {
1870
+ dataStyles.setAttribute("data-styles", "");
1871
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1872
+ if (nonce != null) {
1873
+ dataStyles.setAttribute("nonce", nonce);
1874
+ }
1875
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1876
+ }
1877
+ }
1878
+ isBootstrapping = false;
1879
+ if (deferredConnectedCallbacks.length) {
1880
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1881
+ } else {
1882
+ {
1883
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
1884
+ }
1885
+ }
1886
+ endBootstrap();
1887
+ };
1888
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1889
+ if (listeners) {
1890
+ listeners.map(([flags, name, method]) => {
1891
+ const target = getHostListenerTarget(elm, flags) ;
1892
+ const handler = hostListenerProxy(hostRef, method);
1893
+ const opts = hostListenerOpts(flags);
1894
+ plt.ael(target, name, handler, opts);
1895
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1896
+ });
1897
+ }
1898
+ };
1899
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1900
+ var _a;
1901
+ try {
1902
+ {
1903
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
1904
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
1905
+ } else {
1906
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1907
+ }
1908
+ }
1909
+ } catch (e) {
1910
+ consoleError(e);
1911
+ }
1912
+ };
1913
+ var getHostListenerTarget = (elm, flags) => {
1914
+ if (flags & 16 /* TargetBody */) return doc.body;
1915
+ return elm;
1916
+ };
1917
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1918
+ passive: (flags & 1 /* Passive */) !== 0,
1919
+ capture: (flags & 2 /* Capture */) !== 0
1920
+ } : (flags & 2 /* Capture */) !== 0;
1921
+
1922
+ // src/runtime/nonce.ts
1923
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1924
+
1925
+ export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1926
+
1927
+ //# sourceMappingURL=index-2a33b470.js.map