@swisspost/design-system-components 10.0.0-next.71 → 10.0.0-next.72

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 (390) hide show
  1. package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
  2. package/dist/cjs/{index-CCteMCnR.js → index-ngUOBQot.js} +5 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/one-of-BHyX4vYq.js +27 -0
  5. package/dist/cjs/{package-CscM89A7.js → package-Bi-tiNRc.js} +1 -1
  6. package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
  7. package/dist/cjs/post-accordion_2.cjs.entry.js +15 -21
  8. package/dist/cjs/post-autocomplete.cjs.entry.js +26 -13
  9. package/dist/cjs/post-avatar.cjs.entry.js +30 -33
  10. package/dist/cjs/post-back-to-top.cjs.entry.js +20 -11
  11. package/dist/cjs/post-banner.cjs.entry.js +8 -13
  12. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +33 -23
  13. package/dist/cjs/post-breadcrumbs.cjs.entry.js +33 -34
  14. package/dist/cjs/post-closebutton_14.cjs.entry.js +238 -272
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +56 -39
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/post-date-picker.cjs.entry.js +140 -138
  18. package/dist/cjs/post-footer.cjs.entry.js +24 -17
  19. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  20. package/dist/cjs/post-listbox-option.cjs.entry.js +2 -2
  21. package/dist/cjs/post-listbox.cjs.entry.js +3 -5
  22. package/dist/cjs/post-login-widget.cjs.entry.js +28 -29
  23. package/dist/cjs/post-number-input.cjs.entry.js +2 -2
  24. package/dist/cjs/post-pagination.cjs.entry.js +50 -80
  25. package/dist/cjs/post-popover-trigger.cjs.entry.js +21 -18
  26. package/dist/cjs/post-popover.cjs.entry.js +24 -22
  27. package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
  28. package/dist/cjs/post-rating.cjs.entry.js +33 -34
  29. package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
  30. package/dist/cjs/post-stepper.cjs.entry.js +48 -37
  31. package/dist/cjs/post-tab-item.cjs.entry.js +20 -12
  32. package/dist/cjs/post-tab-panel.cjs.entry.js +20 -13
  33. package/dist/cjs/post-tabs.cjs.entry.js +21 -7
  34. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +21 -12
  35. package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
  36. package/dist/cjs/required-lRDOdbd6.js +44 -0
  37. package/dist/cjs/type-shT641Eo.js +30 -0
  38. package/dist/cjs/url-DRUMqVBq.js +34 -0
  39. package/dist/collection/collection-manifest.json +1 -0
  40. package/dist/collection/components/post-accordion/post-accordion.js +11 -8
  41. package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -17
  42. package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
  43. package/dist/collection/components/post-avatar/post-avatar.js +27 -33
  44. package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
  45. package/dist/collection/components/post-banner/post-banner.js +7 -14
  46. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +27 -22
  47. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +29 -34
  48. package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
  49. package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
  50. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
  51. package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
  52. package/dist/collection/components/post-footer/post-footer.js +17 -13
  53. package/dist/collection/components/post-header/post-header.js +18 -24
  54. package/dist/collection/components/post-icon/post-icon.js +34 -47
  55. package/dist/collection/components/post-language-menu/post-language-menu.js +15 -20
  56. package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
  57. package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
  58. package/dist/collection/components/post-listbox/post-listbox.js +3 -5
  59. package/dist/collection/components/post-listbox-option/post-listbox-option.js +1 -1
  60. package/dist/collection/components/post-login-widget/post-login-widget.js +25 -29
  61. package/dist/collection/components/post-logo/post-logo.js +16 -13
  62. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
  63. package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
  64. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
  65. package/dist/collection/components/post-menu/post-menu.js +10 -23
  66. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
  67. package/dist/collection/components/post-number-input/post-number-input.js +3 -3
  68. package/dist/collection/components/post-pagination/post-pagination.js +47 -82
  69. package/dist/collection/components/post-popover/post-popover.js +20 -22
  70. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
  71. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +25 -30
  72. package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
  73. package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
  74. package/dist/collection/components/post-rating/post-rating.js +25 -29
  75. package/dist/collection/components/post-stepper/post-stepper.js +44 -36
  76. package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
  77. package/dist/collection/components/post-tab-item/post-tab-item.js +17 -12
  78. package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -13
  79. package/dist/collection/components/post-tabs/post-tabs.js +20 -7
  80. package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
  81. package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
  82. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +17 -12
  83. package/dist/collection/utils/index.js +3 -4
  84. package/dist/collection/utils/is-value-empty.js +1 -1
  85. package/dist/collection/utils/property-decorators/bound.js +75 -0
  86. package/dist/collection/utils/property-decorators/create-validator-decorator.js +24 -0
  87. package/dist/collection/utils/property-decorators/index.js +1 -1
  88. package/dist/collection/utils/property-decorators/required.js +19 -3
  89. package/dist/component-names.json +1 -0
  90. package/dist/components/breakpoints.js +1 -1
  91. package/dist/components/index.d.ts +2 -0
  92. package/dist/components/index.js +1 -1
  93. package/dist/components/one-of.js +1 -0
  94. package/dist/components/package.js +1 -1
  95. package/dist/components/pattern.js +1 -0
  96. package/dist/components/post-accordion-item2.js +1 -1
  97. package/dist/components/post-accordion2.js +1 -1
  98. package/dist/components/post-autocomplete.js +1 -1
  99. package/dist/components/post-avatar2.js +1 -1
  100. package/dist/components/post-back-to-top.js +1 -1
  101. package/dist/components/post-banner.js +1 -1
  102. package/dist/components/post-breadcrumb-item.js +1 -1
  103. package/dist/components/post-breadcrumbs.js +1 -1
  104. package/dist/components/post-closebutton2.js +1 -1
  105. package/dist/components/post-collapsible-trigger2.js +1 -1
  106. package/dist/components/post-collapsible2.js +1 -1
  107. package/dist/components/post-date-picker.js +1 -1
  108. package/dist/components/post-footer.js +1 -1
  109. package/dist/components/post-header.js +1 -1
  110. package/dist/components/post-icon2.js +1 -1
  111. package/dist/components/post-language-menu-item.js +1 -1
  112. package/dist/components/post-language-menu.js +1 -1
  113. package/dist/components/post-listbox.js +1 -1
  114. package/dist/components/post-login-widget.js +1 -1
  115. package/dist/components/post-logo.js +1 -1
  116. package/dist/components/post-mainnavigation.js +1 -1
  117. package/dist/components/post-megadropdown-trigger.js +1 -1
  118. package/dist/components/post-megadropdown.js +1 -1
  119. package/dist/components/post-menu-trigger2.js +1 -1
  120. package/dist/components/post-menu2.js +1 -1
  121. package/dist/components/post-pagination.js +1 -1
  122. package/dist/components/post-popover-trigger.js +1 -1
  123. package/dist/components/post-popover.js +1 -1
  124. package/dist/components/post-popovercontainer2.js +1 -1
  125. package/dist/components/post-progressbar.d.ts +11 -0
  126. package/dist/components/post-progressbar.js +1 -0
  127. package/dist/components/post-rating.js +1 -1
  128. package/dist/components/post-stepper-item.js +1 -1
  129. package/dist/components/post-stepper.js +1 -1
  130. package/dist/components/post-tab-item.js +1 -1
  131. package/dist/components/post-tab-panel.js +1 -1
  132. package/dist/components/post-tabs.js +1 -1
  133. package/dist/components/post-togglebutton2.js +1 -1
  134. package/dist/components/post-tooltip-trigger.js +1 -1
  135. package/dist/components/post-tooltip.js +1 -1
  136. package/dist/components/react/index.js +1 -1
  137. package/dist/components/react/p-4wtxqxXu.js +1 -0
  138. package/dist/components/react/{p-DPKR_4uI.js → p-85IGlhtB.js} +1 -1
  139. package/dist/components/react/p-B9ZFuYey.js +1 -0
  140. package/dist/components/react/p-BXqGI600.js +1 -0
  141. package/dist/components/react/p-BZSAV0-K.js +1 -0
  142. package/dist/components/react/p-B_WnO-QF.js +1 -0
  143. package/dist/components/react/p-BaB8wJvk.js +1 -0
  144. package/dist/components/react/p-Bg9dtyzK.js +1 -0
  145. package/dist/components/react/p-Bji_4dfL.js +1 -0
  146. package/dist/components/react/p-Bn66acGG.js +1 -0
  147. package/dist/components/react/p-Bu2JeHDf.js +1 -0
  148. package/dist/components/react/p-BxoRVIIr.js +1 -0
  149. package/dist/components/react/p-CX2E_IXB.js +1 -0
  150. package/dist/components/react/p-Cd1TsNm7.js +1 -0
  151. package/dist/components/react/p-CkTAQJGd.js +1 -0
  152. package/dist/components/react/p-ClG-N42b.js +1 -0
  153. package/dist/components/react/p-D1zw8FxT.js +1 -0
  154. package/dist/components/react/p-DwuW52g5.js +1 -0
  155. package/dist/components/react/{p-BC0-M_SK.js → p-PM7l--ff.js} +1 -1
  156. package/dist/components/react/post-accordion-item.js +1 -1
  157. package/dist/components/react/post-accordion.js +1 -1
  158. package/dist/components/react/post-autocomplete.js +1 -1
  159. package/dist/components/react/post-avatar.js +1 -1
  160. package/dist/components/react/post-back-to-top.js +1 -1
  161. package/dist/components/react/post-banner.js +1 -1
  162. package/dist/components/react/post-breadcrumb-item.js +1 -1
  163. package/dist/components/react/post-breadcrumbs.js +1 -1
  164. package/dist/components/react/post-closebutton.js +1 -1
  165. package/dist/components/react/post-collapsible-trigger.js +1 -1
  166. package/dist/components/react/post-collapsible.js +1 -1
  167. package/dist/components/react/post-date-picker.js +1 -1
  168. package/dist/components/react/post-footer.js +1 -1
  169. package/dist/components/react/post-header.js +1 -1
  170. package/dist/components/react/post-icon.js +1 -1
  171. package/dist/components/react/post-language-menu-item.js +1 -1
  172. package/dist/components/react/post-language-menu.js +1 -1
  173. package/dist/components/react/post-linkarea.js +1 -1
  174. package/dist/components/react/post-listbox-option.js +1 -1
  175. package/dist/components/react/post-listbox.js +1 -1
  176. package/dist/components/react/post-login-widget.js +1 -1
  177. package/dist/components/react/post-logo.js +1 -1
  178. package/dist/components/react/post-mainnavigation.js +1 -1
  179. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  180. package/dist/components/react/post-megadropdown.js +1 -1
  181. package/dist/components/react/post-menu-item.js +1 -1
  182. package/dist/components/react/post-menu-trigger.js +1 -1
  183. package/dist/components/react/post-menu.js +1 -1
  184. package/dist/components/react/post-number-input.js +1 -1
  185. package/dist/components/react/post-pagination.js +1 -1
  186. package/dist/components/react/post-popover-trigger.js +1 -1
  187. package/dist/components/react/post-popover.js +1 -1
  188. package/dist/components/react/post-popovercontainer.js +1 -1
  189. package/dist/components/react/post-progressbar.d.ts +11 -0
  190. package/dist/components/react/post-progressbar.js +1 -0
  191. package/dist/components/react/post-rating.js +1 -1
  192. package/dist/components/react/post-stepper-item.js +1 -1
  193. package/dist/components/react/post-stepper.js +1 -1
  194. package/dist/components/react/post-tab-item.js +1 -1
  195. package/dist/components/react/post-tab-panel.js +1 -1
  196. package/dist/components/react/post-tabs.js +1 -1
  197. package/dist/components/react/post-togglebutton.js +1 -1
  198. package/dist/components/react/post-tooltip-trigger.js +1 -1
  199. package/dist/components/react/post-tooltip.js +1 -1
  200. package/dist/components/required.js +1 -0
  201. package/dist/components/type.js +1 -0
  202. package/dist/components/url.js +1 -0
  203. package/dist/docs.json +106 -4
  204. package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
  205. package/dist/esm/{index-DmBWUef5.js → index-BbDawWJ5.js} +5 -1
  206. package/dist/esm/loader.js +3 -3
  207. package/dist/esm/one-of-GPr3FflU.js +25 -0
  208. package/dist/esm/package-ClG-N42b.js +3 -0
  209. package/dist/esm/pattern-BWPRYpYv.js +25 -0
  210. package/dist/esm/post-accordion_2.entry.js +15 -21
  211. package/dist/esm/post-autocomplete.entry.js +26 -13
  212. package/dist/esm/post-avatar.entry.js +30 -33
  213. package/dist/esm/post-back-to-top.entry.js +20 -11
  214. package/dist/esm/post-banner.entry.js +8 -13
  215. package/dist/esm/post-breadcrumb-item.entry.js +33 -23
  216. package/dist/esm/post-breadcrumbs.entry.js +33 -34
  217. package/dist/esm/post-closebutton_14.entry.js +238 -272
  218. package/dist/esm/post-collapsible_2.entry.js +56 -39
  219. package/dist/esm/post-components.js +3 -3
  220. package/dist/esm/post-date-picker.entry.js +140 -138
  221. package/dist/esm/post-footer.entry.js +20 -13
  222. package/dist/esm/post-linkarea.entry.js +2 -2
  223. package/dist/esm/post-listbox-option.entry.js +2 -2
  224. package/dist/esm/post-listbox.entry.js +3 -5
  225. package/dist/esm/post-login-widget.entry.js +28 -29
  226. package/dist/esm/post-number-input.entry.js +2 -2
  227. package/dist/esm/post-pagination.entry.js +50 -80
  228. package/dist/esm/post-popover-trigger.entry.js +19 -16
  229. package/dist/esm/post-popover.entry.js +24 -22
  230. package/dist/esm/post-progressbar.entry.js +145 -0
  231. package/dist/esm/post-rating.entry.js +28 -29
  232. package/dist/esm/post-stepper-item.entry.js +3 -3
  233. package/dist/esm/post-stepper.entry.js +48 -37
  234. package/dist/esm/post-tab-item.entry.js +20 -12
  235. package/dist/esm/post-tab-panel.entry.js +20 -13
  236. package/dist/esm/post-tabs.entry.js +21 -7
  237. package/dist/esm/post-tooltip-trigger.entry.js +21 -12
  238. package/dist/esm/post-tooltip.entry.js +19 -16
  239. package/dist/esm/required-uK-rZZjy.js +42 -0
  240. package/dist/esm/type-obmwEgkM.js +28 -0
  241. package/dist/esm/url-B28ByZCe.js +32 -0
  242. package/dist/post-components/p-00f55af5.entry.js +1 -0
  243. package/dist/post-components/p-0288484f.entry.js +1 -0
  244. package/dist/post-components/p-07cdd022.entry.js +1 -0
  245. package/dist/post-components/{p-08a0e8e9.entry.js → p-12047216.entry.js} +1 -1
  246. package/dist/post-components/p-17df4e91.entry.js +1 -0
  247. package/dist/post-components/p-17e046fa.entry.js +1 -0
  248. package/dist/post-components/p-29bd31a0.entry.js +1 -0
  249. package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
  250. package/dist/post-components/p-3b05e01d.entry.js +1 -0
  251. package/dist/post-components/p-53fd5230.entry.js +1 -0
  252. package/dist/post-components/p-5b7e6369.entry.js +1 -0
  253. package/dist/post-components/p-5f4ca179.entry.js +1 -0
  254. package/dist/post-components/p-62b6154a.entry.js +1 -0
  255. package/dist/post-components/{p-4b445a35.entry.js → p-686a6e22.entry.js} +1 -1
  256. package/dist/post-components/p-758fc84f.entry.js +1 -0
  257. package/dist/post-components/{p-bab0f27f.entry.js → p-7f929bb9.entry.js} +1 -1
  258. package/dist/post-components/p-9865f72c.entry.js +1 -0
  259. package/dist/post-components/p-99803d57.entry.js +1 -0
  260. package/dist/post-components/p-BRNqUiXj.js +1 -0
  261. package/dist/post-components/p-BbDawWJ5.js +2 -0
  262. package/dist/post-components/p-CVsNfXZd.js +1 -0
  263. package/dist/post-components/p-Ck2qPht6.js +1 -0
  264. package/dist/post-components/p-ClG-N42b.js +1 -0
  265. package/dist/post-components/p-D4F0BqBW.js +1 -0
  266. package/dist/post-components/p-DSNGJB58.js +1 -0
  267. package/dist/post-components/p-IUnDBhPg.js +1 -0
  268. package/dist/post-components/p-a0e0a760.entry.js +1 -0
  269. package/dist/post-components/p-a850652d.entry.js +1 -0
  270. package/dist/post-components/p-aac1a8ea.entry.js +1 -0
  271. package/dist/post-components/{p-39143e19.entry.js → p-b3f0f9a2.entry.js} +1 -1
  272. package/dist/post-components/p-c37dba4b.entry.js +1 -0
  273. package/dist/post-components/p-d061773b.entry.js +1 -0
  274. package/dist/post-components/p-e2370e94.entry.js +1 -0
  275. package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
  276. package/dist/post-components/p-f2e5f44e.entry.js +1 -0
  277. package/dist/post-components/p-ff98ada4.entry.js +1 -0
  278. package/dist/post-components/post-components.css +1 -1
  279. package/dist/post-components/post-components.esm.js +1 -1
  280. package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
  281. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
  282. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
  283. package/dist/types/components/post-avatar/post-avatar.d.ts +0 -5
  284. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
  285. package/dist/types/components/post-banner/post-banner.d.ts +0 -1
  286. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +0 -3
  287. package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +0 -4
  288. package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
  289. package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
  290. package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
  291. package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
  292. package/dist/types/components/post-footer/post-footer.d.ts +0 -1
  293. package/dist/types/components/post-header/post-header.d.ts +0 -2
  294. package/dist/types/components/post-icon/post-icon.d.ts +0 -6
  295. package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
  296. package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
  297. package/dist/types/components/post-login-widget/post-login-widget.d.ts +0 -4
  298. package/dist/types/components/post-logo/post-logo.d.ts +0 -1
  299. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
  300. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
  301. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
  302. package/dist/types/components/post-menu/post-menu.d.ts +1 -4
  303. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
  304. package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
  305. package/dist/types/components/post-popover/post-popover.d.ts +1 -4
  306. package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
  307. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
  308. package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
  309. package/dist/types/components/post-rating/post-rating.d.ts +0 -4
  310. package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
  311. package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
  312. package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
  313. package/dist/types/components/post-tooltip/post-tooltip.d.ts +0 -2
  314. package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +0 -1
  315. package/dist/types/components.d.ts +51 -5
  316. package/dist/types/utils/index.d.ts +3 -4
  317. package/dist/types/utils/property-decorators/bound.d.ts +36 -0
  318. package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +5 -0
  319. package/dist/types/utils/property-decorators/index.d.ts +1 -1
  320. package/dist/types/utils/property-decorators/required.d.ts +10 -1
  321. package/hydrate/index.js +1310 -926
  322. package/hydrate/index.mjs +1310 -926
  323. package/package.json +4 -4
  324. package/dist/cjs/index-qCzRmwgB.js +0 -114
  325. package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
  326. package/dist/collection/utils/property-checkers/check-date.js +0 -13
  327. package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
  328. package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
  329. package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
  330. package/dist/collection/utils/property-checkers/check-type.js +0 -15
  331. package/dist/collection/utils/property-checkers/check-url.js +0 -15
  332. package/dist/collection/utils/property-checkers/constants.js +0 -1
  333. package/dist/collection/utils/property-checkers/empty-or.js +0 -9
  334. package/dist/collection/utils/property-checkers/index.js +0 -20
  335. package/dist/collection/utils/property-checkers/required-and.js +0 -14
  336. package/dist/components/heading-levels.js +0 -1
  337. package/dist/components/index2.js +0 -1
  338. package/dist/components/react/p-BQ3HlJPr.js +0 -1
  339. package/dist/components/react/p-C7s9oglQ.js +0 -1
  340. package/dist/components/react/p-CTgZ8DGr.js +0 -1
  341. package/dist/components/react/p-CVtlwDsT.js +0 -1
  342. package/dist/components/react/p-CaLwTf3T.js +0 -1
  343. package/dist/components/react/p-ClJyTIVM.js +0 -1
  344. package/dist/components/react/p-DGr-hfLq.js +0 -1
  345. package/dist/components/react/p-DJxdj9pa.js +0 -1
  346. package/dist/components/react/p-DKDEtjQe.js +0 -1
  347. package/dist/components/react/p-DcEDGaFs.js +0 -1
  348. package/dist/components/react/p-DipfA69b.js +0 -1
  349. package/dist/components/react/p-DwZxAC2u.js +0 -1
  350. package/dist/components/react/p-r4txK0AC.js +0 -1
  351. package/dist/components/react/p-x3kxyWSZ.js +0 -1
  352. package/dist/esm/index-D9bU2pIE.js +0 -104
  353. package/dist/esm/package-x3kxyWSZ.js +0 -3
  354. package/dist/post-components/p-1583817b.entry.js +0 -1
  355. package/dist/post-components/p-203d9abd.entry.js +0 -1
  356. package/dist/post-components/p-2c68af27.entry.js +0 -1
  357. package/dist/post-components/p-46dd9e7e.entry.js +0 -1
  358. package/dist/post-components/p-53a8cce5.entry.js +0 -1
  359. package/dist/post-components/p-72bff1fc.entry.js +0 -1
  360. package/dist/post-components/p-75045028.entry.js +0 -1
  361. package/dist/post-components/p-768b4516.entry.js +0 -1
  362. package/dist/post-components/p-7e072450.entry.js +0 -1
  363. package/dist/post-components/p-83cb6424.entry.js +0 -1
  364. package/dist/post-components/p-94f4da57.entry.js +0 -1
  365. package/dist/post-components/p-9dace750.entry.js +0 -1
  366. package/dist/post-components/p-9ea7e46f.entry.js +0 -1
  367. package/dist/post-components/p-D9bU2pIE.js +0 -1
  368. package/dist/post-components/p-DmBWUef5.js +0 -2
  369. package/dist/post-components/p-a0ac814c.entry.js +0 -1
  370. package/dist/post-components/p-a0d12ca8.entry.js +0 -1
  371. package/dist/post-components/p-cb039d66.entry.js +0 -1
  372. package/dist/post-components/p-e8cda4e1.entry.js +0 -1
  373. package/dist/post-components/p-e8e50d5c.entry.js +0 -1
  374. package/dist/post-components/p-eb64ec1d.entry.js +0 -1
  375. package/dist/post-components/p-f0746a9e.entry.js +0 -1
  376. package/dist/post-components/p-f5e33714.entry.js +0 -1
  377. package/dist/post-components/p-f93ce33d.entry.js +0 -1
  378. package/dist/post-components/p-fd0446b2.entry.js +0 -1
  379. package/dist/post-components/p-x3kxyWSZ.js +0 -1
  380. package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
  381. package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
  382. package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
  383. package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
  384. package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
  385. package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
  386. package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
  387. package/dist/types/utils/property-checkers/constants.d.ts +0 -1
  388. package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
  389. package/dist/types/utils/property-checkers/index.d.ts +0 -34
  390. package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as s,Host as o,transformTag as n}from"@stencil/core/internal/client";import{v as r}from"./package.js";import{c as a}from"./index2.js";import"./breakpoints.js";import{n as i}from"./nanoid.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}validateFor(){a(this,"for","string")}componentWillLoad(){this.validateFor(),this.panelId="panel-"+(this.host.id||i(6))}render(){return s(o,{key:"f6e981cdce4b09ddc60c4fd2cf56af26db9ea7ee","data-version":r,id:this.panelId,role:"tabpanel",slot:"panels"},s("slot",{key:"79f2c065cb364b1c15717f349e57e832e06ef054"}))}get host(){return this}static get watchers(){return{for:[{validateFor:0}]}}static get style(){return":host{display:none}"}},[257,"post-tab-panel",{for:[513],panelId:[32]},void 0,{for:[{validateFor:0}]}]),l=c,p=function(){"undefined"!=typeof customElements&&["post-tab-panel"].forEach((t=>{"post-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),c))}))};export{l as PostTabPanel,p as defineCustomElement}
1
+ import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{n as r}from"./nanoid.js";import{v as a}from"./package.js";import{R as c}from"./required.js";import{T as i}from"./type.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.panelId="panel-"+(this.host.id||r(6))}render(){return o(s,{key:"a67cc32e99a26cafcdb39968252012d8b67810b1","data-version":a,id:this.panelId,role:"tabpanel",slot:"panels"},o("slot",{key:"2435e43fcecac9a863e4ba2fc215efa7b03c7c18"}))}get host(){return this}static get style(){return":host{display:none}"}},[257,"post-tab-panel",{for:[513],panelId:[32]}]);!function(t,e,o,s){var n,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(r<3?n(a):r>3?n(e,o,a):n(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)}([c(),i("string")],l.prototype,"for",void 0);const p=l,f=function(){"undefined"!=typeof customElements&&["post-tab-panel"].forEach((t=>{"post-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),l))}))};export{p as PostTabPanel,f as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as s,createEvent as i,h as e,Host as a,transformTag as o}from"@stencil/core/internal/client";import{v as n}from"./package.js";import{f as h}from"./fade.js";import{c as r}from"./index2.js";import"./breakpoints.js";import{c as l}from"./component-on-ready.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postChange=i(this,"postChange",7),this.isLoaded=!1,this.isNavigationMode=!1,this.fullWidth=!1}get tabs(){return Array.from(this.host.querySelectorAll("post-tab-item")).filter((t=>t.closest("post-tabs")===this.host))}get panels(){return Array.from(this.host.querySelectorAll("post-tab-panel")).filter((t=>t.closest("post-tabs")===this.host))}validateLabel(){this.isNavigationMode&&r(this,"label","string")}componentWillRender(){this.detectMode()}componentDidLoad(){if(this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.setupContentObserver(),this.validateLabel(),this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}this.isLoaded=!0}disconnectedCallback(){this.showing&&(this.showing.cancel(),this.showing=null),this.hiding&&(this.hiding.cancel(),this.hiding=null),this.contentObserver&&this.contentObserver.disconnect()}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-navigation-mode","aria-current"]})}handleContentChange(t){const s=this.shouldRedetectMode(t);this.hasAriaCurrentChanged(t)&&this.isNavigationMode&&this.updateActiveNavigationTab(),s&&this.handleModeChange()}shouldRedetectMode(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-navigation-mode"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActiveNavigationTab(){const t=this.findActiveNavigationTab();t&&t!==this.currentActiveTab&&this.activateTab(t)}handleModeChange(){const t=this.isNavigationMode;this.detectMode(),t!==this.isNavigationMode&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectMode(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.navigationMode));if(t&&this.panels.length>0)throw Error("PostTabs: Mixed mode detected. Cannot use both navigation mode (anchor elements) and panel mode (post-tab-panel elements) at the same time.");this.isNavigationMode=t}findActiveNavigationTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,i=this.host.querySelector(`post-tab-item[name=${t}]`);this.activateTab(i),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.isLoaded&&this.postChange.emit(this.currentActiveTab.name)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((t=>{t.getAttribute("slot")&&t.removeAttribute("slot")}))}moveMisplacedPanels(){this.panels&&this.panels.forEach((t=>{"panels"!==t.getAttribute("slot")&&t.setAttribute("slot","panels")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async t=>{if(await l(t),this.isNavigationMode)return;if(t.getAttribute("aria-controls"))return;const s=this.getPanel(t.name);s&&(t.setAttribute("aria-controls",s.id),s.setAttribute("aria-labelledby",t.id)),t.addEventListener("click",(()=>{this.show(t.name)})),t.addEventListener("keydown",(s=>{"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name))})),t.addEventListener("keydown",(s=>{"ArrowRight"!==s.key&&"ArrowLeft"!==s.key||this.navigateTabs(t,s.key)}))})),this.currentActiveTab&&!this.currentActiveTab.isConnected&&this.show(this.tabs[0]?.name))}activateTab(t){this.currentActiveTab&&(this.currentActiveTab.classList.remove("active"),this.isNavigationMode||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),t.classList.add("active"),this.isNavigationMode||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=h(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=h(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const i=Array.from(this.tabs).indexOf(t);let e;e="ArrowRight"===s?this.tabs[i+1]||this.tabs[0]:this.tabs[i-1]||this.tabs.at(-1),e&&(e.focus(),this.show(e.name))}render(){return e(a,{key:"edb1e06b1b1cdd23db32e42ff77dbc64a44905f0","data-version":n},e("div",{key:"d86eb9bb592aff23c38c92b12dfd72623d67f194",class:"tabs-wrapper",part:"post-tabs"},e(this.isNavigationMode?"nav":"div",{key:"6646284be80e647c96065b3c791f34c4b64627f3",class:"tabs",role:this.isNavigationMode?void 0:"tablist","aria-label":this.isNavigationMode?this.label:void 0},e("slot",{key:"c71ddf4391144b7cb71671e8f564e723c408e723",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}}))),!this.isNavigationMode&&e("div",{key:"625d5b7d8ab2e8cfacce0c2ac6fa94d6f6fc2953",class:"tab-content",part:"post-tabs-content"},e("slot",{key:"1ddaf37e585d3e9fbb9722e09829956e28dc7fd6",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return this}static get watchers(){return{label:[{validateLabel:0}]}}static get style(){return'.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}:host([full-width=true]) .tabs-wrapper{margin-inline:calc(-1*var(--post-container-offset))}:host([full-width=true]) .tabs-wrapper .tabs{padding-inline:var(--post-container-offset)}'}},[257,"post-tabs",{activeTab:[1,"active-tab"],fullWidth:[516,"full-width"],label:[513],isNavigationMode:[32],show:[64]},void 0,{label:[{validateLabel:0}]}]),d=c,b=function(){"undefined"!=typeof customElements&&["post-tabs"].forEach((t=>{"post-tabs"===t&&(customElements.get(o(t))||customElements.define(o(t),c))}))};export{d as PostTabs,b as defineCustomElement}
1
+ import{proxyCustomElement as t,HTMLElement as s,createEvent as i,h as e,Host as a,transformTag as o}from"@stencil/core/internal/client";import{f as n}from"./fade.js";import"./breakpoints.js";import{c as h}from"./component-on-ready.js";import{v as r}from"./package.js";import{T as l}from"./type.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postChange=i(this,"postChange",7),this.isLoaded=!1,this.isNavigationMode=!1,this.fullWidth=!1}get tabs(){return Array.from(this.host.querySelectorAll("post-tab-item")).filter((t=>t.closest("post-tabs")===this.host))}get panels(){return Array.from(this.host.querySelectorAll("post-tab-panel")).filter((t=>t.closest("post-tabs")===this.host))}validateLabel(){this.isNavigationMode&&!this.label&&console.error(`[${this.host.localName}] Property "label" is required in navigation mode. Received: ${JSON.stringify(this.label)}.`,this.host)}componentWillRender(){this.detectMode()}componentDidLoad(){if(this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.setupContentObserver(),this.validateLabel(),this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}this.isLoaded=!0}disconnectedCallback(){this.showing&&(this.showing.cancel(),this.showing=null),this.hiding&&(this.hiding.cancel(),this.hiding=null),this.contentObserver&&this.contentObserver.disconnect()}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-navigation-mode","aria-current"]})}handleContentChange(t){const s=this.shouldRedetectMode(t);this.hasAriaCurrentChanged(t)&&this.isNavigationMode&&this.updateActiveNavigationTab(),s&&this.handleModeChange()}shouldRedetectMode(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-navigation-mode"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActiveNavigationTab(){const t=this.findActiveNavigationTab();t&&t!==this.currentActiveTab&&this.activateTab(t)}handleModeChange(){const t=this.isNavigationMode;this.detectMode(),t!==this.isNavigationMode&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectMode(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.navigationMode));if(t&&this.panels.length>0)throw Error("PostTabs: Mixed mode detected. Cannot use both navigation mode (anchor elements) and panel mode (post-tab-panel elements) at the same time.");this.isNavigationMode=t}findActiveNavigationTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,i=this.host.querySelector(`post-tab-item[name=${t}]`);this.activateTab(i),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.isLoaded&&this.postChange.emit(this.currentActiveTab.name)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((t=>{t.getAttribute("slot")&&t.removeAttribute("slot")}))}moveMisplacedPanels(){this.panels&&this.panels.forEach((t=>{"panels"!==t.getAttribute("slot")&&t.setAttribute("slot","panels")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async t=>{if(await h(t),this.isNavigationMode)return;if(t.getAttribute("aria-controls"))return;const s=this.getPanel(t.name);s&&(t.setAttribute("aria-controls",s.id),s.setAttribute("aria-labelledby",t.id)),t.addEventListener("click",(()=>{this.show(t.name)})),t.addEventListener("keydown",(s=>{"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name))})),t.addEventListener("keydown",(s=>{"ArrowRight"!==s.key&&"ArrowLeft"!==s.key||this.navigateTabs(t,s.key)}))})),this.currentActiveTab&&!this.currentActiveTab.isConnected&&this.show(this.tabs[0]?.name))}activateTab(t){this.currentActiveTab&&(this.currentActiveTab.classList.remove("active"),this.isNavigationMode||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),t.classList.add("active"),this.isNavigationMode||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=n(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=n(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const i=Array.from(this.tabs).indexOf(t);let e;e="ArrowRight"===s?this.tabs[i+1]||this.tabs[0]:this.tabs[i-1]||this.tabs.at(-1),e&&(e.focus(),this.show(e.name))}render(){return e(a,{key:"3b674ed455e34a7efc1c1ffed14ac719a7ecb061","data-version":r},e("div",{key:"749f4695adc7c3125bfb678606249c48a4d7ea31",class:"tabs-wrapper",part:"post-tabs"},e(this.isNavigationMode?"nav":"div",{key:"c06c83dbcbdf9f3fd38f01db7beae181748b369d",class:"tabs",role:this.isNavigationMode?void 0:"tablist","aria-label":this.isNavigationMode?this.label:void 0},e("slot",{key:"b065d0200fb2d4b6a63e23141d3e625a4147a93d",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}}))),!this.isNavigationMode&&e("div",{key:"8dc41274f8c9da24b2d65eebf213ea35c41368d0",class:"tab-content",part:"post-tabs-content"},e("slot",{key:"e859256ebcb60fc0457349ca991508406b3bc309",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return this}static get watchers(){return{label:[{validateLabel:0}]}}static get style(){return'.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}:host([full-width=true]) .tabs-wrapper{margin-inline:calc(-1*var(--post-container-offset))}:host([full-width=true]) .tabs-wrapper .tabs{padding-inline:var(--post-container-offset)}'}},[257,"post-tabs",{activeTab:[1,"active-tab"],fullWidth:[516,"full-width"],label:[513],isNavigationMode:[32],show:[64]},void 0,{label:[{validateLabel:0}]}]);!function(t,s,i,e){var a,o=arguments.length,n=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(s,i,n):a(s,i))||n);o>3&&n&&Object.defineProperty(s,i,n)}([l("string")],c.prototype,"label",void 0);const d=c,b=function(){"undefined"!=typeof customElements&&["post-tabs"].forEach((t=>{"post-tabs"===t&&(customElements.get(o(t))||customElements.define(o(t),c))}))};export{d as PostTabs,b as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"828f375bfd28dd8f46c2c233cef90abe6c27c488","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"35325c8481638cf30593cda05a67ee74b38bb40c"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function a(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as P,a as d}
1
+ import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"6659870a07cf41d8808660906165797572f6a24d","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"08e6e5b43eeff5239eb40ec8ee960076058dede1"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function a(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as P,a as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,Build as s,h as i,Host as o,transformTag as r}from"@stencil/core/internal/client";import{f as n}from"./index2.js";import{v as h}from"./package.js";const a=["pointerenter","pointerleave","focusin","focusout","long-press"];let l;const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.trigger=null,this.delayTimeout=null,this.boundTriggerHandler=this.handleTriggerEvent.bind(this),this.boundTooltipHandler=this.handleTooltipEvent.bind(this)}validateControlFor(){n(this,"for","string")}get tooltip(){if(s.isServer)return null;const t=document.getElementById(this.for);return"post-tooltip"===t?.localName?t:null}componentWillLoad(){s.isBrowser&&(import("./long-press-event.js"),import("./focusable.js").then((function(t){return t.f})).then((t=>{l??(l=t.default)})))}componentDidLoad(){this.setupTrigger(),this.attachListeners(),this.attachTooltipListeners()}disconnectedCallback(){this.removeListeners(),this.removeTooltipListeners(),this.cleanupTrigger(),this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null)}handleSlotChange(){this.cleanupTrigger(),this.setupTrigger()}cleanupTrigger(){if(this.trigger){const t=this.trigger.getAttribute("aria-describedby")||"";if(t.includes(this.for)){const e=t.split(" ").filter((t=>t!==this.for)).join(" ");e?this.trigger.setAttribute("aria-describedby",e):this.trigger.removeAttribute("aria-describedby")}this.trigger=null}}setupTrigger(){if(this.trigger=this.host.querySelector("*"),this.trigger){l?.(this.trigger)||this.trigger.setAttribute("tabindex","0");const t=this.trigger.getAttribute("aria-describedby")||"";t.includes(this.for)||this.trigger.setAttribute("aria-describedby",`${t} ${this.for}`.trim())}else console.warn("No content found in the post-tooltip-trigger slot. Please insert a focusable element or content that can receive focus.")}attachListeners(){a.forEach((t=>{this.host.addEventListener(t,this.boundTriggerHandler)}))}removeListeners(){a.forEach((t=>{this.host.removeEventListener(t,this.boundTriggerHandler)}))}attachTooltipListeners(){this.tooltip&&(this.tooltip.addEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.addEventListener("pointerleave",this.boundTooltipHandler))}removeTooltipListeners(){this.tooltip&&(this.tooltip.removeEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.removeEventListener("pointerleave",this.boundTooltipHandler))}handleTriggerEvent(t){switch(t.type){case"pointerenter":case"focusin":case"long-press":this.handleEnter();break;case"pointerleave":case"focusout":this.handleLeave(t)}}handleTooltipEvent(t){switch(t.type){case"pointerenter":this.handleEnter();break;case"pointerleave":this.handleLeave(t)}}handleEnter(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.interestHandler()}handleLeave(t){const e=t.relatedTarget;this.tooltip&&e&&this.tooltip.contains(e)||e===this.trigger||this.interestLostHandler()}interestHandler(){this.trigger&&(this.delay>0?this.delayTimeout=globalThis.setTimeout((()=>{this.tooltip?.show(this.trigger),this.delayTimeout=null}),this.delay):this.tooltip?.show(this.trigger))}interestLostHandler(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.tooltip?.hide()}render(){return i(o,{key:"33feebd0dace3160a539e4dc809b0b31e7d7d40b","data-version":h},i("slot",{key:"8994560a784d203ad40face20a60ac5bc631507f",onSlotchange:()=>this.handleSlotChange()}))}get host(){return this}static get watchers(){return{for:[{validateControlFor:0}]}}static get style(){return"post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}"}},[257,"post-tooltip-trigger",{for:[513],delay:[2]},void 0,{for:[{validateControlFor:0}]}]),p=c,d=function(){"undefined"!=typeof customElements&&["post-tooltip-trigger"].forEach((t=>{"post-tooltip-trigger"===t&&(customElements.get(r(t))||customElements.define(r(t),c))}))};export{p as PostTooltipTrigger,d as defineCustomElement}
1
+ import{proxyCustomElement as t,HTMLElement as e,Build as s,h as i,Host as o,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as h}from"./required.js";import{T as l}from"./type.js";const a=["pointerenter","pointerleave","focusin","focusout","long-press"];let c;const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.trigger=null,this.delayTimeout=null,this.boundTriggerHandler=this.handleTriggerEvent.bind(this),this.boundTooltipHandler=this.handleTooltipEvent.bind(this)}get tooltip(){if(s.isServer)return null;const t=document.getElementById(this.for);return"post-tooltip"===t?.localName?t:null}componentWillLoad(){s.isBrowser&&(import("./long-press-event.js"),import("./focusable.js").then((function(t){return t.f})).then((t=>{c??(c=t.default)})))}componentDidLoad(){this.setupTrigger(),this.attachListeners(),this.attachTooltipListeners()}disconnectedCallback(){this.removeListeners(),this.removeTooltipListeners(),this.cleanupTrigger(),this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null)}handleSlotChange(){this.cleanupTrigger(),this.setupTrigger()}cleanupTrigger(){if(this.trigger){const t=this.trigger.getAttribute("aria-describedby")||"";if(t.includes(this.for)){const e=t.split(" ").filter((t=>t!==this.for)).join(" ");e?this.trigger.setAttribute("aria-describedby",e):this.trigger.removeAttribute("aria-describedby")}this.trigger=null}}setupTrigger(){if(this.trigger=this.host.querySelector("*"),this.trigger){c?.(this.trigger)||this.trigger.setAttribute("tabindex","0");const t=this.trigger.getAttribute("aria-describedby")||"";t.includes(this.for)||this.trigger.setAttribute("aria-describedby",`${t} ${this.for}`.trim())}else console.warn("No content found in the post-tooltip-trigger slot. Please insert a focusable element or content that can receive focus.")}attachListeners(){a.forEach((t=>{this.host.addEventListener(t,this.boundTriggerHandler)}))}removeListeners(){a.forEach((t=>{this.host.removeEventListener(t,this.boundTriggerHandler)}))}attachTooltipListeners(){this.tooltip&&(this.tooltip.addEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.addEventListener("pointerleave",this.boundTooltipHandler))}removeTooltipListeners(){this.tooltip&&(this.tooltip.removeEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.removeEventListener("pointerleave",this.boundTooltipHandler))}handleTriggerEvent(t){switch(t.type){case"pointerenter":case"focusin":case"long-press":this.handleEnter();break;case"pointerleave":case"focusout":this.handleLeave(t)}}handleTooltipEvent(t){switch(t.type){case"pointerenter":this.handleEnter();break;case"pointerleave":this.handleLeave(t)}}handleEnter(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.interestHandler()}handleLeave(t){const e=t.relatedTarget;this.tooltip&&e&&this.tooltip.contains(e)||e===this.trigger||this.interestLostHandler()}interestHandler(){this.trigger&&(this.delay>0?this.delayTimeout=globalThis.setTimeout((()=>{this.tooltip?.show(this.trigger),this.delayTimeout=null}),this.delay):this.tooltip?.show(this.trigger))}interestLostHandler(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.tooltip?.hide()}render(){return i(o,{key:"a1f51fabc4417e30a2b3454f9faf239a3a1f8071","data-version":r},i("slot",{key:"0ee1caede699ad7bc0c529f6fd1dd85c63107136",onSlotchange:()=>this.handleSlotChange()}))}get host(){return this}static get style(){return"post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}"}},[257,"post-tooltip-trigger",{for:[513],delay:[2]}]);!function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);n>3&&r&&Object.defineProperty(e,s,r)}([h(),l("string")],p.prototype,"for",void 0);const u=p,f=function(){"undefined"!=typeof customElements&&["post-tooltip-trigger"].forEach((t=>{"post-tooltip-trigger"===t&&(customElements.get(n(t))||customElements.define(n(t),p))}))};export{u as PostTooltipTrigger,f as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as o,Host as r,transformTag as s}from"@stencil/core/internal/client";import{v as a}from"./package.js";import{b as i}from"./index2.js";import"./breakpoints.js";import{a as n,d as p}from"./post-popovercontainer2.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.placement="top",this.arrow=!1,this.open=!1}validatePlacement(){i(this,"placement",n)}componentWillLoad(){this.validatePlacement()}componentDidLoad(){this.host.id||console.error("No id set: <post-tooltip> must have an id, linking it to it's target element with a <post-tooltip-trigger> element.")}async show(t){this.open||await this.popoverRef.show(t)}async hide(){this.popoverRef.hide()}async toggle(t,e){this.popoverRef.toggle(t,e)}handleBeforeToggle(t){this.open=t.detail.willOpen}render(){return o(r,{key:"d2927c8847a39198bc0f8ecc62071534a35959d4","data-version":a},o("post-popovercontainer",{key:"691d408109cc976d8a46ffeafa6af7ce343fc9da",safeSpace:"trapezoid",class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,onPostBeforeToggle:t=>this.handleBeforeToggle(t),ref:t=>this.popoverRef=t},o("slot",{key:"85eb8a3ca3e0359044ddc4b24562f0a43d459dc9"})))}get host(){return this}static get watchers(){return{placement:[{validatePlacement:0}]}}static get style(){return':host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);width:inherit;word-wrap:break-word;white-space:normal}'}},[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]},void 0,{placement:[{validatePlacement:0}]}]),d=c,l=function(){"undefined"!=typeof customElements&&["post-tooltip","post-popovercontainer"].forEach((t=>{switch(t){case"post-tooltip":customElements.get(s(t))||customElements.define(s(t),c);break;case"post-popovercontainer":customElements.get(s(t))||p()}}))};export{d as PostTooltip,l as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as t,h as e,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as a,a as i}from"./post-popovercontainer2.js";import"./breakpoints.js";import{v as n}from"./package.js";import{O as p}from"./one-of.js";const c=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.placement="top",this.arrow=!1,this.open=!1}componentDidLoad(){this.host.id||console.error("No id set: <post-tooltip> must have an id, linking it to it's target element with a <post-tooltip-trigger> element.")}async show(o){this.open||await this.popoverRef.show(o)}async hide(){this.popoverRef.hide()}async toggle(o,t){this.popoverRef.toggle(o,t)}handleBeforeToggle(o){this.open=o.detail.willOpen}render(){return e(r,{key:"8186d5446993e1c21c107a496239e56af2493e87","data-version":n},e("post-popovercontainer",{key:"6f916cddf8f3b577b7920b02c001905b782b6ff7",safeSpace:"trapezoid",class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,onPostBeforeToggle:o=>this.handleBeforeToggle(o),ref:o=>this.popoverRef=o},e("slot",{key:"0443322d0ef00792b14e69fd55abaf42f64c0838"})))}get host(){return this}static get style(){return':host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);width:inherit;word-wrap:break-word;white-space:normal}'}},[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]}]);!function(o,t,e,r){var s,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,t,e,r);else for(var n=o.length-1;n>=0;n--)(s=o[n])&&(i=(a<3?s(i):a>3?s(t,e,i):s(t,e))||i);a>3&&i&&Object.defineProperty(t,e,i)}([p(i)],c.prototype,"placement",void 0);const d=c,l=function(){"undefined"!=typeof customElements&&["post-tooltip","post-popovercontainer"].forEach((o=>{switch(o){case"post-tooltip":customElements.get(s(o))||customElements.define(s(o),c);break;case"post-popovercontainer":customElements.get(s(o))||a()}}))};export{d as PostTooltip,l as defineCustomElement}
@@ -1 +1 @@
1
- const t=":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=login-link]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=login-link]:hover{text-decoration:none}post-login-widget>[slot=login-link]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=login-link]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(a){color:LinkText;border:unset}post-login-widget>[slot=login-link]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=login-link]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=login-link]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=login-link]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=login-link]>post-icon{font-size:1.5rem}}";var o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),e=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(e||{}),n="type",i="value",s="serialized:";function l(t,o,e){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,o);if(n&&(!e||n.get))return n;t=Object.getPrototypeOf(t)}}var r,c=(t,o)=>{var e;Object.entries(null!=(e=o.o.t)?e:{}).map((([e,[n]])=>{if(31&n||32&n){const n=t[e],i=l(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(t,e,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),o.i.has(e)?t[e]=o.i.get(e):void 0!==n&&(t[e]=n)}}))},a=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,o)=>o in t,u=(t,o)=>(0,console.error)(t,o),d=new Map,f="s-id",g="sty-id",b="c-id",v="http://www.w3.org/1999/xlink",m="undefined"!=typeof window?window:{},h=m.HTMLElement||class{},$={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,o,e,n)=>t.addEventListener(o,e,n),rel:(t,o,e,n)=>t.removeEventListener(o,e,n),ce:(t,o)=>new CustomEvent(t,o)},y=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!y&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],j=[],O=(t,o)=>e=>{t.push(e),k||(k=!0,o&&4&$.l?E(N):$.raf(N))},S=t=>{for(let o=0;o<t.length;o++)try{t[o](performance.now())}catch(t){u(t)}t.length=0},N=()=>{S(x),S(j),(k=x.length>0)&&$.raf(N)},E=t=>Promise.resolve(void 0).then(t),M=O(j,!0),z=t=>{const o=new URL(t,$.p);return o.origin!==m.location.origin?o.href:o.pathname},L=t=>$.p=t;function I(){var o;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(o=function(t){if(!y)return;const o=new CSSStyleSheet;return o.replaceSync(t),o}(t))?o:null),r)w?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!y){const o=document.createElement("style");o.innerHTML=t,e.prepend(o)}}var A=t=>{const o=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(o,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,R(t),!1).length)}));let e=0;for(e=0;e<o.length;e++){const t=o[e];1===t.nodeType&&F(t,"childNodes").length&&A(t)}};function C(t,o,e){let n,i=0,s=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!o||n["s-hn"]===o)&&(void 0===e||R(n)===e)&&(s.push(n),void 0!==e))return s;s=[...s,...C(n.childNodes,o,e)]}return s}var _=(t,o,e=!0)=>{const n=[];(e&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)R(i)!==o||!e&&i["s-sr"]||n.push(i);return n},B=(t,o)=>1===t.nodeType?null===t.getAttribute("slot")&&""===o||t.getAttribute("slot")===o:t["s-sn"]===o||""===o,H=(t,o,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!o["s-cr"]||!o["s-cr"].parentNode)return;const s=o["s-cr"].parentNode,l=F(s,"appendChild");if(void 0!==n){i["s-oo"]=n;const t=F(s,"childNodes"),o=[i];t.forEach((t=>{t["s-nr"]&&o.push(t)})),o.sort(((t,o)=>!t["s-oo"]||t["s-oo"]<(o["s-oo"]||0)?-1:!o["s-oo"]||o["s-oo"]<t["s-oo"]?1:0)),o.forEach((t=>l.call(s,t)))}else l.call(s,i);t["s-ol"]=i,t["s-sh"]=o["s-hn"]},R=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const o=o=>function(t){const e=[],n=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const o=[];for(let e=0;e<t.length;e++){const n=t[e]["s-nr"]||void 0;n&&n.isConnected&&o.push(n)}return o})(i.childNodes)).forEach((t=>{n===R(t)&&e.push(t)})),o?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=o(!0),t.assignedNodes=o(!1)}function F(t,o){if("__"+o in t){const e=t["__"+o];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[o]?t[o]:t[o].bind(t)}var D=new WeakMap,U=(t,o,e)=>{let n=d.get(t);y&&e?(n=n||new CSSStyleSheet,"string"==typeof n?n=o:n.replaceSync(o)):n=o,d.set(t,n)},V=(t,o)=>{var e,n,i;const s=P(o),l=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,l)if("string"==typeof l){let i,r=D.get(t=t.head||t);r||D.set(t,r=new Set);const c=t.querySelector(`[${g}="${s}"]`);if(c)c.textContent=l;else if(!r.has(s)){i=m.document.createElement("style"),i.textContent=l;const c=null!=(e=$.u)?e:function(){var t,o,e;return null!=(e=null==(o=null==(t=m.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?e:void 0}();if(null!=c&&i.setAttribute("nonce",c),!(1&o.l))if("HEAD"===t.nodeName){const o=t.querySelectorAll("link[rel=preconnect]"),e=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(y){const o=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;o.replaceSync(l),w?t.adoptedStyleSheets.unshift(o):t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.textContent=l+o.textContent:t.prepend(i)}else t.append(i);1&o.l&&t.insertBefore(i,null),4&o.l&&(i.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let o=D.get(t);if(o||D.set(t,o=new Set),!o.has(s)){const e=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(l.constructor===e.CSSStyleSheet)n=l;else{n=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)n.insertRule(l.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],o.add(s),"host"in t){const o=t.querySelector(`[${g}="${s}"]`);o&&M((()=>o.remove()))}}}return s},P=t=>"sc-"+t.v,W=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,o,...e)=>{let n=null,i=null,s=null,l=!1,r=!1;const c=[],a=o=>{for(let e=0;e<o.length;e++)n=o[e],Array.isArray(n)?a(n):null!=n&&"boolean"!=typeof n&&((l="function"!=typeof t&&!q(n))&&(n+=""),l&&r?c[c.length-1].m+=n:c.push(l?J(null,n):n),r=l)};if(a(e),o){o.key&&(i=o.key),o.name&&(s=o.name);{const t=o.className||o.class;t&&(o.class="object"!=typeof t?t:Object.keys(t).filter((o=>t[o])).join(" "))}}if("function"==typeof t)return t(null===o?{}:o,c,G);const p=J(t,null);return p.h=o,c.length>0&&(p.$=c),p.k=i,p.j=s,p},J=(t,o)=>({l:0,O:t,m:null!=o?o:null,S:null,$:null,h:null,k:null,j:null}),Z={},G={forEach:(t,o)=>t.map(K).forEach(o),map:(t,o)=>t.map(K).map(o).map(Q)},K=t=>({vattrs:t.h,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.m}),Q=t=>{if("function"==typeof t.vtag){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),Y(t.vtag,o,...t.vchildren||[])}const o=J(t.vtag,t.vtext);return o.h=t.vattrs,o.$=t.vchildren,o.k=t.vkey,o.j=t.vname,o},X=(t,o,e,n,i,s,l,r=[])=>{let c,a,p,u;if(1===s.nodeType){if(c=s.getAttribute(b),c&&(a=c.split("."),a[0]===l||"0"===a[0])){p=ot({l:0,N:a[0],M:a[1],L:a[2],I:a[3],O:s.tagName.toLowerCase(),S:s,h:{class:s.className||""}}),o.push(p),s.removeAttribute(b),t.$||(t.$=[]);const i=p.S.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===p.O&&et(i,a[2],p,s,t,o,e,n,r),p.S["s-sn"]=i,p.S.removeAttribute("s-sn")),void 0!==p.I&&(t.$[p.I]=p),t=p,n&&"0"===p.L&&(n[p.I]=p.S)}if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)X(t,o,e,n,i,s.shadowRoot.childNodes[u],l,r);const d=s.__childNodes||s.childNodes;for(u=d.length-1;u>=0;u--)X(t,o,e,n,i,d[u],l,r)}else if(8===s.nodeType)a=s.nodeValue.split("."),(a[1]===l||"0"===a[1])&&(c=a[0],p=ot({N:a[1],M:a[2],L:a[3],I:a[4]||"0",S:s,h:null,$:null,k:null,j:null,O:null,m:null}),"t"===c?(p.S=lt(s,3),p.S&&3===p.S.nodeType&&(p.m=p.S.textContent,o.push(p),s.remove(),l===p.N&&(t.$||(t.$=[]),t.$[p.I]=p),n&&"0"===p.L&&(n[p.I]=p.S))):"c"===c?(p.S=lt(s,8),p.S&&8===p.S.nodeType&&(o.push(p),s.remove())):p.N===l&&("s"===c?et(s["s-sn"]=a[5]||"",a[2],p,s,t,o,e,n,r):"r"===c&&(n?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const o=J(null,s.textContent);o.S=s,o.I="0",t.$=[o]}return t},tt=(t,o)=>{if(1===t.nodeType){const e=t[f]||t.getAttribute(f);e&&o.set(e,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)tt(t.shadowRoot.childNodes[n],o);const i=t.__childNodes||t.childNodes;for(n=0;n<i.length;n++)tt(i[n],o)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(o.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},ot=t=>({l:0,N:null,M:null,L:null,I:"0",S:null,h:null,$:null,k:null,j:null,O:null,m:null,...t});function et(t,o,e,n,i,s,l,r,c){n["s-sr"]=!0,e.j=t||null,e.O="slot";const a=(null==i?void 0:i.S)?i.S["s-id"]||i.S.getAttribute("s-id"):"";if(r&&m.document){const s=e.S=m.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),i.S.shadowRoot&&a&&a!==e.N?F(i.S,"insertBefore")(s,F(i.S,"children")[0]):F(F(n,"parentNode"),"insertBefore")(s,n),st(c,o,t,n,e.N),n.remove(),"0"===e.L&&(r[e.I]=e.S)}else{const s=e.S,l=a&&a!==e.N&&i.S.shadowRoot;st(c,o,t,n,l?a:e.N),T(n),l&&i.S.insertBefore(s,i.S.children[0])}s.push(e),l.push(e),i.$||(i.$=[]),i.$[e.I]=e}var nt,it,st=(t,o,e,n,i)=>{var s,l;let r=n.nextSibling;if(t[o]=t[o]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[o].push({slot:n,node:r,hostId:i})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},lt=(t,o)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==o||!e.nodeValue));return e},rt=class t{static fromLocalValue(o){const e=o[n],s=i in o?o[i]:void 0;switch(e){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((o=>t.fromLocalValue(o)));case"date":return new Date(s);case"map":const o=new Map;for(const[e,n]of s){const i="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(n);o.set(i,s)}return o;case"object":const n={};for(const[o,e]of s)n[o]=t.fromLocalValue(e);return n;case"regexp":const{pattern:i,flags:l}=s;return RegExp(i,l);case"set":const r=new Set;for(const o of s)r.add(t.fromLocalValue(o));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(o){return o.map((o=>t.fromLocalValue(o)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...o,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(i))}},ct=(t,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?rt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||q(t)?t:4&o?"false"!==t&&(""===t||!!t):2&o?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&o?t+"":t,at=(t,o)=>{const e=t;return{emit:t=>pt(e,o,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},pt=(t,o,e)=>{const n=$.ce(o,e);return t.dispatchEvent(n),n},ut=(t,o,e,n,i,s,l)=>{if(e===n)return;let r=p(t,o),c=o.toLowerCase();if("class"===o){const o=t.classList,i=ft(e);let s=ft(n);if((t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];s.push(e),i.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),o.add(...s)}else o.remove(...i.filter((t=>t&&!s.includes(t)))),o.add(...s.filter((t=>t&&!i.includes(t))))}else if("style"===o){for(const o in e)n&&null!=n[o]||(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in n)e&&n[o]===e[o]||(o.includes("-")?t.style.setProperty(o,n[o]):t.style[o]=n[o])}else if("key"===o);else if("ref"===o)n&&_t(n,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const e=o.slice(5);let i;{const o=a(t);if(o&&o.o&&o.o.t){const t=o.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=n}catch(t){}return}{const l=q(n);if((r||l&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[o]!==n&&(t[o]=n);else{const i=null==n?"":n;"list"===o?r=!1:null!=e&&t[o]===i||("function"==typeof t.__lookupSetter__(o)?t[o]=i:t.setAttribute(o,i))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(o=c,a=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(o)||(a?t.removeAttributeNS(v,o):t.removeAttribute(o)):(!r||4&s||i)&&!l&&1===t.nodeType&&(n=!0===n?"":n,a?t.setAttributeNS(v,o,n):t.setAttribute(o,n))}}else if(o="-"===o[2]?o.slice(3):p(m,c)?c.slice(2):c[2]+o.slice(3),e||n){const i=o.endsWith(gt);o=o.replace(bt,""),e&&$.rel(t,o,e,i),n&&$.ael(t,o,n,i)}},dt=/\s/,ft=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(dt):[]),gt="Capture",bt=RegExp(gt+"$"),vt=(t,o,e,n)=>{const i=11===o.S.nodeType&&o.S.host?o.S.host:o.S,s=t&&t.h||{},l=o.h||{};for(const t of mt(Object.keys(s)))t in l||ut(i,t,s[t],void 0,e,o.l,n);for(const t of mt(Object.keys(l)))ut(i,t,s[t],l[t],e,o.l,n)};function mt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var ht=!1,$t=!1,yt=!1,wt=!1,kt=[],xt=[],jt=(t,o,e)=>{var n;const i=o.$[e];let s,l,r,c=0;if(ht||(yt=!0,"slot"===i.O&&(i.l|=i.$?2:1)),null!=i.m)s=i.S=m.document.createTextNode(i.m);else if(1&i.l)s=i.S=m.document.createTextNode(""),vt(null,i,wt);else{if(wt||(wt="svg"===i.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=m.document.createElementNS(wt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ht&&2&i.l?"slot-fb":i.O),wt&&"foreignObject"===i.O&&(wt=!1),vt(null,i,wt),i.$){const o="template"===i.O?s.content:s;for(c=0;c<i.$.length;++c)l=jt(t,i,c),l&&o.appendChild(l)}"svg"===i.O?wt=!1:"foreignObject"===s.tagName&&(wt=!0)}return s["s-hn"]=it,3&i.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=i.j||"",s["s-rf"]=null==(n=i.h)?void 0:n.ref,T(s),r=t&&t.$&&t.$[e],r&&r.O===i.O&&t.S&&Ot(t.S)),s},Ot=t=>{$.l|=1;const o=t.closest(it.toLowerCase());if(null!=o){const e=Array.from(o.__childNodes||o.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of e?n.reverse():n)null!=t["s-sh"]&&(Bt(o,t,null!=e?e:null),t["s-sh"]=void 0,yt=!0)}$.l&=-2},St=(t,o)=>{$.l|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===it&&e.push(o)}for(let t=e.length-1;t>=0;t--){const n=e[t];n["s-hn"]!==it&&n["s-ol"]&&(Bt(zt(n).parentNode,n,zt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,yt=!0),o&&St(n,o)}$.l&=-2},Nt=(t,o,e,n,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===it&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);i<=s;++i)n[i]&&(l=jt(null,e,i),l&&(n[i].S=l,Bt(r,l,zt(o))))},Et=(t,o,e)=>{for(let n=o;n<=e;++n){const o=t[n];if(o){const t=o.S;Ct(o),t&&($t=!0,t["s-ol"]?t["s-ol"].remove():St(t,!0),t.remove())}}},Mt=(t,o,e=!1)=>t.O===o.O&&("slot"===t.O?t.j===o.j:e?(e&&!t.k&&o.k&&(t.k=o.k),!0):t.k===o.k),zt=t=>t&&t["s-ol"]||t,Lt=(t,o,e=!1)=>{const n=o.S=t.S,i=t.$,s=o.$,l=o.O,r=o.m;let c;null==r?(wt="svg"===l||"foreignObject"!==l&&wt,"slot"!==l||ht||t.j!==o.j&&(o.S["s-sn"]=o.j||"",Ot(o.S.parentElement)),vt(t,o,wt,e),null!==i&&null!==s?((t,o,e,n,i=!1)=>{let s,l,r=0,c=0,a=0,p=0,u=o.length-1,d=o[0],f=o[u],g=n.length-1,b=n[0],v=n[g];const m="template"===e.O?t.content:t;for(;r<=u&&c<=g;)if(null==d)d=o[++r];else if(null==f)f=o[--u];else if(null==b)b=n[++c];else if(null==v)v=n[--g];else if(Mt(d,b,i))Lt(d,b,i),d=o[++r],b=n[++c];else if(Mt(f,v,i))Lt(f,v,i),f=o[--u],v=n[--g];else if(Mt(d,v,i))"slot"!==d.O&&"slot"!==v.O||St(d.S.parentNode,!1),Lt(d,v,i),Bt(m,d.S,f.S.nextSibling),d=o[++r],v=n[--g];else if(Mt(f,b,i))"slot"!==d.O&&"slot"!==v.O||St(f.S.parentNode,!1),Lt(f,b,i),Bt(m,f.S,d.S),f=o[--u],b=n[++c];else{for(a=-1,p=r;p<=u;++p)if(o[p]&&null!==o[p].k&&o[p].k===b.k){a=p;break}a>=0?(l=o[a],l.O!==b.O?s=jt(o&&o[c],e,a):(Lt(l,b,i),o[a]=void 0,s=l.S),b=n[++c]):(s=jt(o&&o[c],e,c),b=n[++c]),s&&Bt(zt(d.S).parentNode,s,zt(d.S))}r>u?Nt(t,null==n[g+1]?null:n[g+1].S,e,n,c,g):c>g&&Et(o,r,u)})(n,i,o,s,e):null!==s?(null!==t.m&&(n.textContent=""),Nt(n,null,o,s,0,s.length-1)):e||null===i?e&&null!==i&&null===s&&(o.$=i):Et(i,0,i.length-1),wt&&"svg"===l&&(wt=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:t.m!==r&&(n.data=r)},It=[],At=t=>{let o,e,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(o=t["s-cr"])&&o.parentNode){e=o.parentNode.__childNodes||o.parentNode.childNodes;const i=t["s-sn"];for(n=e.length-1;n>=0;n--)if(o=e[n],!(o["s-cn"]||o["s-nr"]||o["s-hn"]===t["s-hn"]||o["s-sh"]&&o["s-sh"]===t["s-hn"]))if(B(o,i)){let e=It.find((t=>t.A===o));$t=!0,o["s-sn"]=o["s-sn"]||i,e?(e.A["s-sh"]=t["s-hn"],e.C=t):(o["s-sh"]=t["s-hn"],It.push({C:t,A:o})),o["s-sr"]&&It.map((t=>{B(t.A,o["s-sn"])&&(e=It.find((t=>t.A===o)),e&&!t.C&&(t.C=e.C))}))}else It.some((t=>t.A===o))||It.push({A:o})}1===t.nodeType&&At(t)}},Ct=t=>{t.h&&t.h.ref&&kt.push((()=>t.h.ref(null))),t.$&&t.$.map(Ct)},_t=(t,o)=>{xt.push((()=>t(o)))},Bt=(t,o,e,n)=>{if("string"==typeof o["s-sn"]){t.insertBefore(o,e);const{slotNode:i}=function(t,o){var e;if(!(o=o||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=R(t)||"";return{slotNode:C(F(o,"childNodes"),o.tagName,n)[0],slotName:n}}(o);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),o}return t.__insertBefore?t.__insertBefore(o,e):null==t?void 0:t.insertBefore(o,e)},Ht=(t,o,e=!1)=>{var n,i,s,l,r;const c=t.$hostElement$,a=t.o,p=t._||J(null,null),u=(t=>t&&t.O===Z)(o)?o:Y(null,null,o);if(it=c.tagName,a.B&&(u.h=u.h||{},a.B.forEach((([t,o])=>{u.h[o]=c[t]}))),e&&u.h)for(const t of Object.keys(u.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.h[t]=c[t]);if(u.O=null,u.l|=4,t._=u,u.S=p.S=c.shadowRoot||c,ht=!(!(1&a.l)||128&a.l),nt=c["s-cr"],$t=!1,Lt(p,u,e),$.l|=1,yt){At(u.S);for(const t of It){const o=t.A;if(!o["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=o,Bt(o.parentNode,o["s-ol"]=t,o,e)}}for(const t of It){const o=t.A,r=t.C;if(1===o.nodeType&&e&&(o["s-ih"]=null!=(n=o.hidden)&&n),r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let e=null==(i=o["s-ol"])?void 0:i.previousSibling;for(;e;){let i=null!=(s=e["s-nr"])?s:null;if(i&&i["s-sn"]===o["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===o||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}e=e.previousSibling}}if((!n&&t!==(o.__parentNode||o.parentNode)||(o.__nextSibling||o.nextSibling)!==n)&&o!==n){if(Bt(t,o,n,e),8===o.nodeType&&o.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(o.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=o["s-hn"],t["s-sn"]=o["s-sn"],t["s-sh"]=o["s-sh"],t["s-sr"]=o["s-sr"],t["s-ol"]=o["s-ol"],t["s-ol"]["s-nr"]=t,Bt(o.parentNode,t,o,e),o.parentNode.removeChild(o)}1===o.nodeType&&"SLOT-FB"!==o.tagName&&(o.hidden=null!=(l=o["s-ih"])&&l)}o&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===o.nodeType&&(o.hidden=!0)}}if($t&&A(u.S),$.l&=-2,It.length=0,!ht&&!(1&a.l)&&c["s-cr"]){const t=u.S.__childNodes||u.S.childNodes;for(const o of t)if(o["s-hn"]!==it&&!o["s-sh"])if(e&&null==o["s-ih"]&&(o["s-ih"]=null!=(r=o.hidden)&&r),1===o.nodeType)o.hidden=!0;else if(3===o.nodeType&&o.nodeValue.trim()){const t=m.document.createComment("s-nt-"+o.nodeValue);t["s-sn"]=o["s-sn"],Bt(o.parentNode,t,o,e),o.parentNode.removeChild(o)}}nt=void 0,kt.forEach((t=>t())),kt.length=0,xt.forEach((t=>t())),xt.length=0},Rt=(t,o)=>{if(o&&!t.H&&o["s-p"]){const e=o["s-p"].push(new Promise((n=>t.H=()=>{o["s-p"].splice(e-1,1),n()})))}},Tt=(t,o)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Rt(t,t.R);const e=()=>Ft(t,o);if(!o)return M(e);queueMicrotask((()=>{e()}))},Ft=(t,o)=>{const e=t.$hostElement$,n=e;if(!n)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=Yt(n,o?"componentWillLoad":"componentWillUpdate",void 0,e),i=Dt(i,(()=>Yt(n,"componentWillRender",void 0,e))),Dt(i,(()=>Vt(t,n,o)))},Dt=(t,o)=>Ut(t)?t.then(o).catch((t=>{console.error(t),o()})):o(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Vt=async(t,o,e)=>{var n;const i=t.$hostElement$,s=i["s-rc"];e&&(t=>{const o=t.o,e=t.$hostElement$,n=o.l,i=V(e.shadowRoot?e.shadowRoot:e.getRootNode(),o);10&n&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(t);Pt(t,o,i,e),s&&(s.map((t=>t())),i["s-rc"]=void 0);{const o=null!=(n=i["s-p"])?n:[],e=()=>Wt(t);0===o.length?e():(Promise.all(o).then(e).catch(e),t.l|=4,o.length=0)}},Pt=(t,o,e,n)=>{try{o=o.render&&o.render(),t.l&=-17,t.l|=2,Ht(t,o,n)}catch(o){u(o,t.$hostElement$)}return null},Wt=t=>{const o=t.$hostElement$,e=o,n=t.R;Yt(e,"componentDidRender",void 0,o),64&t.l?Yt(e,"componentDidUpdate",void 0,o):(t.l|=64,Jt(o),Yt(e,"componentDidLoad",void 0,o),t.T(o),n||qt()),t.H&&(t.H(),t.H=void 0),512&t.l&&E((()=>Tt(t,!1))),t.l&=-517},qt=()=>{var t;E((()=>pt(m,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.F)?void 0:t.size)&&$.F.clear()},Yt=(t,o,e,n)=>{if(t&&t[o])try{return t[o](e)}catch(t){u(t,n)}},Jt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Zt=(t,o,e,n)=>{const i=a(t);if(!i)return;const s=t,l=i.i.get(o),r=i.l,c=s;if(!((e=ct(e,n.t[o][0]))===l||Number.isNaN(l)&&Number.isNaN(e))){if(i.i.set(o,e),n.D){const t=n.D[o];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&r||1&s)&&(c?c[n](e,l,o):i.U.push((()=>{i.V[n](e,l,o)})))}catch(t){u(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,l,o)&&!(16&r))return;16&r||Tt(i,!1)}}},Gt=(t,o)=>{var e,n;const i=t.prototype;{t.watchers&&!o.D&&(o.D=t.watchers),t.deserializers&&!o.P&&(o.P=t.deserializers),t.serializers&&!o.W&&(o.W=t.serializers);const s=Object.entries(null!=(e=o.t)?e:{});s.map((([t,[e]])=>{if(31&e||32&e){const{get:n,set:s}=l(i,t)||{};n&&(o.t[t][0]|=2048),s&&(o.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return n?n.apply(this):((t,o)=>a(this).i.get(o))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=a(this);if(i){if(s)return void 0===(32&e?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,ct(n,e)),void Zt(this,t,n=32&e?this[t]:i.$hostElement$[t],o);Zt(this,t,n,o)}}})}}));{const e=new Map;i.attributeChangedCallback=function(t,n,l){$.jmp((()=>{var r;const c=e.get(t),p=a(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==p?void 0:p.l;if(p&&e&&!(8&e)&&l!==n){const i=this,s=null==(r=o.D)?void 0:r[t];null==s||s.forEach((o=>{const[[s,r]]=Object.entries(o);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,n,t)}))}return}const u=s.find((([t])=>t===c));u&&4&u[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,c);l==this[c]||d.get&&!d.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=o.D)?n:{}),...s.filter((([t,o])=>31&o[0])).map((([t,n])=>{var i;const s=n[1]||t;return e.set(s,t),512&n[0]&&(null==(i=o.B)||i.push([t,s])),s}))]))}}return t},Kt=t=>{if(!m.document)return;const o=t["s-cr"]=m.document.createComment("");o["s-cn"]=!0,Bt(t,o,t.firstChild)},Qt=(t,o)=>{const e={l:o[0],v:o[1]};try{e.t=o[2],e.q=o[3],e.D=t.D,e.P=t.P,e.W=t.W,e.B=[],(()=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${g}]`);let o=0;for(;o<t.length;o++)U(t[o].getAttribute(g),W(t[o].innerHTML),!0)})();const n=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,o)=>{const e={l:0,$hostElement$:t,o,i:new Map,Y:new Map};e.J=new Promise((t=>e.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=e;t.__stencil__getHostRef=()=>n,512&o.l&&c(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=a(this);if(!t)return;Xt(this,t,e.q),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const o=a(t);if(!o)return;const e=o.o,n=()=>{};if(1&o.l)Xt(t,o,e.q),(null==o?void 0:o.V)||(null==o?void 0:o.J)&&o.J.then((()=>{}));else{let n;if(o.l|=1,n=t.getAttribute(f),n){if(1&e.l){const o=V(t.shadowRoot,e);t.classList.remove(o+"-h",o+"-s")}((t,o,e,n)=>{var i,s,l,r;const c=t.shadowRoot,p=[],u=[],d=c?[]:null,g=J(o,null);g.S=t,!m.document||$.F&&$.F.size||tt(m.document.body,$.F=new Map),t[f]=e,t.removeAttribute(f),n._=X(g,p,[],d,t,t,e,u);let b=0;const v=p.length;let h;for(;b<v;b++){h=p[b];const e=h.N+"."+h.M,n=$.F.get(e),s=h.S;if(c){if((null==(i=h.O)?void 0:(""+i).includes("-"))&&"slot-fb"!==h.O&&!h.S.shadowRoot){const t=a(h.S);if(t){const o=P(t.o),e=m.document.querySelector(`style[sty-id="${o}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=o.toUpperCase(),"slot"===h.O&&(s["s-cr"]=t["s-cr"]);"slot"===h.O&&(h.j=h.S["s-sn"]||h.S.name||null,h.$?(h.l|=2,h.S.childNodes.length||h.$.forEach((t=>{h.S.appendChild(t.S)}))):h.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),c||(s["s-oo"]=parseInt(h.M))),n&&!n["s-id"]&&$.F.delete(e)}const y=[],w=u.length;let k,x,j,O,S=0,N=0;for(;S<w;S++)if(k=u[S],k&&k.length)for(j=k.length,x=0;x<j;x++){if(O=k[x],y[O.hostId]||(y[O.hostId]=$.F.get(O.hostId)),!y[O.hostId])continue;const t=y[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(l=null==(s=k[x-1])?void 0:s.node)?void 0:l.nextSibling),t.shadowRoot&&c||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),H(O.node,O.slot,0,O.node["s-oo"]||N),(null==(r=O.node.parentElement)?void 0:r.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),N=(O.node["s-oo"]||N)+1}if(c&&!c.childNodes.length){let o=0;const e=d.length;if(e){for(;o<e;o++){const t=d[o];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}n.$hostElement$=t})(t,e.v,n,o)}n||12&e.l&&Kt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Rt(o,o.R=e);break}}e.t&&Object.entries(e.t).map((([o,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,o)){const e=t[o];delete t[o],t[o]=e}})),(async(t,o,e)=>{let n;try{if(!(32&o.l)&&(o.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>o.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const o=P(e);if(!d.has(o)){const n=()=>{};U(o,t,!!(1&e.l)),n()}}const i=o.R,s=()=>Tt(o,!0);i&&i["s-rc"]?i["s-rc"].push(s):s()}catch(e){u(e,t),o.H&&(o.H(),o.H=void 0),o.T&&o.T(t)}})(t,o,e)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const o=a(t);(null==o?void 0:o.Z)&&(o.Z.map((t=>t())),o.Z=void 0)}D.has(t)&&D.delete(t),t.shadowRoot&&D.has(t.shadowRoot)&&D.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Gt(t,e)}catch(o){return u(o),t}},Xt=(t,o,e)=>{e&&m.document&&e.map((([e,n,i])=>{const s=oo(m.document,t,e),l=to(o,i),r=eo(e);$.ael(s,n,l,r),(o.Z=o.Z||[]).push((()=>$.rel(s,n,l,r)))}))},to=(t,o)=>e=>{try{t.$hostElement$[o](e)}catch(o){u(o,t.$hostElement$)}},oo=(t,o,e)=>4&e?t:8&e?m:o,eo=t=>({passive:!!(1&t),capture:!!(2&t)}),no=t=>$.u=t,io=t=>Object.assign($,t);function so(t,o){Ht({o:{l:0,v:o.tagName},$hostElement$:o},t)}function lo(t){return t}export{h as H,Z as a,at as c,z as getAssetPath,Y as h,Qt as p,so as render,L as setAssetPath,no as setNonce,io as setPlatformOptions,lo as t}
1
+ const t=":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=login-link]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=login-link]:hover{text-decoration:none}post-login-widget>[slot=login-link]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=login-link]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(a){color:LinkText;border:unset}post-login-widget>[slot=login-link]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=login-link]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=login-link]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=login-link]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=login-link]>post-icon{font-size:1.5rem}}";var o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),e=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(e||{}),n="type",i="value",s="serialized:";function l(t,o,e){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,o);if(n&&(!e||n.get))return n;t=Object.getPrototypeOf(t)}}var r,c=(t,o)=>{var e;Object.entries(null!=(e=o.o.t)?e:{}).map((([e,[n]])=>{if(31&n||32&n){const n=t[e],i=l(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(t,e,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),o.i.has(e)?t[e]=o.i.get(e):void 0!==n&&(t[e]=n)}}))},a=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,o)=>o in t,u=(t,o)=>(0,console.error)(t,o),d=new Map,f="s-id",g="sty-id",b="c-id",v="http://www.w3.org/1999/xlink",m="undefined"!=typeof window?window:{},h=m.HTMLElement||class{},$={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,o,e,n)=>t.addEventListener(o,e,n),rel:(t,o,e,n)=>t.removeEventListener(o,e,n),ce:(t,o)=>new CustomEvent(t,o)},y=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!y&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],j=[],O=(t,o)=>e=>{t.push(e),k||(k=!0,o&&4&$.l?E(N):$.raf(N))},S=t=>{for(let o=0;o<t.length;o++)try{t[o](performance.now())}catch(t){u(t)}t.length=0},N=()=>{S(x),S(j),(k=x.length>0)&&$.raf(N)},E=t=>Promise.resolve(void 0).then(t),M=O(j,!0),z=t=>{const o=new URL(t,$.p);return o.origin!==m.location.origin?o.href:o.pathname},L=t=>$.p=t;function I(){var o;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(o=function(t){if(!y)return;const o=new CSSStyleSheet;return o.replaceSync(t),o}(t))?o:null),r)w?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!y){const o=document.createElement("style");o.innerHTML=t,e.prepend(o)}}var A=t=>{const o=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(o,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,R(t),!1).length)}));let e=0;for(e=0;e<o.length;e++){const t=o[e];1===t.nodeType&&F(t,"childNodes").length&&A(t)}};function C(t,o,e){let n,i=0,s=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!o||n["s-hn"]===o)&&(void 0===e||R(n)===e)&&(s.push(n),void 0!==e))return s;s=[...s,...C(n.childNodes,o,e)]}return s}var _=(t,o,e=!0)=>{const n=[];(e&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)R(i)!==o||!e&&i["s-sr"]||n.push(i);return n},B=(t,o)=>1===t.nodeType?null===t.getAttribute("slot")&&""===o||t.getAttribute("slot")===o:t["s-sn"]===o||""===o,H=(t,o,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!o["s-cr"]||!o["s-cr"].parentNode)return;const s=o["s-cr"].parentNode,l=F(s,"appendChild");if(void 0!==n){i["s-oo"]=n;const t=F(s,"childNodes"),o=[i];t.forEach((t=>{t["s-nr"]&&o.push(t)})),o.sort(((t,o)=>!t["s-oo"]||t["s-oo"]<(o["s-oo"]||0)?-1:!o["s-oo"]||o["s-oo"]<t["s-oo"]?1:0)),o.forEach((t=>l.call(s,t)))}else l.call(s,i);t["s-ol"]=i,t["s-sh"]=o["s-hn"]},R=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const o=o=>function(t){const e=[],n=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const o=[];for(let e=0;e<t.length;e++){const n=t[e]["s-nr"]||void 0;n&&n.isConnected&&o.push(n)}return o})(i.childNodes)).forEach((t=>{n===R(t)&&e.push(t)})),o?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=o(!0),t.assignedNodes=o(!1)}function F(t,o){if("__"+o in t){const e=t["__"+o];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[o]?t[o]:t[o].bind(t)}var D=new WeakMap,U=(t,o,e)=>{let n=d.get(t);y&&e?(n=n||new CSSStyleSheet,"string"==typeof n?n=o:n.replaceSync(o)):n=o,d.set(t,n)},V=(t,o)=>{var e,n,i;const s=P(o),l=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,l)if("string"==typeof l){let i,r=D.get(t=t.head||t);r||D.set(t,r=new Set);const c=t.querySelector(`[${g}="${s}"]`);if(c)c.textContent=l;else if(!r.has(s)){i=m.document.createElement("style"),i.textContent=l;const c=null!=(e=$.u)?e:function(){var t,o,e;return null!=(e=null==(o=null==(t=m.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?e:void 0}();if(null!=c&&i.setAttribute("nonce",c),!(1&o.l))if("HEAD"===t.nodeName){const o=t.querySelectorAll("link[rel=preconnect]"),e=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(y){const o=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;o.replaceSync(l),w?t.adoptedStyleSheets.unshift(o):t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.textContent=l+o.textContent:t.prepend(i)}else t.append(i);1&o.l&&t.insertBefore(i,null),4&o.l&&(i.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let o=D.get(t);if(o||D.set(t,o=new Set),!o.has(s)){const e=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(l.constructor===e.CSSStyleSheet)n=l;else{n=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)n.insertRule(l.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],o.add(s),"host"in t){const o=t.querySelector(`[${g}="${s}"]`);o&&M((()=>o.remove()))}}}return s},P=t=>"sc-"+t.v,W=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,o,...e)=>{let n=null,i=null,s=null,l=!1,r=!1;const c=[],a=o=>{for(let e=0;e<o.length;e++)n=o[e],Array.isArray(n)?a(n):null!=n&&"boolean"!=typeof n&&((l="function"!=typeof t&&!q(n))&&(n+=""),l&&r?c[c.length-1].m+=n:c.push(l?J(null,n):n),r=l)};if(a(e),o){o.key&&(i=o.key),o.name&&(s=o.name);{const t=o.className||o.class;t&&(o.class="object"!=typeof t?t:Object.keys(t).filter((o=>t[o])).join(" "))}}if("function"==typeof t)return t(null===o?{}:o,c,G);const p=J(t,null);return p.h=o,c.length>0&&(p.$=c),p.k=i,p.j=s,p},J=(t,o)=>({l:0,O:t,m:null!=o?o:null,S:null,$:null,h:null,k:null,j:null}),Z={},G={forEach:(t,o)=>t.map(K).forEach(o),map:(t,o)=>t.map(K).map(o).map(Q)},K=t=>({vattrs:t.h,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.m}),Q=t=>{if("function"==typeof t.vtag){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),Y(t.vtag,o,...t.vchildren||[])}const o=J(t.vtag,t.vtext);return o.h=t.vattrs,o.$=t.vchildren,o.k=t.vkey,o.j=t.vname,o},X=(t,o,e,n,i,s,l,r=[])=>{let c,a,p,u;if(1===s.nodeType){if(c=s.getAttribute(b),c&&(a=c.split("."),a[0]===l||"0"===a[0])){p=ot({l:0,N:a[0],M:a[1],L:a[2],I:a[3],O:s.tagName.toLowerCase(),S:s,h:{class:s.className||""}}),o.push(p),s.removeAttribute(b),t.$||(t.$=[]);const i=p.S.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===p.O&&et(i,a[2],p,s,t,o,e,n,r),p.S["s-sn"]=i,p.S.removeAttribute("s-sn")),void 0!==p.I&&(t.$[p.I]=p),t=p,n&&"0"===p.L&&(n[p.I]=p.S)}if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)X(t,o,e,n,i,s.shadowRoot.childNodes[u],l,r);const d=s.__childNodes||s.childNodes;for(u=d.length-1;u>=0;u--)X(t,o,e,n,i,d[u],l,r)}else if(8===s.nodeType)a=s.nodeValue.split("."),(a[1]===l||"0"===a[1])&&(c=a[0],p=ot({N:a[1],M:a[2],L:a[3],I:a[4]||"0",S:s,h:null,$:null,k:null,j:null,O:null,m:null}),"t"===c?(p.S=lt(s,3),p.S&&3===p.S.nodeType&&(p.m=p.S.textContent,o.push(p),s.remove(),l===p.N&&(t.$||(t.$=[]),t.$[p.I]=p),n&&"0"===p.L&&(n[p.I]=p.S))):"c"===c?(p.S=lt(s,8),p.S&&8===p.S.nodeType&&(o.push(p),s.remove())):p.N===l&&("s"===c?et(s["s-sn"]=a[5]||"",a[2],p,s,t,o,e,n,r):"r"===c&&(n?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const o=J(null,s.textContent);o.S=s,o.I="0",t.$=[o]}return t},tt=(t,o)=>{if(1===t.nodeType){const e=t[f]||t.getAttribute(f);e&&o.set(e,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)tt(t.shadowRoot.childNodes[n],o);const i=t.__childNodes||t.childNodes;for(n=0;n<i.length;n++)tt(i[n],o)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(o.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},ot=t=>({l:0,N:null,M:null,L:null,I:"0",S:null,h:null,$:null,k:null,j:null,O:null,m:null,...t});function et(t,o,e,n,i,s,l,r,c){n["s-sr"]=!0,e.j=t||null,e.O="slot";const a=(null==i?void 0:i.S)?i.S["s-id"]||i.S.getAttribute("s-id"):"";if(r&&m.document){const s=e.S=m.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),i.S.shadowRoot&&a&&a!==e.N?F(i.S,"insertBefore")(s,F(i.S,"children")[0]):F(F(n,"parentNode"),"insertBefore")(s,n),st(c,o,t,n,e.N),n.remove(),"0"===e.L&&(r[e.I]=e.S)}else{const s=e.S,l=a&&a!==e.N&&i.S.shadowRoot;st(c,o,t,n,l?a:e.N),T(n),l&&i.S.insertBefore(s,i.S.children[0])}s.push(e),l.push(e),i.$||(i.$=[]),i.$[e.I]=e}var nt,it,st=(t,o,e,n,i)=>{var s,l;let r=n.nextSibling;if(t[o]=t[o]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[o].push({slot:n,node:r,hostId:i})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},lt=(t,o)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==o||!e.nodeValue));return e},rt=class t{static fromLocalValue(o){const e=o[n],s=i in o?o[i]:void 0;switch(e){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((o=>t.fromLocalValue(o)));case"date":return new Date(s);case"map":const o=new Map;for(const[e,n]of s){const i="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(n);o.set(i,s)}return o;case"object":const n={};for(const[o,e]of s)n[o]=t.fromLocalValue(e);return n;case"regexp":const{pattern:i,flags:l}=s;return RegExp(i,l);case"set":const r=new Set;for(const o of s)r.add(t.fromLocalValue(o));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(o){return o.map((o=>t.fromLocalValue(o)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...o,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(i))}},ct=(t,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?rt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||q(t)?t:4&o?"false"!==t&&(""===t||!!t):2&o?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&o?t+"":t,at=t=>t,pt=(t,o)=>{const e=t;return{emit:t=>ut(e,o,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,o,e)=>{const n=$.ce(o,e);return t.dispatchEvent(n),n},dt=(t,o,e,n,i,s,l)=>{if(e===n)return;let r=p(t,o),c=o.toLowerCase();if("class"===o){const o=t.classList,i=gt(e);let s=gt(n);if((t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];s.push(e),i.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),o.add(...s)}else o.remove(...i.filter((t=>t&&!s.includes(t)))),o.add(...s.filter((t=>t&&!i.includes(t))))}else if("style"===o){for(const o in e)n&&null!=n[o]||(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in n)e&&n[o]===e[o]||(o.includes("-")?t.style.setProperty(o,n[o]):t.style[o]=n[o])}else if("key"===o);else if("ref"===o)n&&Bt(n,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const e=o.slice(5);let i;{const o=a(t);if(o&&o.o&&o.o.t){const t=o.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=n}catch(t){}return}{const l=q(n);if((r||l&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[o]!==n&&(t[o]=n);else{const i=null==n?"":n;"list"===o?r=!1:null!=e&&t[o]===i||("function"==typeof t.__lookupSetter__(o)?t[o]=i:t.setAttribute(o,i))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(o=c,a=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(o)||(a?t.removeAttributeNS(v,o):t.removeAttribute(o)):(!r||4&s||i)&&!l&&1===t.nodeType&&(n=!0===n?"":n,a?t.setAttributeNS(v,o,n):t.setAttribute(o,n))}}else if(o="-"===o[2]?o.slice(3):p(m,c)?c.slice(2):c[2]+o.slice(3),e||n){const i=o.endsWith(bt);o=o.replace(vt,""),e&&$.rel(t,o,e,i),n&&$.ael(t,o,n,i)}},ft=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),bt="Capture",vt=RegExp(bt+"$"),mt=(t,o,e,n)=>{const i=11===o.S.nodeType&&o.S.host?o.S.host:o.S,s=t&&t.h||{},l=o.h||{};for(const t of ht(Object.keys(s)))t in l||dt(i,t,s[t],void 0,e,o.l,n);for(const t of ht(Object.keys(l)))dt(i,t,s[t],l[t],e,o.l,n)};function ht(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $t=!1,yt=!1,wt=!1,kt=!1,xt=[],jt=[],Ot=(t,o,e)=>{var n;const i=o.$[e];let s,l,r,c=0;if($t||(wt=!0,"slot"===i.O&&(i.l|=i.$?2:1)),null!=i.m)s=i.S=m.document.createTextNode(i.m);else if(1&i.l)s=i.S=m.document.createTextNode(""),mt(null,i,kt);else{if(kt||(kt="svg"===i.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=m.document.createElementNS(kt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$t&&2&i.l?"slot-fb":i.O),kt&&"foreignObject"===i.O&&(kt=!1),mt(null,i,kt),i.$){const o="template"===i.O?s.content:s;for(c=0;c<i.$.length;++c)l=Ot(t,i,c),l&&o.appendChild(l)}"svg"===i.O?kt=!1:"foreignObject"===s.tagName&&(kt=!0)}return s["s-hn"]=it,3&i.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=i.j||"",s["s-rf"]=null==(n=i.h)?void 0:n.ref,T(s),r=t&&t.$&&t.$[e],r&&r.O===i.O&&t.S&&St(t.S)),s},St=t=>{$.l|=1;const o=t.closest(it.toLowerCase());if(null!=o){const e=Array.from(o.__childNodes||o.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of e?n.reverse():n)null!=t["s-sh"]&&(Ht(o,t,null!=e?e:null),t["s-sh"]=void 0,wt=!0)}$.l&=-2},Nt=(t,o)=>{$.l|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===it&&e.push(o)}for(let t=e.length-1;t>=0;t--){const n=e[t];n["s-hn"]!==it&&n["s-ol"]&&(Ht(Lt(n).parentNode,n,Lt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,wt=!0),o&&Nt(n,o)}$.l&=-2},Et=(t,o,e,n,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===it&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);i<=s;++i)n[i]&&(l=Ot(null,e,i),l&&(n[i].S=l,Ht(r,l,Lt(o))))},Mt=(t,o,e)=>{for(let n=o;n<=e;++n){const o=t[n];if(o){const t=o.S;_t(o),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},zt=(t,o,e=!1)=>t.O===o.O&&("slot"===t.O?t.j===o.j:e?(e&&!t.k&&o.k&&(t.k=o.k),!0):t.k===o.k),Lt=t=>t&&t["s-ol"]||t,It=(t,o,e=!1)=>{const n=o.S=t.S,i=t.$,s=o.$,l=o.O,r=o.m;let c;null==r?(kt="svg"===l||"foreignObject"!==l&&kt,"slot"!==l||$t||t.j!==o.j&&(o.S["s-sn"]=o.j||"",St(o.S.parentElement)),mt(t,o,kt,e),null!==i&&null!==s?((t,o,e,n,i=!1)=>{let s,l,r=0,c=0,a=0,p=0,u=o.length-1,d=o[0],f=o[u],g=n.length-1,b=n[0],v=n[g];const m="template"===e.O?t.content:t;for(;r<=u&&c<=g;)if(null==d)d=o[++r];else if(null==f)f=o[--u];else if(null==b)b=n[++c];else if(null==v)v=n[--g];else if(zt(d,b,i))It(d,b,i),d=o[++r],b=n[++c];else if(zt(f,v,i))It(f,v,i),f=o[--u],v=n[--g];else if(zt(d,v,i))"slot"!==d.O&&"slot"!==v.O||Nt(d.S.parentNode,!1),It(d,v,i),Ht(m,d.S,f.S.nextSibling),d=o[++r],v=n[--g];else if(zt(f,b,i))"slot"!==d.O&&"slot"!==v.O||Nt(f.S.parentNode,!1),It(f,b,i),Ht(m,f.S,d.S),f=o[--u],b=n[++c];else{for(a=-1,p=r;p<=u;++p)if(o[p]&&null!==o[p].k&&o[p].k===b.k){a=p;break}a>=0?(l=o[a],l.O!==b.O?s=Ot(o&&o[c],e,a):(It(l,b,i),o[a]=void 0,s=l.S),b=n[++c]):(s=Ot(o&&o[c],e,c),b=n[++c]),s&&Ht(Lt(d.S).parentNode,s,Lt(d.S))}r>u?Et(t,null==n[g+1]?null:n[g+1].S,e,n,c,g):c>g&&Mt(o,r,u)})(n,i,o,s,e):null!==s?(null!==t.m&&(n.textContent=""),Et(n,null,o,s,0,s.length-1)):e||null===i?e&&null!==i&&null===s&&(o.$=i):Mt(i,0,i.length-1),kt&&"svg"===l&&(kt=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:t.m!==r&&(n.data=r)},At=[],Ct=t=>{let o,e,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(o=t["s-cr"])&&o.parentNode){e=o.parentNode.__childNodes||o.parentNode.childNodes;const i=t["s-sn"];for(n=e.length-1;n>=0;n--)if(o=e[n],!(o["s-cn"]||o["s-nr"]||o["s-hn"]===t["s-hn"]||o["s-sh"]&&o["s-sh"]===t["s-hn"]))if(B(o,i)){let e=At.find((t=>t.A===o));yt=!0,o["s-sn"]=o["s-sn"]||i,e?(e.A["s-sh"]=t["s-hn"],e.C=t):(o["s-sh"]=t["s-hn"],At.push({C:t,A:o})),o["s-sr"]&&At.map((t=>{B(t.A,o["s-sn"])&&(e=At.find((t=>t.A===o)),e&&!t.C&&(t.C=e.C))}))}else At.some((t=>t.A===o))||At.push({A:o})}1===t.nodeType&&Ct(t)}},_t=t=>{t.h&&t.h.ref&&xt.push((()=>t.h.ref(null))),t.$&&t.$.map(_t)},Bt=(t,o)=>{jt.push((()=>t(o)))},Ht=(t,o,e,n)=>{if("string"==typeof o["s-sn"]){t.insertBefore(o,e);const{slotNode:i}=function(t,o){var e;if(!(o=o||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=R(t)||"";return{slotNode:C(F(o,"childNodes"),o.tagName,n)[0],slotName:n}}(o);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),o}return t.__insertBefore?t.__insertBefore(o,e):null==t?void 0:t.insertBefore(o,e)},Rt=(t,o,e=!1)=>{var n,i,s,l,r;const c=t.$hostElement$,a=t.o,p=t._||J(null,null),u=(t=>t&&t.O===Z)(o)?o:Y(null,null,o);if(it=c.tagName,a.B&&(u.h=u.h||{},a.B.forEach((([t,o])=>{u.h[o]=c[t]}))),e&&u.h)for(const t of Object.keys(u.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.h[t]=c[t]);if(u.O=null,u.l|=4,t._=u,u.S=p.S=c.shadowRoot||c,$t=!(!(1&a.l)||128&a.l),nt=c["s-cr"],yt=!1,It(p,u,e),$.l|=1,wt){Ct(u.S);for(const t of At){const o=t.A;if(!o["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=o,Ht(o.parentNode,o["s-ol"]=t,o,e)}}for(const t of At){const o=t.A,r=t.C;if(1===o.nodeType&&e&&(o["s-ih"]=null!=(n=o.hidden)&&n),r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let e=null==(i=o["s-ol"])?void 0:i.previousSibling;for(;e;){let i=null!=(s=e["s-nr"])?s:null;if(i&&i["s-sn"]===o["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===o||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}e=e.previousSibling}}if((!n&&t!==(o.__parentNode||o.parentNode)||(o.__nextSibling||o.nextSibling)!==n)&&o!==n){if(Ht(t,o,n,e),8===o.nodeType&&o.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(o.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=o["s-hn"],t["s-sn"]=o["s-sn"],t["s-sh"]=o["s-sh"],t["s-sr"]=o["s-sr"],t["s-ol"]=o["s-ol"],t["s-ol"]["s-nr"]=t,Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}1===o.nodeType&&"SLOT-FB"!==o.tagName&&(o.hidden=null!=(l=o["s-ih"])&&l)}o&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===o.nodeType&&(o.hidden=!0)}}if(yt&&A(u.S),$.l&=-2,At.length=0,!$t&&!(1&a.l)&&c["s-cr"]){const t=u.S.__childNodes||u.S.childNodes;for(const o of t)if(o["s-hn"]!==it&&!o["s-sh"])if(e&&null==o["s-ih"]&&(o["s-ih"]=null!=(r=o.hidden)&&r),1===o.nodeType)o.hidden=!0;else if(3===o.nodeType&&o.nodeValue.trim()){const t=m.document.createComment("s-nt-"+o.nodeValue);t["s-sn"]=o["s-sn"],Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}}nt=void 0,xt.forEach((t=>t())),xt.length=0,jt.forEach((t=>t())),jt.length=0},Tt=(t,o)=>{if(o&&!t.H&&o["s-p"]){const e=o["s-p"].push(new Promise((n=>t.H=()=>{o["s-p"].splice(e-1,1),n()})))}},Ft=(t,o)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Tt(t,t.R);const e=()=>Dt(t,o);if(!o)return M(e);queueMicrotask((()=>{e()}))},Dt=(t,o)=>{const e=t.$hostElement$,n=e;if(!n)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=Jt(n,o?"componentWillLoad":"componentWillUpdate",void 0,e),i=Ut(i,(()=>Jt(n,"componentWillRender",void 0,e))),Ut(i,(()=>Pt(t,n,o)))},Ut=(t,o)=>Vt(t)?t.then(o).catch((t=>{console.error(t),o()})):o(),Vt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,o,e)=>{var n;const i=t.$hostElement$,s=i["s-rc"];e&&(t=>{const o=t.o,e=t.$hostElement$,n=o.l,i=V(e.shadowRoot?e.shadowRoot:e.getRootNode(),o);10&n&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(t);Wt(t,o,i,e),s&&(s.map((t=>t())),i["s-rc"]=void 0);{const o=null!=(n=i["s-p"])?n:[],e=()=>qt(t);0===o.length?e():(Promise.all(o).then(e).catch(e),t.l|=4,o.length=0)}},Wt=(t,o,e,n)=>{try{o=o.render&&o.render(),t.l&=-17,t.l|=2,Rt(t,o,n)}catch(o){u(o,t.$hostElement$)}return null},qt=t=>{const o=t.$hostElement$,e=o,n=t.R;Jt(e,"componentDidRender",void 0,o),64&t.l?Jt(e,"componentDidUpdate",void 0,o):(t.l|=64,Zt(o),Jt(e,"componentDidLoad",void 0,o),t.T(o),n||Yt()),t.H&&(t.H(),t.H=void 0),512&t.l&&E((()=>Ft(t,!1))),t.l&=-517},Yt=()=>{var t;E((()=>ut(m,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.F)?void 0:t.size)&&$.F.clear()},Jt=(t,o,e,n)=>{if(t&&t[o])try{return t[o](e)}catch(t){u(t,n)}},Zt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Gt=(t,o,e,n)=>{const i=a(t);if(!i)return;const s=t,l=i.i.get(o),r=i.l,c=s;if(!((e=ct(e,n.t[o][0]))===l||Number.isNaN(l)&&Number.isNaN(e))){if(i.i.set(o,e),n.D){const t=n.D[o];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&r||1&s)&&(c?c[n](e,l,o):i.U.push((()=>{i.V[n](e,l,o)})))}catch(t){u(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,l,o)&&!(16&r))return;16&r||Ft(i,!1)}}},Kt=(t,o)=>{var e,n;const i=t.prototype;{t.watchers&&!o.D&&(o.D=t.watchers),t.deserializers&&!o.P&&(o.P=t.deserializers),t.serializers&&!o.W&&(o.W=t.serializers);const s=Object.entries(null!=(e=o.t)?e:{});s.map((([t,[e]])=>{if(31&e||32&e){const{get:n,set:s}=l(i,t)||{};n&&(o.t[t][0]|=2048),s&&(o.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return n?n.apply(this):((t,o)=>a(this).i.get(o))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=a(this);if(i){if(s)return void 0===(32&e?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,ct(n,e)),void Gt(this,t,n=32&e?this[t]:i.$hostElement$[t],o);Gt(this,t,n,o)}}})}}));{const e=new Map;i.attributeChangedCallback=function(t,n,l){$.jmp((()=>{var r;const c=e.get(t),p=a(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==p?void 0:p.l;if(p&&e&&!(8&e)&&l!==n){const i=this,s=null==(r=o.D)?void 0:r[t];null==s||s.forEach((o=>{const[[s,r]]=Object.entries(o);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,n,t)}))}return}const u=s.find((([t])=>t===c));u&&4&u[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,c);l==this[c]||d.get&&!d.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=o.D)?n:{}),...s.filter((([t,o])=>31&o[0])).map((([t,n])=>{var i;const s=n[1]||t;return e.set(s,t),512&n[0]&&(null==(i=o.B)||i.push([t,s])),s}))]))}}return t},Qt=t=>{if(!m.document)return;const o=t["s-cr"]=m.document.createComment("");o["s-cn"]=!0,Ht(t,o,t.firstChild)},Xt=(t,o)=>{const e={l:o[0],v:o[1]};try{e.t=o[2],e.q=o[3],e.D=t.D,e.P=t.P,e.W=t.W,e.B=[],(()=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${g}]`);let o=0;for(;o<t.length;o++)U(t[o].getAttribute(g),W(t[o].innerHTML),!0)})();const n=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,o)=>{const e={l:0,$hostElement$:t,o,i:new Map,Y:new Map};e.J=new Promise((t=>e.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=e;t.__stencil__getHostRef=()=>n,512&o.l&&c(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=a(this);if(!t)return;to(this,t,e.q),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const o=a(t);if(!o)return;const e=o.o,n=()=>{};if(1&o.l)to(t,o,e.q),(null==o?void 0:o.V)||(null==o?void 0:o.J)&&o.J.then((()=>{}));else{let n;if(o.l|=1,n=t.getAttribute(f),n){if(1&e.l){const o=V(t.shadowRoot,e);t.classList.remove(o+"-h",o+"-s")}((t,o,e,n)=>{var i,s,l,r;const c=t.shadowRoot,p=[],u=[],d=c?[]:null,g=J(o,null);g.S=t,!m.document||$.F&&$.F.size||tt(m.document.body,$.F=new Map),t[f]=e,t.removeAttribute(f),n._=X(g,p,[],d,t,t,e,u);let b=0;const v=p.length;let h;for(;b<v;b++){h=p[b];const e=h.N+"."+h.M,n=$.F.get(e),s=h.S;if(c){if((null==(i=h.O)?void 0:(""+i).includes("-"))&&"slot-fb"!==h.O&&!h.S.shadowRoot){const t=a(h.S);if(t){const o=P(t.o),e=m.document.querySelector(`style[sty-id="${o}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=o.toUpperCase(),"slot"===h.O&&(s["s-cr"]=t["s-cr"]);"slot"===h.O&&(h.j=h.S["s-sn"]||h.S.name||null,h.$?(h.l|=2,h.S.childNodes.length||h.$.forEach((t=>{h.S.appendChild(t.S)}))):h.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),c||(s["s-oo"]=parseInt(h.M))),n&&!n["s-id"]&&$.F.delete(e)}const y=[],w=u.length;let k,x,j,O,S=0,N=0;for(;S<w;S++)if(k=u[S],k&&k.length)for(j=k.length,x=0;x<j;x++){if(O=k[x],y[O.hostId]||(y[O.hostId]=$.F.get(O.hostId)),!y[O.hostId])continue;const t=y[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(l=null==(s=k[x-1])?void 0:s.node)?void 0:l.nextSibling),t.shadowRoot&&c||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),H(O.node,O.slot,0,O.node["s-oo"]||N),(null==(r=O.node.parentElement)?void 0:r.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),N=(O.node["s-oo"]||N)+1}if(c&&!c.childNodes.length){let o=0;const e=d.length;if(e){for(;o<e;o++){const t=d[o];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}n.$hostElement$=t})(t,e.v,n,o)}n||12&e.l&&Qt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Tt(o,o.R=e);break}}e.t&&Object.entries(e.t).map((([o,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,o)){const e=t[o];delete t[o],t[o]=e}})),(async(t,o,e)=>{let n;try{if(!(32&o.l)&&(o.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>o.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const o=P(e);if(!d.has(o)){const n=()=>{};U(o,t,!!(1&e.l)),n()}}const i=o.R,s=()=>Ft(o,!0);i&&i["s-rc"]?i["s-rc"].push(s):s()}catch(e){u(e,t),o.H&&(o.H(),o.H=void 0),o.T&&o.T(t)}})(t,o,e)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const o=a(t);(null==o?void 0:o.Z)&&(o.Z.map((t=>t())),o.Z=void 0)}D.has(t)&&D.delete(t),t.shadowRoot&&D.has(t.shadowRoot)&&D.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Kt(t,e)}catch(o){return u(o),t}},to=(t,o,e)=>{e&&m.document&&e.map((([e,n,i])=>{const s=eo(m.document,t,e),l=oo(o,i),r=no(e);$.ael(s,n,l,r),(o.Z=o.Z||[]).push((()=>$.rel(s,n,l,r)))}))},oo=(t,o)=>e=>{try{t.$hostElement$[o](e)}catch(o){u(o,t.$hostElement$)}},eo=(t,o,e)=>4&e?t:8&e?m:o,no=t=>({passive:!!(1&t),capture:!!(2&t)}),io=t=>$.u=t,so=t=>Object.assign($,t);function lo(t,o){Rt({o:{l:0,v:o.tagName},$hostElement$:o},t)}function ro(t){return t}export{h as H,Z as a,pt as c,at as g,z as getAssetPath,Y as h,Xt as p,lo as render,L as setAssetPath,io as setNonce,so as setPlatformOptions,ro as t}
@@ -0,0 +1 @@
1
+ import{c as r,i as t,g as i,r as n}from"./p-Bji_4dfL.js";function o(o){const s=r({priority:0,blocking:!0,validateEmptyValues:!0,run(r,n){if(o&&"string"==typeof o.when&&r[o.when]!==(o.truthy??!0))return!0;const{value:s,showError:e}=i(r,n);return!t(s)||(e("is required"),!1)}});return function(r,t){s(r,t),o?.when&&n(r,o.when,t)}}export{o as R}
@@ -1 +1 @@
1
- import{p as t,H as e,t as o}from"./index.js";import{v as n}from"./p-x3kxyWSZ.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}connectedCallback(){this.host.dataset.version=n}get host(){return this}static get style(){return"post-menu-item button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{width:100%;position:relative;display:flex;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}"}},[0,"post-menu-item"]);function m(){"undefined"!=typeof customElements&&["post-menu-item"].forEach((t=>{"post-menu-item"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}m();export{i as P,m as d}
1
+ import{p as t,H as e,t as o}from"./index.js";import{v as n}from"./p-ClG-N42b.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}connectedCallback(){this.host.dataset.version=n}get host(){return this}static get style(){return"post-menu-item button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{width:100%;position:relative;display:flex;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}"}},[0,"post-menu-item"]);function m(){"undefined"!=typeof customElements&&["post-menu-item"].forEach((t=>{"post-menu-item"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}m();export{i as P,m as d}
@@ -0,0 +1 @@
1
+ import{p as t,H as e,c as n,h as o,a as r,t as i}from"./index.js";import"./p-Bji_4dfL.js";import{v as s}from"./p-ClG-N42b.js";import{O as a}from"./p-BaB8wJvk.js";import{T as c}from"./p-B_WnO-QF.js";const l=["top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"],p=Math.min,f=Math.max,u=Math.round,h=Math.floor,d=t=>({x:t,y:t}),m={left:"right",right:"left",bottom:"top",top:"bottom"};function v(t,e,n){return f(t,p(e,n))}function g(t,e){return"function"==typeof t?t(e):t}function w(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function x(t){return"x"===t?"y":"x"}function b(t){return"y"===t?"height":"width"}function S(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return x(S(t))}function E(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const T=["left","right"],M=["right","left"],A=["top","bottom"],O=["bottom","top"];function H(t){const e=w(t);return m[e]+t.slice(e.length)}function L(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function $(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function D(t,e,n){let{reference:o,floating:r}=t;const i=S(e),s=k(e),a=b(s),c=w(e),l="y"===i,p=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,u=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:p,y:o.y-r.height};break;case"bottom":h={x:p,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(y(e)){case"start":h[s]-=u*(n&&l?-1:1);break;case"end":h[s]+=u*(n&&l?-1:1)}return h}async function j(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=g(e,t),d=L(h),m=a[u?"floating"===f?"reference":"floating":f],v=$(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:p,strategy:c})),w="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=$(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:y,strategy:c}):w);return{top:(v.top-b.top+d.top)/x.y,bottom:(b.bottom-v.bottom+d.bottom)/x.y,left:(v.left-b.left+d.left)/x.x,right:(b.right-v.right+d.right)/x.x}}function R(t){const e=p(...t.map((t=>t.left))),n=p(...t.map((t=>t.top)));return{x:e,y:n,width:f(...t.map((t=>t.right)))-e,height:f(...t.map((t=>t.bottom)))-n}}const F=new Set(["left","top"]);function z(){return"undefined"!=typeof window}function C(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function P(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function B(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!z()&&(t instanceof Node||t instanceof P(t).Node)}function q(t){return!!z()&&(t instanceof Element||t instanceof P(t).Element)}function I(t){return!!z()&&(t instanceof HTMLElement||t instanceof P(t).HTMLElement)}function N(t){return!(!z()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof P(t).ShadowRoot)}function G(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&"inline"!==r&&"contents"!==r}function _(t){return/^(table|td|th)$/.test(C(t))}function J(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const Q=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,X=t=>!!t&&"none"!==t;let Y;function K(t){const e=q(t)?tt(t):t;return X(e.transform)||X(e.translate)||X(e.scale)||X(e.rotate)||X(e.perspective)||!U()&&(X(e.backdropFilter)||X(e.filter))||Q.test(e.willChange||"")||V.test(e.contain||"")}function U(){return null==Y&&(Y="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Y}function Z(t){return/^(html|body|#document)$/.test(C(t))}function tt(t){return P(t).getComputedStyle(t)}function et(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nt(t){if("html"===C(t))return t;const e=t.assignedSlot||t.parentNode||N(t)&&t.host||B(t);return N(e)?e.host:e}function ot(t){const e=nt(t);return Z(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&G(e)?e:ot(e)}function rt(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=ot(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),s=P(r);if(i){const t=it(s);return e.concat(s,s.visualViewport||[],G(r)?r:[],t&&n?rt(t):[])}return e.concat(r,rt(r,[],n))}function it(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function st(t){const e=tt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=I(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=u(n)!==i||u(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function at(t){return q(t)?t:t.contextElement}function ct(t){const e=at(t);if(!I(e))return d(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=st(e);let s=(i?u(n.width):n.width)/o,a=(i?u(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const lt=d(0);function pt(t){const e=P(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:lt}function ft(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=at(t);let s=d(1);e&&(o?q(o)&&(s=ct(o)):s=ct(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==P(t))&&e}(i,n,o)?pt(i):d(0);let c=(r.left+a.x)/s.x,l=(r.top+a.y)/s.y,p=r.width/s.x,f=r.height/s.y;if(i){const t=P(i),e=o&&q(o)?P(o):o;let n=t,r=it(n);for(;r&&o&&e!==n;){const t=ct(r),e=r.getBoundingClientRect(),o=tt(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,p*=t.x,f*=t.y,c+=i,l+=s,n=P(r),r=it(n)}}return $({width:p,height:f,x:c,y:l})}function ut(t,e){const n=et(t).scrollLeft;return e?e.left+n:ft(B(t)).left+n}function ht(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ut(t,n),y:n.top+e.scrollTop}}function dt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=P(t),o=B(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,c=0;if(r){i=r.width,s=r.height;const t=U();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,c=r.offsetTop)}const l=ut(o);if(l<=0){const t=o.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(o.clientWidth-e.clientWidth-r);s<=25&&(i-=s)}else l<=25&&(i+=l);return{width:i,height:s,x:a,y:c}}(t,n);else if("document"===e)o=function(t){const e=B(t),n=et(t),o=t.ownerDocument.body,r=f(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=f(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+ut(t);const a=-n.scrollTop;return"rtl"===tt(o).direction&&(s+=f(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:a}}(B(t));else if(q(e))o=function(t,e){const n=ft(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=I(t)?ct(t):d(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=pt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return $(o)}function mt(t,e){const n=nt(t);return!(n===e||!q(n)||Z(n))&&("fixed"===tt(n).position||mt(n,e))}function vt(t,e,n){const o=I(e),r=B(e),i="fixed"===n,s=ft(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=d(0);function l(){c.x=ut(r)}if(o||!o&&!i)if(("body"!==C(e)||G(r))&&(a=et(e)),o){const t=ft(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&l();i&&!o&&r&&l();const p=!r||o||i?d(0):ht(r,a);return{x:s.left+a.scrollLeft-c.x-p.x,y:s.top+a.scrollTop-c.y-p.y,width:s.width,height:s.height}}function gt(t){return"static"===tt(t).position}function wt(t,e){if(!I(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return B(t)===n&&(n=n.ownerDocument.body),n}function yt(t,e){const n=P(t);if(J(t))return n;if(!I(t)){let e=nt(t);for(;e&&!Z(e);){if(q(e)&&!gt(e))return e;e=nt(e)}return n}let o=wt(t,e);for(;o&&_(o)&&gt(o);)o=wt(o,e);return o&&Z(o)&&gt(o)&&!K(o)?n:o||function(t){let e=nt(t);for(;I(e)&&!Z(e);){if(K(e))return e;if(J(e))return null;e=nt(e)}return null}(t)||n}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=B(o),a=!!e&&J(e.floating);if(o===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=d(1);const p=d(0),f=I(o);if((f||!f&&!i)&&(("body"!==C(o)||G(s))&&(c=et(o)),f)){const t=ft(o);l=ct(o),p.x=t.x+o.clientLeft,p.y=t.y+o.clientTop}const u=!s||f||i?d(0):ht(s,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+p.x+u.x,y:n.y*l.y-c.scrollTop*l.y+p.y+u.y}},getDocumentElement:B,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?J(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter((t=>q(t)&&"body"!==C(t))),r=null;const i="fixed"===tt(t).position;let s=i?nt(t):t;for(;q(s)&&!Z(s);){const e=tt(s),n=K(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&("absolute"===r.position||"fixed"===r.position)||G(s)&&!n&&mt(t,s))?o=o.filter((t=>t!==s)):r=e,s=nt(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=dt(e,i[0],r);let a=s.top,c=s.right,l=s.bottom,u=s.left;for(let t=1;t<i.length;t++){const n=dt(e,i[t],r);a=f(n.top,a),c=p(n.right,c),l=p(n.bottom,l),u=f(n.left,u)}return{width:c-u,height:l-a,x:u,y:a}},getOffsetParent:yt,getElementRects:async function(t){const e=this.getOffsetParent||yt,n=this.getDimensions,o=await n(t.floating);return{reference:vt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=st(t);return{width:e,height:n}},getScale:ct,isElement:q,isRTL:function(t){return"rtl"===tt(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const St=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=w(n),a=y(n),c="y"===S(n),l=F.has(s)?-1:1,p=i&&c?-1:1,f=g(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:d}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof d&&(h="end"===a?-1*d:d),c?{x:h*p,y:u*l}:{x:u*l,y:h*p}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}},kt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:m=!0,...v}=g(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const x=w(r),L=S(a),$=w(a)===a,D=await(null==c.isRTL?void 0:c.isRTL(l.floating)),j=u||($||!m?[H(a)]:function(t){const e=H(t);return[E(t),e,E(e)]}(a)),R="none"!==d;!u&&R&&j.push(...function(t,e,n,o){const r=y(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?M:T:e?T:M;case"left":case"right":return e?A:O;default:return[]}}(w(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(E)))),i}(a,m,d,D));const F=[a,...j],z=await c.detectOverflow(e,v),C=[];let P=(null==(o=i.flip)?void 0:o.overflows)||[];if(p&&C.push(z[x]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=y(t),r=k(t),i=b(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=H(s)),[s,H(s)]}(r,s,D);C.push(z[t[0]],z[t[1]])}if(P=[...P,{placement:r,overflows:C}],!C.every((t=>t<=0))){var B,W;const t=((null==(B=i.flip)?void 0:B.index)||0)+1,e=F[t];if(e&&("alignment"!==f||L===S(e)||P.every((t=>S(t.placement)!==L||t.overflows[0]>0))))return{data:{index:t,overflows:P},reset:{placement:e}};let n=null==(W=P.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(h){case"bestFit":{var q;const t=null==(q=P.filter((t=>{if(R){const e=S(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:a}=e,{apply:c=()=>{},...l}=g(t,e),u=await s.detectOverflow(e,l),h=w(r),d=y(r),m="y"===S(r),{width:v,height:x}=i.floating;let b,k;"top"===h||"bottom"===h?(b=h,k=d===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(k=h,b="end"===d?"top":"bottom");const E=x-u.top-u.bottom,T=v-u.left-u.right;let M=p(x-u[b],E),A=p(v-u[k],T);if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(A=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(M=E),!e.middlewareData.shift&&!d){const t=f(u.left,0),e=f(u.right,0),n=f(u.top,0),o=f(u.bottom,0);m?A=v-2*(0!==t||0!==e?t+e:f(u.left,u.right)):M=x-2*(0!==n||0!==o?n+o:f(u.top,u.bottom))}await c({...e,availableWidth:A,availableHeight:M});const O=await s.getDimensions(a.floating);return v!==O.width||x!==O.height?{reset:{rects:!0}}:{}}}},Tt=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:i,strategy:s}=e,{padding:a=2,x:c,y:l}=g(t,e),u=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>$(R(t))))}(u),d=$(R(u)),m=L(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=l)return h.find((t=>c>t.left-m.left&&c<t.right+m.right&&l>t.top-m.top&&l<t.bottom+m.bottom))||d;if(h.length>=2){if("y"===S(n)){const t=h[0],e=h[h.length-1],o="top"===w(n),r=t.top,i=e.bottom,s=o?t.left:e.left,a=o?t.right:e.right;return{top:r,bottom:i,left:s,right:a,width:a-s,height:i-r,x:s,y:r}}const t="left"===w(n),e=f(...h.map((t=>t.right))),o=p(...h.map((t=>t.left))),r=h.filter((n=>t?n.left===o:n.right===e)),i=r[0].top,s=r[r.length-1].bottom;return{top:i,bottom:s,left:o,right:e,width:e-o,height:s-i,x:o,y:i}}return d}},floating:o.floating,strategy:s});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};var Mt=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},At=new WeakMap;function Ot(t,e,n){At.set(t,setTimeout((()=>{At.has(t)&&t.dispatchEvent(new Mt("toggle",{cancelable:!1,oldState:e,newState:n}))}),0))}var Ht=globalThis.ShadowRoot||function(){},Lt=globalThis.HTMLDialogElement||function(){},$t=new WeakMap,Dt=new WeakMap,jt=new WeakMap,Rt=new WeakMap;function Ft(t){return Rt.get(t)||"hidden"}var zt=new WeakMap;function Ct(t){return[...t].pop()}function Pt(t,e){return!("auto"!==t.popover&&"manual"!==t.popover&&"hint"!==t.popover||!t.isConnected||e&&"showing"!==Ft(t)||!e&&"hidden"!==Ft(t)||t instanceof Lt&&t.hasAttribute("open")||document.fullscreenElement===t)}function Bt(t){if(!t)return 0;const e=Dt.get(document)||new Set,n=jt.get(document)||new Set;return n.has(t)?[...n].indexOf(t)+e.size+1:e.has(t)?[...e].indexOf(t)+1:0}function Wt(t){let e;const n=jt.get(t)||new Set,o=Dt.get(t)||new Set,r=n.size>0?n:o.size>0?o:null;return r?(e=Ct(r),e.isConnected?e:(r.delete(e),Wt(t))):null}function qt(t){for(const e of t||[]){if(e.isConnected)return e;t.delete(e)}return null}function It(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?It(t.parentNode):t}function Nt(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===Rt.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||It(t))instanceof Ht&&(t=t.host),t instanceof Document)return}}function Gt(t,e){const n=new Map;let o=0;for(const t of e||[])n.set(t,o),o+=1;n.set(t,o),o+=1;let r=null;return function(e){if(!e)return;let o=!1,i=null,s=null;for(;!o;){if(i=Nt(e)||null,null===i)return;if(!n.has(i))return;"hint"!==t.popover&&"auto"!==i.popover||(o=!0),o||(e=i.parentElement)}s=n.get(i),(null===r||n.get(r)<s)&&(r=i)}(t.parentElement||It(t)),r}function _t(t){return!(t.hidden||t instanceof Ht||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href||"number"!=typeof t.tabIndex||-1===t.tabIndex)}var Jt=new WeakMap;function Qt(t){if(!Pt(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new Mt("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!Pt(t,!1))return;let n=!1;const o=t.popover;let r=null;const i=Gt(t,Dt.get(e)||new Set),s=Gt(t,jt.get(e)||new Set);if("auto"===o&&(Xt(jt.get(e)||new Set,n,!0),Kt(i||e,n,!0),r="auto"),"hint"===o&&(s?(Kt(s,n,!0),r="hint"):(Xt(jt.get(e)||new Set,n,!0),i?(Kt(i,n,!0),r="auto"):r="hint")),"auto"===o||"hint"===o){if(o!==t.popover||!Pt(t,!1))return;Wt(e)||(n=!0),"auto"===r?(Dt.has(e)||Dt.set(e,new Set),Dt.get(e).add(t)):"hint"===r&&(jt.has(e)||jt.set(e,new Set),jt.get(e).add(t))}Jt.delete(t);const a=e.activeElement;var c;t.classList.add(":popover-open"),Rt.set(t,"showing"),$t.has(e)||$t.set(e,new Set),$t.get(e).add(t),ee(zt.get(t),!0),c=t,function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{const t=e.querySelectorAll("slot");for(const e of t){const t=e.assignedElements({flatten:!0});for(const e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}const o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let r=o.currentNode;for(;r;){if(_t(r))return r;r=o.nextNode()}}(c)?.focus(),n&&a&&"auto"===t.popover&&Jt.set(t,a),Ot(t,"closed","open")}function Vt(t,e=!1,n=!1){if(!Pt(t,!0))return;const o=t.ownerDocument;if(["auto","hint"].includes(t.popover)&&(Kt(t,e,n),!Pt(t,!0)))return;const r=Dt.get(o)||new Set,i=r.has(t)&&Ct(r)===t;if(ee(zt.get(t),!1),zt.delete(t),n&&(t.dispatchEvent(new Mt("beforetoggle",{oldState:"open",newState:"closed"})),i&&Ct(r)!==t&&Kt(t,e,n),!Pt(t,!0)))return;$t.get(o)?.delete(t),r.delete(t),jt.get(o)?.delete(t),t.classList.remove(":popover-open"),Rt.set(t,"hidden"),n&&Ot(t,"open","closed");const s=Jt.get(t);s&&(Jt.delete(t),e&&s.focus())}function Xt(t,e=!1,n=!1){let o=qt(t);for(;o;)Vt(o,e,n),o=qt(t)}function Yt(t,e,n,o){let r=!1,i=!1;for(;r||!i;){i=!0;let s=null,a=!1;for(const n of e)if(n===t)a=!0;else if(a){s=n;break}if(!s)return;for(;"showing"===Ft(s)&&e.size;)Vt(Ct(e),n,o);e.has(t)&&Ct(e)!==t&&(r=!0),r&&(o=!1)}}function Kt(t,e,n){const o=t.ownerDocument||t;if(t instanceof Document)return function(t,e=!1,n=!1){let o=Wt(t);for(;o;)Vt(o,e,n),o=Wt(t)}(o,e,n);jt.get(o)?.has(t)?Yt(t,jt.get(o),e,n):(Xt(jt.get(o)||new Set,e,n),Dt.get(o)?.has(t)&&Yt(t,Dt.get(o),e,n))}var Ut=new WeakMap;function Zt(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const n=e.ownerDocument;if(!Wt(n))return;const o=function(t){const e=Nt(t),n=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||It(t))instanceof Ht&&(t=t.host),t instanceof Document)return}}(t);return Bt(e)>Bt(n)?e:n}(e);if(o&&"pointerdown"===t.type)Ut.set(n,o);else if("pointerup"===t.type){const t=Ut.get(n)===o;Ut.delete(n),t&&Kt(o||n,!1,!0)}}var te=new WeakMap;function ee(t,e=!1){if(!t)return;te.has(t)||te.set(t,t.getAttribute("aria-expanded"));const n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{const e=te.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var ne=globalThis.ShadowRoot||function(){};function oe(t,e,n){const o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var re=/(^|[^\\]):popover-open\b/g;var ie=null;function se(t){const e=function(){const t="function"==typeof globalThis.CSSLayerBlockRule;return`\n${t?"@layer popover-polyfill {":""}\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n${t?"}":""}\n`}();if(null===ie)try{(ie=new CSSStyleSheet).replaceSync(e)}catch{ie=!1}if(!1===ie){const n=document.createElement("style");n.textContent=e,t instanceof Document?t.head.prepend(n):t.prepend(n)}else t.adoptedStyleSheets=[ie,...t.adoptedStyleSheets]}var ae=function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};const ce={"pop-in":function(t){if(t)return t.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:250,easing:"ease-out",fill:"forwards"})}},le=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postBeforeShow=n(this,"postBeforeShow"),this.postShow=n(this,"postShow"),this.postHide=n(this,"postHide"),this.postBeforeToggle=n(this,"postBeforeToggle"),this.postToggle=n(this,"postToggle"),this.toggleTimeoutId=null,this.hasOpenedOnce=!0,this.placement="top",this.edgeGap=8,this.arrow=!1,this.animation="pop-in",this.currentAnimation=null,this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}connectedCallback(){"undefined"!=typeof HTMLElement&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){if("undefined"==typeof window)return;function t(t){return t?.includes(":popover-open")&&(t=t.replace(re,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||Mt,oe(Document.prototype,"querySelector",t),oe(Document.prototype,"querySelectorAll",t),oe(Element.prototype,"querySelector",t),oe(Element.prototype,"querySelectorAll",t),oe(Element.prototype,"matches",t),oe(Element.prototype,"closest",t),oe(DocumentFragment.prototype,"querySelectorAll",t),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;const t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"hint"==t?"hint":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(t={}){Qt(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){Vt(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t={}){return"boolean"==typeof t&&(t={force:t}),"showing"===Rt.get(this)&&void 0===t.force||!1===t.force?Vt(this,!0,!0):void 0!==t.force&&!0!==t.force||Qt(this),"showing"===Rt.get(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const n=e.call(this,t);return se(n),n}}});const n=HTMLElement.prototype.attachInternals;n&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=n.call(this);return t.shadowRoot&&se(t.shadowRoot),t}}});const o=new WeakMap;function r(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),o.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),o.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName)return null;if("input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type)return null;if(this.disabled)return null;if(this.form&&"submit"===this.type)return null;const t=o.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return o.delete(this),null;const e=It(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof ne)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){const t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}var i;r(HTMLButtonElement),r(HTMLInputElement),(i=document).addEventListener("click",(t=>{const e=t.composedPath(),n=e[0];if(!(n instanceof Element)||n?.shadowRoot)return;const o=It(n);if(!(o instanceof ne||o instanceof Document))return;const r=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return r?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const n=Ft(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?Vt(e,!0,!0):Pt(e,!1)&&(zt.set(e,t),Qt(e)))}(r),void t.preventDefault()):void 0})),i.addEventListener("keydown",(t=>{const e=t.key,n=t.target;t.defaultPrevented||!n||"Escape"!==e&&"Esc"!==e||Kt(n.ownerDocument,!0,!0)})),i.addEventListener("pointerdown",Zt),i.addEventListener("pointerup",Zt),se(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover(),this.postHide.emit())}async toggle(t,e){return this.eventTarget=t,this.toggleTimeoutId||(this.calculatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")}open(){const t=this.host.shadowRoot?.querySelector(".popover-content");if(this.startAutoupdates(),t){const e=ce[this.animation];"function"==typeof e?this.runOpenAnimation(e,t):(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce&&(this.hasOpenedOnce=!1))}this.safeSpace&&globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}close(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler),this.currentAnimation&&(this.currentAnimation.cancel(),this.currentAnimation=null),this.postBeforeToggle.emit({willOpen:!1}),this.postToggle.emit({isOpen:!1}),this.postHide.emit()}async runOpenAnimation(t,e){let n;try{if(n=t(e),!n)return this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),void this.postShow.emit({first:this.hasOpenedOnce});this.currentAnimation=n,"running"===n.playState&&(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce})),await n.finished,this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce=!0}catch(t){console.warn("Animation failed or was interrupted:",t),this.postBeforeToggle.emit({willOpen:!1}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!1})}finally{this.currentAnimation===n&&(this.currentAnimation=null)}}handleToggle(t){this.toggleTimeoutId=globalThis.setTimeout((()=>this.toggleTimeoutId=null),10),"open"===t.newState?this.open():this.close()}startAutoupdates(){this.eventTarget&&this.host&&(this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,l=at(t),u=r||i?[...l?rt(l):[],...e?rt(e):[]]:[];u.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const d=l&&a?function(t,e){let n,o=null;const r=B(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function s(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),i();const l=t.getBoundingClientRect(),{left:u,top:d,width:m,height:v}=l;if(a||e(),!m||!v)return;const g={rootMargin:-h(d)+"px "+-h(r.clientWidth-(u+m))+"px "+-h(r.clientHeight-(d+v))+"px "+-h(u)+"px",threshold:f(0,p(1,c))||1};let w=!0;function y(e){const o=e[0].intersectionRatio;if(o!==c){if(!w)return s();o?s(!1,o):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==o||bt(l,t.getBoundingClientRect())||s(),w=!1}try{o=new IntersectionObserver(y,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,g)}o.observe(t)}(!0),i}(l,n):null;let m,v=-1,g=null;s&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===l&&g&&e&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(e)}))),n()})),l&&!c&&g.observe(l),e&&g.observe(e));let w=c?ft(t):null;return c&&function e(){const o=ft(t);w&&!bt(w,o)&&n(),w=o,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=g)||t.disconnect(),g=null,c&&cancelAnimationFrame(m)}}(this.eventTarget,this.host,this.calculatePosition.bind(this)))}getHeaderHeight(){const t=document.querySelector("post-header");return t?Number.parseFloat(getComputedStyle(t).height):0}async calculatePosition(){const{x:e,y:n,middlewareData:o,placement:r}=await this.computeMainPosition(),i=r.split("-")[0];if(this.dynamicPlacement=i,this.host.style.left=`${e}px`,this.host.style.top=`${n}px`,this.arrow&&o.arrow){const{x:e,y:n}=o.arrow,r=t.STATIC_SIDES[i],s=-.5*this.arrowRef.offsetWidth;r&&Object.assign(this.arrowRef.style,{left:e?`${e}px`:"",top:n?`${n}px`:"",[r]:`${s}px`})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(i)}async computeMainPosition(){const t=this.edgeGap,e=(this.placement||"top").includes("-"),n=kt({padding:this.getHeaderHeight(),crossAxis:!1}),o=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=g(t,e),p={x:n,y:o},f=await i.detectOverflow(e,l),u=S(w(r)),h=x(u);let d=p[h],m=p[u];s&&(d=v(d+f["y"===h?"top":"left"],d,d-f["y"===h?"bottom":"right"])),a&&(m=v(m+f["y"===u?"top":"left"],m,m-f["y"===u?"bottom":"right"]));const y=c.fn({...e,[h]:d,[u]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[h]:s,[u]:a}}}}}}({padding:t,limiter:(i={offset:32},void 0===i&&(i={}),{options:i,fn(t){const{x:e,y:n,placement:o,rects:r,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=g(i,t),p={x:e,y:n},f=S(o),u=x(f);let h=p[u],d=p[f];const m=g(a,t),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const t="y"===u?"height":"width",e=r.reference[u]-r.floating[t]+v.mainAxis,n=r.reference[u]+r.reference[t]-v.mainAxis;h<e?h=e:h>n&&(h=n)}if(l){var y,b;const t="y"===u?"width":"height",e=F.has(w(o)),n=r.reference[f]-r.floating[t]+(e&&(null==(y=s.offset)?void 0:y[f])||0)+(e?0:v.crossAxis),i=r.reference[f]+r.reference[t]+(e?0:(null==(b=s.offset)?void 0:b[f])||0)-(e?v.crossAxis:0);d<n?d=n:d>i&&(d=i)}return{[u]:h,[f]:d}}})}),r=[St(this.offset??(this.arrow?t+4:t)),Tt(),...e?[n,o]:[o,n],Et({apply({availableWidth:e,availableHeight:n,elements:o}){o.floating.style.maxWidth=e-2*t+"px",o.floating.style.setProperty("--post-popovercontainer-available-height",n-2*t+"px")}})];var i;return this.arrow&&r.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:f=0}=g(t,e)||{};if(null==l)return{};const u=L(f),h={x:n,y:o},d=k(r),m=b(d),w=await s.getDimensions(l),x="y"===d,S=x?"top":"left",E=x?"bottom":"right",T=x?"clientHeight":"clientWidth",M=i.reference[m]+i.reference[d]-h[d]-i.floating[m],A=h[d]-i.reference[d],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let H=O?O[T]:0;H&&await(null==s.isElement?void 0:s.isElement(O))||(H=a.floating[T]||i.floating[m]);const $=M/2-A/2,D=H/2-w[m]/2-1,j=p(u[S],D),R=p(u[E],D),F=j,z=H-w[m]-R,C=H/2-w[m]/2+$,P=v(F,C,z),B=!c.arrow&&null!=y(r)&&C!==P&&i.reference[m]/2-(C<F?j:R)-w[m]/2<0,W=B?C<F?C-F:C-z:0;return{[d]:h[d]+W,data:{[d]:P,centerOffset:C-P-W,...B&&{alignmentOffset:W}},reset:B}}}))({element:this.arrowRef,padding:t})),((t,e,n)=>{const o=new Map,r={platform:xt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:j},c=await(null==s.isRTL?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=D(l,o,c),u=o,h=0;const d={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:v,fn:g}=m,{x:w,y,data:x,reset:b}=await g({x:p,y:f,initialPlacement:o,placement:u,strategy:r,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});p=null!=w?w:p,f=null!=y?y:f,d[v]={...d[v],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(u=b.placement),b.rects&&(l=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:p,y:f}=D(l,u,c))),n=-1)}return{x:p,y:f,placement:u,strategy:r,middlewareData:d}})(t,e,{...r,platform:i})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:r})}async updateSafeSpaceBoundaries(e){const n=this.eventTarget.getBoundingClientRect(),o="top"===e||"bottom"===e,r=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(e,this.host.getBoundingClientRect(),n);t.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${r.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${r.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${r.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${r.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${r.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${r.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${r.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${r.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${r.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${r.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${r.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${r.trigger.yEnd}px`))}render(){return o(r,{key:"468af4ce773ab7c5d4feb4320c33175347ceca3d","data-version":s,popover:"auto"},o("div",{key:"f8a78f27bf46079134b75d468b44ad40d15a0001",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&o("span",{key:"9d92eaec690d67bdbf3b991274c2351744628519","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:t=>{this.arrowRef=t}}),o("span",{key:"a1dd28b0ddd3af5792199f47e7a921eb14b86f93",part:"post-popovercontainer-border-mask"}),o("div",{key:"94e84d35042983d832d6f0e9f8c01b68428d1401",class:"popover-scroll"},o("slot",{key:"28909f395a3ed25f489458f94de79c3c1ae309c9"}))))}get host(){return this}static get style(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{box-shadow:var(--post-device-elevation-300);width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host .popover-scroll{max-height:var(--post-popovercontainer-available-height, none);overflow-y:auto}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{border-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}'}},[257,"post-popovercontainer",{placement:[1],edgeGap:[2,"edge-gap"],offset:[2],arrow:[4],safeSpace:[513,"safe-space"],dynamicPlacement:[32],show:[64],hide:[64],toggle:[64]}]);function pe(){"undefined"!=typeof customElements&&["post-popovercontainer"].forEach((t=>{"post-popovercontainer"===t&&(customElements.get(i(t))||customElements.define(i(t),le))}))}le.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},le.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"],ae([a(l)],le.prototype,"placement",void 0),ae([c("number")],le.prototype,"edgeGap",void 0),ae([a(["triangle","trapezoid"])],le.prototype,"safeSpace",void 0),pe();export{le as P,l as a,pe as d}
@@ -0,0 +1 @@
1
+ import{c as r,g as t}from"./p-Bji_4dfL.js";function o(o){return r({priority:1,blocking:!1,run(r,n){const{value:s,showError:i}=t(r,n);return!("string"!=typeof s||!o.test(s))||(i(`must match ${o}`),!1)}})}export{o as P}
@@ -0,0 +1 @@
1
+ import{p as e,H as t,c as s,h as o,a as i,t as n}from"./index.js";import{d as a,a as r}from"./p-B9ZFuYey.js";import"./p-Bji_4dfL.js";import{E as h}from"./p-rEfV4v4a.js";import{g as c}from"./p-DsaGKkkf.js";import{g as l}from"./p-08F-DB-d.js";import{v as d}from"./p-ClG-N42b.js";import{O as p}from"./p-BaB8wJvk.js";import{R as m}from"./p-4wtxqxXu.js";import{T as f}from"./p-B_WnO-QF.js";var u=function(e,t,s,o){var i,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,o);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(a=(n<3?i(a):n>3?i(t,s,a):i(t,s))||a);return n>3&&a&&Object.defineProperty(t,s,a),a};const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.toggleMenu=s(this,"toggleMenu"),this.lastFocusedElement=null,this.KEYCODES={SPACE:" ",ENTER:"Enter",UP:"ArrowUp",DOWN:"ArrowDown",TAB:"Tab",HOME:"Home",END:"End",ESCAPE:"Escape"},this.placement="bottom",this.isVisible=!1,this.handleKeyDown=e=>{e.stopPropagation(),e.key!==this.KEYCODES.ESCAPE?Object.values(this.KEYCODES).includes(e.key)&&this.controlKeyDownHandler(e):this.toggle(this.host)},this.handleClick=e=>{["BUTTON","A","INPUT","SELECT","TEXTAREA"].includes(e.target.tagName)&&this.toggle(this.host)}}connectedCallback(){this.root=l(this.host),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick)}disconnectedCallback(){this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick)}async toggle(e){this.popoverRef?await this.popoverRef.toggle(e):console.error("toggle: popoverRef is null or undefined")}async show(e){this.popoverRef?await this.popoverRef.show(e):console.error("show: popoverRef is null or undefined")}async hide(){this.popoverRef?await this.popoverRef.hide():console.error("hide: popoverRef is null or undefined")}handlePostShown(e){if(e.detail.first){this.host.setAttribute("role","menu");const e=this.getSlottedItems();for(const t of e)t.setAttribute("role","menuitem");this.label&&this.host.setAttribute("aria-label",this.label)}}handlePostBeforeToggle(e){this.isVisible=e.detail.willOpen,this.toggleMenu.emit(this.isVisible),this.isVisible?(this.lastFocusedElement=this.root?.activeElement,requestAnimationFrame((()=>{const e=this.getSlottedItems();e.length>0&&e[0].focus()}))):this.lastFocusedElement&&this.lastFocusedElement.focus()}controlKeyDownHandler(e){const t=this.getSlottedItems();if(0===t.length)return;let s=t.findIndex((e=>e===l(e).activeElement));switch(e.key){case this.KEYCODES.UP:e.preventDefault(),s=(s-1+t.length)%t.length;break;case this.KEYCODES.DOWN:e.preventDefault(),s=(s+1)%t.length;break;case this.KEYCODES.HOME:e.preventDefault(),s=0;break;case this.KEYCODES.END:e.preventDefault(),s=t.length-1;break;case this.KEYCODES.SPACE:return void this.toggle(this.host);case this.KEYCODES.TAB:this.toggle(this.host)}t[s]&&t[s].focus()}getSlottedItems(){const e=this.host.shadowRoot.querySelectorAll("slot"),t=[];return e.forEach((e=>t.push(...e.assignedElements()))),t.flatMap((e=>e instanceof HTMLSlotElement?e.assignedElements():e)).flatMap((e=>[...c(e),...e.shadowRoot?c(e.shadowRoot):[]]))}render(){return o(i,{key:"c5f2f3e06c6deb847959a573e450beb2b17f35a2","data-version":d},o("post-popovercontainer",{key:"3625a55c753d763313f0a17f0f8993bbcb39975d",onPostShow:this.handlePostShown.bind(this),onPostBeforeToggle:this.handlePostBeforeToggle.bind(this),placement:this.placement,ref:e=>this.popoverRef=e},o("div",{key:"f296e5a99e12ee97c09206df7c05db394a4ae181",part:"post-menu"},o("slot",{key:"7c322af6cc8e67b9c18c645920d8af7bbcab953f",name:"header"}),o("slot",{key:"d17b77c7c12a38991d25fc251144198ed763cbbb"}))))}get host(){return this}static get style(){return":host{display:block}:where([part=post-menu]){display:flex;flex-direction:column;padding-block:.5rem}::slotted([slot=header]){margin-top:-0.5rem;padding:1rem;display:flex;align-items:center;gap:.5rem;border-block-end:1px solid #050400;font-weight:700}@media screen and (max-width: 1023.98px){::slotted([slot=header]){padding:.75rem 1rem}}@media screen and (max-width: 779.98px){::slotted([slot=header]){padding:.5rem 1rem}}"}},[257,"post-menu",{placement:[1],label:[513],isVisible:[32],toggle:[64],show:[64],hide:[64]}]);function g(){"undefined"!=typeof customElements&&["post-menu","post-popovercontainer"].forEach((e=>{switch(e){case"post-menu":customElements.get(n(e))||customElements.define(n(e),b);break;case"post-popovercontainer":customElements.get(n(e))||a()}}))}u([p(r)],b.prototype,"placement",void 0),u([m(),f("string")],b.prototype,"label",void 0),u([h("post-popovercontainer")],b.prototype,"handlePostShown",null),u([h("post-popovercontainer")],b.prototype,"handlePostBeforeToggle",null),g();export{b as P,g as d}
@@ -0,0 +1 @@
1
+ import{c as r,g as o}from"./p-Bji_4dfL.js";function t(t){return r({priority:1,blocking:!1,run(r,a){const{value:e,showError:n}=o(r,a),s="array"===t,i=Array.isArray(e);return!!(s||i?i===s:typeof e===t)||(n(`must be of type "${t}"`),!1)}})}export{t as T}
@@ -0,0 +1 @@
1
+ import{c as r,g as o}from"./p-Bji_4dfL.js";function n(n){return r({priority:1,blocking:!1,run(r,t){const{value:s,showError:e}=o(r,t);return!!n.includes(s)||(e(`must be one of [${n.join(", ")}]`),!1)}})}export{n as O}
@@ -0,0 +1 @@
1
+ import{p as e,t,H as s,h as o,a}from"./index.js";import"./p-Bji_4dfL.js";import{E as i}from"./p-rEfV4v4a.js";import{v as r}from"./p-ClG-N42b.js";import{R as l}from"./p-4wtxqxXu.js";import{O as n}from"./p-BaB8wJvk.js";var c=function(e,t,s,o){var a,i=arguments.length,r=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(r=(i<3?a(r):i>3?a(t,s,r):a(t,s))||r);return i>3&&r&&Object.defineProperty(t,s,r),r};const d=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.expandedItems=new Set,this.multiple=!1}syncHeadingLevel(){this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(this.headingLevel))}))}componentWillLoad(){this.registerAccordionItems()}componentDidLoad(){this.syncHeadingLevel()}collapseToggleHandler(e){const t=e.target,s=this.expandedItems.has(t);s?this.expandedItems.delete(t):this.expandedItems.add(t),this.multiple||s||Array.from(this.expandedItems.values()).filter((e=>e!==t)).forEach((e=>{e.toggle(!1)}))}async toggle(e){const t=this.accordionItems.find((t=>t.id===e));if(!t)throw new Error(`No post-accordion-item found with id #${e}.`);await t.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((e=>e.toggle(!0)))):0===this.expandedItems.size&&await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((e=>e.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((e=>!e.collapsed||this.expandedItems.has(e))).forEach(((e,t)=>{this.multiple||0===t?this.expandedItems.add(e):e.setAttribute("collapsed","")}))}render(){return o(a,{key:"27862337a90223900241d38a1b1d27cb5923acba","data-version":r},o("div",{key:"e858da8742240aa57f72ac04a4253d5e88910295",class:"accordion"},o("slot",{key:"004ab6089b44a2528ea56cffed3bef0791dae068",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return this}static get watchers(){return{headingLevel:[{syncHeadingLevel:0}]}}static get style(){return":host{display:block;border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}"}},[257,"post-accordion",{headingLevel:[514,"heading-level"],multiple:[516],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:[{syncHeadingLevel:0}]}]);function h(){"undefined"!=typeof customElements&&["post-accordion"].forEach((e=>{"post-accordion"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))}c([l(),n([1,2,3,4,5,6])],d.prototype,"headingLevel",void 0),c([i("post-accordion-item")],d.prototype,"collapseToggleHandler",null),h();export{d as P,h as d}
@@ -0,0 +1 @@
1
+ import{g as t}from"./index.js";const e=[void 0,null,"",Number.NaN];function n(t){return e.some((e=>Object.is(e,t)))}const i=new WeakSet,o=new WeakSet,s=new WeakMap,c=new WeakMap,r=new WeakMap,u=new WeakMap;function a(t,e,n){let i=t.get(e);return i||(i=n(),t.set(e,i)),i}function f(t){return a(c,t,(()=>new Set))}function d(t){return a(r,t,(()=>new Map))}function h(t,e,n){v(t,e);const i=a(u,t,(()=>new Map));a(i,e,(()=>new Set)).add(n)}function v(t,e){const n=Object.getOwnPropertyDescriptor(t,e);n&&n.get||Object.defineProperty(t,e,{get(){return d(this).get(e)},set(t){if(d(this).set(e,t),o.has(this)){l(this,e);const t=Object.getPrototypeOf(this),n=u.get(t);if(n){const t=n.get(e);if(t)for(const e of t)l(this,e)}}},enumerable:!0,configurable:!0})}function l(t,e){const i=Object.getPrototypeOf(t),o=s.get(i);if(!o)return;const c=o.get(e);if(!c||0===c.length)return;const r=[...c].sort(((t,e)=>t.priority-e.priority)),u=n(t[e]);for(const n of r)if((!u||n.validateEmptyValues)&&!n.run(t,e)&&n.blocking)break}function b(t){return function(e,n){v(e,n),function(t){if(i.has(t))return;i.add(t);const e="componentDidLoad"in t&&"function"==typeof t.componentDidLoad?t.componentDidLoad:void 0;Object.defineProperty(t,"componentDidLoad",{writable:!0,configurable:!0,value:function(...t){o.add(this);const n=f(Object.getPrototypeOf(this));for(const t of n)l(this,t);if(e)return e.apply(this,t)}})}(e),f(e).add(n),function(t,e){const n=a(s,t,(()=>new Map));return a(n,e,(()=>[]))}(e,n).push(t)}}function m(e,n){const i=t(e),o=i.localName,s=e[n];return{value:s,showError(t){console.error(`[${o}] Property "${String(n)}" ${t}. Received: ${JSON.stringify(s)}.`,i)}}}function p(t,e,n){var i,o=n||{},s=o.noTrailing,c=void 0!==s&&s,r=o.noLeading,u=void 0!==r&&r,a=o.debounceMode,f=void 0===a?void 0:a,d=!1,h=0;function v(){i&&clearTimeout(i)}function l(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var r=this,a=Date.now()-h;function l(){h=Date.now(),e.apply(r,o)}function b(){i=void 0}d||(u||!f||i||l(),v(),void 0===f&&a>t?u?(h=Date.now(),c||(i=setTimeout(f?b:l,t))):l():!0!==c&&(i=setTimeout(f?b:l,void 0===f?t-a:t)))}return l.cancel=function(t){var e=(t||{}).upcomingOnly,n=void 0!==e&&e;v(),d=!n},l}function w(t,e){var n={}.atBegin;return p(t,e,{debounceMode:!1!==(void 0!==n&&n)})}const k=new class{constructor(){this.breakpoints=[{key:"xl",device:"desktop",minWidth:1280},{key:"lg",device:"desktop",minWidth:1024},{key:"md",device:"tablet",minWidth:780},{key:"sm",device:"tablet",minWidth:600},{key:"xs",device:"mobile",minWidth:0}],this.resizeObserver=globalThis.ResizeObserver?new ResizeObserver((()=>this.updateCurrentBreakpoint())):null,this.updateCurrentBreakpoint=p(50,((t={emitEvents:!0})=>{const e=this.currentBreakpoint,n=this.breakpoints.find((t=>t.minWidth<=innerWidth));n&&(this.currentBreakpoint=n,t.emitEvents&&Object.keys(this.currentBreakpoint).filter((t=>!e||this.currentBreakpoint[t]!==e[t])).forEach((t=>this.dispatchEvent(t))))})),this.resizeObserver&&(this.updateCurrentBreakpoint({emitEvents:!1}),this.resizeObserver.observe(document.body))}dispatchEvent(t){globalThis.dispatchEvent(new CustomEvent(`postBreakpoint:${t}`,{detail:this.currentBreakpoint[t]}))}get(t){return this.updateCurrentBreakpoint({emitEvents:!1}),this.currentBreakpoint[t]}};export{k as b,b as c,w as d,m as g,n as i,h as r,p as t}
@@ -0,0 +1 @@
1
+ import{p as t,H as e,h as i,a,t as s}from"./index.js";import"./p-Bji_4dfL.js";import{v as r}from"./p-ClG-N42b.js";import{P as o}from"./p-BXqGI600.js";import{R as n}from"./p-4wtxqxXu.js";import{T as c}from"./p-B_WnO-QF.js";var d=function(t,e,i,a){var s,r=arguments.length,o=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(r<3?s(o):r>3?s(e,i,o):s(e,i))||o);return r>3&&o&&Object.defineProperty(e,i,o),o};const l=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;var h;!function(t){t.Slotted="slotted",t.Image="image",t.Initials="initials",t[t.Null=null]="Null"}(h||(h={}));const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.avatarType=null,this.imageUrl="",this.imageAlt="",this.initials="",this.storageKey=""}updateEmail(){this.getAvatarImage()}async getAvatarImage(){let t=!1;this.slottedImage=this.host.querySelector("img");const e=this.slottedImage?.getAttribute("src");e?await this.getImageByProp(e,this.fetchSlottedImage.bind(this))?this.slottedImage.style.display="block":(this.slottedImage.style.display="none",this.avatarType=h.Initials):(this.email?.match(l)&&(t=await this.getImageByProp(this.email,this.fetchImageByEmail.bind(this))),t||(this.avatarType=h.Initials))}async getImageByProp(t,e){if(!t)return!1;let i;try{i=await e(t)}catch(t){return console.info("Loading avatar image failed.",t),!1}return!!i?.ok&&(this.imageUrl=i.url,this.imageAlt=`${this.firstname} ${this.lastname} avatar`,this.avatarType=h.Image,!0)}async fetchImageByEmail(){const t=await async function(t){return await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then((t=>Array.from(new Uint8Array(t)).map((t=>t.toString(16).padStart(2,"0"))).join("")))}(this.email),e="https://www.gravatar.com/avatar/{email}?s=80&d=404&r=g".replace("{email}",t);return await fetch(e)}async fetchSlottedImage(t){return await fetch(t,{method:"HEAD"})}slotChanged(){const t=this.host.shadowRoot.querySelector("slot");(t?.assignedNodes({flatten:!0})||[]).forEach((t=>{t.nodeType===Node.ELEMENT_NODE&&"IMG"===t.tagName&&this.observeImageSrcChanges(t)})),this.getAvatarImage()}observeImageSrcChanges(t){this.slottedImageObserver&&this.slottedImageObserver.disconnect(),this.slottedImageObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"src"===t.attributeName&&this.getAvatarImage()}))})),this.slottedImageObserver.observe(t,{attributes:!0,attributeFilter:["src"]})}connectedCallback(){this.avatarType=h.Initials,this.getAvatarImage()}render(){const t=[this.firstname,this.lastname].filter(Boolean).map((t=>t.trim())),e=t.map((t=>t.charAt(0))).join("").trim(),s=t.join(" ");return i(a,{key:"85af49f5beca48bec805f9c126e635b8b1042de3","data-version":r},i("span",{key:"950d20eeb38eae131bd2e459741ab03f7208ec37",class:"slotted"===this.avatarType?"":"d-none"},i("slot",{key:"5404e8d04de78e9c95d7b7e0b1dbb42fb6afc3e6",onSlotchange:this.slotChanged.bind(this)})),"image"===this.avatarType&&i("img",{key:"0d9c7b0f74e99072544eaa94b408d8e70f5cef57",src:this.imageUrl,alt:this.imageAlt}),"initials"===this.avatarType&&i("span",{key:"e7260e54f5510707b19016badad66920df6b38f0",class:"initials"},e,i("span",{key:"647fe23a98a1338936ce701024bae944d6cce7ae"},this.description??s)))}get host(){return this}static get watchers(){return{email:[{updateEmail:0}]}}static get style(){return':host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase;font-weight:400;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms}.initials span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}'}},[257,"post-avatar",{firstname:[513],lastname:[1],email:[1],description:[1],slottedImage:[32],avatarType:[32],imageUrl:[32],imageAlt:[32],initials:[32],storageKey:[32]},void 0,{email:[{updateEmail:0}]}]);function m(){"undefined"!=typeof customElements&&["post-avatar"].forEach((t=>{"post-avatar"===t&&(customElements.get(s(t))||customElements.define(s(t),p))}))}d([n(),c("string")],p.prototype,"firstname",void 0),d([c("string")],p.prototype,"lastname",void 0),d([o(l)],p.prototype,"email",void 0),d([c("string")],p.prototype,"description",void 0),m();export{p as P,m as d}
@@ -0,0 +1 @@
1
+ import{p as t,H as s,h as e,a as i,t as o}from"./index.js";import"./p-Bji_4dfL.js";import{E as l}from"./p-rEfV4v4a.js";import{g as r}from"./p-08F-DB-d.js";import{v as a}from"./p-ClG-N42b.js";import{T as n}from"./p-B_WnO-QF.js";var c=function(t,s,e,i){var o,l=arguments.length,r=l<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(l<3?o(r):l>3?o(s,e,r):o(s,e))||r);return l>3&&r&&Object.defineProperty(s,e,r),r};const h=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.observer=new MutationObserver((()=>this.setTrigger())),this.handlePostToggle=this.handlePostToggle.bind(this)}connectedCallback(){this.root=r(this.host),this.root.addEventListener("postToggle",this.handlePostToggle),this.observer.observe(this.host,{childList:!0,subtree:!0})}componentDidLoad(){this.setTrigger(),this.trigger||console.warn("The post-collapsible-trigger must contain a button."),this.collapsible||console.warn(`No post-collapsible found ${this.for?`with id "${this.for}"`:"nested inside <post-collapsible-trigger>"}. Either nest a post-collapsible inside the trigger or set the "for" attribute to the id of the collapsible.`)}disconnectedCallback(){this.observer.disconnect(),this.root?.removeEventListener("postToggle",this.handlePostToggle)}async update(){this.updateAriaAttributes()}handlePostToggle(t){this.trigger&&this.trigger.setAttribute("aria-expanded",`${t.detail}`)}updateAriaAttributes(){const t=this.collapsible;if(!this.trigger||!t)return;t.id||(t.id=`collapsible-${crypto.randomUUID()}`);const s=t.id,e=this.trigger.getAttribute("aria-controls"),i=e?e.split(/\s+/):[];i.includes(s)||(i.push(s),this.trigger.setAttribute("aria-controls",i.join(" "))),this.trigger.setAttribute("aria-expanded",`${!t.collapsed}`)}async toggleCollapsible(){await(this.collapsible?.toggle())}get collapsible(){const t=this.host.querySelector("post-collapsible")??(this.for?this.root?.getElementById(this.for)??null:null);return t&&"post-collapsible"===t.localName?t:null}setTrigger(){const t=Array.from(this.host.querySelectorAll("button")).find((t=>{const s=t.closest("post-collapsible");return!(s&&this.host.contains(s))}));!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger=t,this.trigger.addEventListener("click",(()=>this.toggleCollapsible())),this.updateAriaAttributes())}render(){return e(i,{key:"40cfa7d940136d4bce5de0c2b37fca91187110f8","data-version":a},e("slot",{key:"b8853f5be4361e59537b00d6fd60e6e42b7ea64d"}))}get host(){return this}},[257,"post-collapsible-trigger",{for:[513],update:[64]}]);function p(){"undefined"!=typeof customElements&&["post-collapsible-trigger"].forEach((t=>{"post-collapsible-trigger"===t&&(customElements.get(o(t))||customElements.define(o(t),h))}))}c([n("string")],h.prototype,"for",void 0),c([l("post-collapsible")],h.prototype,"handlePostToggle",null),p();export{h as P,p as d}
@@ -0,0 +1 @@
1
+ import{p as t,H as e,c as s,h as o,a as i,t as l}from"./index.js";import"./p-Bji_4dfL.js";import{v as a}from"./p-ClG-N42b.js";import{T as r}from"./p-B_WnO-QF.js";const n={height:"0",overflow:"hidden"},h={duration:!globalThis.matchMedia||globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches?0:350,easing:"ease",fill:"forwards"};const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postToggle=s(this,"postToggle"),this.collapsed=!1}get isExpanded(){return!this.collapsed}componentDidLoad(){this.updateTriggers()}async toggle(t=!this.isExpanded){if(t===this.isExpanded)return this.isExpanded;this.collapsed=!t;const e=this.isExpanded;{const t=e?(s=this.host).animate([n,{height:`${s.scrollHeight}px`,offset:1,overflow:"hidden"},{height:"auto",overflow:"visible"}],h):function(t){const e=globalThis.getComputedStyle(t).height;return t.animate([{height:e},n],h)}(this.host);this.postToggle.emit(e),await t.finished,t.commitStyles(),this.updateTriggers()}var s;return e}updateTriggers(){const t=this.host.id?Array.from(document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`)):[],e=this.host.closest("post-collapsible-trigger");e&&!t.includes(e)&&t.push(e),t.forEach((t=>t.update()))}render(){return o(i,{key:"5683b1c0346d1ed8aa6aa5ef8583654511ff0638","data-version":a,tabindex:this.collapsed?-1:void 0,style:this.collapsed?n:void 0},o("slot",{key:"3271677498e00e964ee17733aa2871a12e57858c"}))}get host(){return this}static get style(){return":host{display:block;position:relative;overflow:var(--post-collapsible-initial-overflow, hidden);height:var(--post-collapsible-initial-height, auto)}"}},[257,"post-collapsible",{collapsed:[1028],toggle:[64]}]);function p(){"undefined"!=typeof customElements&&["post-collapsible"].forEach((t=>{"post-collapsible"===t&&(customElements.get(l(t))||customElements.define(l(t),c))}))}(function(t,e,s,o){var i,l=arguments.length,a=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,o);else for(var r=t.length-1;r>=0;r--)(i=t[r])&&(a=(l<3?i(a):l>3?i(e,s,a):i(e,s))||a);l>3&&a&&Object.defineProperty(e,s,a)})([r("boolean")],c.prototype,"collapsed",void 0),p();export{c as P,p as d}
@@ -0,0 +1 @@
1
+ import{c as t,g as r}from"./p-Bji_4dfL.js";function o(){return t({priority:1,blocking:!1,run(t,o){const{value:n,showError:s}=r(t,o);let i="string"==typeof n||n instanceof URL;if(i)try{new URL(n,"https://www.post.ch")}catch{i=!1}return!!i||(s("must be a valid URL"),!1)}})}export{o as U}
@@ -0,0 +1 @@
1
+ import{p as t,H as s,h as e,a as o,t as i}from"./index.js";import"./p-Bji_4dfL.js";import{g as n}from"./p-08F-DB-d.js";import{v as r}from"./p-ClG-N42b.js";import{R as a}from"./p-4wtxqxXu.js";import{T as h}from"./p-B_WnO-QF.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.updateAriaExpanded=this.updateAriaExpanded.bind(this)}connectedCallback(){this.root=n(this.host)}componentDidLoad(){this.setAriaAttributes(),this.root&&this.root.addEventListener("toggleMenu",this.updateAriaExpanded)}disconnectedCallback(){this.root.removeEventListener("toggleMenu",this.updateAriaExpanded)}updateAriaExpanded(t){const s=t.target;"post-menu"===s.localName&&s.id===this.for&&this.slottedButton.setAttribute("aria-expanded",t.detail.toString())}setAriaAttributes(){const t=this.host.querySelectorAll("button");1===t.length?(this.slottedButton=t.item(0),this.slottedButton.setAttribute("type","button"),this.slottedButton.setAttribute("aria-haspopup","menu"),this.slottedButton.setAttribute("aria-expanded","false"),this.slottedButton.addEventListener("click",this.handleToggle.bind(this)),this.slottedButton.addEventListener("keydown",this.handleKeyDown.bind(this))):console.warn(`The post-menu-trigger should contain exactly one button (${t.length} found).`)}handleKeyDown(t){"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.handleToggle())}handleToggle(){const t=this.getMenu();t&&t.toggle(this.host)}getMenu(){const t=this.root.getElementById(this.for);return t&&"post-menu"===t.localName?t:(console.warn(`No post-menu found with ID: ${this.for}`),null)}render(){return e(o,{key:"53cdf95c4eaaf430f0ada66aa69588b7830903f9","data-version":r},e("slot",{key:"ae764b0b2b93cd7934fd39ef68084871ddd3f94f"}))}get host(){return this}static get style(){return":host{display:inline-block}"}},[257,"post-menu-trigger",{for:[513]}]);function d(){"undefined"!=typeof customElements&&["post-menu-trigger"].forEach((t=>{"post-menu-trigger"===t&&(customElements.get(i(t))||customElements.define(i(t),c))}))}(function(t,s,e,o){var i,n=arguments.length,r=n<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(r=(n<3?i(r):n>3?i(s,e,r):i(s,e))||r);n>3&&r&&Object.defineProperty(s,e,r)})([a(),h("string")],c.prototype,"for",void 0),d();export{c as P,d}
@@ -0,0 +1 @@
1
+ import{p as o,H as e,h as t,a as i,t as c}from"./index.js";import"./p-Bji_4dfL.js";import{E as a}from"./p-rEfV4v4a.js";import{n as s}from"./p-8LXe8Zt_.js";import{v as r}from"./p-ClG-N42b.js";import{d as n}from"./p-BxoRVIIr.js";import{d}from"./p-Bu2JeHDf.js";import{d as l}from"./p-D1zw8FxT.js";const p=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.collapsed=!1}componentWillLoad(){this.id=this.host.id||`p${s(6)}`}onCollapseToggle(o){this.collapsed=!o.detail}async toggle(o){return this.collapsible.toggle(o)}onSlotLogoChange(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}componentWillRender(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}render(){const o=this.host.closest("post-accordion")?.getAttribute("heading-level");return t(i,{key:"67b3be2ea798d007c3c05fafaa95d447bd3245b4",id:this.id,"data-version":r},t("post-collapsible-trigger",{key:"2c545ead0717cefef325576125b548db4c7d6e11",for:`${this.id}--collapse`},t(`h${o??this.headingLevel??2}`,{key:"82840144efc0588a73f5aaa734e1492acccd498e",class:"accordion-header",id:`${this.id}--header`},t("button",{key:"bfd05c00e2df07800a20a9e0b69e6b918d80085d",type:"button",class:"accordion-button"+(this.collapsed?" collapsed":""),part:"post-accordion-button"},t("span",{key:"af2e574d4e521316f9d5e4da040d777e0384c783",class:{"logo-container":!0,"has-image":!!this.slottedLogo}},t("slot",{key:"178cf7d6e26f52d8fe2fc15ef026db4bd51ff70c",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),t("slot",{key:"c160f107a8bc7be52a538f6f19ffaa25fa4a729d",name:"header"}),t("post-icon",{key:"19d621e055e1973d1a0e3e7cb750a88101f962d3",name:"chevronup"})))),t("post-collapsible",{key:"f0ff63e67476cc05467db907e010cd1c026aa044",id:`${this.id}--collapse`,collapsed:this.collapsed,ref:o=>this.collapsible=o},t("div",{key:"73418485496fa27ecc98e068317e39cea6dd8f2b",class:"accordion-body",part:"post-accordion-body"},t("slot",{key:"7a0e5d6c3b8da2e3170b5e47104d3ff4509b2040"}))))}get host(){return this}static get style(){return':host{display:block;border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}:host:has(.accordion-button:hover){border-block-end-color:var(--post-scheme-color-interactive-primary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host:has(.accordion-button:hover){border-block-end-color:Highlight}}:host([collapsed]) .accordion-button post-icon{transform:rotate(-180deg)}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black)}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding-block:var(--post-device-spacing-padding-19);padding-inline:var(--post-device-spacing-padding-5);border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) rgba(0,0,0,0);cursor:pointer;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button{background-color:ButtonFace !important}.accordion-button:hover{background-color:Highlight !important}}.accordion-button::before{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::before{outline-style:var(--post-core-border-style-solid) !important;display:block;content:"";position:absolute;inset:calc(var(--post-device-border-width-default)*-1) 0 calc(var(--post-device-border-width-default)*-1);border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::before{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus)::before{outline-style:var(--post-core-border-style-solid) !important;display:block;content:"";position:absolute;inset:calc(var(--post-device-border-width-default)*-1) 0 calc(var(--post-device-border-width-default)*-1);border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus)::before{outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transform:var(--post-accordion-icon-initial-transform, none)}.accordion-button.collapsed{padding-block-start:var(--post-device-spacing-padding-19);padding-block-end:var(--post-device-spacing-padding-19)}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover,.accordion-button:focus-visible{color:Highlight}}post-collapsible{margin-block-end:calc(var(--post-device-border-width-default)*-1)}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:var(--post-device-spacing-padding-block-25);padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}'}},[257,"post-accordion-item",{collapsed:[1540],headingLevel:[2,"heading-level"],id:[32],slottedLogo:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]]]);function b(){"undefined"!=typeof customElements&&["post-accordion-item","post-collapsible","post-collapsible-trigger","post-icon"].forEach((o=>{switch(o){case"post-accordion-item":customElements.get(c(o))||customElements.define(c(o),p);break;case"post-collapsible":customElements.get(c(o))||n();break;case"post-collapsible-trigger":customElements.get(c(o))||d();break;case"post-icon":customElements.get(c(o))||l()}}))}(function(o,e,t,i){var c,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,t,i);else for(var r=o.length-1;r>=0;r--)(c=o[r])&&(s=(a<3?c(s):a>3?c(e,t,s):c(e,t))||s);a>3&&s&&Object.defineProperty(e,t,s)})([a("post-accordion-item")],p.prototype,"onCollapseToggle",null),b();export{p as P,b as d}
@@ -0,0 +1 @@
1
+ const t="10.0.0-next.72";export{t as v}