@affinda/wc 0.4.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (518) hide show
  1. package/dist/affinda/af-input.entry.esm.js.map +1 -1
  2. package/dist/affinda/af-textarea.entry.esm.js.map +1 -1
  3. package/dist/affinda/affinda.esm.js +1 -1
  4. package/dist/affinda/index.esm.js +1 -1
  5. package/dist/affinda/{p-6de54e73.entry.js → p-01b848e9.entry.js} +2 -2
  6. package/dist/affinda/{p-369dfdd8.entry.js → p-0c4a59b3.entry.js} +2 -2
  7. package/dist/affinda/{p-5885ebd3.entry.js → p-0c7d81d0.entry.js} +2 -2
  8. package/dist/affinda/{p-4f731d31.entry.js → p-0cbb1cb2.entry.js} +2 -2
  9. package/dist/affinda/p-11d41c9a.entry.js +2 -0
  10. package/dist/affinda/{p-d40f8d18.entry.js → p-1554f3d7.entry.js} +2 -2
  11. package/dist/affinda/p-160997b3.entry.js +2 -0
  12. package/dist/affinda/{p-0254b263.entry.js.map → p-160997b3.entry.js.map} +1 -1
  13. package/dist/affinda/p-1c19e94c.entry.js +2 -0
  14. package/dist/affinda/{p-3b429a16.entry.js → p-1c922fff.entry.js} +2 -2
  15. package/dist/affinda/{p-4f15b8f0.entry.js → p-1e59a051.entry.js} +2 -2
  16. package/dist/affinda/{p-7eb0875d.entry.js → p-20faf28d.entry.js} +2 -2
  17. package/dist/affinda/{p-cebfc8a9.entry.js → p-223b2e70.entry.js} +2 -2
  18. package/dist/affinda/{p-a70ce66f.entry.js → p-2315cb6b.entry.js} +2 -2
  19. package/dist/affinda/{p-42c4d7b1.entry.js → p-2716cdc4.entry.js} +2 -2
  20. package/dist/affinda/{p-b13c1438.entry.js → p-296a6ece.entry.js} +2 -2
  21. package/dist/affinda/{p-09e202d1.entry.js → p-2e67fb0d.entry.js} +2 -2
  22. package/dist/affinda/{p-3cd4edd0.entry.js → p-319b51c7.entry.js} +2 -2
  23. package/dist/affinda/{p-8a2cbcf0.entry.js → p-31d96ddc.entry.js} +2 -2
  24. package/dist/affinda/{p-9dfb5fab.entry.js → p-39a40e6a.entry.js} +2 -2
  25. package/dist/affinda/{p-02427605.entry.js → p-3df90209.entry.js} +2 -2
  26. package/dist/affinda/p-3ed2eb32.entry.js +2 -0
  27. package/dist/affinda/{p-d0fdef08.entry.js.map → p-3ed2eb32.entry.js.map} +1 -1
  28. package/dist/affinda/{p-dd933272.entry.js → p-3fb33478.entry.js} +2 -2
  29. package/dist/affinda/{p-43a0286a.entry.js → p-47d2f72b.entry.js} +2 -2
  30. package/dist/affinda/{p-a35ab849.entry.js → p-5e966aa6.entry.js} +2 -2
  31. package/dist/affinda/p-5fdb4aad.entry.js +2 -0
  32. package/dist/affinda/{p-7faa3fb9.entry.js.map → p-5fdb4aad.entry.js.map} +1 -1
  33. package/dist/affinda/{p-d275fb5d.entry.js → p-604399ed.entry.js} +2 -2
  34. package/dist/affinda/p-6525d4fe.entry.js +2 -0
  35. package/dist/affinda/p-6525d4fe.entry.js.map +1 -0
  36. package/dist/affinda/{p-17c2999b.entry.js → p-653bca57.entry.js} +2 -2
  37. package/dist/affinda/{p-5e01b103.entry.js → p-6c4137dc.entry.js} +2 -2
  38. package/dist/affinda/{p-b82fc7f1.entry.js → p-761f06ae.entry.js} +2 -2
  39. package/dist/affinda/{p-6949fbdf.entry.js → p-764601e6.entry.js} +2 -2
  40. package/dist/affinda/{p-b2a41a48.entry.js → p-765883e7.entry.js} +2 -2
  41. package/dist/affinda/{p-4f422489.entry.js → p-7b60b684.entry.js} +2 -2
  42. package/dist/affinda/p-805148d0.entry.js +2 -0
  43. package/dist/affinda/{p-1aa795c7.entry.js → p-8eb57e35.entry.js} +2 -2
  44. package/dist/affinda/{p-606159d2.entry.js → p-90e9e29c.entry.js} +2 -2
  45. package/dist/affinda/{p-08a42935.entry.js → p-92c61bad.entry.js} +2 -2
  46. package/dist/affinda/{p-646b73fb.entry.js → p-94119fa2.entry.js} +2 -2
  47. package/dist/affinda/{p-1efa4787.entry.js → p-99b37588.entry.js} +2 -2
  48. package/dist/affinda/{p-8eb60b77.entry.js → p-9c470a88.entry.js} +2 -2
  49. package/dist/affinda/{p-6898d4bd.entry.js → p-9c8d18a3.entry.js} +2 -2
  50. package/dist/affinda/{p-42c69bc9.entry.js → p-9d85f685.entry.js} +2 -2
  51. package/dist/affinda/p-CYq0zyKH.js +3 -0
  52. package/dist/affinda/p-CYq0zyKH.js.map +1 -0
  53. package/dist/affinda/{p-15eac0d5.entry.js → p-aa0cb70d.entry.js} +2 -2
  54. package/dist/affinda/{p-c0f71971.entry.js → p-aabe4d24.entry.js} +2 -2
  55. package/dist/affinda/{p-d12d33c8.entry.js → p-ae27e9da.entry.js} +2 -2
  56. package/dist/affinda/{p-73de3aa7.entry.js → p-bc3d2bb4.entry.js} +2 -2
  57. package/dist/affinda/{p-7640c285.entry.js → p-bc59dc0e.entry.js} +2 -2
  58. package/dist/affinda/{p-c2c16447.entry.js → p-be71688c.entry.js} +2 -2
  59. package/dist/affinda/{p-d34da6c0.entry.js → p-c6aa66f3.entry.js} +2 -2
  60. package/dist/affinda/p-c87e5b29.entry.js +2 -0
  61. package/dist/affinda/p-cd8cfa7f.entry.js +2 -0
  62. package/dist/affinda/p-cd8cfa7f.entry.js.map +1 -0
  63. package/dist/affinda/p-da247ea4.entry.js +2 -0
  64. package/dist/affinda/{p-78941fec.entry.js.map → p-da247ea4.entry.js.map} +1 -1
  65. package/dist/affinda/{p-d9ff321b.entry.js → p-dd30a9b8.entry.js} +2 -2
  66. package/dist/affinda/{p-df6c7170.entry.js → p-e10c03b6.entry.js} +2 -2
  67. package/dist/affinda/{p-f5b4923f.entry.js → p-e2667603.entry.js} +2 -2
  68. package/dist/affinda/{p-8fe10b18.entry.js → p-e678100f.entry.js} +2 -2
  69. package/dist/affinda/{p-aa9c2609.entry.js → p-e8a91b15.entry.js} +2 -2
  70. package/dist/affinda/{p-db7eb209.entry.js → p-e9527b93.entry.js} +2 -2
  71. package/dist/affinda/{p-3a7afe33.entry.js → p-eb611fb5.entry.js} +2 -2
  72. package/dist/affinda/{p-bdb3e590.entry.js → p-edb426e6.entry.js} +2 -2
  73. package/dist/affinda/{p-a326d8f6.entry.js → p-f38688c6.entry.js} +2 -2
  74. package/dist/affinda/{p-b69bce30.entry.js → p-f47d0d2d.entry.js} +2 -2
  75. package/dist/affinda/p-f49b41f9.entry.js +2 -0
  76. package/dist/affinda/{p-4ff626de.entry.js → p-f6e1750e.entry.js} +2 -2
  77. package/dist/affinda/{p-62eb01fa.entry.js → p-fad2d40b.entry.js} +2 -2
  78. package/dist/affinda/{p-bc1088a7.entry.js → p-fc19f53c.entry.js} +2 -2
  79. package/dist/affinda/p-fd39a1c2.entry.js +2 -0
  80. package/dist/affinda/{p-4ccc3147.entry.js → p-fe09a283.entry.js} +2 -2
  81. package/dist/affinda/{p-91b71a8f.entry.js → p-fee9359c.entry.js} +2 -2
  82. package/dist/cjs/af-accordion-item.cjs.entry.js +2 -2
  83. package/dist/cjs/af-accordion.cjs.entry.js +2 -2
  84. package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
  85. package/dist/cjs/af-button-group.cjs.entry.js +1 -1
  86. package/dist/cjs/af-button.cjs.entry.js +1 -1
  87. package/dist/cjs/af-card.cjs.entry.js +2 -2
  88. package/dist/cjs/af-center.cjs.entry.js +2 -2
  89. package/dist/cjs/af-checkbox.cjs.entry.js +1 -1
  90. package/dist/cjs/af-client-carousel.cjs.entry.js +2 -2
  91. package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
  92. package/dist/cjs/af-contact-item.cjs.entry.js +2 -2
  93. package/dist/cjs/af-container.cjs.entry.js +1 -1
  94. package/dist/cjs/af-divider.cjs.entry.js +2 -2
  95. package/dist/cjs/af-feature-accordion.cjs.entry.js +3 -3
  96. package/dist/cjs/af-feature-card.cjs.entry.js +1 -1
  97. package/dist/cjs/af-feature-grid.cjs.entry.js +2 -2
  98. package/dist/cjs/af-fieldset.cjs.entry.js +1 -1
  99. package/dist/cjs/af-footer-column.cjs.entry.js +2 -2
  100. package/dist/cjs/af-footer-link.cjs.entry.js +2 -2
  101. package/dist/cjs/af-footer.cjs.entry.js +2 -2
  102. package/dist/cjs/af-grid-callout.cjs.entry.js +1 -1
  103. package/dist/cjs/af-grid.cjs.entry.js +3 -3
  104. package/dist/cjs/af-heading_5.cjs.entry.js +1 -1
  105. package/dist/cjs/af-hero.cjs.entry.js +3 -3
  106. package/dist/cjs/af-icon-box.cjs.entry.js +2 -2
  107. package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
  108. package/dist/cjs/af-icon-text.cjs.entry.js +2 -2
  109. package/dist/cjs/af-icon.cjs.entry.js +1 -1
  110. package/dist/cjs/af-illustrated-card.cjs.entry.js +2 -2
  111. package/dist/cjs/af-image.cjs.entry.js +2 -2
  112. package/dist/cjs/af-in-page-banner.cjs.entry.js +2 -2
  113. package/dist/cjs/af-inline.cjs.entry.js +2 -2
  114. package/dist/cjs/af-input.cjs.entry.js +24 -6
  115. package/dist/cjs/af-input.entry.cjs.js.map +1 -1
  116. package/dist/cjs/af-logo-well.cjs.entry.js +2 -2
  117. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +3 -3
  118. package/dist/cjs/af-nav-accordion.cjs.entry.js +2 -2
  119. package/dist/cjs/af-nav-card.cjs.entry.js +1 -1
  120. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +2 -2
  121. package/dist/cjs/af-nav-menu.cjs.entry.js +2 -2
  122. package/dist/cjs/af-number-badge.cjs.entry.js +2 -2
  123. package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +2 -2
  124. package/dist/cjs/af-numbered-stepper.cjs.entry.js +2 -2
  125. package/dist/cjs/af-paperclip-decoration.cjs.entry.js +2 -2
  126. package/dist/cjs/af-progress-line.cjs.entry.js +3 -3
  127. package/dist/cjs/af-radio.cjs.entry.js +1 -1
  128. package/dist/cjs/af-section.cjs.entry.js +3 -3
  129. package/dist/cjs/af-show.cjs.entry.js +2 -2
  130. package/dist/cjs/af-social-link.cjs.entry.js +2 -2
  131. package/dist/cjs/af-spacer.cjs.entry.js +2 -2
  132. package/dist/cjs/af-split-section.cjs.entry.js +3 -3
  133. package/dist/cjs/af-stack.cjs.entry.js +2 -2
  134. package/dist/cjs/af-stat.cjs.entry.js +2 -2
  135. package/dist/cjs/af-stats-row.cjs.entry.js +2 -2
  136. package/dist/cjs/af-stepper-step.cjs.entry.js +2 -2
  137. package/dist/cjs/af-stepper.cjs.entry.js +2 -2
  138. package/dist/cjs/af-switch.cjs.entry.js +1 -1
  139. package/dist/cjs/af-tab-bar.cjs.entry.js +2 -2
  140. package/dist/cjs/af-tab.cjs.entry.js +2 -2
  141. package/dist/cjs/af-tag.cjs.entry.js +3 -3
  142. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +2 -2
  143. package/dist/cjs/af-testimonial-stat.cjs.entry.js +2 -2
  144. package/dist/cjs/af-testimonial.cjs.entry.js +3 -3
  145. package/dist/cjs/af-text-image-nest.cjs.entry.js +2 -2
  146. package/dist/cjs/af-text-image.cjs.entry.js +1 -1
  147. package/dist/cjs/af-textarea.cjs.entry.js +15 -2
  148. package/dist/cjs/af-textarea.entry.cjs.js.map +1 -1
  149. package/dist/cjs/af-theme-override.cjs.entry.js +2 -2
  150. package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
  151. package/dist/cjs/af-video-container.cjs.entry.js +2 -2
  152. package/dist/cjs/af-visually-hidden.cjs.entry.js +2 -2
  153. package/dist/cjs/affinda.cjs.js +2 -2
  154. package/dist/cjs/{index-3161MbMQ.js → index-BuJz1C1M.js} +647 -9
  155. package/dist/cjs/index-BuJz1C1M.js.map +1 -0
  156. package/dist/cjs/index.cjs.js +1 -1
  157. package/dist/cjs/loader.cjs.js +2 -2
  158. package/dist/collection/components/af-accordion/af-accordion.js +1 -1
  159. package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -1
  160. package/dist/collection/components/af-card/af-card.js +1 -1
  161. package/dist/collection/components/af-center/af-center.js +1 -1
  162. package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -1
  163. package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
  164. package/dist/collection/components/af-divider/af-divider.js +1 -1
  165. package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
  166. package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
  167. package/dist/collection/components/af-footer/af-footer.js +1 -1
  168. package/dist/collection/components/af-footer-column/af-footer-column.js +1 -1
  169. package/dist/collection/components/af-footer-link/af-footer-link.js +1 -1
  170. package/dist/collection/components/af-grid/af-grid.js +2 -2
  171. package/dist/collection/components/af-hero/af-hero.js +2 -2
  172. package/dist/collection/components/af-icon-box/af-icon-box.js +1 -1
  173. package/dist/collection/components/af-icon-text/af-icon-text.js +1 -1
  174. package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +1 -1
  175. package/dist/collection/components/af-image/af-image.js +1 -1
  176. package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -1
  177. package/dist/collection/components/af-inline/af-inline.js +1 -1
  178. package/dist/collection/components/af-input/af-input.css +42 -0
  179. package/dist/collection/components/af-input/af-input.js +88 -10
  180. package/dist/collection/components/af-input/af-input.js.map +1 -1
  181. package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
  182. package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -1
  183. package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -2
  184. package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -1
  185. package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
  186. package/dist/collection/components/af-number-badge/af-number-badge.js +1 -1
  187. package/dist/collection/components/af-numbered-stepper/af-numbered-stepper.js +1 -1
  188. package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.js +1 -1
  189. package/dist/collection/components/af-paperclip-decoration/af-paperclip-decoration.js +1 -1
  190. package/dist/collection/components/af-progress-line/af-progress-line.js +2 -2
  191. package/dist/collection/components/af-section/af-section.js +2 -2
  192. package/dist/collection/components/af-show/af-show.js +1 -1
  193. package/dist/collection/components/af-social-link/af-social-link.js +1 -1
  194. package/dist/collection/components/af-spacer/af-spacer.js +1 -1
  195. package/dist/collection/components/af-split-section/af-split-section.js +2 -2
  196. package/dist/collection/components/af-stack/af-stack.js +1 -1
  197. package/dist/collection/components/af-stat/af-stat.js +1 -1
  198. package/dist/collection/components/af-stats-row/af-stats-row.js +1 -1
  199. package/dist/collection/components/af-stepper/af-stepper.js +1 -1
  200. package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
  201. package/dist/collection/components/af-tab/af-tab.js +1 -1
  202. package/dist/collection/components/af-tab-bar/af-tab-bar.js +1 -1
  203. package/dist/collection/components/af-tag/af-tag.js +2 -2
  204. package/dist/collection/components/af-testimonial/af-testimonial.js +2 -2
  205. package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -1
  206. package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
  207. package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -1
  208. package/dist/collection/components/af-textarea/af-textarea.js +20 -1
  209. package/dist/collection/components/af-textarea/af-textarea.js.map +1 -1
  210. package/dist/collection/components/af-theme-override/af-theme-override.js +1 -1
  211. package/dist/collection/components/af-video-container/af-video-container.js +1 -1
  212. package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -1
  213. package/dist/components/af-accordion-item.js +2 -2
  214. package/dist/components/af-accordion.js +2 -2
  215. package/dist/components/af-aspect-ratio.js +1 -1
  216. package/dist/components/af-button-group.js +1 -1
  217. package/dist/components/af-button.js +1 -1
  218. package/dist/components/af-card.js +1 -1
  219. package/dist/components/af-center.js +2 -2
  220. package/dist/components/af-checkbox.js +1 -1
  221. package/dist/components/af-client-carousel.js +2 -2
  222. package/dist/components/af-color-swatch.js +1 -1
  223. package/dist/components/af-contact-item.js +2 -2
  224. package/dist/components/af-container.js +1 -1
  225. package/dist/components/af-divider.js +2 -2
  226. package/dist/components/af-feature-accordion.js +3 -3
  227. package/dist/components/af-feature-card.js +1 -1
  228. package/dist/components/af-feature-grid.js +3 -3
  229. package/dist/components/af-fieldset.js +1 -1
  230. package/dist/components/af-footer-column.js +2 -2
  231. package/dist/components/af-footer-link.js +2 -2
  232. package/dist/components/af-footer.js +2 -2
  233. package/dist/components/af-grid-callout.js +2 -2
  234. package/dist/components/af-grid.js +3 -3
  235. package/dist/components/af-heading.js +1 -1
  236. package/dist/components/af-hero.js +1 -1
  237. package/dist/components/af-icon-box.js +1 -1
  238. package/dist/components/af-icon-button.js +1 -1
  239. package/dist/components/af-icon-text.js +5 -5
  240. package/dist/components/af-icon.js +1 -1
  241. package/dist/components/af-illustrated-card.js +1 -1
  242. package/dist/components/af-image.js +1 -1
  243. package/dist/components/af-in-page-banner.js +3 -3
  244. package/dist/components/af-inline.js +2 -2
  245. package/dist/components/af-input.js +1 -1
  246. package/dist/components/af-logo-well.js +2 -2
  247. package/dist/components/af-logo.js +1 -1
  248. package/dist/components/af-nav-accordion-item.js +3 -3
  249. package/dist/components/af-nav-accordion.js +2 -2
  250. package/dist/components/af-nav-card.js +1 -1
  251. package/dist/components/af-nav-item.js +1 -1
  252. package/dist/components/af-nav-menu-nest.js +2 -2
  253. package/dist/components/af-nav-menu.js +2 -2
  254. package/dist/components/af-navbar.js +1 -1
  255. package/dist/components/af-number-badge.js +1 -1
  256. package/dist/components/af-numbered-stepper-item.js +4 -4
  257. package/dist/components/af-numbered-stepper.js +2 -2
  258. package/dist/components/af-paperclip-decoration.js +2 -2
  259. package/dist/components/af-progress-line.js +1 -1
  260. package/dist/components/af-radio.js +1 -1
  261. package/dist/components/af-section.js +1 -1
  262. package/dist/components/af-show.js +2 -2
  263. package/dist/components/af-social-link.js +2 -2
  264. package/dist/components/af-spacer.js +2 -2
  265. package/dist/components/af-split-section.js +4 -4
  266. package/dist/components/af-stack.js +2 -2
  267. package/dist/components/af-stat.js +4 -4
  268. package/dist/components/af-stats-row.js +2 -2
  269. package/dist/components/af-stepper-step.js +2 -2
  270. package/dist/components/af-stepper.js +2 -2
  271. package/dist/components/af-switch.js +1 -1
  272. package/dist/components/af-tab-bar.js +1 -1
  273. package/dist/components/af-tab.js +1 -1
  274. package/dist/components/af-tag.js +1 -1
  275. package/dist/components/af-testimonial-carousel.js +3 -3
  276. package/dist/components/af-testimonial-stat.js +4 -4
  277. package/dist/components/af-testimonial.js +6 -6
  278. package/dist/components/af-text-image-nest.js +2 -2
  279. package/dist/components/af-text-image.js +2 -2
  280. package/dist/components/af-text.js +1 -1
  281. package/dist/components/af-textarea.js +1 -1
  282. package/dist/components/af-theme-override.js +2 -2
  283. package/dist/components/af-typography-lockup.js +1 -1
  284. package/dist/components/af-video-container.js +4 -4
  285. package/dist/components/af-visually-hidden.js +2 -2
  286. package/dist/components/index.js +25 -25
  287. package/dist/components/{p-B4IVxpr4.js → p-B4bimVSM.js} +5 -5
  288. package/dist/components/{p-B4IVxpr4.js.map → p-B4bimVSM.js.map} +1 -1
  289. package/dist/components/{p-BuiXTazC.js → p-B7J9U9if.js} +3 -3
  290. package/dist/components/{p-BuiXTazC.js.map → p-B7J9U9if.js.map} +1 -1
  291. package/dist/components/{p-CZdcAZe_.js → p-BExjo6P2.js} +4 -4
  292. package/dist/components/{p-CZdcAZe_.js.map → p-BExjo6P2.js.map} +1 -1
  293. package/dist/components/{p-BMs3J6ty.js → p-BSgEGp12.js} +8 -8
  294. package/dist/components/{p-BMs3J6ty.js.map → p-BSgEGp12.js.map} +1 -1
  295. package/dist/components/{p-BkTUo72F.js → p-B_r5b4JI.js} +3 -3
  296. package/dist/components/{p-BkTUo72F.js.map → p-B_r5b4JI.js.map} +1 -1
  297. package/dist/components/{p-DQF6qg3h.js → p-BgQvXXuB.js} +4 -4
  298. package/dist/components/{p-DQF6qg3h.js.map → p-BgQvXXuB.js.map} +1 -1
  299. package/dist/components/{p-DQFOagz0.js → p-BiSEOBg5.js} +4 -4
  300. package/dist/components/{p-DQFOagz0.js.map → p-BiSEOBg5.js.map} +1 -1
  301. package/dist/components/{p-QpoTJlVn.js → p-BipyebXl.js} +3 -3
  302. package/dist/components/{p-QpoTJlVn.js.map → p-BipyebXl.js.map} +1 -1
  303. package/dist/components/{p-CiY0Twna.js → p-Btpdr0Bi.js} +644 -9
  304. package/dist/components/p-Btpdr0Bi.js.map +1 -0
  305. package/dist/components/{p-Dye7hRk7.js → p-BwowgpiS.js} +5 -5
  306. package/dist/components/{p-Dye7hRk7.js.map → p-BwowgpiS.js.map} +1 -1
  307. package/dist/components/{p-CaHyFRpU.js → p-C05qWmXd.js} +3 -3
  308. package/dist/components/{p-CaHyFRpU.js.map → p-C05qWmXd.js.map} +1 -1
  309. package/dist/components/{p-G5cG9ahw.js → p-C1nX4HkM.js} +3 -3
  310. package/dist/components/{p-G5cG9ahw.js.map → p-C1nX4HkM.js.map} +1 -1
  311. package/dist/components/{p-DGlAo2Hc.js → p-C8HmyE5-.js} +3 -3
  312. package/dist/components/{p-DGlAo2Hc.js.map → p-C8HmyE5-.js.map} +1 -1
  313. package/dist/components/{p-DmlCoFGW.js → p-CMatO7AD.js} +3 -3
  314. package/dist/components/{p-DmlCoFGW.js.map → p-CMatO7AD.js.map} +1 -1
  315. package/dist/components/{p-BTZzBVqv.js → p-CNPKZ3ct.js} +5 -5
  316. package/dist/components/{p-BTZzBVqv.js.map → p-CNPKZ3ct.js.map} +1 -1
  317. package/dist/components/{p-BsHk9vlU.js → p-CSejCgwa.js} +4 -4
  318. package/dist/components/{p-BsHk9vlU.js.map → p-CSejCgwa.js.map} +1 -1
  319. package/dist/components/{p-CnbO_hx0.js → p-CTVS7dJ6.js} +4 -4
  320. package/dist/components/{p-CnbO_hx0.js.map → p-CTVS7dJ6.js.map} +1 -1
  321. package/dist/components/{p-B-hgy9Qr.js → p-CeWN48Eq.js} +3 -3
  322. package/dist/components/{p-B-hgy9Qr.js.map → p-CeWN48Eq.js.map} +1 -1
  323. package/dist/components/{p-C_y6F4SM.js → p-CixFE5Cu.js} +17 -4
  324. package/dist/components/p-CixFE5Cu.js.map +1 -0
  325. package/dist/components/{p-CUmn76Kf.js → p-CkaL7yIW.js} +3 -3
  326. package/dist/components/{p-CUmn76Kf.js.map → p-CkaL7yIW.js.map} +1 -1
  327. package/dist/components/{p-CeBCwjRf.js → p-D5-m35gX.js} +3 -3
  328. package/dist/components/{p-CeBCwjRf.js.map → p-D5-m35gX.js.map} +1 -1
  329. package/dist/components/{p--aWqZ9H9.js → p-DMXuAjLo.js} +3 -3
  330. package/dist/components/{p--aWqZ9H9.js.map → p-DMXuAjLo.js.map} +1 -1
  331. package/dist/components/{p-DrCZBGKv.js → p-DPgWkfHr.js} +6 -6
  332. package/dist/components/{p-DrCZBGKv.js.map → p-DPgWkfHr.js.map} +1 -1
  333. package/dist/components/{p-DobkLkti.js → p-Dacy0GsN.js} +29 -8
  334. package/dist/components/p-Dacy0GsN.js.map +1 -0
  335. package/dist/components/{p-DWD7Oc5l.js → p-DrEl4PxE.js} +3 -3
  336. package/dist/components/{p-DWD7Oc5l.js.map → p-DrEl4PxE.js.map} +1 -1
  337. package/dist/components/{p-CJU2A9Ab.js → p-DrXw6vxx.js} +3 -3
  338. package/dist/components/{p-CJU2A9Ab.js.map → p-DrXw6vxx.js.map} +1 -1
  339. package/dist/components/{p-DyqBBl8X.js → p-DxYqml-M.js} +5 -5
  340. package/dist/components/{p-DyqBBl8X.js.map → p-DxYqml-M.js.map} +1 -1
  341. package/dist/components/{p-Bx-hxLP0.js → p-FV14KcoH.js} +3 -3
  342. package/dist/components/{p-Bx-hxLP0.js.map → p-FV14KcoH.js.map} +1 -1
  343. package/dist/components/{p-CImZ9bq8.js → p-XmT5SQOF.js} +3 -3
  344. package/dist/components/{p-CImZ9bq8.js.map → p-XmT5SQOF.js.map} +1 -1
  345. package/dist/components/{p-B_32JVKl.js → p-fLdNRQwR.js} +4 -4
  346. package/dist/components/{p-B_32JVKl.js.map → p-fLdNRQwR.js.map} +1 -1
  347. package/dist/components/{p-DnDXrxJ7.js → p-joRNg4Kk.js} +3 -3
  348. package/dist/components/{p-DnDXrxJ7.js.map → p-joRNg4Kk.js.map} +1 -1
  349. package/dist/components/{p-DdH3uwBx.js → p-sIePTJnR.js} +6 -6
  350. package/dist/components/{p-DdH3uwBx.js.map → p-sIePTJnR.js.map} +1 -1
  351. package/dist/esm/af-accordion-item.entry.js +2 -2
  352. package/dist/esm/af-accordion.entry.js +2 -2
  353. package/dist/esm/af-aspect-ratio.entry.js +1 -1
  354. package/dist/esm/af-button-group.entry.js +1 -1
  355. package/dist/esm/af-button.entry.js +1 -1
  356. package/dist/esm/af-card.entry.js +2 -2
  357. package/dist/esm/af-center.entry.js +2 -2
  358. package/dist/esm/af-checkbox.entry.js +1 -1
  359. package/dist/esm/af-client-carousel.entry.js +2 -2
  360. package/dist/esm/af-color-swatch.entry.js +1 -1
  361. package/dist/esm/af-contact-item.entry.js +2 -2
  362. package/dist/esm/af-container.entry.js +1 -1
  363. package/dist/esm/af-divider.entry.js +2 -2
  364. package/dist/esm/af-feature-accordion.entry.js +3 -3
  365. package/dist/esm/af-feature-card.entry.js +1 -1
  366. package/dist/esm/af-feature-grid.entry.js +2 -2
  367. package/dist/esm/af-fieldset.entry.js +1 -1
  368. package/dist/esm/af-footer-column.entry.js +2 -2
  369. package/dist/esm/af-footer-link.entry.js +2 -2
  370. package/dist/esm/af-footer.entry.js +2 -2
  371. package/dist/esm/af-grid-callout.entry.js +1 -1
  372. package/dist/esm/af-grid.entry.js +3 -3
  373. package/dist/esm/af-heading_5.entry.js +1 -1
  374. package/dist/esm/af-hero.entry.js +3 -3
  375. package/dist/esm/af-icon-box.entry.js +2 -2
  376. package/dist/esm/af-icon-button.entry.js +1 -1
  377. package/dist/esm/af-icon-text.entry.js +2 -2
  378. package/dist/esm/af-icon.entry.js +1 -1
  379. package/dist/esm/af-illustrated-card.entry.js +2 -2
  380. package/dist/esm/af-image.entry.js +2 -2
  381. package/dist/esm/af-in-page-banner.entry.js +2 -2
  382. package/dist/esm/af-inline.entry.js +2 -2
  383. package/dist/esm/af-input.entry.js +24 -6
  384. package/dist/esm/af-input.entry.js.map +1 -1
  385. package/dist/esm/af-logo-well.entry.js +2 -2
  386. package/dist/esm/af-nav-accordion-item.entry.js +3 -3
  387. package/dist/esm/af-nav-accordion.entry.js +2 -2
  388. package/dist/esm/af-nav-card.entry.js +1 -1
  389. package/dist/esm/af-nav-menu-nest.entry.js +2 -2
  390. package/dist/esm/af-nav-menu.entry.js +2 -2
  391. package/dist/esm/af-number-badge.entry.js +2 -2
  392. package/dist/esm/af-numbered-stepper-item.entry.js +2 -2
  393. package/dist/esm/af-numbered-stepper.entry.js +2 -2
  394. package/dist/esm/af-paperclip-decoration.entry.js +2 -2
  395. package/dist/esm/af-progress-line.entry.js +3 -3
  396. package/dist/esm/af-radio.entry.js +1 -1
  397. package/dist/esm/af-section.entry.js +3 -3
  398. package/dist/esm/af-show.entry.js +2 -2
  399. package/dist/esm/af-social-link.entry.js +2 -2
  400. package/dist/esm/af-spacer.entry.js +2 -2
  401. package/dist/esm/af-split-section.entry.js +3 -3
  402. package/dist/esm/af-stack.entry.js +2 -2
  403. package/dist/esm/af-stat.entry.js +2 -2
  404. package/dist/esm/af-stats-row.entry.js +2 -2
  405. package/dist/esm/af-stepper-step.entry.js +2 -2
  406. package/dist/esm/af-stepper.entry.js +2 -2
  407. package/dist/esm/af-switch.entry.js +1 -1
  408. package/dist/esm/af-tab-bar.entry.js +2 -2
  409. package/dist/esm/af-tab.entry.js +2 -2
  410. package/dist/esm/af-tag.entry.js +3 -3
  411. package/dist/esm/af-testimonial-carousel.entry.js +2 -2
  412. package/dist/esm/af-testimonial-stat.entry.js +2 -2
  413. package/dist/esm/af-testimonial.entry.js +3 -3
  414. package/dist/esm/af-text-image-nest.entry.js +2 -2
  415. package/dist/esm/af-text-image.entry.js +1 -1
  416. package/dist/esm/af-textarea.entry.js +15 -2
  417. package/dist/esm/af-textarea.entry.js.map +1 -1
  418. package/dist/esm/af-theme-override.entry.js +2 -2
  419. package/dist/esm/af-typography-lockup.entry.js +1 -1
  420. package/dist/esm/af-video-container.entry.js +2 -2
  421. package/dist/esm/af-visually-hidden.entry.js +2 -2
  422. package/dist/esm/affinda.js +3 -3
  423. package/dist/esm/{index-C4WBekD2.js → index-CYq0zyKH.js} +647 -9
  424. package/dist/esm/index-CYq0zyKH.js.map +1 -0
  425. package/dist/esm/index.js +1 -1
  426. package/dist/esm/loader.js +3 -3
  427. package/dist/hydrate/index.d.ts +275 -0
  428. package/dist/hydrate/index.js +24911 -0
  429. package/dist/hydrate/index.mjs +24903 -0
  430. package/dist/hydrate/package.json +12 -0
  431. package/dist/types/components/af-input/af-input.d.ts +21 -6
  432. package/dist/types/components/af-textarea/af-textarea.d.ts +9 -0
  433. package/dist/types/components.d.ts +63 -13
  434. package/package.json +21 -1
  435. package/dist/affinda/p-0254b263.entry.js +0 -2
  436. package/dist/affinda/p-27026c90.entry.js +0 -2
  437. package/dist/affinda/p-283a9dec.entry.js +0 -2
  438. package/dist/affinda/p-2d5eb5ac.entry.js +0 -2
  439. package/dist/affinda/p-2d5eb5ac.entry.js.map +0 -1
  440. package/dist/affinda/p-64f24ab4.entry.js +0 -2
  441. package/dist/affinda/p-64f24ab4.entry.js.map +0 -1
  442. package/dist/affinda/p-6df7b689.entry.js +0 -2
  443. package/dist/affinda/p-78941fec.entry.js +0 -2
  444. package/dist/affinda/p-7faa3fb9.entry.js +0 -2
  445. package/dist/affinda/p-972984a9.entry.js +0 -2
  446. package/dist/affinda/p-988fb256.entry.js +0 -2
  447. package/dist/affinda/p-C4WBekD2.js +0 -3
  448. package/dist/affinda/p-C4WBekD2.js.map +0 -1
  449. package/dist/affinda/p-d0fdef08.entry.js +0 -2
  450. package/dist/affinda/p-f76ef563.entry.js +0 -2
  451. package/dist/cjs/index-3161MbMQ.js.map +0 -1
  452. package/dist/components/p-C_y6F4SM.js.map +0 -1
  453. package/dist/components/p-CiY0Twna.js.map +0 -1
  454. package/dist/components/p-DobkLkti.js.map +0 -1
  455. package/dist/esm/index-C4WBekD2.js.map +0 -1
  456. /package/dist/affinda/{p-6de54e73.entry.js.map → p-01b848e9.entry.js.map} +0 -0
  457. /package/dist/affinda/{p-369dfdd8.entry.js.map → p-0c4a59b3.entry.js.map} +0 -0
  458. /package/dist/affinda/{p-5885ebd3.entry.js.map → p-0c7d81d0.entry.js.map} +0 -0
  459. /package/dist/affinda/{p-4f731d31.entry.js.map → p-0cbb1cb2.entry.js.map} +0 -0
  460. /package/dist/affinda/{p-988fb256.entry.js.map → p-11d41c9a.entry.js.map} +0 -0
  461. /package/dist/affinda/{p-d40f8d18.entry.js.map → p-1554f3d7.entry.js.map} +0 -0
  462. /package/dist/affinda/{p-27026c90.entry.js.map → p-1c19e94c.entry.js.map} +0 -0
  463. /package/dist/affinda/{p-3b429a16.entry.js.map → p-1c922fff.entry.js.map} +0 -0
  464. /package/dist/affinda/{p-4f15b8f0.entry.js.map → p-1e59a051.entry.js.map} +0 -0
  465. /package/dist/affinda/{p-7eb0875d.entry.js.map → p-20faf28d.entry.js.map} +0 -0
  466. /package/dist/affinda/{p-cebfc8a9.entry.js.map → p-223b2e70.entry.js.map} +0 -0
  467. /package/dist/affinda/{p-a70ce66f.entry.js.map → p-2315cb6b.entry.js.map} +0 -0
  468. /package/dist/affinda/{p-42c4d7b1.entry.js.map → p-2716cdc4.entry.js.map} +0 -0
  469. /package/dist/affinda/{p-b13c1438.entry.js.map → p-296a6ece.entry.js.map} +0 -0
  470. /package/dist/affinda/{p-09e202d1.entry.js.map → p-2e67fb0d.entry.js.map} +0 -0
  471. /package/dist/affinda/{p-3cd4edd0.entry.js.map → p-319b51c7.entry.js.map} +0 -0
  472. /package/dist/affinda/{p-8a2cbcf0.entry.js.map → p-31d96ddc.entry.js.map} +0 -0
  473. /package/dist/affinda/{p-9dfb5fab.entry.js.map → p-39a40e6a.entry.js.map} +0 -0
  474. /package/dist/affinda/{p-02427605.entry.js.map → p-3df90209.entry.js.map} +0 -0
  475. /package/dist/affinda/{p-dd933272.entry.js.map → p-3fb33478.entry.js.map} +0 -0
  476. /package/dist/affinda/{p-43a0286a.entry.js.map → p-47d2f72b.entry.js.map} +0 -0
  477. /package/dist/affinda/{p-a35ab849.entry.js.map → p-5e966aa6.entry.js.map} +0 -0
  478. /package/dist/affinda/{p-d275fb5d.entry.js.map → p-604399ed.entry.js.map} +0 -0
  479. /package/dist/affinda/{p-17c2999b.entry.js.map → p-653bca57.entry.js.map} +0 -0
  480. /package/dist/affinda/{p-5e01b103.entry.js.map → p-6c4137dc.entry.js.map} +0 -0
  481. /package/dist/affinda/{p-b82fc7f1.entry.js.map → p-761f06ae.entry.js.map} +0 -0
  482. /package/dist/affinda/{p-6949fbdf.entry.js.map → p-764601e6.entry.js.map} +0 -0
  483. /package/dist/affinda/{p-b2a41a48.entry.js.map → p-765883e7.entry.js.map} +0 -0
  484. /package/dist/affinda/{p-4f422489.entry.js.map → p-7b60b684.entry.js.map} +0 -0
  485. /package/dist/affinda/{p-f76ef563.entry.js.map → p-805148d0.entry.js.map} +0 -0
  486. /package/dist/affinda/{p-1aa795c7.entry.js.map → p-8eb57e35.entry.js.map} +0 -0
  487. /package/dist/affinda/{p-606159d2.entry.js.map → p-90e9e29c.entry.js.map} +0 -0
  488. /package/dist/affinda/{p-08a42935.entry.js.map → p-92c61bad.entry.js.map} +0 -0
  489. /package/dist/affinda/{p-646b73fb.entry.js.map → p-94119fa2.entry.js.map} +0 -0
  490. /package/dist/affinda/{p-1efa4787.entry.js.map → p-99b37588.entry.js.map} +0 -0
  491. /package/dist/affinda/{p-8eb60b77.entry.js.map → p-9c470a88.entry.js.map} +0 -0
  492. /package/dist/affinda/{p-6898d4bd.entry.js.map → p-9c8d18a3.entry.js.map} +0 -0
  493. /package/dist/affinda/{p-42c69bc9.entry.js.map → p-9d85f685.entry.js.map} +0 -0
  494. /package/dist/affinda/{p-15eac0d5.entry.js.map → p-aa0cb70d.entry.js.map} +0 -0
  495. /package/dist/affinda/{p-c0f71971.entry.js.map → p-aabe4d24.entry.js.map} +0 -0
  496. /package/dist/affinda/{p-d12d33c8.entry.js.map → p-ae27e9da.entry.js.map} +0 -0
  497. /package/dist/affinda/{p-73de3aa7.entry.js.map → p-bc3d2bb4.entry.js.map} +0 -0
  498. /package/dist/affinda/{p-7640c285.entry.js.map → p-bc59dc0e.entry.js.map} +0 -0
  499. /package/dist/affinda/{p-c2c16447.entry.js.map → p-be71688c.entry.js.map} +0 -0
  500. /package/dist/affinda/{p-d34da6c0.entry.js.map → p-c6aa66f3.entry.js.map} +0 -0
  501. /package/dist/affinda/{p-972984a9.entry.js.map → p-c87e5b29.entry.js.map} +0 -0
  502. /package/dist/affinda/{p-d9ff321b.entry.js.map → p-dd30a9b8.entry.js.map} +0 -0
  503. /package/dist/affinda/{p-df6c7170.entry.js.map → p-e10c03b6.entry.js.map} +0 -0
  504. /package/dist/affinda/{p-f5b4923f.entry.js.map → p-e2667603.entry.js.map} +0 -0
  505. /package/dist/affinda/{p-8fe10b18.entry.js.map → p-e678100f.entry.js.map} +0 -0
  506. /package/dist/affinda/{p-aa9c2609.entry.js.map → p-e8a91b15.entry.js.map} +0 -0
  507. /package/dist/affinda/{p-db7eb209.entry.js.map → p-e9527b93.entry.js.map} +0 -0
  508. /package/dist/affinda/{p-3a7afe33.entry.js.map → p-eb611fb5.entry.js.map} +0 -0
  509. /package/dist/affinda/{p-bdb3e590.entry.js.map → p-edb426e6.entry.js.map} +0 -0
  510. /package/dist/affinda/{p-a326d8f6.entry.js.map → p-f38688c6.entry.js.map} +0 -0
  511. /package/dist/affinda/{p-b69bce30.entry.js.map → p-f47d0d2d.entry.js.map} +0 -0
  512. /package/dist/affinda/{p-283a9dec.entry.js.map → p-f49b41f9.entry.js.map} +0 -0
  513. /package/dist/affinda/{p-4ff626de.entry.js.map → p-f6e1750e.entry.js.map} +0 -0
  514. /package/dist/affinda/{p-62eb01fa.entry.js.map → p-fad2d40b.entry.js.map} +0 -0
  515. /package/dist/affinda/{p-bc1088a7.entry.js.map → p-fc19f53c.entry.js.map} +0 -0
  516. /package/dist/affinda/{p-6df7b689.entry.js.map → p-fd39a1c2.entry.js.map} +0 -0
  517. /package/dist/affinda/{p-4ccc3147.entry.js.map → p-fe09a283.entry.js.map} +0 -0
  518. /package/dist/affinda/{p-91b71a8f.entry.js.map → p-fee9359c.entry.js.map} +0 -0
@@ -15,6 +15,30 @@ var __export = (target, all) => {
15
15
  // src/utils/constants.ts
16
16
  var SVG_NS = "http://www.w3.org/2000/svg";
17
17
  var HTML_NS = "http://www.w3.org/1999/xhtml";
18
+ var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
19
+ PrimitiveType2["Undefined"] = "undefined";
20
+ PrimitiveType2["Null"] = "null";
21
+ PrimitiveType2["String"] = "string";
22
+ PrimitiveType2["Number"] = "number";
23
+ PrimitiveType2["SpecialNumber"] = "number";
24
+ PrimitiveType2["Boolean"] = "boolean";
25
+ PrimitiveType2["BigInt"] = "bigint";
26
+ return PrimitiveType2;
27
+ })(PrimitiveType || {});
28
+ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
29
+ NonPrimitiveType2["Array"] = "array";
30
+ NonPrimitiveType2["Date"] = "date";
31
+ NonPrimitiveType2["Map"] = "map";
32
+ NonPrimitiveType2["Object"] = "object";
33
+ NonPrimitiveType2["RegularExpression"] = "regexp";
34
+ NonPrimitiveType2["Set"] = "set";
35
+ NonPrimitiveType2["Channel"] = "channel";
36
+ NonPrimitiveType2["Symbol"] = "symbol";
37
+ return NonPrimitiveType2;
38
+ })(NonPrimitiveType || {});
39
+ var TYPE_CONSTANT = "type";
40
+ var VALUE_CONSTANT = "value";
41
+ var SERIALIZED_PREFIX = "serialized:";
18
42
 
19
43
  // src/client/client-host-ref.ts
20
44
  var getHostRef = (ref) => {
@@ -45,6 +69,16 @@ var consoleError = (e, el) => (0, console.error)(e, el);
45
69
 
46
70
  // src/client/client-style.ts
47
71
  var styles = /* @__PURE__ */ new Map();
72
+
73
+ // src/runtime/runtime-constants.ts
74
+ var CONTENT_REF_ID = "r";
75
+ var ORG_LOCATION_ID = "o";
76
+ var SLOT_NODE_ID = "s";
77
+ var TEXT_NODE_ID = "t";
78
+ var COMMENT_NODE_ID = "c";
79
+ var HYDRATE_ID = "s-id";
80
+ var HYDRATED_STYLE_ID = "sty-id";
81
+ var HYDRATE_CHILD_ID = "c-id";
48
82
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
49
83
  var XLINK_NS = "http://www.w3.org/1999/xlink";
50
84
  var win = typeof window !== "undefined" ? window : {};
@@ -147,6 +181,101 @@ var escapeRegExpSpecialCharacters = (text) => {
147
181
  return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
148
182
  };
149
183
 
184
+ // src/utils/remote-value.ts
185
+ var RemoteValue = class _RemoteValue {
186
+ /**
187
+ * Deserializes a LocalValue serialized object back to its original JavaScript representation
188
+ *
189
+ * @param serialized The serialized LocalValue object
190
+ * @returns The original JavaScript value/object
191
+ */
192
+ static fromLocalValue(serialized) {
193
+ const type = serialized[TYPE_CONSTANT];
194
+ const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
195
+ switch (type) {
196
+ case "string" /* String */:
197
+ return value;
198
+ case "boolean" /* Boolean */:
199
+ return value;
200
+ case "bigint" /* BigInt */:
201
+ return BigInt(value);
202
+ case "undefined" /* Undefined */:
203
+ return void 0;
204
+ case "null" /* Null */:
205
+ return null;
206
+ case "number" /* Number */:
207
+ if (value === "NaN") return NaN;
208
+ if (value === "-0") return -0;
209
+ if (value === "Infinity") return Infinity;
210
+ if (value === "-Infinity") return -Infinity;
211
+ return value;
212
+ case "array" /* Array */:
213
+ return value.map((item) => _RemoteValue.fromLocalValue(item));
214
+ case "date" /* Date */:
215
+ return new Date(value);
216
+ case "map" /* Map */:
217
+ const map2 = /* @__PURE__ */ new Map();
218
+ for (const [key, val] of value) {
219
+ const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
220
+ const deserializedValue = _RemoteValue.fromLocalValue(val);
221
+ map2.set(deserializedKey, deserializedValue);
222
+ }
223
+ return map2;
224
+ case "object" /* Object */:
225
+ const obj = {};
226
+ for (const [key, val] of value) {
227
+ obj[key] = _RemoteValue.fromLocalValue(val);
228
+ }
229
+ return obj;
230
+ case "regexp" /* RegularExpression */:
231
+ const { pattern, flags } = value;
232
+ return new RegExp(pattern, flags);
233
+ case "set" /* Set */:
234
+ const set = /* @__PURE__ */ new Set();
235
+ for (const item of value) {
236
+ set.add(_RemoteValue.fromLocalValue(item));
237
+ }
238
+ return set;
239
+ case "symbol" /* Symbol */:
240
+ return Symbol(value);
241
+ default:
242
+ throw new Error(`Unsupported type: ${type}`);
243
+ }
244
+ }
245
+ /**
246
+ * Utility method to deserialize multiple LocalValues at once
247
+ *
248
+ * @param serializedValues Array of serialized LocalValue objects
249
+ * @returns Array of deserialized JavaScript values
250
+ */
251
+ static fromLocalValueArray(serializedValues) {
252
+ return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
253
+ }
254
+ /**
255
+ * Verifies if the given object matches the structure of a serialized LocalValue
256
+ *
257
+ * @param obj Object to verify
258
+ * @returns boolean indicating if the object has LocalValue structure
259
+ */
260
+ static isLocalValueObject(obj) {
261
+ if (typeof obj !== "object" || obj === null) {
262
+ return false;
263
+ }
264
+ if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
265
+ return false;
266
+ }
267
+ const type = obj[TYPE_CONSTANT];
268
+ const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
269
+ if (!hasTypeProperty) {
270
+ return false;
271
+ }
272
+ if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
273
+ return obj.hasOwnProperty(VALUE_CONSTANT);
274
+ }
275
+ return true;
276
+ }
277
+ };
278
+
150
279
  // src/utils/result.ts
151
280
  var result_exports = {};
152
281
  __export(result_exports, {
@@ -196,6 +325,14 @@ var unwrapErr = (result) => {
196
325
  }
197
326
  };
198
327
 
328
+ // src/utils/serialize.ts
329
+ function deserializeProperty(value) {
330
+ if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
331
+ return value;
332
+ }
333
+ return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
334
+ }
335
+
199
336
  // src/utils/style.ts
200
337
  function createStyleSheetIfNeededAndSupported(styles2) {
201
338
  if (!supportsConstructableStylesheets) return void 0;
@@ -286,6 +423,34 @@ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
286
423
  }
287
424
  return slotName === "";
288
425
  };
426
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
427
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
428
+ return;
429
+ }
430
+ const slottedNodeLocation = document.createTextNode("");
431
+ slottedNodeLocation["s-nr"] = newChild;
432
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
433
+ const parent = slotNode["s-cr"].parentNode;
434
+ const appendMethod = internalCall(parent, "appendChild");
435
+ if (typeof position !== "undefined") {
436
+ slottedNodeLocation["s-oo"] = position;
437
+ const childNodes = internalCall(parent, "childNodes");
438
+ const slotRelocateNodes = [slottedNodeLocation];
439
+ childNodes.forEach((n) => {
440
+ if (n["s-nr"]) slotRelocateNodes.push(n);
441
+ });
442
+ slotRelocateNodes.sort((a, b) => {
443
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
444
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
445
+ return 0;
446
+ });
447
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
448
+ } else {
449
+ appendMethod.call(parent, slottedNodeLocation);
450
+ }
451
+ newChild["s-ol"] = slottedNodeLocation;
452
+ newChild["s-sh"] = slotNode["s-hn"];
453
+ };
289
454
  var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
290
455
  function patchSlotNode(node) {
291
456
  if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
@@ -363,7 +528,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
363
528
  rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
364
529
  }
365
530
  if (!appliedStyles.has(scopeId2)) {
366
- {
531
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
532
+ styleElm.innerHTML = style;
533
+ } else {
367
534
  styleElm = win.document.createElement("style");
368
535
  styleElm.innerHTML = style;
369
536
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
@@ -435,6 +602,17 @@ var attachStyles = (hostRef) => {
435
602
  endAttachStyles();
436
603
  };
437
604
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
605
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
606
+ var hydrateScopedToShadow = () => {
607
+ if (!win.document) {
608
+ return;
609
+ }
610
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
611
+ let i2 = 0;
612
+ for (; i2 < styles2.length; i2++) {
613
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
614
+ }
615
+ };
438
616
  var h = (nodeName, vnodeData, ...children) => {
439
617
  let child = null;
440
618
  let key = null;
@@ -546,6 +724,422 @@ var convertToPrivate = (node) => {
546
724
  vnode.$name$ = node.vname;
547
725
  return vnode;
548
726
  };
727
+
728
+ // src/runtime/client-hydrate.ts
729
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
730
+ var _a, _b;
731
+ const endHydrate = createTime("hydrateClient", tagName);
732
+ const shadowRoot = hostElm.shadowRoot;
733
+ const childRenderNodes = [];
734
+ const slotNodes = [];
735
+ const slottedNodes = [];
736
+ const shadowRootNodes = shadowRoot ? [] : null;
737
+ const vnode = newVNode(tagName, null);
738
+ vnode.$elm$ = hostElm;
739
+ let scopeId2;
740
+ {
741
+ const cmpMeta = hostRef.$cmpMeta$;
742
+ if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
743
+ scopeId2 = hostElm["s-sc"];
744
+ hostElm.classList.add(scopeId2 + "-h");
745
+ } else if (hostElm["s-sc"]) {
746
+ delete hostElm["s-sc"];
747
+ }
748
+ }
749
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
750
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
751
+ }
752
+ hostElm[HYDRATE_ID] = hostId;
753
+ hostElm.removeAttribute(HYDRATE_ID);
754
+ hostRef.$vnode$ = clientHydrate(
755
+ vnode,
756
+ childRenderNodes,
757
+ slotNodes,
758
+ shadowRootNodes,
759
+ hostElm,
760
+ hostElm,
761
+ hostId,
762
+ slottedNodes
763
+ );
764
+ let crIndex = 0;
765
+ const crLength = childRenderNodes.length;
766
+ let childRenderNode;
767
+ for (crIndex; crIndex < crLength; crIndex++) {
768
+ childRenderNode = childRenderNodes[crIndex];
769
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
770
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
771
+ const node = childRenderNode.$elm$;
772
+ if (!shadowRoot) {
773
+ node["s-hn"] = tagName.toUpperCase();
774
+ if (childRenderNode.$tag$ === "slot") {
775
+ node["s-cr"] = hostElm["s-cr"];
776
+ }
777
+ } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
778
+ const cmpMeta = getHostRef(childRenderNode.$elm$);
779
+ if (cmpMeta) {
780
+ const scopeId3 = getScopeId(
781
+ cmpMeta.$cmpMeta$);
782
+ const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
783
+ if (styleSheet) {
784
+ hostElm.shadowRoot.append(styleSheet.cloneNode(true));
785
+ }
786
+ }
787
+ }
788
+ if (childRenderNode.$tag$ === "slot") {
789
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
790
+ if (childRenderNode.$children$) {
791
+ childRenderNode.$flags$ |= 2 /* isSlotFallback */;
792
+ if (!childRenderNode.$elm$.childNodes.length) {
793
+ childRenderNode.$children$.forEach((c) => {
794
+ childRenderNode.$elm$.appendChild(c.$elm$);
795
+ });
796
+ }
797
+ } else {
798
+ childRenderNode.$flags$ |= 1 /* isSlotReference */;
799
+ }
800
+ }
801
+ if (orgLocationNode && orgLocationNode.isConnected) {
802
+ if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
803
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
804
+ }
805
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
806
+ if (!shadowRoot) {
807
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
808
+ }
809
+ }
810
+ if (orgLocationNode && !orgLocationNode["s-id"]) {
811
+ plt.$orgLocNodes$.delete(orgLocationId);
812
+ }
813
+ }
814
+ const hosts = [];
815
+ const snLen = slottedNodes.length;
816
+ let snIndex = 0;
817
+ let slotGroup;
818
+ let snGroupIdx;
819
+ let snGroupLen;
820
+ let slottedItem;
821
+ for (snIndex; snIndex < snLen; snIndex++) {
822
+ slotGroup = slottedNodes[snIndex];
823
+ if (!slotGroup || !slotGroup.length) continue;
824
+ snGroupLen = slotGroup.length;
825
+ snGroupIdx = 0;
826
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
827
+ slottedItem = slotGroup[snGroupIdx];
828
+ if (!hosts[slottedItem.hostId]) {
829
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
830
+ }
831
+ if (!hosts[slottedItem.hostId]) continue;
832
+ const hostEle = hosts[slottedItem.hostId];
833
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
834
+ hostEle.appendChild(slottedItem.node);
835
+ }
836
+ if (!hostEle.shadowRoot || !shadowRoot) {
837
+ if (!slottedItem.slot["s-cr"]) {
838
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
839
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
840
+ slottedItem.slot["s-cr"] = hostEle;
841
+ } else {
842
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
843
+ }
844
+ }
845
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
846
+ if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
847
+ slottedItem.node.removeAttribute("slot");
848
+ }
849
+ }
850
+ }
851
+ }
852
+ if (scopeId2 && slotNodes.length) {
853
+ slotNodes.forEach((slot) => {
854
+ slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
855
+ });
856
+ }
857
+ if (shadowRoot) {
858
+ let rnIdex = 0;
859
+ const rnLen = shadowRootNodes.length;
860
+ if (rnLen) {
861
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
862
+ const node = shadowRootNodes[rnIdex];
863
+ if (node) {
864
+ shadowRoot.appendChild(node);
865
+ }
866
+ }
867
+ Array.from(hostElm.childNodes).forEach((node) => {
868
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
869
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
870
+ node.removeAttribute("hidden");
871
+ } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
872
+ node.parentNode.removeChild(node);
873
+ }
874
+ }
875
+ });
876
+ }
877
+ }
878
+ hostRef.$hostElement$ = hostElm;
879
+ endHydrate();
880
+ };
881
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
882
+ let childNodeType;
883
+ let childIdSplt;
884
+ let childVNode;
885
+ let i2;
886
+ const scopeId2 = hostElm["s-sc"];
887
+ if (node.nodeType === 1 /* ElementNode */) {
888
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
889
+ if (childNodeType) {
890
+ childIdSplt = childNodeType.split(".");
891
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
892
+ childVNode = createSimpleVNode({
893
+ $flags$: 0,
894
+ $hostId$: childIdSplt[0],
895
+ $nodeId$: childIdSplt[1],
896
+ $depth$: childIdSplt[2],
897
+ $index$: childIdSplt[3],
898
+ $tag$: node.tagName.toLowerCase(),
899
+ $elm$: node,
900
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
901
+ // won't try to reconcile them. Classes set on the node will be blown away.
902
+ $attrs$: { class: node.className || "" }
903
+ });
904
+ childRenderNodes.push(childVNode);
905
+ node.removeAttribute(HYDRATE_CHILD_ID);
906
+ if (!parentVNode.$children$) {
907
+ parentVNode.$children$ = [];
908
+ }
909
+ if (scopeId2 && childIdSplt[0] === hostId) {
910
+ node["s-si"] = scopeId2;
911
+ childVNode.$attrs$.class += " " + scopeId2;
912
+ }
913
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
914
+ if (typeof slotName === "string") {
915
+ if (childVNode.$tag$ === "slot-fb") {
916
+ addSlot(
917
+ slotName,
918
+ childIdSplt[2],
919
+ childVNode,
920
+ node,
921
+ parentVNode,
922
+ childRenderNodes,
923
+ slotNodes,
924
+ shadowRootNodes,
925
+ slottedNodes
926
+ );
927
+ if (scopeId2) {
928
+ node.classList.add(scopeId2);
929
+ }
930
+ }
931
+ childVNode.$elm$["s-sn"] = slotName;
932
+ childVNode.$elm$.removeAttribute("s-sn");
933
+ }
934
+ if (childVNode.$index$ !== void 0) {
935
+ parentVNode.$children$[childVNode.$index$] = childVNode;
936
+ }
937
+ parentVNode = childVNode;
938
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
939
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
940
+ }
941
+ }
942
+ }
943
+ if (node.shadowRoot) {
944
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
945
+ clientHydrate(
946
+ parentVNode,
947
+ childRenderNodes,
948
+ slotNodes,
949
+ shadowRootNodes,
950
+ hostElm,
951
+ node.shadowRoot.childNodes[i2],
952
+ hostId,
953
+ slottedNodes
954
+ );
955
+ }
956
+ }
957
+ const nonShadowNodes = node.__childNodes || node.childNodes;
958
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
959
+ clientHydrate(
960
+ parentVNode,
961
+ childRenderNodes,
962
+ slotNodes,
963
+ shadowRootNodes,
964
+ hostElm,
965
+ nonShadowNodes[i2],
966
+ hostId,
967
+ slottedNodes
968
+ );
969
+ }
970
+ } else if (node.nodeType === 8 /* CommentNode */) {
971
+ childIdSplt = node.nodeValue.split(".");
972
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
973
+ childNodeType = childIdSplt[0];
974
+ childVNode = createSimpleVNode({
975
+ $hostId$: childIdSplt[1],
976
+ $nodeId$: childIdSplt[2],
977
+ $depth$: childIdSplt[3],
978
+ $index$: childIdSplt[4] || "0",
979
+ $elm$: node,
980
+ $attrs$: null,
981
+ $children$: null,
982
+ $key$: null,
983
+ $name$: null,
984
+ $tag$: null,
985
+ $text$: null
986
+ });
987
+ if (childNodeType === TEXT_NODE_ID) {
988
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
989
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
990
+ childVNode.$text$ = childVNode.$elm$.textContent;
991
+ childRenderNodes.push(childVNode);
992
+ node.remove();
993
+ if (hostId === childVNode.$hostId$) {
994
+ if (!parentVNode.$children$) {
995
+ parentVNode.$children$ = [];
996
+ }
997
+ parentVNode.$children$[childVNode.$index$] = childVNode;
998
+ }
999
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1000
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1001
+ }
1002
+ }
1003
+ } else if (childNodeType === COMMENT_NODE_ID) {
1004
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
1005
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
1006
+ childRenderNodes.push(childVNode);
1007
+ node.remove();
1008
+ }
1009
+ } else if (childVNode.$hostId$ === hostId) {
1010
+ if (childNodeType === SLOT_NODE_ID) {
1011
+ const slotName = node["s-sn"] = childIdSplt[5] || "";
1012
+ addSlot(
1013
+ slotName,
1014
+ childIdSplt[2],
1015
+ childVNode,
1016
+ node,
1017
+ parentVNode,
1018
+ childRenderNodes,
1019
+ slotNodes,
1020
+ shadowRootNodes,
1021
+ slottedNodes
1022
+ );
1023
+ } else if (childNodeType === CONTENT_REF_ID) {
1024
+ if (shadowRootNodes) {
1025
+ node.remove();
1026
+ } else {
1027
+ hostElm["s-cr"] = node;
1028
+ node["s-cn"] = true;
1029
+ }
1030
+ }
1031
+ }
1032
+ }
1033
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
1034
+ const vnode = newVNode(null, node.textContent);
1035
+ vnode.$elm$ = node;
1036
+ vnode.$index$ = "0";
1037
+ parentVNode.$children$ = [vnode];
1038
+ } else {
1039
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
1040
+ node.remove();
1041
+ }
1042
+ }
1043
+ return parentVNode;
1044
+ };
1045
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
1046
+ if (node.nodeType === 1 /* ElementNode */) {
1047
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
1048
+ if (componentId) {
1049
+ orgLocNodes.set(componentId, node);
1050
+ }
1051
+ let i2 = 0;
1052
+ if (node.shadowRoot) {
1053
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
1054
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
1055
+ }
1056
+ }
1057
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1058
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
1059
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
1060
+ }
1061
+ } else if (node.nodeType === 8 /* CommentNode */) {
1062
+ const childIdSplt = node.nodeValue.split(".");
1063
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
1064
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
1065
+ node.nodeValue = "";
1066
+ node["s-en"] = childIdSplt[3];
1067
+ }
1068
+ }
1069
+ };
1070
+ var createSimpleVNode = (vnode) => {
1071
+ const defaultVNode = {
1072
+ $flags$: 0,
1073
+ $hostId$: null,
1074
+ $nodeId$: null,
1075
+ $depth$: null,
1076
+ $index$: "0",
1077
+ $elm$: null,
1078
+ $attrs$: null,
1079
+ $children$: null,
1080
+ $key$: null,
1081
+ $name$: null,
1082
+ $tag$: null,
1083
+ $text$: null
1084
+ };
1085
+ return { ...defaultVNode, ...vnode };
1086
+ };
1087
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
1088
+ node["s-sr"] = true;
1089
+ childVNode.$name$ = slotName || null;
1090
+ childVNode.$tag$ = "slot";
1091
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1092
+ if (shadowRootNodes && win.document) {
1093
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
1094
+ if (childVNode.$name$) {
1095
+ childVNode.$elm$.setAttribute("name", slotName);
1096
+ }
1097
+ if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1098
+ internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1099
+ } else {
1100
+ internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1101
+ }
1102
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1103
+ node.remove();
1104
+ if (childVNode.$depth$ === "0") {
1105
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1106
+ }
1107
+ } else {
1108
+ const slot = childVNode.$elm$;
1109
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1110
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1111
+ patchSlotNode(node);
1112
+ if (shouldMove) {
1113
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1114
+ }
1115
+ }
1116
+ childRenderNodes.push(childVNode);
1117
+ slotNodes.push(childVNode);
1118
+ if (!parentVNode.$children$) {
1119
+ parentVNode.$children$ = [];
1120
+ }
1121
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1122
+ }
1123
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1124
+ var _a, _b;
1125
+ let slottedNode = slotNode.nextSibling;
1126
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1127
+ if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1128
+ do {
1129
+ if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
1130
+ slottedNode["s-sn"] = slotName;
1131
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1132
+ }
1133
+ slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1134
+ } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1135
+ };
1136
+ var findCorrespondingNode = (node, type) => {
1137
+ let sibling = node;
1138
+ do {
1139
+ sibling = sibling.nextSibling;
1140
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
1141
+ return sibling;
1142
+ };
549
1143
  var createSupportsRuleRe = (selector) => {
550
1144
  const safeSelector2 = escapeRegExpSpecialCharacters(selector);
551
1145
  return new RegExp(
@@ -559,6 +1153,10 @@ createSupportsRuleRe("::slotted");
559
1153
  createSupportsRuleRe(":host");
560
1154
  createSupportsRuleRe(":host-context");
561
1155
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1156
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1157
+ propValue = deserializeProperty(propValue);
1158
+ return propValue;
1159
+ }
562
1160
  if (propValue != null && !isComplexType(propValue)) {
563
1161
  if (propType & 4 /* Boolean */) {
564
1162
  {
@@ -608,7 +1206,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
608
1206
  const classList = elm.classList;
609
1207
  const oldClasses = parseClassList(oldValue);
610
1208
  let newClasses = parseClassList(newValue);
611
- {
1209
+ if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1210
+ const scopeId2 = elm["s-sc"] || elm["s-si"];
1211
+ newClasses.push(scopeId2);
1212
+ oldClasses.forEach((c) => {
1213
+ if (c.startsWith(scopeId2)) newClasses.push(c);
1214
+ });
1215
+ newClasses = [...new Set(newClasses)].filter((c) => c);
1216
+ classList.add(...newClasses);
1217
+ } else {
612
1218
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
613
1219
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
614
1220
  }
@@ -728,7 +1334,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
728
1334
  oldVnodeAttrs[memberName],
729
1335
  void 0,
730
1336
  isSvgMode2,
731
- newVnode.$flags$);
1337
+ newVnode.$flags$,
1338
+ isInitialRender
1339
+ );
732
1340
  }
733
1341
  }
734
1342
  }
@@ -739,7 +1347,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
739
1347
  oldVnodeAttrs[memberName],
740
1348
  newVnodeAttrs[memberName],
741
1349
  isSvgMode2,
742
- newVnode.$flags$);
1350
+ newVnode.$flags$,
1351
+ isInitialRender
1352
+ );
743
1353
  }
744
1354
  };
745
1355
  function sortedAttrNames(attrNames) {
@@ -1024,7 +1634,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1024
1634
  isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1025
1635
  }
1026
1636
  {
1027
- updateElement(oldVNode, newVNode2, isSvgMode);
1637
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1028
1638
  }
1029
1639
  if (oldChildren !== null && newChildren !== null) {
1030
1640
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -1038,7 +1648,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1038
1648
  !isInitialRender && BUILD.updatable && oldChildren !== null
1039
1649
  ) {
1040
1650
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
1041
- } else ;
1651
+ } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
1652
+ newVNode2.$children$ = oldChildren;
1653
+ }
1042
1654
  if (isSvgMode && tag === "svg") {
1043
1655
  isSvgMode = false;
1044
1656
  }
@@ -1379,7 +1991,13 @@ var postUpdateComponent = (hostRef) => {
1379
1991
  }
1380
1992
  };
1381
1993
  var appDidLoad = (who) => {
1994
+ var _a;
1382
1995
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1996
+ {
1997
+ if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
1998
+ plt.$orgLocNodes$.clear();
1999
+ }
2000
+ }
1383
2001
  };
1384
2002
  var safeCall = (instance, method, arg, elm) => {
1385
2003
  if (instance && instance[method]) {
@@ -1599,7 +2217,21 @@ var connectedCallback = (elm) => {
1599
2217
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1600
2218
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1601
2219
  hostRef.$flags$ |= 1 /* hasConnected */;
2220
+ let hostId;
1602
2221
  {
2222
+ hostId = elm.getAttribute(HYDRATE_ID);
2223
+ if (hostId) {
2224
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2225
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
2226
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2227
+ } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2228
+ const scopeId2 = getScopeId(cmpMeta);
2229
+ elm["s-sc"] = scopeId2;
2230
+ }
2231
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2232
+ }
2233
+ }
2234
+ if (!hostId) {
1603
2235
  if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1604
2236
  cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1605
2237
  setContentReference(elm);
@@ -1608,7 +2240,7 @@ var connectedCallback = (elm) => {
1608
2240
  {
1609
2241
  let ancestorComponent = elm;
1610
2242
  while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1611
- if (ancestorComponent["s-p"]) {
2243
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1612
2244
  attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1613
2245
  break;
1614
2246
  }
@@ -1681,6 +2313,9 @@ var proxyCustomElement = (Cstr, compactMeta) => {
1681
2313
  {
1682
2314
  cmpMeta.$attrsToReflect$ = [];
1683
2315
  }
2316
+ {
2317
+ hydrateScopedToShadow();
2318
+ }
1684
2319
  const originalConnectedCallback = Cstr.prototype.connectedCallback;
1685
2320
  const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
1686
2321
  Object.assign(Cstr.prototype, {
@@ -1776,6 +2411,6 @@ function render(vnode, container) {
1776
2411
  }
1777
2412
 
1778
2413
  export { H, setNonce as a, setPlatformOptions as b, Host as c, createEvent as d, getAssetPath as g, h, proxyCustomElement as p, render as r, setAssetPath as s };
1779
- //# sourceMappingURL=p-CiY0Twna.js.map
2414
+ //# sourceMappingURL=p-Btpdr0Bi.js.map
1780
2415
 
1781
- //# sourceMappingURL=p-CiY0Twna.js.map
2416
+ //# sourceMappingURL=p-Btpdr0Bi.js.map