@pine-ds/core 0.1.4 → 0.2.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 (569) hide show
  1. package/components/index.js +2 -0
  2. package/components/index.js.map +1 -0
  3. package/components/index2.js +10 -0
  4. package/components/index2.js.map +1 -0
  5. package/components/pds-accordion.js +4 -1
  6. package/components/pds-accordion.js.map +1 -0
  7. package/components/pds-avatar.js +12 -6
  8. package/components/pds-avatar.js.map +1 -0
  9. package/components/pds-box.js +2 -0
  10. package/components/pds-box.js.map +1 -0
  11. package/components/pds-button.js +2 -0
  12. package/components/pds-button.js.map +1 -0
  13. package/components/pds-button2.js +2 -0
  14. package/components/pds-button2.js.map +1 -0
  15. package/components/pds-checkbox.js +2 -0
  16. package/components/pds-checkbox.js.map +1 -0
  17. package/components/pds-checkbox2.js +2 -0
  18. package/components/pds-checkbox2.js.map +1 -0
  19. package/components/pds-chip.js +2 -0
  20. package/components/pds-chip.js.map +1 -0
  21. package/components/pds-copytext.js +2 -0
  22. package/components/pds-copytext.js.map +1 -0
  23. package/components/pds-divider.js +2 -0
  24. package/components/pds-divider.js.map +1 -0
  25. package/components/pds-icon.js +2 -0
  26. package/components/pds-icon.js.map +1 -0
  27. package/components/pds-icon2.js +38 -1
  28. package/components/pds-icon2.js.map +1 -0
  29. package/components/pds-image.js +2 -0
  30. package/components/pds-image.js.map +1 -0
  31. package/components/pds-input.js +2 -0
  32. package/components/pds-input.js.map +1 -0
  33. package/components/pds-label.js +2 -0
  34. package/components/pds-label.js.map +1 -0
  35. package/components/pds-link.js +3 -3
  36. package/components/pds-link.js.map +1 -0
  37. package/components/pds-progress.js +2 -0
  38. package/components/pds-progress.js.map +1 -0
  39. package/components/pds-radio.js +2 -0
  40. package/components/pds-radio.js.map +1 -0
  41. package/components/pds-row.js +2 -0
  42. package/components/pds-row.js.map +1 -0
  43. package/components/pds-sortable-item.js +2 -0
  44. package/components/pds-sortable-item.js.map +1 -0
  45. package/components/pds-sortable.js +2 -0
  46. package/components/pds-sortable.js.map +1 -0
  47. package/components/pds-switch.js +2 -0
  48. package/components/pds-switch.js.map +1 -0
  49. package/components/pds-tab.js +2 -0
  50. package/components/pds-tab.js.map +1 -0
  51. package/components/pds-table-body.js +2 -0
  52. package/components/pds-table-body.js.map +1 -0
  53. package/components/pds-table-cell.js +2 -0
  54. package/components/pds-table-cell.js.map +1 -0
  55. package/components/pds-table-cell2.js +2 -0
  56. package/components/pds-table-cell2.js.map +1 -0
  57. package/components/pds-table-head-cell.js +2 -0
  58. package/components/pds-table-head-cell.js.map +1 -0
  59. package/components/pds-table-head-cell2.js +2 -0
  60. package/components/pds-table-head-cell2.js.map +1 -0
  61. package/components/pds-table-head.js +2 -0
  62. package/components/pds-table-head.js.map +1 -0
  63. package/components/pds-table-row.js +2 -0
  64. package/components/pds-table-row.js.map +1 -0
  65. package/components/pds-table.js +2 -0
  66. package/components/pds-table.js.map +1 -0
  67. package/components/pds-tabpanel.js +2 -0
  68. package/components/pds-tabpanel.js.map +1 -0
  69. package/components/pds-tabs.js +2 -0
  70. package/components/pds-tabs.js.map +1 -0
  71. package/components/pds-textarea.js +2 -0
  72. package/components/pds-textarea.js.map +1 -0
  73. package/components/pds-tooltip.js +2 -0
  74. package/components/pds-tooltip.js.map +1 -0
  75. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  76. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  77. package/dist/cjs/index-3aab9699.js +16 -0
  78. package/dist/cjs/index-3aab9699.js.map +1 -0
  79. package/dist/cjs/{index-af2145ac.js → index-4cd639bf.js} +36 -27
  80. package/dist/cjs/index-4cd639bf.js.map +1 -0
  81. package/dist/cjs/index.cjs.js +2 -0
  82. package/dist/cjs/index.cjs.js.map +1 -0
  83. package/dist/cjs/loader.cjs.js +6 -2
  84. package/dist/cjs/loader.cjs.js.map +1 -0
  85. package/dist/cjs/pds-accordion.cjs.entry.js +5 -2
  86. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
  87. package/dist/cjs/pds-avatar.cjs.entry.js +13 -7
  88. package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -0
  89. package/dist/cjs/pds-box.cjs.entry.js +3 -1
  90. package/dist/cjs/pds-box.cjs.entry.js.map +1 -0
  91. package/dist/cjs/pds-button.cjs.entry.js +3 -1
  92. package/dist/cjs/pds-button.cjs.entry.js.map +1 -0
  93. package/dist/cjs/pds-checkbox_2.cjs.entry.js +4 -2
  94. package/dist/cjs/pds-checkbox_2.cjs.entry.js.map +1 -0
  95. package/dist/cjs/pds-chip.cjs.entry.js +3 -1
  96. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -0
  97. package/dist/cjs/pds-copytext.cjs.entry.js +3 -1
  98. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -0
  99. package/dist/cjs/pds-divider.cjs.entry.js +3 -1
  100. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -0
  101. package/dist/cjs/pds-icon.cjs.entry.js +39 -2
  102. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
  103. package/dist/cjs/pds-image.cjs.entry.js +3 -1
  104. package/dist/cjs/pds-image.cjs.entry.js.map +1 -0
  105. package/dist/cjs/pds-input.cjs.entry.js +4 -2
  106. package/dist/cjs/pds-input.cjs.entry.js.map +1 -0
  107. package/dist/cjs/{pds-label-81c1073a.js → pds-label-c988430d.js} +3 -1
  108. package/dist/cjs/pds-label-c988430d.js.map +1 -0
  109. package/dist/cjs/pds-link.cjs.entry.js +5 -5
  110. package/dist/cjs/pds-link.cjs.entry.js.map +1 -0
  111. package/dist/cjs/pds-progress.cjs.entry.js +3 -1
  112. package/dist/cjs/pds-progress.cjs.entry.js.map +1 -0
  113. package/dist/cjs/pds-radio.cjs.entry.js +4 -2
  114. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -0
  115. package/dist/cjs/pds-row.cjs.entry.js +3 -1
  116. package/dist/cjs/pds-row.cjs.entry.js.map +1 -0
  117. package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -1
  118. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -0
  119. package/dist/cjs/pds-sortable.cjs.entry.js +3 -1
  120. package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -0
  121. package/dist/cjs/pds-switch.cjs.entry.js +4 -2
  122. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -0
  123. package/dist/cjs/pds-tab.cjs.entry.js +3 -1
  124. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -0
  125. package/dist/cjs/pds-table-body.cjs.entry.js +3 -1
  126. package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -0
  127. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -1
  128. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -0
  129. package/dist/cjs/pds-table-head.cjs.entry.js +3 -1
  130. package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -0
  131. package/dist/cjs/pds-table-row.cjs.entry.js +3 -1
  132. package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -0
  133. package/dist/cjs/pds-table.cjs.entry.js +3 -1
  134. package/dist/cjs/pds-table.cjs.entry.js.map +1 -0
  135. package/dist/cjs/pds-tabpanel.cjs.entry.js +3 -1
  136. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -0
  137. package/dist/cjs/pds-tabs.cjs.entry.js +3 -1
  138. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -0
  139. package/dist/cjs/pds-textarea.cjs.entry.js +4 -2
  140. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -0
  141. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -1
  142. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -0
  143. package/dist/cjs/pine-core.cjs.js +7 -3
  144. package/dist/cjs/pine-core.cjs.js.map +1 -0
  145. package/dist/collection/collection-manifest.json +1 -1
  146. package/dist/collection/components/_internal/pds-label/pds-label.js +1 -0
  147. package/dist/collection/components/_internal/pds-label/pds-label.js.map +1 -0
  148. package/dist/collection/components/pds-accordion/pds-accordion.js +3 -1
  149. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
  150. package/dist/collection/components/pds-avatar/pds-avatar.js +14 -6
  151. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -0
  152. package/dist/collection/components/pds-box/pds-box.js +1 -0
  153. package/dist/collection/components/pds-box/pds-box.js.map +1 -0
  154. package/dist/collection/components/pds-button/pds-button.js +1 -0
  155. package/dist/collection/components/pds-button/pds-button.js.map +1 -0
  156. package/dist/collection/components/pds-checkbox/checkbox-interface.js +1 -0
  157. package/dist/collection/components/pds-checkbox/checkbox-interface.js.map +1 -0
  158. package/dist/collection/components/pds-checkbox/pds-checkbox.js +1 -0
  159. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -0
  160. package/dist/collection/components/pds-chip/pds-chip.js +1 -0
  161. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -0
  162. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -0
  163. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -0
  164. package/dist/collection/components/pds-divider/pds-divider.js +1 -0
  165. package/dist/collection/components/pds-divider/pds-divider.js.map +1 -0
  166. package/dist/collection/components/pds-image/pds-image.js +1 -0
  167. package/dist/collection/components/pds-image/pds-image.js.map +1 -0
  168. package/dist/collection/components/pds-input/pds-input.js +1 -0
  169. package/dist/collection/components/pds-input/pds-input.js.map +1 -0
  170. package/dist/collection/components/pds-link/pds-link.js +1 -0
  171. package/dist/collection/components/pds-link/pds-link.js.map +1 -0
  172. package/dist/collection/components/pds-progress/pds-progress.js +1 -0
  173. package/dist/collection/components/pds-progress/pds-progress.js.map +1 -0
  174. package/dist/collection/components/pds-radio/pds-radio.js +1 -0
  175. package/dist/collection/components/pds-radio/pds-radio.js.map +1 -0
  176. package/dist/collection/components/pds-row/pds-row.js +1 -0
  177. package/dist/collection/components/pds-row/pds-row.js.map +1 -0
  178. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -0
  179. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -0
  180. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -0
  181. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -0
  182. package/dist/collection/components/pds-switch/pds-switch.js +1 -0
  183. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -0
  184. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -0
  185. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -0
  186. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +1 -0
  187. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -0
  188. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -0
  189. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -0
  190. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +1 -0
  191. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -0
  192. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -0
  193. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -0
  194. package/dist/collection/components/pds-table/pds-table.js +1 -0
  195. package/dist/collection/components/pds-table/pds-table.js.map +1 -0
  196. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +1 -0
  197. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +1 -0
  198. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -0
  199. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +1 -0
  200. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -0
  201. package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -0
  202. package/dist/collection/components/pds-textarea/pds-textarea.js +1 -0
  203. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -0
  204. package/dist/collection/components/pds-textarea/textarea-interface.js +1 -0
  205. package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -0
  206. package/dist/collection/components/pds-tooltip/pds-tooltip.js +1 -0
  207. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -0
  208. package/dist/collection/global/pine-ui-global.js +1 -0
  209. package/dist/collection/global/pine-ui-global.js.map +1 -0
  210. package/dist/collection/index.js +1 -0
  211. package/dist/collection/index.js.map +1 -0
  212. package/dist/collection/stories/_helpers/index.js +1 -0
  213. package/dist/collection/stories/_helpers/index.js.map +1 -0
  214. package/dist/collection/utils/form.js +1 -0
  215. package/dist/collection/utils/form.js.map +1 -0
  216. package/dist/collection/utils/overlay.js +1 -0
  217. package/dist/collection/utils/overlay.js.map +1 -0
  218. package/dist/collection/utils/types.js +1 -0
  219. package/dist/collection/utils/types.js.map +1 -0
  220. package/dist/collection/utils/utils.js +1 -0
  221. package/dist/collection/utils/utils.js.map +1 -0
  222. package/dist/docs.json +18 -4
  223. package/dist/esm/app-globals-0f993ce5.js +5 -0
  224. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  225. package/dist/esm/{index-9312507f.js → index-09d6e504.js} +37 -27
  226. package/dist/esm/index-09d6e504.js.map +1 -0
  227. package/dist/esm/index-acbaa5e7.js +10 -0
  228. package/dist/esm/index-acbaa5e7.js.map +1 -0
  229. package/dist/esm/index.js +2 -0
  230. package/dist/esm/index.js.map +1 -0
  231. package/dist/esm/loader.js +7 -3
  232. package/dist/esm/loader.js.map +1 -0
  233. package/dist/esm/pds-accordion.entry.js +5 -2
  234. package/dist/esm/pds-accordion.entry.js.map +1 -0
  235. package/dist/esm/pds-avatar.entry.js +13 -7
  236. package/dist/esm/pds-avatar.entry.js.map +1 -0
  237. package/dist/esm/pds-box.entry.js +3 -1
  238. package/dist/esm/pds-box.entry.js.map +1 -0
  239. package/dist/esm/pds-button.entry.js +3 -1
  240. package/dist/esm/pds-button.entry.js.map +1 -0
  241. package/dist/esm/pds-checkbox_2.entry.js +4 -2
  242. package/dist/esm/pds-checkbox_2.entry.js.map +1 -0
  243. package/dist/esm/pds-chip.entry.js +3 -1
  244. package/dist/esm/pds-chip.entry.js.map +1 -0
  245. package/dist/esm/pds-copytext.entry.js +3 -1
  246. package/dist/esm/pds-copytext.entry.js.map +1 -0
  247. package/dist/esm/pds-divider.entry.js +3 -1
  248. package/dist/esm/pds-divider.entry.js.map +1 -0
  249. package/dist/esm/pds-icon.entry.js +38 -1
  250. package/dist/esm/pds-icon.entry.js.map +1 -0
  251. package/dist/esm/pds-image.entry.js +3 -1
  252. package/dist/esm/pds-image.entry.js.map +1 -0
  253. package/dist/esm/pds-input.entry.js +4 -2
  254. package/dist/esm/pds-input.entry.js.map +1 -0
  255. package/dist/esm/{pds-label-d33eab3b.js → pds-label-ea621e18.js} +3 -1
  256. package/dist/esm/pds-label-ea621e18.js.map +1 -0
  257. package/dist/esm/pds-link.entry.js +4 -4
  258. package/dist/esm/pds-link.entry.js.map +1 -0
  259. package/dist/esm/pds-progress.entry.js +3 -1
  260. package/dist/esm/pds-progress.entry.js.map +1 -0
  261. package/dist/esm/pds-radio.entry.js +4 -2
  262. package/dist/esm/pds-radio.entry.js.map +1 -0
  263. package/dist/esm/pds-row.entry.js +3 -1
  264. package/dist/esm/pds-row.entry.js.map +1 -0
  265. package/dist/esm/pds-sortable-item.entry.js +3 -1
  266. package/dist/esm/pds-sortable-item.entry.js.map +1 -0
  267. package/dist/esm/pds-sortable.entry.js +3 -1
  268. package/dist/esm/pds-sortable.entry.js.map +1 -0
  269. package/dist/esm/pds-switch.entry.js +4 -2
  270. package/dist/esm/pds-switch.entry.js.map +1 -0
  271. package/dist/esm/pds-tab.entry.js +3 -1
  272. package/dist/esm/pds-tab.entry.js.map +1 -0
  273. package/dist/esm/pds-table-body.entry.js +3 -1
  274. package/dist/esm/pds-table-body.entry.js.map +1 -0
  275. package/dist/esm/pds-table-head-cell.entry.js +3 -1
  276. package/dist/esm/pds-table-head-cell.entry.js.map +1 -0
  277. package/dist/esm/pds-table-head.entry.js +3 -1
  278. package/dist/esm/pds-table-head.entry.js.map +1 -0
  279. package/dist/esm/pds-table-row.entry.js +3 -1
  280. package/dist/esm/pds-table-row.entry.js.map +1 -0
  281. package/dist/esm/pds-table.entry.js +3 -1
  282. package/dist/esm/pds-table.entry.js.map +1 -0
  283. package/dist/esm/pds-tabpanel.entry.js +3 -1
  284. package/dist/esm/pds-tabpanel.entry.js.map +1 -0
  285. package/dist/esm/pds-tabs.entry.js +3 -1
  286. package/dist/esm/pds-tabs.entry.js.map +1 -0
  287. package/dist/esm/pds-textarea.entry.js +4 -2
  288. package/dist/esm/pds-textarea.entry.js.map +1 -0
  289. package/dist/esm/pds-tooltip.entry.js +3 -1
  290. package/dist/esm/pds-tooltip.entry.js.map +1 -0
  291. package/dist/esm/pine-core.js +8 -4
  292. package/dist/esm/pine-core.js.map +1 -0
  293. package/dist/esm-es5/app-globals-0f993ce5.js +2 -0
  294. package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -0
  295. package/dist/esm-es5/index-09d6e504.js +3 -0
  296. package/dist/esm-es5/index-09d6e504.js.map +1 -0
  297. package/dist/esm-es5/index-acbaa5e7.js +2 -0
  298. package/dist/esm-es5/index-acbaa5e7.js.map +1 -0
  299. package/dist/esm-es5/index.js +2 -0
  300. package/dist/esm-es5/index.js.map +1 -0
  301. package/dist/esm-es5/loader.js +2 -1
  302. package/dist/esm-es5/loader.js.map +1 -0
  303. package/dist/esm-es5/pds-accordion.entry.js +2 -1
  304. package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
  305. package/dist/esm-es5/pds-avatar.entry.js +2 -1
  306. package/dist/esm-es5/pds-avatar.entry.js.map +1 -0
  307. package/dist/esm-es5/pds-box.entry.js +2 -1
  308. package/dist/esm-es5/pds-box.entry.js.map +1 -0
  309. package/dist/esm-es5/pds-button.entry.js +2 -1
  310. package/dist/esm-es5/pds-button.entry.js.map +1 -0
  311. package/dist/esm-es5/pds-checkbox_2.entry.js +2 -1
  312. package/dist/esm-es5/pds-checkbox_2.entry.js.map +1 -0
  313. package/dist/esm-es5/pds-chip.entry.js +2 -1
  314. package/dist/esm-es5/pds-chip.entry.js.map +1 -0
  315. package/dist/esm-es5/pds-copytext.entry.js +2 -1
  316. package/dist/esm-es5/pds-copytext.entry.js.map +1 -0
  317. package/dist/esm-es5/pds-divider.entry.js +2 -1
  318. package/dist/esm-es5/pds-divider.entry.js.map +1 -0
  319. package/dist/esm-es5/pds-icon.entry.js +2 -1
  320. package/dist/esm-es5/pds-icon.entry.js.map +1 -0
  321. package/dist/esm-es5/pds-image.entry.js +2 -1
  322. package/dist/esm-es5/pds-image.entry.js.map +1 -0
  323. package/dist/esm-es5/pds-input.entry.js +2 -1
  324. package/dist/esm-es5/pds-input.entry.js.map +1 -0
  325. package/dist/esm-es5/{pds-label-d33eab3b.js → pds-label-ea621e18.js} +2 -1
  326. package/dist/esm-es5/pds-label-ea621e18.js.map +1 -0
  327. package/dist/esm-es5/pds-link.entry.js +2 -1
  328. package/dist/esm-es5/pds-link.entry.js.map +1 -0
  329. package/dist/esm-es5/pds-progress.entry.js +2 -1
  330. package/dist/esm-es5/pds-progress.entry.js.map +1 -0
  331. package/dist/esm-es5/pds-radio.entry.js +2 -1
  332. package/dist/esm-es5/pds-radio.entry.js.map +1 -0
  333. package/dist/esm-es5/pds-row.entry.js +2 -1
  334. package/dist/esm-es5/pds-row.entry.js.map +1 -0
  335. package/dist/esm-es5/pds-sortable-item.entry.js +2 -1
  336. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -0
  337. package/dist/esm-es5/pds-sortable.entry.js +3 -2
  338. package/dist/esm-es5/pds-sortable.entry.js.map +1 -0
  339. package/dist/esm-es5/pds-switch.entry.js +2 -1
  340. package/dist/esm-es5/pds-switch.entry.js.map +1 -0
  341. package/dist/esm-es5/pds-tab.entry.js +2 -1
  342. package/dist/esm-es5/pds-tab.entry.js.map +1 -0
  343. package/dist/esm-es5/pds-table-body.entry.js +2 -1
  344. package/dist/esm-es5/pds-table-body.entry.js.map +1 -0
  345. package/dist/esm-es5/pds-table-head-cell.entry.js +2 -1
  346. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -0
  347. package/dist/esm-es5/pds-table-head.entry.js +2 -1
  348. package/dist/esm-es5/pds-table-head.entry.js.map +1 -0
  349. package/dist/esm-es5/pds-table-row.entry.js +2 -1
  350. package/dist/esm-es5/pds-table-row.entry.js.map +1 -0
  351. package/dist/esm-es5/pds-table.entry.js +2 -1
  352. package/dist/esm-es5/pds-table.entry.js.map +1 -0
  353. package/dist/esm-es5/pds-tabpanel.entry.js +2 -1
  354. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -0
  355. package/dist/esm-es5/pds-tabs.entry.js +2 -1
  356. package/dist/esm-es5/pds-tabs.entry.js.map +1 -0
  357. package/dist/esm-es5/pds-textarea.entry.js +2 -1
  358. package/dist/esm-es5/pds-textarea.entry.js.map +1 -0
  359. package/dist/esm-es5/pds-tooltip.entry.js +2 -1
  360. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -0
  361. package/dist/esm-es5/pine-core.js +2 -1
  362. package/dist/esm-es5/pine-core.js.map +1 -0
  363. package/dist/pine-core/index.esm.js +2 -0
  364. package/dist/pine-core/index.esm.js.map +1 -0
  365. package/dist/pine-core/{p-6d1f5eb6.system.entry.js → p-0a62887c.system.entry.js} +2 -1
  366. package/dist/pine-core/p-0a62887c.system.entry.js.map +1 -0
  367. package/dist/pine-core/p-0b0d7886.system.js +2 -0
  368. package/dist/pine-core/p-0b0d7886.system.js.map +1 -0
  369. package/dist/pine-core/{p-bd051dc8.system.entry.js → p-0bcc6945.system.entry.js} +2 -1
  370. package/dist/pine-core/p-0bcc6945.system.entry.js.map +1 -0
  371. package/dist/pine-core/{p-c39a7480.system.entry.js → p-11b9aebc.system.entry.js} +2 -1
  372. package/dist/pine-core/p-11b9aebc.system.entry.js.map +1 -0
  373. package/dist/pine-core/p-136ac055.system.js +2 -0
  374. package/dist/pine-core/p-136ac055.system.js.map +1 -0
  375. package/dist/pine-core/p-151aafa9.entry.js +2 -0
  376. package/dist/pine-core/p-151aafa9.entry.js.map +1 -0
  377. package/dist/pine-core/p-17ba6ff2.js +2 -0
  378. package/dist/pine-core/p-17ba6ff2.js.map +1 -0
  379. package/dist/pine-core/{p-8bba9f6b.system.entry.js → p-1e8a1f31.system.entry.js} +2 -1
  380. package/dist/pine-core/p-1e8a1f31.system.entry.js.map +1 -0
  381. package/dist/pine-core/{p-b3abea50.system.entry.js → p-20e8c2e6.system.entry.js} +2 -1
  382. package/dist/pine-core/p-20e8c2e6.system.entry.js.map +1 -0
  383. package/dist/pine-core/p-24f4102e.system.entry.js +2 -0
  384. package/dist/pine-core/p-24f4102e.system.entry.js.map +1 -0
  385. package/dist/pine-core/{p-98cc1e47.system.entry.js → p-25cf60f1.system.entry.js} +2 -1
  386. package/dist/pine-core/p-25cf60f1.system.entry.js.map +1 -0
  387. package/dist/pine-core/p-280eca34.system.entry.js +2 -0
  388. package/dist/pine-core/p-280eca34.system.entry.js.map +1 -0
  389. package/dist/pine-core/{p-50e04f66.system.entry.js → p-2dd4eacc.system.entry.js} +2 -1
  390. package/dist/pine-core/p-2dd4eacc.system.entry.js.map +1 -0
  391. package/dist/pine-core/p-2e531f68.entry.js +2 -0
  392. package/dist/pine-core/p-2e531f68.entry.js.map +1 -0
  393. package/dist/pine-core/{p-5812cf50.system.entry.js → p-315a1809.system.entry.js} +2 -1
  394. package/dist/pine-core/p-315a1809.system.entry.js.map +1 -0
  395. package/dist/pine-core/{p-363392ea.system.entry.js → p-341eb1ee.system.entry.js} +2 -1
  396. package/dist/pine-core/p-341eb1ee.system.entry.js.map +1 -0
  397. package/dist/pine-core/p-3b3f8185.entry.js +2 -0
  398. package/dist/pine-core/p-3b3f8185.entry.js.map +1 -0
  399. package/dist/pine-core/{p-ceb83df8.system.entry.js → p-41ca8678.system.entry.js} +2 -1
  400. package/dist/pine-core/p-41ca8678.system.entry.js.map +1 -0
  401. package/dist/pine-core/p-45160e15.entry.js +2 -0
  402. package/dist/pine-core/p-45160e15.entry.js.map +1 -0
  403. package/dist/pine-core/p-485d225c.entry.js +2 -0
  404. package/dist/pine-core/p-485d225c.entry.js.map +1 -0
  405. package/dist/pine-core/{p-207a1db7.system.entry.js → p-48669610.system.entry.js} +2 -1
  406. package/dist/pine-core/p-48669610.system.entry.js.map +1 -0
  407. package/dist/pine-core/{p-df4a1834.system.entry.js → p-4b3e96c0.system.entry.js} +2 -1
  408. package/dist/pine-core/p-4b3e96c0.system.entry.js.map +1 -0
  409. package/dist/pine-core/p-4b7083de.entry.js +2 -0
  410. package/dist/pine-core/p-4b7083de.entry.js.map +1 -0
  411. package/dist/pine-core/{p-0cdd6574.system.js → p-4da2e899.system.js} +2 -1
  412. package/dist/pine-core/p-4da2e899.system.js.map +1 -0
  413. package/dist/pine-core/p-50ea2036.system.js +2 -1
  414. package/dist/pine-core/p-50ea2036.system.js.map +1 -0
  415. package/dist/pine-core/p-56ba5cbf.system.js +2 -0
  416. package/dist/pine-core/p-56ba5cbf.system.js.map +1 -0
  417. package/dist/pine-core/p-57a0a6c5.entry.js +2 -0
  418. package/dist/pine-core/p-57a0a6c5.entry.js.map +1 -0
  419. package/dist/pine-core/p-671527a0.entry.js +2 -0
  420. package/dist/pine-core/p-671527a0.entry.js.map +1 -0
  421. package/dist/pine-core/p-7248b927.entry.js +2 -0
  422. package/dist/pine-core/p-7248b927.entry.js.map +1 -0
  423. package/dist/pine-core/p-7275ec39.entry.js +2 -0
  424. package/dist/pine-core/p-7275ec39.entry.js.map +1 -0
  425. package/dist/pine-core/p-76dd047d.entry.js +8 -0
  426. package/dist/pine-core/p-76dd047d.entry.js.map +1 -0
  427. package/dist/pine-core/{p-3aafe83d.system.entry.js → p-770e1547.system.entry.js} +2 -1
  428. package/dist/pine-core/p-770e1547.system.entry.js.map +1 -0
  429. package/dist/pine-core/{p-cd1bb310.system.entry.js → p-7c8acdb3.system.entry.js} +2 -1
  430. package/dist/pine-core/p-7c8acdb3.system.entry.js.map +1 -0
  431. package/dist/pine-core/p-7cd9020d.entry.js +2 -0
  432. package/dist/pine-core/p-7cd9020d.entry.js.map +1 -0
  433. package/dist/pine-core/{p-03ff01dc.entry.js → p-87b363c8.entry.js} +2 -1
  434. package/dist/pine-core/p-87b363c8.entry.js.map +1 -0
  435. package/dist/pine-core/p-87cc56ab.entry.js +2 -0
  436. package/dist/pine-core/p-87cc56ab.entry.js.map +1 -0
  437. package/dist/pine-core/p-8cc2e2f8.entry.js +2 -0
  438. package/dist/pine-core/p-8cc2e2f8.entry.js.map +1 -0
  439. package/dist/pine-core/p-95958653.entry.js +2 -0
  440. package/dist/pine-core/p-95958653.entry.js.map +1 -0
  441. package/dist/pine-core/{p-98740980.system.entry.js → p-9fd21396.system.entry.js} +2 -1
  442. package/dist/pine-core/p-9fd21396.system.entry.js.map +1 -0
  443. package/dist/pine-core/{p-0c443b29.system.entry.js → p-a219ad37.system.entry.js} +2 -1
  444. package/dist/pine-core/p-a219ad37.system.entry.js.map +1 -0
  445. package/dist/pine-core/p-a49d36be.entry.js +2 -0
  446. package/dist/pine-core/p-a49d36be.entry.js.map +1 -0
  447. package/dist/pine-core/p-aa285167.entry.js +2 -0
  448. package/dist/pine-core/p-aa285167.entry.js.map +1 -0
  449. package/dist/pine-core/p-b4226e23.system.entry.js +2 -0
  450. package/dist/pine-core/p-b4226e23.system.entry.js.map +1 -0
  451. package/dist/pine-core/p-b5b5ce83.js +3 -0
  452. package/dist/pine-core/p-b5b5ce83.js.map +1 -0
  453. package/dist/pine-core/{p-aa9f7889.system.entry.js → p-bb0f674a.system.entry.js} +2 -1
  454. package/dist/pine-core/p-bb0f674a.system.entry.js.map +1 -0
  455. package/dist/pine-core/{p-fe9b0b4b.system.entry.js → p-be64d326.system.entry.js} +2 -1
  456. package/dist/pine-core/p-be64d326.system.entry.js.map +1 -0
  457. package/dist/pine-core/p-c15b86e9.js +2 -0
  458. package/dist/pine-core/p-c15b86e9.js.map +1 -0
  459. package/dist/pine-core/p-c1c8ded7.entry.js +2 -0
  460. package/dist/pine-core/p-c1c8ded7.entry.js.map +1 -0
  461. package/dist/pine-core/p-c29d23a4.entry.js +2 -0
  462. package/dist/pine-core/p-c29d23a4.entry.js.map +1 -0
  463. package/dist/pine-core/p-c563d4e7.system.js +3 -0
  464. package/dist/pine-core/p-c563d4e7.system.js.map +1 -0
  465. package/dist/pine-core/{p-bf49c9da.system.entry.js → p-c5ada91d.system.entry.js} +2 -1
  466. package/dist/pine-core/p-c5ada91d.system.entry.js.map +1 -0
  467. package/dist/pine-core/p-c68421c3.entry.js +2 -0
  468. package/dist/pine-core/p-c68421c3.entry.js.map +1 -0
  469. package/dist/pine-core/p-c834304b.entry.js +2 -0
  470. package/dist/pine-core/p-c834304b.entry.js.map +1 -0
  471. package/dist/pine-core/{p-18d461ea.system.entry.js → p-c88139ec.system.entry.js} +2 -1
  472. package/dist/pine-core/p-c88139ec.system.entry.js.map +1 -0
  473. package/dist/pine-core/p-cbecf6ee.entry.js +2 -0
  474. package/dist/pine-core/p-cbecf6ee.entry.js.map +1 -0
  475. package/dist/pine-core/p-cfa7ba93.entry.js +2 -0
  476. package/dist/pine-core/p-cfa7ba93.entry.js.map +1 -0
  477. package/dist/pine-core/{p-46a4a8f0.system.entry.js → p-daba2a44.system.entry.js} +2 -1
  478. package/dist/pine-core/p-daba2a44.system.entry.js.map +1 -0
  479. package/dist/pine-core/p-e1255160.js +2 -0
  480. package/dist/pine-core/p-e1255160.js.map +1 -0
  481. package/dist/pine-core/p-e411498b.entry.js +2 -0
  482. package/dist/pine-core/p-e411498b.entry.js.map +1 -0
  483. package/dist/pine-core/{p-282475be.system.entry.js → p-e8b02bb3.system.entry.js} +2 -1
  484. package/dist/pine-core/p-e8b02bb3.system.entry.js.map +1 -0
  485. package/dist/pine-core/{p-6569a81a.system.entry.js → p-ea131385.system.entry.js} +3 -2
  486. package/dist/pine-core/p-ea131385.system.entry.js.map +1 -0
  487. package/dist/pine-core/p-eeaa22fa.entry.js +2 -0
  488. package/dist/pine-core/p-eeaa22fa.entry.js.map +1 -0
  489. package/dist/pine-core/p-f32db55d.system.entry.js +2 -0
  490. package/dist/pine-core/p-f32db55d.system.entry.js.map +1 -0
  491. package/dist/pine-core/p-f544d96d.entry.js +2 -0
  492. package/dist/pine-core/p-f544d96d.entry.js.map +1 -0
  493. package/dist/pine-core/p-fe4fb39f.entry.js +2 -0
  494. package/dist/pine-core/p-fe4fb39f.entry.js.map +1 -0
  495. package/dist/pine-core/{p-2306d119.system.entry.js → p-fe79bcc0.system.entry.js} +2 -1
  496. package/dist/pine-core/p-fe79bcc0.system.entry.js.map +1 -0
  497. package/dist/pine-core/pine-core.esm.js +2 -1
  498. package/dist/pine-core/pine-core.esm.js.map +1 -0
  499. package/dist/pine-core/pine-core.js +1 -1
  500. package/dist/pine-core/svg/advanced.svg +1 -0
  501. package/dist/pine-core/svg/assessment.svg +1 -1
  502. package/dist/pine-core/svg/caret-up.svg +1 -1
  503. package/dist/pine-core/svg/cursor-pointer.svg +1 -0
  504. package/dist/pine-core/svg/cursor.svg +1 -0
  505. package/dist/pine-core/svg/custom-field.svg +1 -1
  506. package/dist/pine-core/svg/download.svg +1 -1
  507. package/dist/pine-core/svg/drawer-collapse.svg +1 -0
  508. package/dist/pine-core/svg/drawer-expand.svg +1 -0
  509. package/dist/pine-core/svg/duplicate.svg +1 -1
  510. package/dist/pine-core/svg/form.svg +1 -1
  511. package/dist/pine-core/svg/launch.svg +1 -1
  512. package/dist/pine-core/svg/left-small.svg +1 -1
  513. package/dist/pine-core/svg/logo-klarna.svg +1 -0
  514. package/dist/pine-core/svg/mail-open.svg +1 -0
  515. package/dist/pine-core/svg/microphone-off.svg +1 -1
  516. package/dist/pine-core/svg/move-left.svg +1 -1
  517. package/dist/pine-core/svg/newsletter-2.svg +1 -0
  518. package/dist/pine-core/svg/pause-circle.svg +1 -1
  519. package/dist/pine-core/svg/phone-toolbar-filled.svg +1 -0
  520. package/dist/pine-core/svg/play.svg +1 -1
  521. package/dist/pine-core/svg/plug.svg +1 -1
  522. package/dist/pine-core/svg/preview-off.svg +1 -1
  523. package/dist/pine-core/svg/preview-on.svg +1 -1
  524. package/dist/pine-core/svg/refresh.svg +1 -1
  525. package/dist/pine-core/svg/remove.svg +1 -1
  526. package/dist/pine-core/svg/subscriptions.svg +1 -1
  527. package/dist/pine-core/svg/sync.svg +1 -1
  528. package/dist/pine-core/svg/tablet-landscape.svg +1 -1
  529. package/dist/pine-core/svg/wrench.svg +1 -1
  530. package/dist/types/components/pds-avatar/pds-avatar.d.ts +4 -0
  531. package/hydrate/index.d.ts +1 -1
  532. package/hydrate/index.js +200 -55
  533. package/package.json +3 -3
  534. package/dist/esm-es5/index-9312507f.js +0 -2
  535. package/dist/pine-core/p-0375bc6f.entry.js +0 -1
  536. package/dist/pine-core/p-120f73f1.entry.js +0 -1
  537. package/dist/pine-core/p-252df6c4.entry.js +0 -1
  538. package/dist/pine-core/p-3311eba2.entry.js +0 -1
  539. package/dist/pine-core/p-3bf307ef.system.js +0 -1
  540. package/dist/pine-core/p-3cfc640c.entry.js +0 -1
  541. package/dist/pine-core/p-539ecb64.system.entry.js +0 -1
  542. package/dist/pine-core/p-53b584c2.entry.js +0 -1
  543. package/dist/pine-core/p-56245d76.entry.js +0 -1
  544. package/dist/pine-core/p-57935c61.entry.js +0 -1
  545. package/dist/pine-core/p-608e5e25.entry.js +0 -1
  546. package/dist/pine-core/p-64d32a1e.entry.js +0 -1
  547. package/dist/pine-core/p-685cd653.entry.js +0 -1
  548. package/dist/pine-core/p-6c1ea462.entry.js +0 -1
  549. package/dist/pine-core/p-6d7fcc50.entry.js +0 -1
  550. package/dist/pine-core/p-7437c53e.entry.js +0 -1
  551. package/dist/pine-core/p-822517e7.entry.js +0 -1
  552. package/dist/pine-core/p-8248c25e.system.js +0 -2
  553. package/dist/pine-core/p-8d320cf0.system.entry.js +0 -1
  554. package/dist/pine-core/p-9c4510a6.entry.js +0 -1
  555. package/dist/pine-core/p-9f10f204.entry.js +0 -7
  556. package/dist/pine-core/p-a0b88908.entry.js +0 -1
  557. package/dist/pine-core/p-a4d4fbbb.js +0 -1
  558. package/dist/pine-core/p-a939ca49.entry.js +0 -1
  559. package/dist/pine-core/p-a954bb71.js +0 -2
  560. package/dist/pine-core/p-b5e51060.entry.js +0 -1
  561. package/dist/pine-core/p-bad719c5.entry.js +0 -1
  562. package/dist/pine-core/p-bfcd70aa.entry.js +0 -1
  563. package/dist/pine-core/p-c7553aef.system.entry.js +0 -1
  564. package/dist/pine-core/p-ca96db90.entry.js +0 -1
  565. package/dist/pine-core/p-d5ec4117.system.entry.js +0 -1
  566. package/dist/pine-core/p-d7713117.entry.js +0 -1
  567. package/dist/pine-core/p-dfdd694f.entry.js +0 -1
  568. package/dist/pine-core/p-e1648d36.entry.js +0 -1
  569. package/dist/pine-core/p-fee872ab.entry.js +0 -1
package/hydrate/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /*!
6
- Stencil Mock Doc v4.12.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Mock Doc v4.12.6 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const CONTENT_REF_ID = 'r';
9
9
  const ORG_LOCATION_ID = 'o';
@@ -595,6 +595,10 @@ class MockEvent {
595
595
  stopImmediatePropagation() {
596
596
  this.cancelBubble = true;
597
597
  }
598
+ /**
599
+ * @ref https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
600
+ * @returns a composed path of the event
601
+ */
598
602
  composedPath() {
599
603
  const composedPath = [];
600
604
  let currentElement = this.target;
@@ -606,7 +610,17 @@ class MockEvent {
606
610
  composedPath.push(currentElement.defaultView);
607
611
  break;
608
612
  }
609
- currentElement = currentElement.parentElement;
613
+ /**
614
+ * bubble up the parent chain until we arrive to the HTML element. Here we continue
615
+ * with the document object instead of the parent element since the parent element
616
+ * is `null` for HTML elements.
617
+ */
618
+ if (currentElement.parentElement == null && currentElement.tagName === 'HTML') {
619
+ currentElement = currentElement.ownerDocument;
620
+ }
621
+ else {
622
+ currentElement = currentElement.parentElement;
623
+ }
610
624
  }
611
625
  return composedPath;
612
626
  }
@@ -725,6 +739,9 @@ function triggerEventListener(elm, ev) {
725
739
  if (elm.nodeName === "#document" /* NODE_NAMES.DOCUMENT_NODE */) {
726
740
  triggerEventListener(elm.defaultView, ev);
727
741
  }
742
+ else if (elm.parentElement == null && elm.tagName === 'HTML') {
743
+ triggerEventListener(elm.ownerDocument, ev);
744
+ }
728
745
  else {
729
746
  triggerEventListener(elm.parentElement, ev);
730
747
  }
@@ -2630,18 +2647,104 @@ const jQuery = /*!
2630
2647
  return jQuery;
2631
2648
  });
2632
2649
 
2650
+ /**
2651
+ * Check whether an element of interest matches a given selector.
2652
+ *
2653
+ * @param selector the selector of interest
2654
+ * @param elm an element within which to find matching elements
2655
+ * @returns whether the element matches the selector
2656
+ */
2633
2657
  function matches(selector, elm) {
2634
- const r = jQuery.find(selector, undefined, undefined, [elm]);
2635
- return r.length > 0;
2658
+ try {
2659
+ const r = jQuery.find(selector, undefined, undefined, [elm]);
2660
+ return r.length > 0;
2661
+ }
2662
+ catch (e) {
2663
+ updateSelectorError(selector, e);
2664
+ throw e;
2665
+ }
2636
2666
  }
2667
+ /**
2668
+ * Select the first element that matches a given selector
2669
+ *
2670
+ * @param selector the selector of interest
2671
+ * @param elm the element within which to find a matching element
2672
+ * @returns the first matching element, or null if none is found
2673
+ */
2637
2674
  function selectOne(selector, elm) {
2638
- const r = jQuery.find(selector, elm, undefined, undefined);
2639
- return r[0] || null;
2675
+ try {
2676
+ const r = jQuery.find(selector, elm, undefined, undefined);
2677
+ return r[0] || null;
2678
+ }
2679
+ catch (e) {
2680
+ updateSelectorError(selector, e);
2681
+ throw e;
2682
+ }
2640
2683
  }
2684
+ /**
2685
+ * Select all elements that match a given selector
2686
+ *
2687
+ * @param selector the selector of interest
2688
+ * @param elm an element within which to find matching elements
2689
+ * @returns all matching elements
2690
+ */
2641
2691
  function selectAll(selector, elm) {
2642
- return jQuery.find(selector, elm, undefined, undefined);
2692
+ try {
2693
+ return jQuery.find(selector, elm, undefined, undefined);
2694
+ }
2695
+ catch (e) {
2696
+ updateSelectorError(selector, e);
2697
+ throw e;
2698
+ }
2699
+ }
2700
+ /**
2701
+ * A manifest of selectors which are known to be problematic in jQuery. See
2702
+ * here to track implementation and support:
2703
+ * https://github.com/jquery/jquery/issues/5111
2704
+ */
2705
+ const PROBLEMATIC_SELECTORS = [':scope', ':where', ':is'];
2706
+ /**
2707
+ * Given a selector and an error object thrown by jQuery, annotate the
2708
+ * error's message to add some context as to the probable reason for the error.
2709
+ * In particular, if the selector includes a selector which is known to be
2710
+ * unsupported in jQuery, then we know that was likely the cause of the
2711
+ * error.
2712
+ *
2713
+ * @param selector our selector of interest
2714
+ * @param e an error object that was thrown in the course of using jQuery
2715
+ */
2716
+ function updateSelectorError(selector, e) {
2717
+ const selectorsPresent = PROBLEMATIC_SELECTORS.filter((s) => selector.includes(s));
2718
+ if (selectorsPresent.length > 0 && e.message) {
2719
+ e.message =
2720
+ `At present jQuery does not support the ${humanReadableList(selectorsPresent)} ${selectorsPresent.length === 1 ? 'selector' : 'selectors'}.
2721
+ If you need this in your test, consider writing an end-to-end test instead.\n` + e.message;
2722
+ }
2723
+ }
2724
+ /**
2725
+ * Format a list of strings in a 'human readable' way.
2726
+ *
2727
+ * - If one string (['string']), return 'string'
2728
+ * - If two strings (['a', 'b']), return 'a and b'
2729
+ * - If three or more (['a', 'b', 'c']), return 'a, b and c'
2730
+ *
2731
+ * @param items a list of strings to format
2732
+ * @returns a formatted string
2733
+ */
2734
+ function humanReadableList(items) {
2735
+ if (items.length <= 1) {
2736
+ return items.join('');
2737
+ }
2738
+ return `${items.slice(0, items.length - 1).join(', ')} and ${items[items.length - 1]}`;
2643
2739
  }
2644
2740
 
2741
+ /**
2742
+ * Serialize a node (either a DOM node or a mock-doc node) to an HTML string
2743
+ *
2744
+ * @param elm the node to serialize
2745
+ * @param opts options to control serialization behavior
2746
+ * @returns an html string
2747
+ */
2645
2748
  function serializeNodeToHtml(elm, opts = {}) {
2646
2749
  const output = {
2647
2750
  currentLineWidth: 0,
@@ -2702,6 +2805,7 @@ function serializeNodeToHtml(elm, opts = {}) {
2702
2805
  return output.text.join('');
2703
2806
  }
2704
2807
  function serializeToHtml(node, opts, output, isShadowRoot) {
2808
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
2705
2809
  if (node.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */ || isShadowRoot) {
2706
2810
  const tagName = isShadowRoot ? 'mock:shadow-root' : getTagName(node);
2707
2811
  if (tagName === 'body') {
@@ -2709,12 +2813,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2709
2813
  }
2710
2814
  const ignoreTag = opts.excludeTags != null && opts.excludeTags.includes(tagName);
2711
2815
  if (ignoreTag === false) {
2712
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
2816
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a = opts.indentSpaces) !== null && _a !== void 0 ? _a : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2713
2817
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2714
2818
  output.text.push('\n');
2715
2819
  output.currentLineWidth = 0;
2716
2820
  }
2717
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
2821
+ if (((_b = opts.indentSpaces) !== null && _b !== void 0 ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2718
2822
  for (let i = 0; i < output.indent; i++) {
2719
2823
  output.text.push(' ');
2720
2824
  }
@@ -2739,7 +2843,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2739
2843
  const attrNamespaceURI = attr.namespaceURI;
2740
2844
  if (attrNamespaceURI == null) {
2741
2845
  output.currentLineWidth += attrName.length + 1;
2742
- if (opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
2846
+ if (opts.approximateLineWidth &&
2847
+ opts.approximateLineWidth > 0 &&
2848
+ output.currentLineWidth > opts.approximateLineWidth) {
2743
2849
  output.text.push('\n' + attrName);
2744
2850
  output.currentLineWidth = 0;
2745
2851
  }
@@ -2796,7 +2902,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2796
2902
  }
2797
2903
  if (node.hasAttribute('style')) {
2798
2904
  const cssText = node.style.cssText;
2799
- if (opts.approximateLineWidth > 0 &&
2905
+ if (opts.approximateLineWidth &&
2906
+ opts.approximateLineWidth > 0 &&
2800
2907
  output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
2801
2908
  output.text.push(`\nstyle="${cssText}">`);
2802
2909
  output.currentLineWidth = 0;
@@ -2813,14 +2920,14 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2813
2920
  }
2814
2921
  if (EMPTY_ELEMENTS.has(tagName) === false) {
2815
2922
  if (opts.serializeShadowRoot && node.shadowRoot != null) {
2816
- output.indent = output.indent + opts.indentSpaces;
2923
+ output.indent = output.indent + ((_c = opts.indentSpaces) !== null && _c !== void 0 ? _c : 0);
2817
2924
  serializeToHtml(node.shadowRoot, opts, output, true);
2818
- output.indent = output.indent - opts.indentSpaces;
2925
+ output.indent = output.indent - ((_d = opts.indentSpaces) !== null && _d !== void 0 ? _d : 0);
2819
2926
  if (opts.newLines &&
2820
2927
  (node.childNodes.length === 0 ||
2821
2928
  (node.childNodes.length === 1 &&
2822
2929
  node.childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
2823
- node.childNodes[0].nodeValue.trim() === ''))) {
2930
+ ((_e = node.childNodes[0].nodeValue) === null || _e === void 0 ? void 0 : _e.trim()) === ''))) {
2824
2931
  output.text.push('\n');
2825
2932
  output.currentLineWidth = 0;
2826
2933
  for (let i = 0; i < output.indent; i++) {
@@ -2837,9 +2944,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2837
2944
  childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
2838
2945
  (typeof childNodes[0].nodeValue !== 'string' || childNodes[0].nodeValue.trim() === '')) ;
2839
2946
  else {
2840
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
2841
- if (!isWithinWhitespaceSensitiveNode && opts.indentSpaces > 0 && ignoreTag === false) {
2842
- output.indent = output.indent + opts.indentSpaces;
2947
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_f = opts.indentSpaces) !== null && _f !== void 0 ? _f : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2948
+ if (!isWithinWhitespaceSensitiveNode && ((_g = opts.indentSpaces) !== null && _g !== void 0 ? _g : 0) > 0 && ignoreTag === false) {
2949
+ output.indent = output.indent + ((_h = opts.indentSpaces) !== null && _h !== void 0 ? _h : 0);
2843
2950
  }
2844
2951
  for (let i = 0; i < childNodeLength; i++) {
2845
2952
  serializeToHtml(childNodes[i], opts, output, false);
@@ -2849,8 +2956,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2849
2956
  output.text.push('\n');
2850
2957
  output.currentLineWidth = 0;
2851
2958
  }
2852
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
2853
- output.indent = output.indent - opts.indentSpaces;
2959
+ if (((_j = opts.indentSpaces) !== null && _j !== void 0 ? _j : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2960
+ output.indent = output.indent - ((_k = opts.indentSpaces) !== null && _k !== void 0 ? _k : 0);
2854
2961
  for (let i = 0; i < output.indent; i++) {
2855
2962
  output.text.push(' ');
2856
2963
  }
@@ -2865,7 +2972,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2865
2972
  }
2866
2973
  }
2867
2974
  }
2868
- if (opts.approximateLineWidth > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
2975
+ if (((_l = opts.approximateLineWidth) !== null && _l !== void 0 ? _l : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
2869
2976
  output.text.push('\n');
2870
2977
  output.currentLineWidth = 0;
2871
2978
  }
@@ -2885,13 +2992,15 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2885
2992
  output.text.push(textContent);
2886
2993
  output.currentLineWidth += textContent.length;
2887
2994
  }
2888
- else if (opts.approximateLineWidth > 0 && !output.isWithinBody) ;
2995
+ else if (((_m = opts.approximateLineWidth) !== null && _m !== void 0 ? _m : 0) > 0 && !output.isWithinBody) ;
2889
2996
  else if (!opts.prettyHtml) {
2890
2997
  // this text node is only whitespace, and it's not
2891
2998
  // within a whitespace sensitive element like <pre> or <code>
2892
2999
  // so replace the entire white space with a single new line
2893
3000
  output.currentLineWidth += 1;
2894
- if (opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
3001
+ if (opts.approximateLineWidth &&
3002
+ opts.approximateLineWidth > 0 &&
3003
+ output.currentLineWidth > opts.approximateLineWidth) {
2895
3004
  // good enough for a new line
2896
3005
  // for perf these are all just estimates
2897
3006
  // we don't care to ensure exact line lengths
@@ -2906,12 +3015,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2906
3015
  }
2907
3016
  else {
2908
3017
  // this text node has text content
2909
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
3018
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) !== null && _o !== void 0 ? _o : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
2910
3019
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2911
3020
  output.text.push('\n');
2912
3021
  output.currentLineWidth = 0;
2913
3022
  }
2914
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
3023
+ if (((_p = opts.indentSpaces) !== null && _p !== void 0 ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2915
3024
  for (let i = 0; i < output.indent; i++) {
2916
3025
  output.text.push(' ');
2917
3026
  }
@@ -2923,7 +3032,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2923
3032
  const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */
2924
3033
  ? node.parentNode.nodeName
2925
3034
  : null;
2926
- if (NON_ESCAPABLE_CONTENT.has(parentTagName)) {
3035
+ if (typeof parentTagName === 'string' && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
2927
3036
  // this text node cannot have its content escaped since it's going
2928
3037
  // into an element like <style> or <script>
2929
3038
  if (isWithinWhitespaceSensitive(node)) {
@@ -2956,7 +3065,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2956
3065
  textContentLength = textContent.length;
2957
3066
  if (textContentLength > 1) {
2958
3067
  if (/\s/.test(textContent.charAt(textContentLength - 1))) {
2959
- if (opts.approximateLineWidth > 0 &&
3068
+ if (opts.approximateLineWidth &&
3069
+ opts.approximateLineWidth > 0 &&
2960
3070
  output.currentLineWidth + textContentLength > opts.approximateLineWidth) {
2961
3071
  textContent = textContent.trimRight() + '\n';
2962
3072
  output.currentLineWidth = 0;
@@ -2978,20 +3088,20 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2978
3088
  else if (node.nodeType === 8 /* NODE_TYPES.COMMENT_NODE */) {
2979
3089
  const nodeValue = node.nodeValue;
2980
3090
  if (opts.removeHtmlComments) {
2981
- const isHydrateAnnotation = nodeValue.startsWith(CONTENT_REF_ID + '.') ||
2982
- nodeValue.startsWith(ORG_LOCATION_ID + '.') ||
2983
- nodeValue.startsWith(SLOT_NODE_ID + '.') ||
2984
- nodeValue.startsWith(TEXT_NODE_ID + '.');
3091
+ const isHydrateAnnotation = (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(CONTENT_REF_ID + '.')) ||
3092
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(ORG_LOCATION_ID + '.')) ||
3093
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(SLOT_NODE_ID + '.')) ||
3094
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(TEXT_NODE_ID + '.'));
2985
3095
  if (!isHydrateAnnotation) {
2986
3096
  return;
2987
3097
  }
2988
3098
  }
2989
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
3099
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_q = opts.indentSpaces) !== null && _q !== void 0 ? _q : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2990
3100
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2991
3101
  output.text.push('\n');
2992
3102
  output.currentLineWidth = 0;
2993
3103
  }
2994
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
3104
+ if (((_r = opts.indentSpaces) !== null && _r !== void 0 ? _r : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2995
3105
  for (let i = 0; i < output.indent; i++) {
2996
3106
  output.text.push(' ');
2997
3107
  }
@@ -3025,12 +3135,21 @@ function escapeString(str, attrMode) {
3025
3135
  }
3026
3136
  return str.replace(LT_REGEX, '&lt;').replace(GT_REGEX, '&gt;');
3027
3137
  }
3138
+ /**
3139
+ * Determine whether a given node is within a whitespace-sensitive node by
3140
+ * walking the parent chain until either a whitespace-sensitive node is found or
3141
+ * there are no more parents to examine.
3142
+ *
3143
+ * @param node a node to check
3144
+ * @returns whether or not this is within a whitespace-sensitive node
3145
+ */
3028
3146
  function isWithinWhitespaceSensitive(node) {
3029
- while (node != null) {
3030
- if (WHITESPACE_SENSITIVE.has(node.nodeName)) {
3147
+ let _node = node;
3148
+ while (_node != null) {
3149
+ if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
3031
3150
  return true;
3032
3151
  }
3033
- node = node.parentNode;
3152
+ _node = _node.parentNode;
3034
3153
  }
3035
3154
  return false;
3036
3155
  }
@@ -3044,6 +3163,9 @@ function isWithinWhitespaceSensitive(node) {
3044
3163
  'NOFRAMES',
3045
3164
  'PLAINTEXT',
3046
3165
  ]);
3166
+ /**
3167
+ * A list of whitespace sensitive tag names, such as `code`, `pre`, etc.
3168
+ */
3047
3169
  const WHITESPACE_SENSITIVE = new Set([
3048
3170
  'CODE',
3049
3171
  'OUTPUT',
@@ -4103,6 +4225,18 @@ class MockHTMLElement extends MockElement {
4103
4225
  set tagName(value) {
4104
4226
  this.nodeName = value;
4105
4227
  }
4228
+ /**
4229
+ * A node’s parent of type Element is known as its parent element.
4230
+ * If the node has a parent of a different type, its parent element
4231
+ * is null.
4232
+ * @returns MockElement
4233
+ */
4234
+ get parentElement() {
4235
+ if (this.nodeName === 'HTML') {
4236
+ return null;
4237
+ }
4238
+ return super.parentElement;
4239
+ }
4106
4240
  get attributes() {
4107
4241
  if (this.__attributeMap == null) {
4108
4242
  const attrMap = createAttributeProxy(true);
@@ -7063,8 +7197,7 @@ const createElm = (e, t, o, n) => {
7063
7197
  }, isSameVnode = (e, t, o = !1) => e.$tag$ === t.$tag$ && ("slot" === e.$tag$ ? e.$name$ === t.$name$ : !(!o) || e.$key$ === t.$key$), referenceNode = e => e && e["s-ol"] || e, parentReferenceNode = e => (e["s-ol"] ? e["s-ol"] : e).parentNode, patch = (e, t, o = !1) => {
7064
7198
  const n = t.$elm$ = e.$elm$, s = e.$children$, l = t.$children$, a = t.$tag$, r = t.$text$;
7065
7199
  let i;
7066
- null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : (("slot" === a || updateElement(e, t, isSvgMode)),
7067
- null !== s && null !== l ? ((e, t, o, n, s = !1) => {
7200
+ null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : (("slot" === a && !useNativeShadowDom ? BUILD.experimentalSlotFixes : updateElement(e, t, isSvgMode)), null !== s && null !== l ? ((e, t, o, n, s = !1) => {
7068
7201
  let l, a, r = 0, i = 0, d = 0, c = 0, $ = t.length - 1, m = t[0], p = t[$], h = n.length - 1, f = n[0], u = n[h];
7069
7202
  for (;r <= $ && i <= h; ) if (null == m) m = t[++r]; else if (null == p) p = t[--$]; else if (null == f) f = n[++i]; else if (null == u) u = n[--h]; else if (isSameVnode(m, f, s)) patch(m, f, s),
7070
7203
  m = t[++r], f = n[++i]; else if (isSameVnode(p, u, s)) patch(p, u, s), p = t[--$],
@@ -7132,9 +7265,9 @@ const createElm = (e, t, o, n) => {
7132
7265
  if (d.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, d.$attrsToReflect$.map((([e, t]) => $.$attrs$[t] = i[e]))),
7133
7266
  o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
7134
7267
  if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
7135
- (scopeId = i["s-sc"]), (contentRef = i["s-cr"],
7136
- useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(c, $, o),
7137
- BUILD.slotRelocation) {
7268
+ (scopeId = i["s-sc"]), useNativeShadowDom = supportsShadow,
7269
+ (contentRef = i["s-cr"], checkSlotFallbackVisibility = !1),
7270
+ patch(c, $, o), BUILD.slotRelocation) {
7138
7271
  if (plt.$flags$ |= 1, checkSlotRelocate) {
7139
7272
  markSlotContentForRelocation($.$elm$);
7140
7273
  for (const e of relocateNodes) {
@@ -7319,8 +7452,10 @@ const callRender = (e, t, o, n) => {
7319
7452
  return e;
7320
7453
  }, initializeComponent = async (e, t, o, n) => {
7321
7454
  let s;
7322
- if (0 == (32 & t.$flags$)) {
7323
- if (t.$flags$ |= 32, BUILD.lazyLoad ) {
7455
+ if (!(32 & t.$flags$)) {
7456
+ t.$flags$ |= 32;
7457
+ const n = o.$lazyBundleId$;
7458
+ if (n) {
7324
7459
  if (s = loadModule(o), s.then) {
7325
7460
  s = await s;
7326
7461
  }
@@ -7335,7 +7470,7 @@ const callRender = (e, t, o, n) => {
7335
7470
  }
7336
7471
  (t.$flags$ &= -9), (t.$flags$ |= 128), e(),
7337
7472
  fireConnectedCallback(t.$lazyInstance$);
7338
- }
7473
+ } else s = e.constructor, customElements.whenDefined(o.$tagName$).then((() => t.$flags$ |= 128));
7339
7474
  if (s.style) {
7340
7475
  let n = s.style;
7341
7476
  const l = getScopeId(o);
@@ -7350,7 +7485,7 @@ const callRender = (e, t, o, n) => {
7350
7485
  }, fireConnectedCallback = e => {
7351
7486
  safeCall(e, "connectedCallback");
7352
7487
  }, connectedCallback = e => {
7353
- if (0 == (1 & plt.$flags$)) {
7488
+ if (!(1 & plt.$flags$)) {
7354
7489
  const t = getHostRef(e), o = t.$cmpMeta$, n = createTime("connectedCallback", o.$tagName$);
7355
7490
  if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$), (null == t ? void 0 : t.$lazyInstance$) ? fireConnectedCallback(t.$lazyInstance$) : (null == t ? void 0 : t.$onReadyPromise$) && t.$onReadyPromise$.then((() => fireConnectedCallback(t.$lazyInstance$))); else {
7356
7491
  let n;
@@ -7393,7 +7528,7 @@ const callRender = (e, t, o, n) => {
7393
7528
  } catch (e) {
7394
7529
  consoleError(e);
7395
7530
  }
7396
- }, getHostListenerTarget = (e, t) => 16 & t ? doc.body : e, hostListenerOpts = e => 0 != (2 & e), insertVdomAnnotations = (e, t) => {
7531
+ }, getHostListenerTarget = (e, t) => 16 & t ? doc.body : e, hostListenerOpts = e => !!(2 & e), insertVdomAnnotations = (e, t) => {
7397
7532
  if (null != e) {
7398
7533
  const o = {
7399
7534
  hostIds: 0,
@@ -7531,6 +7666,13 @@ const cmpModules = new Map, getModule = e => {
7531
7666
  e["s-p"] = [], e["s-rc"] = [], addHostEventListeners(e, o, t.$listeners$), hostRefs.set(e, o);
7532
7667
  }, styles = new Map;
7533
7668
 
7669
+ /* pds-icons v3.6.0, ES Modules */
7670
+ const checkCircleFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path d='M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8Zm4.473 5.807L7.14 11.14c-.26.26-.68.26-.94 0L3.533 8.473a.664.664 0 1 1 .94-.94l2.194 2.194 4.86-4.86c.26-.26.68-.26.94 0 .266.253.266.68.006.94Z'/></svg>";
7671
+ const downSmall = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M3.594 5.594a.889.889 0 0 1 1.257 0L7.778 8.52l2.927-2.927a.889.889 0 0 1 1.257 1.257l-3.556 3.555a.889.889 0 0 1-1.257 0L3.594 6.851a.889.889 0 0 1 0-1.257Z'/></svg>";
7672
+ const launch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M15.138.862a.664.664 0 0 1 .195.461v5.344a.667.667 0 0 1-1.333 0V2.943L7.805 9.138a.667.667 0 1 1-.943-.943L13.057 2H9.333a.667.667 0 0 1 0-1.333h5.333c.171 0 .342.065.472.195ZM1.333 2a.667.667 0 0 0-.666.667v12c0 .368.298.666.666.666h12a.667.667 0 0 0 .667-.666V10a.667.667 0 0 0-1.333 0v4H2V3.333h4A.667.667 0 1 0 6 2H1.333Z'/></svg>";
7673
+ const upSmall = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M7.15 5.594a.889.889 0 0 1 1.256 0l3.556 3.555a.889.889 0 0 1-1.257 1.257L7.778 7.48 4.85 10.406A.889.889 0 1 1 3.594 9.15l3.555-3.555Z'/></svg>";
7674
+ const userFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17' class='pdsicon'><path fill-rule='evenodd' d='M11.667 3.697C11.667 5.687 10.067 8 8 8 5.933 8 4.333 5.687 4.333 3.697a3.667 3.667 0 1 1 7.334 0Zm-8.77 7.2c1-1 2.356-1.562 3.77-1.564h2.666a5.34 5.34 0 0 1 5.334 5.334.667.667 0 0 1-.464.635A22.19 22.19 0 0 1 8 16a22.19 22.19 0 0 1-6.203-.698.667.667 0 0 1-.464-.635 5.34 5.34 0 0 1 1.564-3.77Z'/></svg>";
7675
+
7534
7676
  const pdsAccordionCss = "/*!@:host*/.sc-pds-accordion-h{display:block}/*!@details*/details.sc-pds-accordion{--border-radius:var(--pine-spacing-xs);--box-shadow-focus:0 0 0 4px var(--pine-color-primary-200);--color-content-background:var(--pine-base-color-white);--color-background-hover:var(--pine-color-neutral-grey-300);--color-font:var(--pine-color-neutral-charcoal-200);--color-font-active:var(--pine-color-neutral-charcoal-500);--color-font-hover:var(--pine-color-neutral-charcoal-300);--font-weight:var(--pine-font-weight-semibold);--spacing-details-padding-inline:12px;--spacing-summary-padding-block:var(--pine-spacing-xxs);--spacing-summary-padding-inline-start:var(--pine-spacing-xs);--spacing-summary-padding-inline-end:var(--pine-spacing-xxs);border-radius:var(--border-radius);padding-inline:var(--spacing-details-padding-inline)}/*!@details[open]*/details[open].sc-pds-accordion{background-color:var(--color-content-background)}/*!@details[open] summary*/details[open].sc-pds-accordion summary.sc-pds-accordion{color:var(--color-font-active);font-weight:var(--font-weight)}/*!@summary*/summary.sc-pds-accordion{border-radius:var(--border-radius);color:var(--color-font);font-weight:var(--font-weight);padding-block:var(--spacing-summary-padding-block);-webkit-padding-end:var(--spacing-summary-padding-inline-end);padding-inline-end:var(--spacing-summary-padding-inline-end);-webkit-padding-start:var(--spacing-summary-padding-inline-start);padding-inline-start:var(--spacing-summary-padding-inline-start);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}/*!@summary::-webkit-details-marker*/summary.sc-pds-accordion::-webkit-details-marker{display:none}/*!@summary:hover*/summary.sc-pds-accordion:hover{background:var(--color-background-hover);color:var(--color-font-hover);cursor:pointer}/*!@summary:focus-visible*/summary.sc-pds-accordion:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}/*!@summary pds-icon*/summary.sc-pds-accordion pds-icon.sc-pds-accordion{-webkit-margin-start:auto;margin-inline-start:auto}";
7535
7677
  var PdsAccordionStyle0 = pdsAccordionCss;
7536
7678
 
@@ -7560,7 +7702,7 @@ class PdsAccordion {
7560
7702
  this.detailsEl.addEventListener('toggle', this.handleToggle);
7561
7703
  }
7562
7704
  render() {
7563
- return (hAsync(Host, { key: 'e2e795c93ddd812acd5f9ac26546953d7172ba39', class: "pds-accordion", id: this.componentId }, hAsync("details", Object.assign({ key: '772f09a0f28f03a0feffa7a6ea1fd0cbf0947c56' }, this.getOpenAttribute(), { ref: (el) => this.detailsEl = el }), hAsync("summary", { key: 'f8987032a8e8468f9e8728ed673c26210fd0c2a2' }, hAsync("slot", { key: '5dfcd343dfdc7b5eb6f75e75dff494aab0fbea36', name: "label" }, "Details"), hAsync("pds-icon", { key: '2e6cd67ca003428c48b0c0545287b629918f243a', name: this.isOpen ? 'up-small' : 'down-small' })), hAsync("div", { key: '508b2e5d33c4a83e6f569ba30ef042e5ffc01318', class: "pds-accordion__body" }, hAsync("slot", { key: '13bc1ae447df49043efbbf631844add1245fbabe' })))));
7705
+ return (hAsync(Host, { key: 'e996195d96f69a054a9ea665990532d711a82b63', class: "pds-accordion", id: this.componentId }, hAsync("details", Object.assign({ key: 'b4fe417ed95131dda058c574d597f0a3eb23c450' }, this.getOpenAttribute(), { ref: (el) => this.detailsEl = el }), hAsync("summary", { key: '778a0c82d3d2d905f918790471d835cd930fe45c' }, hAsync("slot", { key: 'ff07c719be212738add3b0a5f5dd0cf7d6e82171', name: "label" }, "Details"), hAsync("pds-icon", { key: '1dc003b9f15ac06928db012311dddae6c55f2e96', icon: this.isOpen ? upSmall : downSmall })), hAsync("div", { key: '430756d63e0eb92ab5858e8cf5e8b45a1d39a637', class: "pds-accordion__body" }, hAsync("slot", { key: 'df808630195d17c6093d6dcb6a92d248f236f6a0' })))));
7564
7706
  }
7565
7707
  static get watchers() { return {
7566
7708
  "isOpen": ["handleOpenState"]
@@ -7582,31 +7724,37 @@ class PdsAccordion {
7582
7724
  const pdsAvatarCss = "/*!@:host*/.sc-pds-avatar-h{display:inline-block}/*!@div*/div.sc-pds-avatar{--background-color:var(--pine-color-primary-100);--badge-background-color:var(--pine-color-base-white);--border:var(--pine-border-default);--radius-round:50%;-ms-flex-align:center;align-items:center;background-color:var(--background-color);border-radius:var(--admin-radius-round, var(--radius-round));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;position:relative}/*!@:host(.pds-avatar--admin) div*/.pds-avatar--admin.sc-pds-avatar-h div.sc-pds-avatar{--admin-radius-round:12px;border-radius:var(--admin-radius-round)}/*!@:host(.pds-avatar--has-image) div*/.pds-avatar--has-image.sc-pds-avatar-h div.sc-pds-avatar{background:transparent}@supports selector(:has){/*!@div:has(img)*/div.sc-pds-avatar:has(img){background-color:transparent}}/*!@.pds-avatar__button*/.pds-avatar__button.sc-pds-avatar{--box-shadow-focus:0 0 0 4px var(--pine-color-primary-200);-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--radius-round);cursor:pointer;display:-ms-flexbox;display:flex;padding:0}/*!@.pds-avatar__button:focus-visible*/.pds-avatar__button.sc-pds-avatar:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}/*!@.pds-avatar__badge*/.pds-avatar__badge.sc-pds-avatar{background-color:var(--badge-background-color);border:var(--border);border-color:var(--badge-background-color);border-radius:var(--radius-round);bottom:0;position:absolute;right:0}/*!@img*/img.sc-pds-avatar{border-radius:var(--admin-radius-round, var(--radius-round));height:100%;-o-object-fit:cover;object-fit:cover;width:100%}";
7583
7725
  var PdsAvatarStyle0 = pdsAvatarCss;
7584
7726
 
7727
+ /**
7728
+ * @part image - The main image element that represents the avatar component.
7729
+ */
7585
7730
  class PdsAvatar {
7586
7731
  constructor(hostRef) {
7587
7732
  registerInstance(this, hostRef);
7588
- this.renderAvatar = () => {
7733
+ this.renderAssetWrapper = () => {
7589
7734
  const style = {
7590
7735
  height: this.avatarSize(),
7591
7736
  width: this.avatarSize()
7592
7737
  };
7738
+ return (hAsync("div", { style: style, part: "asset-wrapper" }, this.renderIconOrImage(), this.renderBadge()));
7739
+ };
7740
+ this.renderAvatar = () => {
7593
7741
  return (this.dropdown
7594
7742
  ?
7595
- hAsync("button", { class: "pds-avatar__button", type: "button" }, hAsync("div", { style: style }, this.renderIconOrImage(), this.renderBadge()))
7743
+ hAsync("button", { class: "pds-avatar__button", type: "button" }, this.renderAssetWrapper())
7596
7744
  :
7597
- hAsync("div", { style: style }, this.renderIconOrImage(), this.renderBadge()));
7745
+ this.renderAssetWrapper());
7598
7746
  };
7599
7747
  this.renderBadge = () => (this.badge
7600
7748
  // Percentage is average size of icon in relation to total avatar size
7601
7749
  // of all preset sizes found in Figma.
7602
7750
  // Used to allow icons to scale to container size
7603
- && hAsync("pds-icon", { class: "pds-avatar__badge", name: "check-circle-filled", size: "33.53%" }));
7751
+ && hAsync("pds-icon", { class: "pds-avatar__badge", icon: checkCircleFilled, size: "33.53%" }));
7604
7752
  this.renderIconOrImage = () => (this.image
7605
7753
  ? hAsync("img", { alt: this.alt, src: this.image })
7606
7754
  // Percentage is average size of icon in relation to total avatar size
7607
7755
  // of all preset sizes found in Figma.
7608
7756
  // Used to allow icons to scale to container size
7609
- : hAsync("pds-icon", { name: "user-filled", size: "33.53%" }));
7757
+ : hAsync("pds-icon", { color: "var(--pine-color-primary-400)", icon: userFilled, size: "33.53%" }));
7610
7758
  this.classNames = () => ({
7611
7759
  'pds-avatar': true,
7612
7760
  [`pds-avatar--has-image`]: this.image !== '' && this.image !== null, // Remove when FF supports :has selector
@@ -7636,7 +7784,7 @@ class PdsAvatar {
7636
7784
  }
7637
7785
  }
7638
7786
  render() {
7639
- return (hAsync(Host, { key: '179b1d53b2250e1fab6807a324c474c2d02c8d43', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
7787
+ return (hAsync(Host, { key: '0e214f7cca56b36b49e27c8dc097acc7b34391cc', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
7640
7788
  }
7641
7789
  static get style() { return PdsAvatarStyle0; }
7642
7790
  static get cmpMeta() { return {
@@ -8362,9 +8510,6 @@ class PdsInput {
8362
8510
  }; }
8363
8511
  }
8364
8512
 
8365
- /* pds-icons v3.4.0, ES Modules */
8366
- const launch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M15.138.862a.665.665 0 0 1 .195.461v5.344a.667.667 0 0 1-1.333 0V2.943L7.805 9.138a.667.667 0 1 1-.943-.943L13.057 2H9.333a.667.667 0 0 1 0-1.333h5.334c.17 0 .34.065.471.195ZM1.333 2a.667.667 0 0 0-.666.667v12c0 .368.298.666.666.666h12a.667.667 0 0 0 .667-.666V10a.667.667 0 0 0-1.333 0v4H2V3.333h4A.667.667 0 1 0 6 2H1.333Z'/></svg>";
8367
-
8368
8513
  const pdsLinkCss = "/*!@:host*/.sc-pds-link-h{--border-radius:var(--pine-border-radius-sm);--color:var(--pine-color-neutral-charcoal-400);--font-size:var(--pine-font-size-body);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-xxs);--outline:4px solid var(--pine-color-primary-200);--svg-lg:15px;--svg-md:13px;--svg-sm:11px;display:inline}/*!@:host pds-icon*/.sc-pds-link-h pds-icon.sc-pds-link{-webkit-margin-start:var(--margin-inline-start);margin-inline-start:var(--margin-inline-start)}/*!@.pds-link*/.pds-link.sc-pds-link{-ms-flex-align:center;align-items:center;color:var(--color);display:-ms-inline-flexbox;display:inline-flex;font-weight:inherit}/*!@.pds-link:focus*/.pds-link.sc-pds-link:focus{border-radius:var(--border-radius);outline:var(--outline)}/*!@.pds-link--sm*/.pds-link--sm.sc-pds-link{font-size:var(--font-size-xs)}/*!@.pds-link--sm pds-icon*/.pds-link--sm.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-sm);width:var(--svg-sm)}/*!@.pds-link--md*/.pds-link--md.sc-pds-link{font-size:var(--font-size-sm)}/*!@.pds-link--md pds-icon*/.pds-link--md.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-md);width:var(--svg-md)}/*!@.pds-link--lg*/.pds-link--lg.sc-pds-link{font-size:var(--font-size)}/*!@.pds-link--lg pds-icon*/.pds-link--lg.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-lg);width:var(--svg-lg)}/*!@.pds-link--plain*/.pds-link--plain.sc-pds-link{font-weight:var(--font-weight);text-decoration:none}/*!@.pds-link--plain:hover*/.pds-link--plain.sc-pds-link:hover{text-decoration:underline}/*!@.pds-link--default*/.pds-link--default.sc-pds-link{text-decoration:underline}/*!@.pds-link--default:hover*/.pds-link--default.sc-pds-link:hover{text-decoration:none}";
8369
8514
  var PdsLinkStyle0 = pdsLinkCss;
8370
8515
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pine-ds/core",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "license": "MIT",
5
5
  "description": "Base components for Pine Design System",
6
6
  "author": "Kajabi Design System Services",
@@ -56,7 +56,7 @@
56
56
  "test.watch": "stencil test --spec --e2e --watchAll --coverage"
57
57
  },
58
58
  "dependencies": {
59
- "@pine-ds/icons": "^3.4.0",
59
+ "@pine-ds/icons": "^3.6.0",
60
60
  "@stencil/core": "^4.8.1",
61
61
  "sortablejs": "^1.15.0",
62
62
  "tslib": "^2.6.2"
@@ -64,7 +64,7 @@
64
64
  "devDependencies": {
65
65
  "@babel/core": "^7.19.3",
66
66
  "@babel/preset-env": "^7.22.10",
67
- "@pine-ds/doc-components": "^0.1.3",
67
+ "@pine-ds/doc-components": "^0.1.4",
68
68
  "@pxtrn/storybook-addon-docs-stencil": "^6.4.1",
69
69
  "@stencil-community/eslint-plugin": "^0.5.0",
70
70
  "@stencil/react-output-target": "^0.5.3",
@@ -1,2 +0,0 @@
1
- import{__awaiter,__extends,__generator,__spreadArray}from"tslib";var NAMESPACE="pine-core";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var u=false;var f=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&u){f[f.length-1].i+=a}else{f.push(l?newVNode(null,a):a)}u=l}}};s(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(f.length>0){v.l=f}{v.u=i}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,m:e,i:t,h:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.m===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var u=i?[]:null;var f=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(f,o,l,u,e,e,r);o.map((function(e){var r=e.C+"."+e._;var n=plt.T.get(r);var a=e.h;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.T.delete(r)}));if(i){u.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var u;var f;var s;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){u=l.split(".");if(u[0]===o||u[0]==="0"){f={p:0,C:u[0],_:u[1],$:u[2],R:u[3],m:i.tagName.toLowerCase(),h:i,o:null,l:null,u:null,v:null,i:null};t.push(f);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[f.R]=f;e=f;if(n&&f.$==="0"){n[f.R]=f.h}}}for(s=i.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,a,i.childNodes[s],o)}if(i.shadowRoot){for(s=i.shadowRoot.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[s],o)}}}else if(i.nodeType===8){u=i.nodeValue.split(".");if(u[1]===o||u[1]==="0"){l=u[0];f={p:0,C:u[1],_:u[2],$:u[3],R:u[4],h:i,o:null,l:null,u:null,v:null,m:null,i:null};if(l===TEXT_NODE_ID){f.h=i.nextSibling;if(f.h&&f.h.nodeType===3){f.i=f.h.textContent;t.push(f);i.remove();if(!e.l){e.l=[]}e.l[f.R]=f;if(n&&f.$==="0"){n[f.R]=f.h}}}else if(f.C===o){if(l===SLOT_NODE_ID){f.m="slot";if(u[5]){i["s-sn"]=f.v=u[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.h=doc.createElement(f.m);if(f.v){f.h.setAttribute("name",f.v)}i.parentNode.insertBefore(f.h,i);i.remove();if(f.$==="0"){n[f.R]=f.h}}r.push(f);if(!e.l){e.l=[]}e.l[f.R]=f}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.m==="style"){var c=newVNode(null,i.textContent);c.h=i;c.R="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var u=(n=plt.D)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.N;var r=e.$hostElement$;var n=t.p;var a=createTime("attachStyles",t.k);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.k};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var u=e.classList;var f=parseClassList(r);var s=parseClassList(n);u.remove.apply(u,f.filter((function(e){return e&&!s.includes(e)})));u.add.apply(u,s.filter((function(e){return e&&!f.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var m=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(m){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(m){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var a=t.h.nodeType===11&&t.h.host?t.h.host:t.h;var i=e&&e.o||EMPTY_OBJ;var o=t.o||EMPTY_OBJ;{for(n in i){if(!(n in o)){setAccessor(a,n,i[n],undefined,r,t.p)}}}for(n in o){setAccessor(a,n,i[n],o[n],r,t.p)}};var createElm=function(e,t,r,n){var a=t.l[r];var i=0;var o;var l;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.m==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.p|=a.l?2:1}}if(a.i!==null){o=a.h=doc.createTextNode(a.i)}else if(a.p&1){o=a.h=doc.createTextNode("")}else{o=a.h=doc.createElement(a.p&2?"slot-fb":a.m);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.l){for(i=0;i<a.l.length;++i){l=createElm(e,a,i,o);if(l){o.appendChild(l)}}}}o["s-hn"]=hostTagName;{if(a.p&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=a.v||"";u=e&&e.l&&e.l[r];if(u&&u.m===a.m&&e.h){{putBackInOriginalLocation(e.h,false)}}}}return o};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;a["s-sh"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].h=l;o.insertBefore(l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.h;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var u=0;var f=t.length-1;var s=t[0];var c=t[f];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=f&&o<=v){if(s==null){s=t[++i]}else if(c==null){c=t[--f]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(s,d,a)){patch(s,d,a);s=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--f];p=n[--v]}else if(isSameVnode(s,p,a)){if(s.m==="slot"||p.m==="slot"){putBackInOriginalLocation(s.h.parentNode,false)}patch(s,p,a);e.insertBefore(s.h,c.h.nextSibling);s=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(s.m==="slot"||p.m==="slot"){putBackInOriginalLocation(c.h.parentNode,false)}patch(c,d,a);e.insertBefore(c.h,s.h);c=t[--f];d=n[++o]}else{l=-1;{for(u=i;u<=f;++u){if(t[u]&&t[u].u!==null&&t[u].u===d.u){l=u;break}}}if(l>=0){h=t[l];if(h.m!==d.m){m=createElm(t&&t[o],r,l,e)}else{patch(h,d,a);t[l]=undefined;m=h.h}d=n[++o]}else{m=createElm(t&&t[o],r,o,e);d=n[++o]}if(m){{parentReferenceNode(s.h).insertBefore(m,referenceNode(s.h))}}}}if(i>f){addVnodes(e,n[v+1]==null?null:n[v+1].h,r,n,o,v)}else if(o>v){removeVnodes(t,i,f)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.h=e.h;var a=e.l;var i=t.l;var o=t.m;var l=t.i;var u;if(l===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}}else if(u=n["s-cr"]){u.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var u=l[o];if(u!==a){if(u["s-hn"]!==a["s-hn"]||i!==""){if(u.nodeType===1&&(i===u.getAttribute("slot")||i===u["s-sn"])){a.hidden=true;break}}else{if(u.nodeType===1||u.nodeType===3&&u.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var u=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.L===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.L["s-sh"]=o["s-hn"];e.I=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({I:o,L:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.L,t["s-sn"])){e=relocateNodes.find((function(e){return e.L===t}));if(e&&!r.I){r.I=e.I}}}))}}else if(!relocateNodes.some((function(e){return e.L===t}))){relocateNodes.push({L:t})}}};for(n=r.length-1;n>=0;n--){u()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o;var l=e.$hostElement$;var u=e.N;var f=e.S||newVNode(null,null);var s=isHost(t)?t:h(null,null,t);hostTagName=l.tagName;if(u.H){s.o=s.o||{};u.H.map((function(e){var t=e[0],r=e[1];return s.o[r]=l[t]}))}if(r&&s.o){for(var c=0,v=Object.keys(s.o);c<v.length;c++){var d=v[c];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){s.o[d]=l[d]}}}s.m=null;s.p|=4;e.S=s;s.h=f.h=l.shadowRoot||l;{scopeId=l["s-sc"]}{contentRef=l["s-cr"];useNativeShadowDom=(u.p&1)!==0;checkSlotFallbackVisibility=false}patch(f,s,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(s.h);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var S=y.L;if(!S["s-ol"]){var T=doc.createTextNode("");T["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=T,S)}}for(var g=0,C=relocateNodes;g<C.length;g++){var y=C[g];var S=y.L;var _=y.I;if(_){var E=_.parentNode;var b=_.nextSibling;{var T=(n=S["s-ol"])===null||n===void 0?void 0:n.previousSibling;while(T){var $=(a=T["s-nr"])!==null&&a!==void 0?a:null;if($&&$["s-sn"]===S["s-sn"]&&E===$.parentNode){$=$.nextSibling;if(!$||!$["s-nr"]){b=$;break}}T=T.previousSibling}}if(!b&&E!==S.parentNode||S.nextSibling!==b){if(S!==b){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}E.insertBefore(S,b);if(S.nodeType===1){S.hidden=(i=S["s-ih"])!==null&&i!==void 0?i:false}}}}else{if(S.nodeType===1){if(r){S["s-ih"]=(o=S.hidden)!==null&&o!==void 0?o:false}S.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(s.h)}plt.p&=~1;relocateNodes.length=0}contentRef=undefined};var attachToAncestor=function(e,t){if(t&&!e.A&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.A=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.O);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.N.k);var n=e.V;var a;if(t){{e.p|=256;if(e.F){e.F.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.F=undefined}}{a=safeCall(n,"componentWillLoad")}}{a=enqueue(a,(function(){return safeCall(n,"componentWillRender")}))}r();return enqueue(a,(function(){return updateComponent(e,n,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,u,f;return __generator(this,(function(s){a=e.$hostElement$;i=createTime("update",e.N.k);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.N.k);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{u=(n=a["s-p"])!==null&&n!==void 0?n:[];f=function(){return postUpdateComponent(e)};if(u.length===0){f()}else{Promise.all(u).then(f);e.p|=4;u.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.N.k;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.V;var i=e.O;{safeCall(a,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.P(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.M(r)}{if(e.A){e.A();e.A=undefined}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).U.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var i=a.$hostElement$;var o=a.U.get(t);var l=a.p;var u=a.V;r=parsePropertyValue(r,n.q[t][0]);var f=Number.isNaN(o)&&Number.isNaN(r);var s=r!==o&&!f;if((!(l&8)||o===undefined)&&s){a.U.set(t,r);if(u){if(n.Y&&l&128){var c=n.Y[t];if(c){c.map((function(e){try{u[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n;var a=e.prototype;if(t.q){if(e.watchers){t.Y=e.watchers}var i=Object.entries(t.q);i.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a===null||a===void 0?void 0:a.B)===null||r===void 0?void 0:r.then((function(){var t;return(t=a.V)===null||t===void 0?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var u=o.get(e);if(i.hasOwnProperty(u)){n=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==n){return}else if(u==null){var f=getHostRef(i);var s=f===null||f===void 0?void 0:f.p;if(s&&!(s&8)&&s&128&&n!==r){var c=f.V;var v=(l=t.Y)===null||l===void 0?void 0:l[e];v===null||v===void 0?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}i[u]=n===null&&typeof i[u]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.Y)!==null&&n!==void 0?n:{}),true),i.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;o.set(i,r);if(n[0]&512){(a=t.H)===null||a===void 0?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,n,a,i,o,l,u,f;return __generator(this,(function(s){switch(s.label){case 0:if(!((t.p&32)===0))return[3,3];t.p|=32;e=loadModule(r);if(!e.then)return[3,2];n=uniqueTime();return[4,e];case 1:e=s.sent();n();s.label=2;case 2:if(!e.isProxied){{r.Y=e.watchers}proxyComponent(e,r,2);e.isProxied=true}a=createTime("createInstance",r.k);{t.p|=8}try{new e(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}a();fireConnectedCallback(t.V);if(e.style){i=e.style;o=getScopeId(r);if(!styles.has(o)){l=createTime("registerStyles",r.k);registerStyle(o,i,!!(r.p&1));l()}}s.label=3;case 3:u=t.O;f=function(){return scheduleUpdate(t,true)};if(u&&u["s-rc"]){u["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.N;var n=createTime("connectedCallback",r.k);if(!(t.p&1)){t.p|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.p&1){var i=addStyle(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.k,a,t)}}if(!a){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.O=o);break}}}if(r.q){Object.entries(r.q).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.j);if(t===null||t===void 0?void 0:t.V){fireConnectedCallback(t.V)}else if(t===null||t===void 0?void 0:t.W){t.W.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.X){t.X.map((function(e){return e()}));t.X=undefined}}if(t===null||t===void 0?void 0:t.V){disconnectInstance(t.V)}else if(t===null||t===void 0?void 0:t.W){t.W.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var u=l.querySelector("meta[charset]");var f=doc.createElement("style");var s=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var m=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],k:t[1],q:t[2],j:t[3]};if(n.p&4){m=true}{n.q=t[2]}{n.j=t[3]}{n.H=[]}{n.Y=(r=t[4])!==null&&r!==void 0?r:{}}var l=n.k;var u=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).W};return t}(HTMLElement);n.G=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(u,n,1))}}))}));if(m){f.innerHTML+=SLOT_FB_CSS}{f.innerHTML+=a+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");var h=(r=plt.D)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(h!=null){f.setAttribute("nonce",h)}l.insertBefore(f,u?u.nextSibling:l.firstChild)}d=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var u=hostListenerOpts(n);plt.ael(o,a,l,u);(t.X=t.X||[]).push((function(){return plt.rel(o,a,l,u)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.p&256){e.V[t](r)}else{(e.F=e.F||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.D=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,N:t,U:new Map};{r.B=new Promise((function(e){return r.M=e}))}{r.W=new Promise((function(e){return r.P=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.j);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.k.replace(/-/g,"_");var a=e.G;var i=cmpModules.get(a);if(i){return i[n]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={p:0,t:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=true;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.p&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};