@affinda/wc 0.4.2 → 0.5.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 (439) hide show
  1. package/dist/affinda/affinda.esm.js +1 -1
  2. package/dist/affinda/index.esm.js +1 -1
  3. package/dist/affinda/{p-8fe10b18.entry.js → p-02c6f6d1.entry.js} +2 -2
  4. package/dist/affinda/{p-5885ebd3.entry.js → p-0c7d81d0.entry.js} +2 -2
  5. package/dist/affinda/{p-d40f8d18.entry.js → p-1554f3d7.entry.js} +2 -2
  6. package/dist/affinda/{p-0254b263.entry.js → p-15a1d019.entry.js} +2 -2
  7. package/dist/affinda/{p-4f731d31.entry.js → p-1819ae80.entry.js} +2 -2
  8. package/dist/affinda/{p-6898d4bd.entry.js → p-1a71d0f9.entry.js} +2 -2
  9. package/dist/affinda/{p-4f15b8f0.entry.js → p-1e59a051.entry.js} +2 -2
  10. package/dist/affinda/{p-c0f71971.entry.js → p-1f2f7fff.entry.js} +2 -2
  11. package/dist/affinda/{p-7eb0875d.entry.js → p-20faf28d.entry.js} +2 -2
  12. package/dist/affinda/{p-42c4d7b1.entry.js → p-2716cdc4.entry.js} +2 -2
  13. package/dist/affinda/{p-62eb01fa.entry.js → p-3084cb0f.entry.js} +2 -2
  14. package/dist/affinda/{p-8a2cbcf0.entry.js → p-31d96ddc.entry.js} +2 -2
  15. package/dist/affinda/{p-aa9c2609.entry.js → p-374f9557.entry.js} +2 -2
  16. package/dist/affinda/{p-15eac0d5.entry.js → p-3fd3d4cd.entry.js} +2 -2
  17. package/dist/affinda/{p-b13c1438.entry.js → p-41580a3c.entry.js} +2 -2
  18. package/dist/affinda/{p-43a0286a.entry.js → p-47d2f72b.entry.js} +2 -2
  19. package/dist/affinda/{p-9dfb5fab.entry.js → p-50e12df0.entry.js} +2 -2
  20. package/dist/affinda/{p-b69bce30.entry.js → p-54dc41a9.entry.js} +2 -2
  21. package/dist/affinda/{p-283a9dec.entry.js → p-56e96bd3.entry.js} +2 -2
  22. package/dist/affinda/{p-3cd4edd0.entry.js → p-5834ffe7.entry.js} +2 -2
  23. package/dist/affinda/{p-a35ab849.entry.js → p-5e966aa6.entry.js} +2 -2
  24. package/dist/affinda/{p-dd933272.entry.js → p-616e0116.entry.js} +2 -2
  25. package/dist/affinda/{p-3b429a16.entry.js → p-64159112.entry.js} +2 -2
  26. package/dist/affinda/{p-606159d2.entry.js → p-656630fc.entry.js} +2 -2
  27. package/dist/affinda/{p-3a7afe33.entry.js → p-67b08108.entry.js} +2 -2
  28. package/dist/affinda/{p-5e01b103.entry.js → p-6ff65e42.entry.js} +2 -2
  29. package/dist/affinda/{p-369dfdd8.entry.js → p-75d76909.entry.js} +2 -2
  30. package/dist/affinda/{p-b82fc7f1.entry.js → p-761f06ae.entry.js} +2 -2
  31. package/dist/affinda/{p-d9ff321b.entry.js → p-7b08b7ba.entry.js} +2 -2
  32. package/dist/affinda/{p-db7eb209.entry.js → p-7eff3490.entry.js} +2 -2
  33. package/dist/affinda/{p-7faa3fb9.entry.js → p-838bbc80.entry.js} +2 -2
  34. package/dist/affinda/{p-d12d33c8.entry.js → p-88f38401.entry.js} +2 -2
  35. package/dist/affinda/{p-b2a41a48.entry.js → p-8b0d08de.entry.js} +2 -2
  36. package/dist/affinda/{p-f5b4923f.entry.js → p-8f36e911.entry.js} +2 -2
  37. package/dist/affinda/{p-73de3aa7.entry.js → p-919e2144.entry.js} +2 -2
  38. package/dist/affinda/{p-08a42935.entry.js → p-92c61bad.entry.js} +2 -2
  39. package/dist/affinda/{p-646b73fb.entry.js → p-94119fa2.entry.js} +2 -2
  40. package/dist/affinda/{p-6949fbdf.entry.js → p-95da58f3.entry.js} +2 -2
  41. package/dist/affinda/{p-4ff626de.entry.js → p-976e0c29.entry.js} +2 -2
  42. package/dist/affinda/{p-1efa4787.entry.js → p-99b37588.entry.js} +2 -2
  43. package/dist/affinda/p-CYq0zyKH.js +3 -0
  44. package/dist/affinda/p-CYq0zyKH.js.map +1 -0
  45. package/dist/affinda/{p-988fb256.entry.js → p-a196f362.entry.js} +2 -2
  46. package/dist/affinda/{p-91b71a8f.entry.js → p-a3ed4092.entry.js} +2 -2
  47. package/dist/affinda/{p-a70ce66f.entry.js → p-a4b36eb7.entry.js} +2 -2
  48. package/dist/affinda/{p-27026c90.entry.js → p-a6be61c2.entry.js} +2 -2
  49. package/dist/affinda/{p-bc1088a7.entry.js → p-a79077d5.entry.js} +2 -2
  50. package/dist/affinda/{p-cebfc8a9.entry.js → p-b31e438d.entry.js} +2 -2
  51. package/dist/affinda/{p-64f24ab4.entry.js → p-b77fa201.entry.js} +2 -2
  52. package/dist/affinda/{p-6de54e73.entry.js → p-bb80195f.entry.js} +2 -2
  53. package/dist/affinda/{p-7640c285.entry.js → p-bc59dc0e.entry.js} +2 -2
  54. package/dist/affinda/{p-d275fb5d.entry.js → p-be219843.entry.js} +2 -2
  55. package/dist/affinda/{p-17c2999b.entry.js → p-c15d00b5.entry.js} +2 -2
  56. package/dist/affinda/{p-02427605.entry.js → p-c23d7aa5.entry.js} +2 -2
  57. package/dist/affinda/{p-6df7b689.entry.js → p-c2a6c874.entry.js} +2 -2
  58. package/dist/affinda/{p-d34da6c0.entry.js → p-c6aa66f3.entry.js} +2 -2
  59. package/dist/affinda/{p-2d5eb5ac.entry.js → p-c925d301.entry.js} +2 -2
  60. package/dist/affinda/{p-42c69bc9.entry.js → p-cc2539de.entry.js} +2 -2
  61. package/dist/affinda/{p-972984a9.entry.js → p-cd21a62a.entry.js} +2 -2
  62. package/dist/affinda/{p-4f422489.entry.js → p-cea1c1ff.entry.js} +2 -2
  63. package/dist/affinda/{p-1aa795c7.entry.js → p-d573d115.entry.js} +2 -2
  64. package/dist/affinda/{p-c2c16447.entry.js → p-d9b0f217.entry.js} +2 -2
  65. package/dist/affinda/{p-f76ef563.entry.js → p-df10dee2.entry.js} +2 -2
  66. package/dist/affinda/{p-09e202d1.entry.js → p-e057ebf1.entry.js} +2 -2
  67. package/dist/affinda/{p-df6c7170.entry.js → p-e10c03b6.entry.js} +2 -2
  68. package/dist/affinda/{p-78941fec.entry.js → p-ea5aea86.entry.js} +2 -2
  69. package/dist/affinda/{p-8eb60b77.entry.js → p-eca85313.entry.js} +2 -2
  70. package/dist/affinda/{p-bdb3e590.entry.js → p-f1705df1.entry.js} +2 -2
  71. package/dist/affinda/{p-a326d8f6.entry.js → p-f38688c6.entry.js} +2 -2
  72. package/dist/affinda/p-fd772af4.entry.js +2 -0
  73. package/dist/affinda/{p-4ccc3147.entry.js → p-fe09a283.entry.js} +2 -2
  74. package/dist/cjs/af-accordion-item.cjs.entry.js +1 -1
  75. package/dist/cjs/af-accordion.cjs.entry.js +1 -1
  76. package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
  77. package/dist/cjs/af-button-group.cjs.entry.js +1 -1
  78. package/dist/cjs/af-button.cjs.entry.js +1 -1
  79. package/dist/cjs/af-card.cjs.entry.js +1 -1
  80. package/dist/cjs/af-center.cjs.entry.js +1 -1
  81. package/dist/cjs/af-checkbox.cjs.entry.js +1 -1
  82. package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
  83. package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
  84. package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
  85. package/dist/cjs/af-container.cjs.entry.js +1 -1
  86. package/dist/cjs/af-divider.cjs.entry.js +1 -1
  87. package/dist/cjs/af-feature-accordion.cjs.entry.js +1 -1
  88. package/dist/cjs/af-feature-card.cjs.entry.js +1 -1
  89. package/dist/cjs/af-feature-grid.cjs.entry.js +1 -1
  90. package/dist/cjs/af-fieldset.cjs.entry.js +1 -1
  91. package/dist/cjs/af-footer-column.cjs.entry.js +1 -1
  92. package/dist/cjs/af-footer-link.cjs.entry.js +1 -1
  93. package/dist/cjs/af-footer.cjs.entry.js +1 -1
  94. package/dist/cjs/af-grid-callout.cjs.entry.js +1 -1
  95. package/dist/cjs/af-grid.cjs.entry.js +1 -1
  96. package/dist/cjs/af-heading_5.cjs.entry.js +1 -1
  97. package/dist/cjs/af-hero.cjs.entry.js +1 -1
  98. package/dist/cjs/af-icon-box.cjs.entry.js +1 -1
  99. package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
  100. package/dist/cjs/af-icon-text.cjs.entry.js +1 -1
  101. package/dist/cjs/af-icon.cjs.entry.js +1 -1
  102. package/dist/cjs/af-illustrated-card.cjs.entry.js +1 -1
  103. package/dist/cjs/af-image.cjs.entry.js +1 -1
  104. package/dist/cjs/af-in-page-banner.cjs.entry.js +1 -1
  105. package/dist/cjs/af-inline.cjs.entry.js +1 -1
  106. package/dist/cjs/af-input.cjs.entry.js +1 -1
  107. package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
  108. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +1 -1
  109. package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
  110. package/dist/cjs/af-nav-card.cjs.entry.js +1 -1
  111. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +1 -1
  112. package/dist/cjs/af-nav-menu.cjs.entry.js +1 -1
  113. package/dist/cjs/af-number-badge.cjs.entry.js +1 -1
  114. package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/af-numbered-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/af-paperclip-decoration.cjs.entry.js +1 -1
  117. package/dist/cjs/af-progress-line.cjs.entry.js +1 -1
  118. package/dist/cjs/af-radio.cjs.entry.js +1 -1
  119. package/dist/cjs/af-section.cjs.entry.js +1 -1
  120. package/dist/cjs/af-show.cjs.entry.js +1 -1
  121. package/dist/cjs/af-social-link.cjs.entry.js +1 -1
  122. package/dist/cjs/af-spacer.cjs.entry.js +1 -1
  123. package/dist/cjs/af-split-section.cjs.entry.js +1 -1
  124. package/dist/cjs/af-stack.cjs.entry.js +1 -1
  125. package/dist/cjs/af-stat.cjs.entry.js +1 -1
  126. package/dist/cjs/af-stats-row.cjs.entry.js +1 -1
  127. package/dist/cjs/af-stepper-step.cjs.entry.js +1 -1
  128. package/dist/cjs/af-stepper.cjs.entry.js +1 -1
  129. package/dist/cjs/af-switch.cjs.entry.js +1 -1
  130. package/dist/cjs/af-tab-bar.cjs.entry.js +1 -1
  131. package/dist/cjs/af-tab.cjs.entry.js +1 -1
  132. package/dist/cjs/af-tag.cjs.entry.js +1 -1
  133. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +1 -1
  134. package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
  135. package/dist/cjs/af-testimonial.cjs.entry.js +1 -1
  136. package/dist/cjs/af-text-image-nest.cjs.entry.js +1 -1
  137. package/dist/cjs/af-text-image.cjs.entry.js +1 -1
  138. package/dist/cjs/af-textarea.cjs.entry.js +1 -1
  139. package/dist/cjs/af-theme-override.cjs.entry.js +1 -1
  140. package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
  141. package/dist/cjs/af-video-container.cjs.entry.js +1 -1
  142. package/dist/cjs/af-visually-hidden.cjs.entry.js +1 -1
  143. package/dist/cjs/affinda.cjs.js +1 -1
  144. package/dist/cjs/{index-3161MbMQ.js → index-BuJz1C1M.js} +647 -9
  145. package/dist/cjs/index-BuJz1C1M.js.map +1 -0
  146. package/dist/cjs/index.cjs.js +1 -1
  147. package/dist/cjs/loader.cjs.js +1 -1
  148. package/dist/components/af-accordion-item.js +1 -1
  149. package/dist/components/af-accordion.js +1 -1
  150. package/dist/components/af-aspect-ratio.js +1 -1
  151. package/dist/components/af-button-group.js +1 -1
  152. package/dist/components/af-button.js +1 -1
  153. package/dist/components/af-card.js +1 -1
  154. package/dist/components/af-center.js +1 -1
  155. package/dist/components/af-checkbox.js +1 -1
  156. package/dist/components/af-client-carousel.js +1 -1
  157. package/dist/components/af-color-swatch.js +1 -1
  158. package/dist/components/af-contact-item.js +1 -1
  159. package/dist/components/af-container.js +1 -1
  160. package/dist/components/af-divider.js +1 -1
  161. package/dist/components/af-feature-accordion.js +1 -1
  162. package/dist/components/af-feature-card.js +1 -1
  163. package/dist/components/af-feature-grid.js +2 -2
  164. package/dist/components/af-fieldset.js +1 -1
  165. package/dist/components/af-footer-column.js +1 -1
  166. package/dist/components/af-footer-link.js +1 -1
  167. package/dist/components/af-footer.js +1 -1
  168. package/dist/components/af-grid-callout.js +2 -2
  169. package/dist/components/af-grid.js +1 -1
  170. package/dist/components/af-heading.js +1 -1
  171. package/dist/components/af-hero.js +1 -1
  172. package/dist/components/af-icon-box.js +1 -1
  173. package/dist/components/af-icon-button.js +1 -1
  174. package/dist/components/af-icon-text.js +4 -4
  175. package/dist/components/af-icon.js +1 -1
  176. package/dist/components/af-illustrated-card.js +1 -1
  177. package/dist/components/af-image.js +1 -1
  178. package/dist/components/af-in-page-banner.js +2 -2
  179. package/dist/components/af-inline.js +1 -1
  180. package/dist/components/af-input.js +1 -1
  181. package/dist/components/af-logo-well.js +1 -1
  182. package/dist/components/af-logo.js +1 -1
  183. package/dist/components/af-nav-accordion-item.js +1 -1
  184. package/dist/components/af-nav-accordion.js +1 -1
  185. package/dist/components/af-nav-card.js +1 -1
  186. package/dist/components/af-nav-item.js +1 -1
  187. package/dist/components/af-nav-menu-nest.js +1 -1
  188. package/dist/components/af-nav-menu.js +1 -1
  189. package/dist/components/af-navbar.js +1 -1
  190. package/dist/components/af-number-badge.js +1 -1
  191. package/dist/components/af-numbered-stepper-item.js +3 -3
  192. package/dist/components/af-numbered-stepper.js +1 -1
  193. package/dist/components/af-paperclip-decoration.js +1 -1
  194. package/dist/components/af-progress-line.js +1 -1
  195. package/dist/components/af-radio.js +1 -1
  196. package/dist/components/af-section.js +1 -1
  197. package/dist/components/af-show.js +1 -1
  198. package/dist/components/af-social-link.js +1 -1
  199. package/dist/components/af-spacer.js +1 -1
  200. package/dist/components/af-split-section.js +2 -2
  201. package/dist/components/af-stack.js +1 -1
  202. package/dist/components/af-stat.js +3 -3
  203. package/dist/components/af-stats-row.js +1 -1
  204. package/dist/components/af-stepper-step.js +1 -1
  205. package/dist/components/af-stepper.js +1 -1
  206. package/dist/components/af-switch.js +1 -1
  207. package/dist/components/af-tab-bar.js +1 -1
  208. package/dist/components/af-tab.js +1 -1
  209. package/dist/components/af-tag.js +1 -1
  210. package/dist/components/af-testimonial-carousel.js +2 -2
  211. package/dist/components/af-testimonial-stat.js +3 -3
  212. package/dist/components/af-testimonial.js +4 -4
  213. package/dist/components/af-text-image-nest.js +1 -1
  214. package/dist/components/af-text-image.js +2 -2
  215. package/dist/components/af-text.js +1 -1
  216. package/dist/components/af-textarea.js +1 -1
  217. package/dist/components/af-theme-override.js +1 -1
  218. package/dist/components/af-typography-lockup.js +1 -1
  219. package/dist/components/af-video-container.js +3 -3
  220. package/dist/components/af-visually-hidden.js +1 -1
  221. package/dist/components/index.js +25 -25
  222. package/dist/components/{p-BuiXTazC.js → p-B7J9U9if.js} +3 -3
  223. package/dist/components/{p-BuiXTazC.js.map → p-B7J9U9if.js.map} +1 -1
  224. package/dist/components/{p-CZdcAZe_.js → p-BExjo6P2.js} +4 -4
  225. package/dist/components/{p-CZdcAZe_.js.map → p-BExjo6P2.js.map} +1 -1
  226. package/dist/components/{p-BkTUo72F.js → p-B_r5b4JI.js} +3 -3
  227. package/dist/components/{p-BkTUo72F.js.map → p-B_r5b4JI.js.map} +1 -1
  228. package/dist/components/{p-C_y6F4SM.js → p-Bebi4EvS.js} +3 -3
  229. package/dist/components/{p-C_y6F4SM.js.map → p-Bebi4EvS.js.map} +1 -1
  230. package/dist/components/{p-QpoTJlVn.js → p-BipyebXl.js} +3 -3
  231. package/dist/components/{p-QpoTJlVn.js.map → p-BipyebXl.js.map} +1 -1
  232. package/dist/components/{p-CiY0Twna.js → p-Btpdr0Bi.js} +644 -9
  233. package/dist/components/p-Btpdr0Bi.js.map +1 -0
  234. package/dist/components/{p-CaHyFRpU.js → p-C05qWmXd.js} +3 -3
  235. package/dist/components/{p-CaHyFRpU.js.map → p-C05qWmXd.js.map} +1 -1
  236. package/dist/components/{p-G5cG9ahw.js → p-C1nX4HkM.js} +3 -3
  237. package/dist/components/{p-G5cG9ahw.js.map → p-C1nX4HkM.js.map} +1 -1
  238. package/dist/components/{p-DGlAo2Hc.js → p-C8HmyE5-.js} +3 -3
  239. package/dist/components/{p-DGlAo2Hc.js.map → p-C8HmyE5-.js.map} +1 -1
  240. package/dist/components/{p-DmlCoFGW.js → p-CMatO7AD.js} +3 -3
  241. package/dist/components/{p-DmlCoFGW.js.map → p-CMatO7AD.js.map} +1 -1
  242. package/dist/components/{p-DdH3uwBx.js → p-CPPy4ZvS.js} +4 -4
  243. package/dist/components/{p-DdH3uwBx.js.map → p-CPPy4ZvS.js.map} +1 -1
  244. package/dist/components/{p-DyqBBl8X.js → p-CY3F_EFI.js} +5 -5
  245. package/dist/components/{p-DyqBBl8X.js.map → p-CY3F_EFI.js.map} +1 -1
  246. package/dist/components/{p-B-hgy9Qr.js → p-CeWN48Eq.js} +3 -3
  247. package/dist/components/{p-B-hgy9Qr.js.map → p-CeWN48Eq.js.map} +1 -1
  248. package/dist/components/{p-CUmn76Kf.js → p-CkaL7yIW.js} +3 -3
  249. package/dist/components/{p-CUmn76Kf.js.map → p-CkaL7yIW.js.map} +1 -1
  250. package/dist/components/{p-B_32JVKl.js → p-CmOT3tAE.js} +3 -3
  251. package/dist/components/{p-B_32JVKl.js.map → p-CmOT3tAE.js.map} +1 -1
  252. package/dist/components/{p-B4IVxpr4.js → p-CmU4eYJE.js} +3 -3
  253. package/dist/components/{p-B4IVxpr4.js.map → p-CmU4eYJE.js.map} +1 -1
  254. package/dist/components/{p-BTZzBVqv.js → p-CxQXmlHR.js} +4 -4
  255. package/dist/components/{p-BTZzBVqv.js.map → p-CxQXmlHR.js.map} +1 -1
  256. package/dist/components/{p-Dye7hRk7.js → p-D1kXpb5A.js} +3 -3
  257. package/dist/components/{p-Dye7hRk7.js.map → p-D1kXpb5A.js.map} +1 -1
  258. package/dist/components/{p-CeBCwjRf.js → p-D5-m35gX.js} +3 -3
  259. package/dist/components/{p-CeBCwjRf.js.map → p-D5-m35gX.js.map} +1 -1
  260. package/dist/components/{p-DrCZBGKv.js → p-DBtE-heu.js} +5 -5
  261. package/dist/components/{p-DrCZBGKv.js.map → p-DBtE-heu.js.map} +1 -1
  262. package/dist/components/{p--aWqZ9H9.js → p-DMXuAjLo.js} +3 -3
  263. package/dist/components/{p--aWqZ9H9.js.map → p-DMXuAjLo.js.map} +1 -1
  264. package/dist/components/{p-CnbO_hx0.js → p-DNdQkidf.js} +3 -3
  265. package/dist/components/{p-CnbO_hx0.js.map → p-DNdQkidf.js.map} +1 -1
  266. package/dist/components/{p-DobkLkti.js → p-DOZPKyww.js} +3 -3
  267. package/dist/components/{p-DobkLkti.js.map → p-DOZPKyww.js.map} +1 -1
  268. package/dist/components/{p-DQF6qg3h.js → p-DUWgh2he.js} +3 -3
  269. package/dist/components/{p-DQF6qg3h.js.map → p-DUWgh2he.js.map} +1 -1
  270. package/dist/components/{p-DQFOagz0.js → p-Dd_y3e80.js} +3 -3
  271. package/dist/components/{p-DQFOagz0.js.map → p-Dd_y3e80.js.map} +1 -1
  272. package/dist/components/{p-BsHk9vlU.js → p-DinivoZj.js} +3 -3
  273. package/dist/components/{p-BsHk9vlU.js.map → p-DinivoZj.js.map} +1 -1
  274. package/dist/components/{p-DWD7Oc5l.js → p-DrEl4PxE.js} +3 -3
  275. package/dist/components/{p-DWD7Oc5l.js.map → p-DrEl4PxE.js.map} +1 -1
  276. package/dist/components/{p-CJU2A9Ab.js → p-DrXw6vxx.js} +3 -3
  277. package/dist/components/{p-CJU2A9Ab.js.map → p-DrXw6vxx.js.map} +1 -1
  278. package/dist/components/{p-Bx-hxLP0.js → p-FV14KcoH.js} +3 -3
  279. package/dist/components/{p-Bx-hxLP0.js.map → p-FV14KcoH.js.map} +1 -1
  280. package/dist/components/{p-BMs3J6ty.js → p-WJ7nfpxz.js} +6 -6
  281. package/dist/components/{p-BMs3J6ty.js.map → p-WJ7nfpxz.js.map} +1 -1
  282. package/dist/components/{p-CImZ9bq8.js → p-XmT5SQOF.js} +3 -3
  283. package/dist/components/{p-CImZ9bq8.js.map → p-XmT5SQOF.js.map} +1 -1
  284. package/dist/components/{p-DnDXrxJ7.js → p-joRNg4Kk.js} +3 -3
  285. package/dist/components/{p-DnDXrxJ7.js.map → p-joRNg4Kk.js.map} +1 -1
  286. package/dist/esm/af-accordion-item.entry.js +1 -1
  287. package/dist/esm/af-accordion.entry.js +1 -1
  288. package/dist/esm/af-aspect-ratio.entry.js +1 -1
  289. package/dist/esm/af-button-group.entry.js +1 -1
  290. package/dist/esm/af-button.entry.js +1 -1
  291. package/dist/esm/af-card.entry.js +1 -1
  292. package/dist/esm/af-center.entry.js +1 -1
  293. package/dist/esm/af-checkbox.entry.js +1 -1
  294. package/dist/esm/af-client-carousel.entry.js +1 -1
  295. package/dist/esm/af-color-swatch.entry.js +1 -1
  296. package/dist/esm/af-contact-item.entry.js +1 -1
  297. package/dist/esm/af-container.entry.js +1 -1
  298. package/dist/esm/af-divider.entry.js +1 -1
  299. package/dist/esm/af-feature-accordion.entry.js +1 -1
  300. package/dist/esm/af-feature-card.entry.js +1 -1
  301. package/dist/esm/af-feature-grid.entry.js +1 -1
  302. package/dist/esm/af-fieldset.entry.js +1 -1
  303. package/dist/esm/af-footer-column.entry.js +1 -1
  304. package/dist/esm/af-footer-link.entry.js +1 -1
  305. package/dist/esm/af-footer.entry.js +1 -1
  306. package/dist/esm/af-grid-callout.entry.js +1 -1
  307. package/dist/esm/af-grid.entry.js +1 -1
  308. package/dist/esm/af-heading_5.entry.js +1 -1
  309. package/dist/esm/af-hero.entry.js +1 -1
  310. package/dist/esm/af-icon-box.entry.js +1 -1
  311. package/dist/esm/af-icon-button.entry.js +1 -1
  312. package/dist/esm/af-icon-text.entry.js +1 -1
  313. package/dist/esm/af-icon.entry.js +1 -1
  314. package/dist/esm/af-illustrated-card.entry.js +1 -1
  315. package/dist/esm/af-image.entry.js +1 -1
  316. package/dist/esm/af-in-page-banner.entry.js +1 -1
  317. package/dist/esm/af-inline.entry.js +1 -1
  318. package/dist/esm/af-input.entry.js +1 -1
  319. package/dist/esm/af-logo-well.entry.js +1 -1
  320. package/dist/esm/af-nav-accordion-item.entry.js +1 -1
  321. package/dist/esm/af-nav-accordion.entry.js +1 -1
  322. package/dist/esm/af-nav-card.entry.js +1 -1
  323. package/dist/esm/af-nav-menu-nest.entry.js +1 -1
  324. package/dist/esm/af-nav-menu.entry.js +1 -1
  325. package/dist/esm/af-number-badge.entry.js +1 -1
  326. package/dist/esm/af-numbered-stepper-item.entry.js +1 -1
  327. package/dist/esm/af-numbered-stepper.entry.js +1 -1
  328. package/dist/esm/af-paperclip-decoration.entry.js +1 -1
  329. package/dist/esm/af-progress-line.entry.js +1 -1
  330. package/dist/esm/af-radio.entry.js +1 -1
  331. package/dist/esm/af-section.entry.js +1 -1
  332. package/dist/esm/af-show.entry.js +1 -1
  333. package/dist/esm/af-social-link.entry.js +1 -1
  334. package/dist/esm/af-spacer.entry.js +1 -1
  335. package/dist/esm/af-split-section.entry.js +1 -1
  336. package/dist/esm/af-stack.entry.js +1 -1
  337. package/dist/esm/af-stat.entry.js +1 -1
  338. package/dist/esm/af-stats-row.entry.js +1 -1
  339. package/dist/esm/af-stepper-step.entry.js +1 -1
  340. package/dist/esm/af-stepper.entry.js +1 -1
  341. package/dist/esm/af-switch.entry.js +1 -1
  342. package/dist/esm/af-tab-bar.entry.js +1 -1
  343. package/dist/esm/af-tab.entry.js +1 -1
  344. package/dist/esm/af-tag.entry.js +1 -1
  345. package/dist/esm/af-testimonial-carousel.entry.js +1 -1
  346. package/dist/esm/af-testimonial-stat.entry.js +1 -1
  347. package/dist/esm/af-testimonial.entry.js +1 -1
  348. package/dist/esm/af-text-image-nest.entry.js +1 -1
  349. package/dist/esm/af-text-image.entry.js +1 -1
  350. package/dist/esm/af-textarea.entry.js +1 -1
  351. package/dist/esm/af-theme-override.entry.js +1 -1
  352. package/dist/esm/af-typography-lockup.entry.js +1 -1
  353. package/dist/esm/af-video-container.entry.js +1 -1
  354. package/dist/esm/af-visually-hidden.entry.js +1 -1
  355. package/dist/esm/affinda.js +2 -2
  356. package/dist/esm/{index-C4WBekD2.js → index-CYq0zyKH.js} +647 -9
  357. package/dist/esm/index-CYq0zyKH.js.map +1 -0
  358. package/dist/esm/index.js +1 -1
  359. package/dist/esm/loader.js +2 -2
  360. package/dist/hydrate/index.d.ts +275 -0
  361. package/dist/hydrate/index.js +24871 -0
  362. package/dist/hydrate/index.mjs +24863 -0
  363. package/dist/hydrate/package.json +12 -0
  364. package/package.json +21 -1
  365. package/dist/affinda/p-C4WBekD2.js +0 -3
  366. package/dist/affinda/p-C4WBekD2.js.map +0 -1
  367. package/dist/affinda/p-d0fdef08.entry.js +0 -2
  368. package/dist/cjs/index-3161MbMQ.js.map +0 -1
  369. package/dist/components/p-CiY0Twna.js.map +0 -1
  370. package/dist/esm/index-C4WBekD2.js.map +0 -1
  371. /package/dist/affinda/{p-8fe10b18.entry.js.map → p-02c6f6d1.entry.js.map} +0 -0
  372. /package/dist/affinda/{p-5885ebd3.entry.js.map → p-0c7d81d0.entry.js.map} +0 -0
  373. /package/dist/affinda/{p-d40f8d18.entry.js.map → p-1554f3d7.entry.js.map} +0 -0
  374. /package/dist/affinda/{p-0254b263.entry.js.map → p-15a1d019.entry.js.map} +0 -0
  375. /package/dist/affinda/{p-4f731d31.entry.js.map → p-1819ae80.entry.js.map} +0 -0
  376. /package/dist/affinda/{p-6898d4bd.entry.js.map → p-1a71d0f9.entry.js.map} +0 -0
  377. /package/dist/affinda/{p-4f15b8f0.entry.js.map → p-1e59a051.entry.js.map} +0 -0
  378. /package/dist/affinda/{p-c0f71971.entry.js.map → p-1f2f7fff.entry.js.map} +0 -0
  379. /package/dist/affinda/{p-7eb0875d.entry.js.map → p-20faf28d.entry.js.map} +0 -0
  380. /package/dist/affinda/{p-42c4d7b1.entry.js.map → p-2716cdc4.entry.js.map} +0 -0
  381. /package/dist/affinda/{p-62eb01fa.entry.js.map → p-3084cb0f.entry.js.map} +0 -0
  382. /package/dist/affinda/{p-8a2cbcf0.entry.js.map → p-31d96ddc.entry.js.map} +0 -0
  383. /package/dist/affinda/{p-aa9c2609.entry.js.map → p-374f9557.entry.js.map} +0 -0
  384. /package/dist/affinda/{p-15eac0d5.entry.js.map → p-3fd3d4cd.entry.js.map} +0 -0
  385. /package/dist/affinda/{p-b13c1438.entry.js.map → p-41580a3c.entry.js.map} +0 -0
  386. /package/dist/affinda/{p-43a0286a.entry.js.map → p-47d2f72b.entry.js.map} +0 -0
  387. /package/dist/affinda/{p-9dfb5fab.entry.js.map → p-50e12df0.entry.js.map} +0 -0
  388. /package/dist/affinda/{p-b69bce30.entry.js.map → p-54dc41a9.entry.js.map} +0 -0
  389. /package/dist/affinda/{p-283a9dec.entry.js.map → p-56e96bd3.entry.js.map} +0 -0
  390. /package/dist/affinda/{p-3cd4edd0.entry.js.map → p-5834ffe7.entry.js.map} +0 -0
  391. /package/dist/affinda/{p-a35ab849.entry.js.map → p-5e966aa6.entry.js.map} +0 -0
  392. /package/dist/affinda/{p-dd933272.entry.js.map → p-616e0116.entry.js.map} +0 -0
  393. /package/dist/affinda/{p-3b429a16.entry.js.map → p-64159112.entry.js.map} +0 -0
  394. /package/dist/affinda/{p-606159d2.entry.js.map → p-656630fc.entry.js.map} +0 -0
  395. /package/dist/affinda/{p-3a7afe33.entry.js.map → p-67b08108.entry.js.map} +0 -0
  396. /package/dist/affinda/{p-5e01b103.entry.js.map → p-6ff65e42.entry.js.map} +0 -0
  397. /package/dist/affinda/{p-369dfdd8.entry.js.map → p-75d76909.entry.js.map} +0 -0
  398. /package/dist/affinda/{p-b82fc7f1.entry.js.map → p-761f06ae.entry.js.map} +0 -0
  399. /package/dist/affinda/{p-d9ff321b.entry.js.map → p-7b08b7ba.entry.js.map} +0 -0
  400. /package/dist/affinda/{p-db7eb209.entry.js.map → p-7eff3490.entry.js.map} +0 -0
  401. /package/dist/affinda/{p-7faa3fb9.entry.js.map → p-838bbc80.entry.js.map} +0 -0
  402. /package/dist/affinda/{p-d12d33c8.entry.js.map → p-88f38401.entry.js.map} +0 -0
  403. /package/dist/affinda/{p-b2a41a48.entry.js.map → p-8b0d08de.entry.js.map} +0 -0
  404. /package/dist/affinda/{p-f5b4923f.entry.js.map → p-8f36e911.entry.js.map} +0 -0
  405. /package/dist/affinda/{p-73de3aa7.entry.js.map → p-919e2144.entry.js.map} +0 -0
  406. /package/dist/affinda/{p-08a42935.entry.js.map → p-92c61bad.entry.js.map} +0 -0
  407. /package/dist/affinda/{p-646b73fb.entry.js.map → p-94119fa2.entry.js.map} +0 -0
  408. /package/dist/affinda/{p-6949fbdf.entry.js.map → p-95da58f3.entry.js.map} +0 -0
  409. /package/dist/affinda/{p-4ff626de.entry.js.map → p-976e0c29.entry.js.map} +0 -0
  410. /package/dist/affinda/{p-1efa4787.entry.js.map → p-99b37588.entry.js.map} +0 -0
  411. /package/dist/affinda/{p-988fb256.entry.js.map → p-a196f362.entry.js.map} +0 -0
  412. /package/dist/affinda/{p-91b71a8f.entry.js.map → p-a3ed4092.entry.js.map} +0 -0
  413. /package/dist/affinda/{p-a70ce66f.entry.js.map → p-a4b36eb7.entry.js.map} +0 -0
  414. /package/dist/affinda/{p-27026c90.entry.js.map → p-a6be61c2.entry.js.map} +0 -0
  415. /package/dist/affinda/{p-bc1088a7.entry.js.map → p-a79077d5.entry.js.map} +0 -0
  416. /package/dist/affinda/{p-cebfc8a9.entry.js.map → p-b31e438d.entry.js.map} +0 -0
  417. /package/dist/affinda/{p-64f24ab4.entry.js.map → p-b77fa201.entry.js.map} +0 -0
  418. /package/dist/affinda/{p-6de54e73.entry.js.map → p-bb80195f.entry.js.map} +0 -0
  419. /package/dist/affinda/{p-7640c285.entry.js.map → p-bc59dc0e.entry.js.map} +0 -0
  420. /package/dist/affinda/{p-d275fb5d.entry.js.map → p-be219843.entry.js.map} +0 -0
  421. /package/dist/affinda/{p-17c2999b.entry.js.map → p-c15d00b5.entry.js.map} +0 -0
  422. /package/dist/affinda/{p-02427605.entry.js.map → p-c23d7aa5.entry.js.map} +0 -0
  423. /package/dist/affinda/{p-6df7b689.entry.js.map → p-c2a6c874.entry.js.map} +0 -0
  424. /package/dist/affinda/{p-d34da6c0.entry.js.map → p-c6aa66f3.entry.js.map} +0 -0
  425. /package/dist/affinda/{p-2d5eb5ac.entry.js.map → p-c925d301.entry.js.map} +0 -0
  426. /package/dist/affinda/{p-42c69bc9.entry.js.map → p-cc2539de.entry.js.map} +0 -0
  427. /package/dist/affinda/{p-972984a9.entry.js.map → p-cd21a62a.entry.js.map} +0 -0
  428. /package/dist/affinda/{p-4f422489.entry.js.map → p-cea1c1ff.entry.js.map} +0 -0
  429. /package/dist/affinda/{p-1aa795c7.entry.js.map → p-d573d115.entry.js.map} +0 -0
  430. /package/dist/affinda/{p-c2c16447.entry.js.map → p-d9b0f217.entry.js.map} +0 -0
  431. /package/dist/affinda/{p-f76ef563.entry.js.map → p-df10dee2.entry.js.map} +0 -0
  432. /package/dist/affinda/{p-09e202d1.entry.js.map → p-e057ebf1.entry.js.map} +0 -0
  433. /package/dist/affinda/{p-df6c7170.entry.js.map → p-e10c03b6.entry.js.map} +0 -0
  434. /package/dist/affinda/{p-78941fec.entry.js.map → p-ea5aea86.entry.js.map} +0 -0
  435. /package/dist/affinda/{p-8eb60b77.entry.js.map → p-eca85313.entry.js.map} +0 -0
  436. /package/dist/affinda/{p-bdb3e590.entry.js.map → p-f1705df1.entry.js.map} +0 -0
  437. /package/dist/affinda/{p-a326d8f6.entry.js.map → p-f38688c6.entry.js.map} +0 -0
  438. /package/dist/affinda/{p-d0fdef08.entry.js.map → p-fd772af4.entry.js.map} +0 -0
  439. /package/dist/affinda/{p-4ccc3147.entry.js.map → p-fe09a283.entry.js.map} +0 -0
@@ -18,6 +18,30 @@ var __export = (target, all) => {
18
18
  // src/utils/constants.ts
19
19
  var SVG_NS = "http://www.w3.org/2000/svg";
20
20
  var HTML_NS = "http://www.w3.org/1999/xhtml";
21
+ var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
22
+ PrimitiveType2["Undefined"] = "undefined";
23
+ PrimitiveType2["Null"] = "null";
24
+ PrimitiveType2["String"] = "string";
25
+ PrimitiveType2["Number"] = "number";
26
+ PrimitiveType2["SpecialNumber"] = "number";
27
+ PrimitiveType2["Boolean"] = "boolean";
28
+ PrimitiveType2["BigInt"] = "bigint";
29
+ return PrimitiveType2;
30
+ })(PrimitiveType || {});
31
+ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
32
+ NonPrimitiveType2["Array"] = "array";
33
+ NonPrimitiveType2["Date"] = "date";
34
+ NonPrimitiveType2["Map"] = "map";
35
+ NonPrimitiveType2["Object"] = "object";
36
+ NonPrimitiveType2["RegularExpression"] = "regexp";
37
+ NonPrimitiveType2["Set"] = "set";
38
+ NonPrimitiveType2["Channel"] = "channel";
39
+ NonPrimitiveType2["Symbol"] = "symbol";
40
+ return NonPrimitiveType2;
41
+ })(NonPrimitiveType || {});
42
+ var TYPE_CONSTANT = "type";
43
+ var VALUE_CONSTANT = "value";
44
+ var SERIALIZED_PREFIX = "serialized:";
21
45
 
22
46
  // src/client/client-host-ref.ts
23
47
  var getHostRef = (ref) => {
@@ -91,6 +115,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
91
115
 
92
116
  // src/client/client-style.ts
93
117
  var styles = /* @__PURE__ */ new Map();
118
+
119
+ // src/runtime/runtime-constants.ts
120
+ var CONTENT_REF_ID = "r";
121
+ var ORG_LOCATION_ID = "o";
122
+ var SLOT_NODE_ID = "s";
123
+ var TEXT_NODE_ID = "t";
124
+ var COMMENT_NODE_ID = "c";
125
+ var HYDRATE_ID = "s-id";
126
+ var HYDRATED_STYLE_ID = "sty-id";
127
+ var HYDRATE_CHILD_ID = "c-id";
94
128
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
95
129
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
96
130
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -185,6 +219,101 @@ var escapeRegExpSpecialCharacters = (text) => {
185
219
  return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
186
220
  };
187
221
 
222
+ // src/utils/remote-value.ts
223
+ var RemoteValue = class _RemoteValue {
224
+ /**
225
+ * Deserializes a LocalValue serialized object back to its original JavaScript representation
226
+ *
227
+ * @param serialized The serialized LocalValue object
228
+ * @returns The original JavaScript value/object
229
+ */
230
+ static fromLocalValue(serialized) {
231
+ const type = serialized[TYPE_CONSTANT];
232
+ const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
233
+ switch (type) {
234
+ case "string" /* String */:
235
+ return value;
236
+ case "boolean" /* Boolean */:
237
+ return value;
238
+ case "bigint" /* BigInt */:
239
+ return BigInt(value);
240
+ case "undefined" /* Undefined */:
241
+ return void 0;
242
+ case "null" /* Null */:
243
+ return null;
244
+ case "number" /* Number */:
245
+ if (value === "NaN") return NaN;
246
+ if (value === "-0") return -0;
247
+ if (value === "Infinity") return Infinity;
248
+ if (value === "-Infinity") return -Infinity;
249
+ return value;
250
+ case "array" /* Array */:
251
+ return value.map((item) => _RemoteValue.fromLocalValue(item));
252
+ case "date" /* Date */:
253
+ return new Date(value);
254
+ case "map" /* Map */:
255
+ const map2 = /* @__PURE__ */ new Map();
256
+ for (const [key, val] of value) {
257
+ const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
258
+ const deserializedValue = _RemoteValue.fromLocalValue(val);
259
+ map2.set(deserializedKey, deserializedValue);
260
+ }
261
+ return map2;
262
+ case "object" /* Object */:
263
+ const obj = {};
264
+ for (const [key, val] of value) {
265
+ obj[key] = _RemoteValue.fromLocalValue(val);
266
+ }
267
+ return obj;
268
+ case "regexp" /* RegularExpression */:
269
+ const { pattern, flags } = value;
270
+ return new RegExp(pattern, flags);
271
+ case "set" /* Set */:
272
+ const set = /* @__PURE__ */ new Set();
273
+ for (const item of value) {
274
+ set.add(_RemoteValue.fromLocalValue(item));
275
+ }
276
+ return set;
277
+ case "symbol" /* Symbol */:
278
+ return Symbol(value);
279
+ default:
280
+ throw new Error(`Unsupported type: ${type}`);
281
+ }
282
+ }
283
+ /**
284
+ * Utility method to deserialize multiple LocalValues at once
285
+ *
286
+ * @param serializedValues Array of serialized LocalValue objects
287
+ * @returns Array of deserialized JavaScript values
288
+ */
289
+ static fromLocalValueArray(serializedValues) {
290
+ return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
291
+ }
292
+ /**
293
+ * Verifies if the given object matches the structure of a serialized LocalValue
294
+ *
295
+ * @param obj Object to verify
296
+ * @returns boolean indicating if the object has LocalValue structure
297
+ */
298
+ static isLocalValueObject(obj) {
299
+ if (typeof obj !== "object" || obj === null) {
300
+ return false;
301
+ }
302
+ if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
303
+ return false;
304
+ }
305
+ const type = obj[TYPE_CONSTANT];
306
+ const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
307
+ if (!hasTypeProperty) {
308
+ return false;
309
+ }
310
+ if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
311
+ return obj.hasOwnProperty(VALUE_CONSTANT);
312
+ }
313
+ return true;
314
+ }
315
+ };
316
+
188
317
  // src/utils/result.ts
189
318
  var result_exports = {};
190
319
  __export(result_exports, {
@@ -234,6 +363,14 @@ var unwrapErr = (result) => {
234
363
  }
235
364
  };
236
365
 
366
+ // src/utils/serialize.ts
367
+ function deserializeProperty(value) {
368
+ if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
369
+ return value;
370
+ }
371
+ return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
372
+ }
373
+
237
374
  // src/utils/style.ts
238
375
  function createStyleSheetIfNeededAndSupported(styles2) {
239
376
  if (!supportsConstructableStylesheets) return void 0;
@@ -324,6 +461,34 @@ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
324
461
  }
325
462
  return slotName === "";
326
463
  };
464
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
465
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
466
+ return;
467
+ }
468
+ const slottedNodeLocation = document.createTextNode("");
469
+ slottedNodeLocation["s-nr"] = newChild;
470
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
471
+ const parent = slotNode["s-cr"].parentNode;
472
+ const appendMethod = internalCall(parent, "appendChild");
473
+ if (typeof position !== "undefined") {
474
+ slottedNodeLocation["s-oo"] = position;
475
+ const childNodes = internalCall(parent, "childNodes");
476
+ const slotRelocateNodes = [slottedNodeLocation];
477
+ childNodes.forEach((n) => {
478
+ if (n["s-nr"]) slotRelocateNodes.push(n);
479
+ });
480
+ slotRelocateNodes.sort((a, b) => {
481
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
482
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
483
+ return 0;
484
+ });
485
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
486
+ } else {
487
+ appendMethod.call(parent, slottedNodeLocation);
488
+ }
489
+ newChild["s-ol"] = slottedNodeLocation;
490
+ newChild["s-sh"] = slotNode["s-hn"];
491
+ };
327
492
  var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
328
493
  function patchSlotNode(node) {
329
494
  if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
@@ -408,7 +573,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
408
573
  rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
409
574
  }
410
575
  if (!appliedStyles.has(scopeId2)) {
411
- {
576
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
577
+ styleElm.innerHTML = style;
578
+ } else {
412
579
  styleElm = win.document.createElement("style");
413
580
  styleElm.innerHTML = style;
414
581
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
@@ -480,6 +647,17 @@ var attachStyles = (hostRef) => {
480
647
  endAttachStyles();
481
648
  };
482
649
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
650
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
651
+ var hydrateScopedToShadow = () => {
652
+ if (!win.document) {
653
+ return;
654
+ }
655
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
656
+ let i2 = 0;
657
+ for (; i2 < styles2.length; i2++) {
658
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
659
+ }
660
+ };
483
661
  var h = (nodeName, vnodeData, ...children) => {
484
662
  let child = null;
485
663
  let key = null;
@@ -591,6 +769,422 @@ var convertToPrivate = (node) => {
591
769
  vnode.$name$ = node.vname;
592
770
  return vnode;
593
771
  };
772
+
773
+ // src/runtime/client-hydrate.ts
774
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
775
+ var _a, _b;
776
+ const endHydrate = createTime("hydrateClient", tagName);
777
+ const shadowRoot = hostElm.shadowRoot;
778
+ const childRenderNodes = [];
779
+ const slotNodes = [];
780
+ const slottedNodes = [];
781
+ const shadowRootNodes = shadowRoot ? [] : null;
782
+ const vnode = newVNode(tagName, null);
783
+ vnode.$elm$ = hostElm;
784
+ let scopeId2;
785
+ {
786
+ const cmpMeta = hostRef.$cmpMeta$;
787
+ if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
788
+ scopeId2 = hostElm["s-sc"];
789
+ hostElm.classList.add(scopeId2 + "-h");
790
+ } else if (hostElm["s-sc"]) {
791
+ delete hostElm["s-sc"];
792
+ }
793
+ }
794
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
795
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
796
+ }
797
+ hostElm[HYDRATE_ID] = hostId;
798
+ hostElm.removeAttribute(HYDRATE_ID);
799
+ hostRef.$vnode$ = clientHydrate(
800
+ vnode,
801
+ childRenderNodes,
802
+ slotNodes,
803
+ shadowRootNodes,
804
+ hostElm,
805
+ hostElm,
806
+ hostId,
807
+ slottedNodes
808
+ );
809
+ let crIndex = 0;
810
+ const crLength = childRenderNodes.length;
811
+ let childRenderNode;
812
+ for (crIndex; crIndex < crLength; crIndex++) {
813
+ childRenderNode = childRenderNodes[crIndex];
814
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
815
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
816
+ const node = childRenderNode.$elm$;
817
+ if (!shadowRoot) {
818
+ node["s-hn"] = tagName.toUpperCase();
819
+ if (childRenderNode.$tag$ === "slot") {
820
+ node["s-cr"] = hostElm["s-cr"];
821
+ }
822
+ } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
823
+ const cmpMeta = getHostRef(childRenderNode.$elm$);
824
+ if (cmpMeta) {
825
+ const scopeId3 = getScopeId(
826
+ cmpMeta.$cmpMeta$);
827
+ const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
828
+ if (styleSheet) {
829
+ hostElm.shadowRoot.append(styleSheet.cloneNode(true));
830
+ }
831
+ }
832
+ }
833
+ if (childRenderNode.$tag$ === "slot") {
834
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
835
+ if (childRenderNode.$children$) {
836
+ childRenderNode.$flags$ |= 2 /* isSlotFallback */;
837
+ if (!childRenderNode.$elm$.childNodes.length) {
838
+ childRenderNode.$children$.forEach((c) => {
839
+ childRenderNode.$elm$.appendChild(c.$elm$);
840
+ });
841
+ }
842
+ } else {
843
+ childRenderNode.$flags$ |= 1 /* isSlotReference */;
844
+ }
845
+ }
846
+ if (orgLocationNode && orgLocationNode.isConnected) {
847
+ if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
848
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
849
+ }
850
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
851
+ if (!shadowRoot) {
852
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
853
+ }
854
+ }
855
+ if (orgLocationNode && !orgLocationNode["s-id"]) {
856
+ plt.$orgLocNodes$.delete(orgLocationId);
857
+ }
858
+ }
859
+ const hosts = [];
860
+ const snLen = slottedNodes.length;
861
+ let snIndex = 0;
862
+ let slotGroup;
863
+ let snGroupIdx;
864
+ let snGroupLen;
865
+ let slottedItem;
866
+ for (snIndex; snIndex < snLen; snIndex++) {
867
+ slotGroup = slottedNodes[snIndex];
868
+ if (!slotGroup || !slotGroup.length) continue;
869
+ snGroupLen = slotGroup.length;
870
+ snGroupIdx = 0;
871
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
872
+ slottedItem = slotGroup[snGroupIdx];
873
+ if (!hosts[slottedItem.hostId]) {
874
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
875
+ }
876
+ if (!hosts[slottedItem.hostId]) continue;
877
+ const hostEle = hosts[slottedItem.hostId];
878
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
879
+ hostEle.appendChild(slottedItem.node);
880
+ }
881
+ if (!hostEle.shadowRoot || !shadowRoot) {
882
+ if (!slottedItem.slot["s-cr"]) {
883
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
884
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
885
+ slottedItem.slot["s-cr"] = hostEle;
886
+ } else {
887
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
888
+ }
889
+ }
890
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
891
+ if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
892
+ slottedItem.node.removeAttribute("slot");
893
+ }
894
+ }
895
+ }
896
+ }
897
+ if (scopeId2 && slotNodes.length) {
898
+ slotNodes.forEach((slot) => {
899
+ slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
900
+ });
901
+ }
902
+ if (shadowRoot) {
903
+ let rnIdex = 0;
904
+ const rnLen = shadowRootNodes.length;
905
+ if (rnLen) {
906
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
907
+ const node = shadowRootNodes[rnIdex];
908
+ if (node) {
909
+ shadowRoot.appendChild(node);
910
+ }
911
+ }
912
+ Array.from(hostElm.childNodes).forEach((node) => {
913
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
914
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
915
+ node.removeAttribute("hidden");
916
+ } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
917
+ node.parentNode.removeChild(node);
918
+ }
919
+ }
920
+ });
921
+ }
922
+ }
923
+ hostRef.$hostElement$ = hostElm;
924
+ endHydrate();
925
+ };
926
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
927
+ let childNodeType;
928
+ let childIdSplt;
929
+ let childVNode;
930
+ let i2;
931
+ const scopeId2 = hostElm["s-sc"];
932
+ if (node.nodeType === 1 /* ElementNode */) {
933
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
934
+ if (childNodeType) {
935
+ childIdSplt = childNodeType.split(".");
936
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
937
+ childVNode = createSimpleVNode({
938
+ $flags$: 0,
939
+ $hostId$: childIdSplt[0],
940
+ $nodeId$: childIdSplt[1],
941
+ $depth$: childIdSplt[2],
942
+ $index$: childIdSplt[3],
943
+ $tag$: node.tagName.toLowerCase(),
944
+ $elm$: node,
945
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
946
+ // won't try to reconcile them. Classes set on the node will be blown away.
947
+ $attrs$: { class: node.className || "" }
948
+ });
949
+ childRenderNodes.push(childVNode);
950
+ node.removeAttribute(HYDRATE_CHILD_ID);
951
+ if (!parentVNode.$children$) {
952
+ parentVNode.$children$ = [];
953
+ }
954
+ if (scopeId2 && childIdSplt[0] === hostId) {
955
+ node["s-si"] = scopeId2;
956
+ childVNode.$attrs$.class += " " + scopeId2;
957
+ }
958
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
959
+ if (typeof slotName === "string") {
960
+ if (childVNode.$tag$ === "slot-fb") {
961
+ addSlot(
962
+ slotName,
963
+ childIdSplt[2],
964
+ childVNode,
965
+ node,
966
+ parentVNode,
967
+ childRenderNodes,
968
+ slotNodes,
969
+ shadowRootNodes,
970
+ slottedNodes
971
+ );
972
+ if (scopeId2) {
973
+ node.classList.add(scopeId2);
974
+ }
975
+ }
976
+ childVNode.$elm$["s-sn"] = slotName;
977
+ childVNode.$elm$.removeAttribute("s-sn");
978
+ }
979
+ if (childVNode.$index$ !== void 0) {
980
+ parentVNode.$children$[childVNode.$index$] = childVNode;
981
+ }
982
+ parentVNode = childVNode;
983
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
984
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
985
+ }
986
+ }
987
+ }
988
+ if (node.shadowRoot) {
989
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
990
+ clientHydrate(
991
+ parentVNode,
992
+ childRenderNodes,
993
+ slotNodes,
994
+ shadowRootNodes,
995
+ hostElm,
996
+ node.shadowRoot.childNodes[i2],
997
+ hostId,
998
+ slottedNodes
999
+ );
1000
+ }
1001
+ }
1002
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1003
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
1004
+ clientHydrate(
1005
+ parentVNode,
1006
+ childRenderNodes,
1007
+ slotNodes,
1008
+ shadowRootNodes,
1009
+ hostElm,
1010
+ nonShadowNodes[i2],
1011
+ hostId,
1012
+ slottedNodes
1013
+ );
1014
+ }
1015
+ } else if (node.nodeType === 8 /* CommentNode */) {
1016
+ childIdSplt = node.nodeValue.split(".");
1017
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
1018
+ childNodeType = childIdSplt[0];
1019
+ childVNode = createSimpleVNode({
1020
+ $hostId$: childIdSplt[1],
1021
+ $nodeId$: childIdSplt[2],
1022
+ $depth$: childIdSplt[3],
1023
+ $index$: childIdSplt[4] || "0",
1024
+ $elm$: node,
1025
+ $attrs$: null,
1026
+ $children$: null,
1027
+ $key$: null,
1028
+ $name$: null,
1029
+ $tag$: null,
1030
+ $text$: null
1031
+ });
1032
+ if (childNodeType === TEXT_NODE_ID) {
1033
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
1034
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
1035
+ childVNode.$text$ = childVNode.$elm$.textContent;
1036
+ childRenderNodes.push(childVNode);
1037
+ node.remove();
1038
+ if (hostId === childVNode.$hostId$) {
1039
+ if (!parentVNode.$children$) {
1040
+ parentVNode.$children$ = [];
1041
+ }
1042
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1043
+ }
1044
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1045
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1046
+ }
1047
+ }
1048
+ } else if (childNodeType === COMMENT_NODE_ID) {
1049
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
1050
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
1051
+ childRenderNodes.push(childVNode);
1052
+ node.remove();
1053
+ }
1054
+ } else if (childVNode.$hostId$ === hostId) {
1055
+ if (childNodeType === SLOT_NODE_ID) {
1056
+ const slotName = node["s-sn"] = childIdSplt[5] || "";
1057
+ addSlot(
1058
+ slotName,
1059
+ childIdSplt[2],
1060
+ childVNode,
1061
+ node,
1062
+ parentVNode,
1063
+ childRenderNodes,
1064
+ slotNodes,
1065
+ shadowRootNodes,
1066
+ slottedNodes
1067
+ );
1068
+ } else if (childNodeType === CONTENT_REF_ID) {
1069
+ if (shadowRootNodes) {
1070
+ node.remove();
1071
+ } else {
1072
+ hostElm["s-cr"] = node;
1073
+ node["s-cn"] = true;
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
1079
+ const vnode = newVNode(null, node.textContent);
1080
+ vnode.$elm$ = node;
1081
+ vnode.$index$ = "0";
1082
+ parentVNode.$children$ = [vnode];
1083
+ } else {
1084
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
1085
+ node.remove();
1086
+ }
1087
+ }
1088
+ return parentVNode;
1089
+ };
1090
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
1091
+ if (node.nodeType === 1 /* ElementNode */) {
1092
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
1093
+ if (componentId) {
1094
+ orgLocNodes.set(componentId, node);
1095
+ }
1096
+ let i2 = 0;
1097
+ if (node.shadowRoot) {
1098
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
1099
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
1100
+ }
1101
+ }
1102
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1103
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
1104
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
1105
+ }
1106
+ } else if (node.nodeType === 8 /* CommentNode */) {
1107
+ const childIdSplt = node.nodeValue.split(".");
1108
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
1109
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
1110
+ node.nodeValue = "";
1111
+ node["s-en"] = childIdSplt[3];
1112
+ }
1113
+ }
1114
+ };
1115
+ var createSimpleVNode = (vnode) => {
1116
+ const defaultVNode = {
1117
+ $flags$: 0,
1118
+ $hostId$: null,
1119
+ $nodeId$: null,
1120
+ $depth$: null,
1121
+ $index$: "0",
1122
+ $elm$: null,
1123
+ $attrs$: null,
1124
+ $children$: null,
1125
+ $key$: null,
1126
+ $name$: null,
1127
+ $tag$: null,
1128
+ $text$: null
1129
+ };
1130
+ return { ...defaultVNode, ...vnode };
1131
+ };
1132
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
1133
+ node["s-sr"] = true;
1134
+ childVNode.$name$ = slotName || null;
1135
+ childVNode.$tag$ = "slot";
1136
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1137
+ if (shadowRootNodes && win.document) {
1138
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
1139
+ if (childVNode.$name$) {
1140
+ childVNode.$elm$.setAttribute("name", slotName);
1141
+ }
1142
+ if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1143
+ internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1144
+ } else {
1145
+ internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1146
+ }
1147
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1148
+ node.remove();
1149
+ if (childVNode.$depth$ === "0") {
1150
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1151
+ }
1152
+ } else {
1153
+ const slot = childVNode.$elm$;
1154
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1155
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1156
+ patchSlotNode(node);
1157
+ if (shouldMove) {
1158
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1159
+ }
1160
+ }
1161
+ childRenderNodes.push(childVNode);
1162
+ slotNodes.push(childVNode);
1163
+ if (!parentVNode.$children$) {
1164
+ parentVNode.$children$ = [];
1165
+ }
1166
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1167
+ }
1168
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1169
+ var _a, _b;
1170
+ let slottedNode = slotNode.nextSibling;
1171
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1172
+ if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1173
+ do {
1174
+ 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 */))) {
1175
+ slottedNode["s-sn"] = slotName;
1176
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1177
+ }
1178
+ slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1179
+ } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1180
+ };
1181
+ var findCorrespondingNode = (node, type) => {
1182
+ let sibling = node;
1183
+ do {
1184
+ sibling = sibling.nextSibling;
1185
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
1186
+ return sibling;
1187
+ };
594
1188
  var createSupportsRuleRe = (selector) => {
595
1189
  const safeSelector2 = escapeRegExpSpecialCharacters(selector);
596
1190
  return new RegExp(
@@ -604,6 +1198,10 @@ createSupportsRuleRe("::slotted");
604
1198
  createSupportsRuleRe(":host");
605
1199
  createSupportsRuleRe(":host-context");
606
1200
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1201
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1202
+ propValue = deserializeProperty(propValue);
1203
+ return propValue;
1204
+ }
607
1205
  if (propValue != null && !isComplexType(propValue)) {
608
1206
  if (propType & 4 /* Boolean */) {
609
1207
  {
@@ -654,7 +1252,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
654
1252
  const classList = elm.classList;
655
1253
  const oldClasses = parseClassList(oldValue);
656
1254
  let newClasses = parseClassList(newValue);
657
- {
1255
+ if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1256
+ const scopeId2 = elm["s-sc"] || elm["s-si"];
1257
+ newClasses.push(scopeId2);
1258
+ oldClasses.forEach((c) => {
1259
+ if (c.startsWith(scopeId2)) newClasses.push(c);
1260
+ });
1261
+ newClasses = [...new Set(newClasses)].filter((c) => c);
1262
+ classList.add(...newClasses);
1263
+ } else {
658
1264
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
659
1265
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
660
1266
  }
@@ -774,7 +1380,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
774
1380
  oldVnodeAttrs[memberName],
775
1381
  void 0,
776
1382
  isSvgMode2,
777
- newVnode.$flags$);
1383
+ newVnode.$flags$,
1384
+ isInitialRender
1385
+ );
778
1386
  }
779
1387
  }
780
1388
  }
@@ -785,7 +1393,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
785
1393
  oldVnodeAttrs[memberName],
786
1394
  newVnodeAttrs[memberName],
787
1395
  isSvgMode2,
788
- newVnode.$flags$);
1396
+ newVnode.$flags$,
1397
+ isInitialRender
1398
+ );
789
1399
  }
790
1400
  };
791
1401
  function sortedAttrNames(attrNames) {
@@ -1070,7 +1680,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1070
1680
  isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1071
1681
  }
1072
1682
  {
1073
- updateElement(oldVNode, newVNode2, isSvgMode);
1683
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1074
1684
  }
1075
1685
  if (oldChildren !== null && newChildren !== null) {
1076
1686
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -1084,7 +1694,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1084
1694
  !isInitialRender && BUILD.updatable && oldChildren !== null
1085
1695
  ) {
1086
1696
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
1087
- } else ;
1697
+ } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
1698
+ newVNode2.$children$ = oldChildren;
1699
+ }
1088
1700
  if (isSvgMode && tag === "svg") {
1089
1701
  isSvgMode = false;
1090
1702
  }
@@ -1440,7 +2052,13 @@ var postUpdateComponent = (hostRef) => {
1440
2052
  }
1441
2053
  };
1442
2054
  var appDidLoad = (who) => {
2055
+ var _a;
1443
2056
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
2057
+ {
2058
+ if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
2059
+ plt.$orgLocNodes$.clear();
2060
+ }
2061
+ }
1444
2062
  };
1445
2063
  var safeCall = (instance, method, arg, elm) => {
1446
2064
  if (instance && instance[method]) {
@@ -1752,7 +2370,21 @@ var connectedCallback = (elm) => {
1752
2370
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1753
2371
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1754
2372
  hostRef.$flags$ |= 1 /* hasConnected */;
2373
+ let hostId;
1755
2374
  {
2375
+ hostId = elm.getAttribute(HYDRATE_ID);
2376
+ if (hostId) {
2377
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2378
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
2379
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2380
+ } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2381
+ const scopeId2 = getScopeId(cmpMeta);
2382
+ elm["s-sc"] = scopeId2;
2383
+ }
2384
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2385
+ }
2386
+ }
2387
+ if (!hostId) {
1756
2388
  if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1757
2389
  cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1758
2390
  setContentReference(elm);
@@ -1761,7 +2393,7 @@ var connectedCallback = (elm) => {
1761
2393
  {
1762
2394
  let ancestorComponent = elm;
1763
2395
  while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1764
- if (ancestorComponent["s-p"]) {
2396
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1765
2397
  attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1766
2398
  break;
1767
2399
  }
@@ -1847,6 +2479,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1847
2479
  let isBootstrapping = true;
1848
2480
  Object.assign(plt, options);
1849
2481
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
2482
+ {
2483
+ plt.$flags$ |= 2 /* appLoaded */;
2484
+ }
2485
+ {
2486
+ hydrateScopedToShadow();
2487
+ }
1850
2488
  let hasSlotRelocation = false;
1851
2489
  lazyBundles.map((lazyBundle) => {
1852
2490
  lazyBundle[1].map((compactMeta) => {
@@ -2021,6 +2659,6 @@ exports.h = h;
2021
2659
  exports.promiseResolve = promiseResolve;
2022
2660
  exports.registerInstance = registerInstance;
2023
2661
  exports.setNonce = setNonce;
2024
- //# sourceMappingURL=index-3161MbMQ.js.map
2662
+ //# sourceMappingURL=index-BuJz1C1M.js.map
2025
2663
 
2026
- //# sourceMappingURL=index-3161MbMQ.js.map
2664
+ //# sourceMappingURL=index-BuJz1C1M.js.map