@swisspost/design-system-components 10.6.0 → 10.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/dist/cjs/{create-validator-decorator-Cy5yN6u9.js → create-validator-decorator-DVm_SDrR.js} +1 -1
  2. package/dist/cjs/{index-B3PXzvDk.js → index-DY4QxKNv.js} +5 -5
  3. package/dist/cjs/is-focus-visible-B3CqVQsX.js +19 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{one-of-CRFrfihj.js → one-of-qu7_EPxf.js} +1 -1
  6. package/dist/cjs/{package-pKyFPwiA.js → package-DAEQGHsE.js} +1 -1
  7. package/dist/cjs/{pattern-D329DFcf.js → pattern-EpwCKMyC.js} +1 -1
  8. package/dist/cjs/post-accordion_2.cjs.entry.js +6 -6
  9. package/dist/cjs/post-autocomplete.cjs.entry.js +5 -5
  10. package/dist/cjs/post-avatar.cjs.entry.js +85 -61
  11. package/dist/cjs/post-back-to-top.cjs.entry.js +6 -6
  12. package/dist/cjs/post-banner.cjs.entry.js +5 -5
  13. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +8 -8
  14. package/dist/cjs/post-breadcrumbs.cjs.entry.js +7 -7
  15. package/dist/cjs/post-closebutton_14.cjs.entry.js +477 -593
  16. package/dist/cjs/post-collapsible_2.cjs.entry.js +13 -7
  17. package/dist/cjs/post-components.cjs.js +2 -2
  18. package/dist/cjs/post-date-picker.cjs.entry.js +43 -27
  19. package/dist/cjs/post-footer.cjs.entry.js +6 -6
  20. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  21. package/dist/cjs/post-listbox-option.cjs.entry.js +2 -2
  22. package/dist/cjs/post-listbox.cjs.entry.js +2 -2
  23. package/dist/cjs/post-number-input.cjs.entry.js +3 -3
  24. package/dist/cjs/post-pagination.cjs.entry.js +6 -6
  25. package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
  26. package/dist/cjs/post-popover.cjs.entry.js +9 -9
  27. package/dist/cjs/post-progressbar.cjs.entry.js +3 -3
  28. package/dist/cjs/post-rating.cjs.entry.js +5 -5
  29. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +5 -5
  30. package/dist/cjs/post-side-navigation.cjs.entry.js +14 -9
  31. package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
  32. package/dist/cjs/post-stepper.cjs.entry.js +6 -6
  33. package/dist/cjs/post-tab-item.cjs.entry.js +5 -5
  34. package/dist/cjs/post-tab-panel.cjs.entry.js +5 -5
  35. package/dist/cjs/post-tabs.cjs.entry.js +8 -8
  36. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +6 -6
  37. package/dist/cjs/post-tooltip.cjs.entry.js +8 -6
  38. package/dist/cjs/{required-DhAEd0c7.js → required-Dgzo-rb5.js} +1 -1
  39. package/dist/cjs/{type-2Ma9dvHs.js → type-DBRxpBZI.js} +1 -1
  40. package/dist/cjs/{url-DePscsTj.js → url-Dl1JABeP.js} +1 -1
  41. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  42. package/dist/collection/components/post-avatar/avatar-utils.js +1 -2
  43. package/dist/collection/components/post-avatar/post-avatar.js +77 -59
  44. package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -1
  45. package/dist/collection/components/post-banner/post-banner.css +1 -1
  46. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
  47. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
  48. package/dist/collection/components/post-closebutton/post-closebutton.css +1 -1
  49. package/dist/collection/components/post-collapsible/post-collapsible.js +9 -3
  50. package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
  51. package/dist/collection/components/post-date-picker/post-date-picker.js +36 -22
  52. package/dist/collection/components/post-footer/post-footer.css +1 -1
  53. package/dist/collection/components/post-header/post-header.css +1 -1
  54. package/dist/collection/components/post-header/post-header.js +38 -13
  55. package/dist/collection/components/post-language-menu/post-language-menu.css +1 -1
  56. package/dist/collection/components/post-language-menu/post-language-menu.js +1 -1
  57. package/dist/collection/components/post-logo/post-logo.css +1 -1
  58. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
  59. package/dist/collection/components/post-megadropdown/post-megadropdown.js +34 -16
  60. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
  61. package/dist/collection/components/post-menu/post-menu.css +1 -1
  62. package/dist/collection/components/post-menu/post-menu.js +3 -14
  63. package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
  64. package/dist/collection/components/post-number-input/post-number-input.css +2 -2
  65. package/dist/collection/components/post-pagination/post-pagination.css +1 -1
  66. package/dist/collection/components/post-popover/post-popover.css +1 -1
  67. package/dist/collection/components/post-popover/post-popover.js +2 -2
  68. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  69. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +211 -323
  70. package/dist/collection/components/post-side-navigation/post-side-navigation.css +1 -1
  71. package/dist/collection/components/post-side-navigation/post-side-navigation.js +7 -3
  72. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  73. package/dist/collection/components/post-tabs/post-tabs.js +2 -2
  74. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  75. package/dist/collection/components/post-tooltip/post-tooltip.js +3 -1
  76. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
  77. package/dist/collection/utils/floating-ui/middleware/flip.js +77 -0
  78. package/dist/collection/utils/floating-ui/middleware/safe-space.js +52 -0
  79. package/dist/collection/utils/floating-ui/util.js +10 -0
  80. package/dist/collection/utils/index.js +1 -0
  81. package/dist/collection/utils/is-focus-visible.js +15 -0
  82. package/dist/components/is-focus-visible.js +1 -0
  83. package/dist/components/package.js +1 -1
  84. package/dist/components/post-accordion-item2.js +1 -1
  85. package/dist/components/post-avatar.js +1 -1
  86. package/dist/components/post-back-to-top.js +1 -1
  87. package/dist/components/post-banner.js +1 -1
  88. package/dist/components/post-breadcrumb-item.js +1 -1
  89. package/dist/components/post-breadcrumbs.js +1 -1
  90. package/dist/components/post-closebutton2.js +1 -1
  91. package/dist/components/post-collapsible2.js +1 -1
  92. package/dist/components/post-date-picker.js +1 -1
  93. package/dist/components/post-footer.js +1 -1
  94. package/dist/components/post-header.js +1 -1
  95. package/dist/components/post-language-menu.js +1 -1
  96. package/dist/components/post-logo.js +1 -1
  97. package/dist/components/post-megadropdown-trigger.js +1 -1
  98. package/dist/components/post-megadropdown.js +1 -1
  99. package/dist/components/post-menu-item2.js +1 -1
  100. package/dist/components/post-menu2.js +1 -1
  101. package/dist/components/post-number-input.js +1 -1
  102. package/dist/components/post-pagination.js +1 -1
  103. package/dist/components/post-popover.js +1 -1
  104. package/dist/components/post-popovercontainer2.js +1 -1
  105. package/dist/components/post-side-navigation.js +1 -1
  106. package/dist/components/post-tabs.js +1 -1
  107. package/dist/components/post-tooltip-trigger.js +1 -1
  108. package/dist/components/post-tooltip.js +1 -1
  109. package/dist/components/react/index.js +1 -1
  110. package/dist/components/react/p-5kW0ZF_f.js +1 -0
  111. package/dist/components/react/p-BMCit4BU.js +1 -0
  112. package/dist/components/react/p-BWwWKRO5.js +1 -0
  113. package/dist/components/react/p-BdiQsTQm.js +1 -0
  114. package/dist/components/react/p-BeRGbt65.js +1 -0
  115. package/dist/components/react/{p-DffT6evQ.js → p-C8i672qm.js} +1 -1
  116. package/dist/components/react/{p-m1-sOx5T.js → p-C_JY6ipN.js} +1 -1
  117. package/dist/components/react/p-DRJ9K8sv.js +1 -0
  118. package/dist/components/react/{p-CcDLIogT.js → p-DygUkCKz.js} +1 -1
  119. package/dist/components/react/p-DzYMQFK2.js +1 -0
  120. package/dist/components/react/{p-CzsG0uCA.js → p-E-8qAn1z.js} +1 -1
  121. package/dist/components/react/p-Q5LQWL2X.js +1 -0
  122. package/dist/components/react/{p-CdggfEzz.js → p-UXyZDQt4.js} +1 -1
  123. package/dist/components/react/post-accordion-item.js +1 -1
  124. package/dist/components/react/post-accordion.js +1 -1
  125. package/dist/components/react/post-autocomplete.js +1 -1
  126. package/dist/components/react/post-avatar.js +1 -1
  127. package/dist/components/react/post-back-to-top.js +1 -1
  128. package/dist/components/react/post-banner.js +1 -1
  129. package/dist/components/react/post-breadcrumb-item.js +1 -1
  130. package/dist/components/react/post-breadcrumbs.js +1 -1
  131. package/dist/components/react/post-closebutton.js +1 -1
  132. package/dist/components/react/post-collapsible-trigger.js +1 -1
  133. package/dist/components/react/post-collapsible.js +1 -1
  134. package/dist/components/react/post-date-picker.js +1 -1
  135. package/dist/components/react/post-footer.js +1 -1
  136. package/dist/components/react/post-header.js +1 -1
  137. package/dist/components/react/post-icon.js +1 -1
  138. package/dist/components/react/post-language-menu-item.js +1 -1
  139. package/dist/components/react/post-language-menu.js +1 -1
  140. package/dist/components/react/post-linkarea.js +1 -1
  141. package/dist/components/react/post-listbox-option.js +1 -1
  142. package/dist/components/react/post-listbox.js +1 -1
  143. package/dist/components/react/post-logo.js +1 -1
  144. package/dist/components/react/post-mainnavigation.js +1 -1
  145. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  146. package/dist/components/react/post-megadropdown.js +1 -1
  147. package/dist/components/react/post-menu-item.js +1 -1
  148. package/dist/components/react/post-menu-trigger.js +1 -1
  149. package/dist/components/react/post-menu.js +1 -1
  150. package/dist/components/react/post-number-input.js +1 -1
  151. package/dist/components/react/post-pagination.js +1 -1
  152. package/dist/components/react/post-popover-trigger.js +1 -1
  153. package/dist/components/react/post-popover.js +1 -1
  154. package/dist/components/react/post-popovercontainer.js +1 -1
  155. package/dist/components/react/post-rating.js +1 -1
  156. package/dist/components/react/post-side-navigation-trigger.js +1 -1
  157. package/dist/components/react/post-side-navigation.js +1 -1
  158. package/dist/components/react/post-stepper-item.js +1 -1
  159. package/dist/components/react/post-stepper.js +1 -1
  160. package/dist/components/react/post-tab-item.js +1 -1
  161. package/dist/components/react/post-tab-panel.js +1 -1
  162. package/dist/components/react/post-tabs.js +1 -1
  163. package/dist/components/react/post-togglebutton.js +1 -1
  164. package/dist/components/react/post-tooltip-trigger.js +1 -1
  165. package/dist/components/react/post-tooltip.js +1 -1
  166. package/dist/docs.json +67 -45
  167. package/dist/esm/{create-validator-decorator-C2XlYkNB.js → create-validator-decorator-Cp_NUmrr.js} +1 -1
  168. package/dist/esm/{index-BjziJWh2.js → index-D0jX3Fts.js} +5 -5
  169. package/dist/esm/is-focus-visible-BWwWKRO5.js +17 -0
  170. package/dist/esm/loader.js +3 -3
  171. package/dist/esm/{one-of-Do1iao-k.js → one-of-B9locHPx.js} +1 -1
  172. package/dist/esm/{package-T8T3po4z.js → package-BdiQsTQm.js} +1 -1
  173. package/dist/esm/{pattern-BZDucOTq.js → pattern-BL3OBU8C.js} +1 -1
  174. package/dist/esm/post-accordion_2.entry.js +6 -6
  175. package/dist/esm/post-autocomplete.entry.js +5 -5
  176. package/dist/esm/post-avatar.entry.js +85 -61
  177. package/dist/esm/post-back-to-top.entry.js +6 -6
  178. package/dist/esm/post-banner.entry.js +5 -5
  179. package/dist/esm/post-breadcrumb-item.entry.js +8 -8
  180. package/dist/esm/post-breadcrumbs.entry.js +7 -7
  181. package/dist/esm/post-closebutton_14.entry.js +477 -593
  182. package/dist/esm/post-collapsible_2.entry.js +13 -7
  183. package/dist/esm/post-components.js +3 -3
  184. package/dist/esm/post-date-picker.entry.js +43 -27
  185. package/dist/esm/post-footer.entry.js +6 -6
  186. package/dist/esm/post-linkarea.entry.js +2 -2
  187. package/dist/esm/post-listbox-option.entry.js +2 -2
  188. package/dist/esm/post-listbox.entry.js +2 -2
  189. package/dist/esm/post-number-input.entry.js +3 -3
  190. package/dist/esm/post-pagination.entry.js +6 -6
  191. package/dist/esm/post-popover-trigger.entry.js +4 -4
  192. package/dist/esm/post-popover.entry.js +9 -9
  193. package/dist/esm/post-progressbar.entry.js +3 -3
  194. package/dist/esm/post-rating.entry.js +5 -5
  195. package/dist/esm/post-side-navigation-trigger.entry.js +5 -5
  196. package/dist/esm/post-side-navigation.entry.js +14 -9
  197. package/dist/esm/post-stepper-item.entry.js +2 -2
  198. package/dist/esm/post-stepper.entry.js +6 -6
  199. package/dist/esm/post-tab-item.entry.js +5 -5
  200. package/dist/esm/post-tab-panel.entry.js +5 -5
  201. package/dist/esm/post-tabs.entry.js +8 -8
  202. package/dist/esm/post-tooltip-trigger.entry.js +6 -6
  203. package/dist/esm/post-tooltip.entry.js +8 -6
  204. package/dist/esm/{required-B0X7uy13.js → required-CDaQB1gC.js} +1 -1
  205. package/dist/esm/{type-CF1dOg6D.js → type-CQ7XuPCZ.js} +1 -1
  206. package/dist/esm/{url-BL7d6iWZ.js → url-B-86gtTK.js} +1 -1
  207. package/dist/post-components/p-0688d296.entry.js +1 -0
  208. package/dist/post-components/p-0b0b2f02.entry.js +1 -0
  209. package/dist/post-components/{p-c9dcdebb.entry.js → p-0d25c033.entry.js} +1 -1
  210. package/dist/post-components/{p-655ded00.entry.js → p-229d324e.entry.js} +1 -1
  211. package/dist/post-components/{p-88f754e9.entry.js → p-2a5312a7.entry.js} +1 -1
  212. package/dist/post-components/{p-ba1b4ba0.entry.js → p-330fd6cd.entry.js} +1 -1
  213. package/dist/post-components/p-3712133b.entry.js +1 -0
  214. package/dist/post-components/{p-87b1034f.entry.js → p-379780a3.entry.js} +1 -1
  215. package/dist/post-components/{p-dc285087.entry.js → p-3fdb8ebc.entry.js} +1 -1
  216. package/dist/post-components/{p-2005eb98.entry.js → p-456b0786.entry.js} +1 -1
  217. package/dist/post-components/p-4d30c65d.entry.js +1 -0
  218. package/dist/post-components/{p-de6f1816.entry.js → p-534ca27e.entry.js} +1 -1
  219. package/dist/post-components/p-5369b9c2.entry.js +1 -0
  220. package/dist/post-components/p-6833be12.entry.js +1 -0
  221. package/dist/post-components/p-6ad44691.entry.js +1 -0
  222. package/dist/post-components/{p-1ec27142.entry.js → p-82c62e90.entry.js} +1 -1
  223. package/dist/post-components/{p-8012cc3b.entry.js → p-91a2ef3c.entry.js} +1 -1
  224. package/dist/post-components/p-95f5d5ea.entry.js +1 -0
  225. package/dist/post-components/p-9dd286bf.entry.js +1 -0
  226. package/dist/post-components/p-9fedcfba.entry.js +1 -0
  227. package/dist/post-components/p-BCPv4bcY.js +1 -0
  228. package/dist/post-components/p-BWwWKRO5.js +1 -0
  229. package/dist/post-components/p-BdiQsTQm.js +1 -0
  230. package/dist/post-components/p-CP3LjuFR.js +1 -0
  231. package/dist/post-components/p-D0jX3Fts.js +2 -0
  232. package/dist/post-components/p-D6mVqZLg.js +1 -0
  233. package/dist/post-components/{p-DgnQe03V.js → p-DSaWK_q-.js} +1 -1
  234. package/dist/post-components/p-VPHnF9fB.js +1 -0
  235. package/dist/post-components/{p-f9a8ee94.entry.js → p-ab0500b7.entry.js} +1 -1
  236. package/dist/post-components/p-c123ecde.entry.js +1 -0
  237. package/dist/post-components/{p-cdc7b8d3.entry.js → p-d2de31b7.entry.js} +1 -1
  238. package/dist/post-components/p-dffeb751.entry.js +1 -0
  239. package/dist/post-components/{p-60550edb.entry.js → p-e11ccdbe.entry.js} +1 -1
  240. package/dist/post-components/{p-a32d3050.entry.js → p-e560767b.entry.js} +1 -1
  241. package/dist/post-components/p-ee7fade4.entry.js +1 -0
  242. package/dist/post-components/{p-2cff5b3a.entry.js → p-f2629077.entry.js} +1 -1
  243. package/dist/post-components/{p-d7c9a969.entry.js → p-f2b24bbd.entry.js} +1 -1
  244. package/dist/post-components/p-gv9b-Z15.js +1 -0
  245. package/dist/post-components/post-components.css +2 -2
  246. package/dist/post-components/post-components.esm.js +1 -1
  247. package/dist/types/components/post-avatar/avatar-utils.d.ts +0 -2
  248. package/dist/types/components/post-avatar/post-avatar.d.ts +11 -9
  249. package/dist/types/components/post-date-picker/post-date-picker.d.ts +4 -1
  250. package/dist/types/components/post-header/post-header.d.ts +5 -1
  251. package/dist/types/components/post-language-menu/post-language-menu.d.ts +3 -0
  252. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -1
  253. package/dist/types/components/post-menu/post-menu.d.ts +0 -1
  254. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +74 -69
  255. package/dist/types/components.d.ts +39 -26
  256. package/dist/types/utils/floating-ui/middleware/flip.d.ts +14 -0
  257. package/dist/types/utils/floating-ui/middleware/safe-space.d.ts +10 -0
  258. package/dist/types/utils/floating-ui/util.d.ts +4 -0
  259. package/dist/types/utils/index.d.ts +1 -0
  260. package/dist/types/utils/is-focus-visible.d.ts +5 -0
  261. package/dist/vrt/helpers/header-test-config.js +2 -1
  262. package/hydrate/index.js +564 -623
  263. package/hydrate/index.mjs +564 -623
  264. package/package.json +11 -10
  265. package/dist/components/react/p-3RU9XwVO.js +0 -1
  266. package/dist/components/react/p-B1TcktiB.js +0 -1
  267. package/dist/components/react/p-BN2dfUQ0.js +0 -1
  268. package/dist/components/react/p-BPUhha1U.js +0 -1
  269. package/dist/components/react/p-Bnb_TyDh.js +0 -1
  270. package/dist/components/react/p-T8T3po4z.js +0 -1
  271. package/dist/components/react/p-WXzzOdnl.js +0 -1
  272. package/dist/post-components/p-0e922531.entry.js +0 -1
  273. package/dist/post-components/p-53bd2128.entry.js +0 -1
  274. package/dist/post-components/p-59b30e90.entry.js +0 -1
  275. package/dist/post-components/p-76cc3c9a.entry.js +0 -1
  276. package/dist/post-components/p-819c93de.entry.js +0 -1
  277. package/dist/post-components/p-840acd3c.entry.js +0 -1
  278. package/dist/post-components/p-9S_5_Zh8.js +0 -1
  279. package/dist/post-components/p-BYfu3J2D.js +0 -1
  280. package/dist/post-components/p-BjziJWh2.js +0 -2
  281. package/dist/post-components/p-BoYe-VVx.js +0 -1
  282. package/dist/post-components/p-CbbADNiv.js +0 -1
  283. package/dist/post-components/p-DlKbBdcP.js +0 -1
  284. package/dist/post-components/p-T8T3po4z.js +0 -1
  285. package/dist/post-components/p-b4229624.entry.js +0 -1
  286. package/dist/post-components/p-b9faa76b.entry.js +0 -1
  287. package/dist/post-components/p-c0ae13b7.entry.js +0 -1
  288. package/dist/post-components/p-ccf8020b.entry.js +0 -1
  289. package/dist/post-components/p-cd68d3a2.entry.js +0 -1
  290. package/dist/post-components/p-db11f781.entry.js +0 -1
  291. package/dist/post-components/p-dec8bd99.entry.js +0 -1
  292. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/vrt/helpers/header-variants.config.d.ts +0 -23
  293. package/dist/vrt/helpers/header-variants.config.js +0 -157
  294. /package/dist/collection/utils/{floating-ui.js → floating-ui/platform/safe-area.js} +0 -0
  295. /package/dist/types/utils/{floating-ui.d.ts → floating-ui/platform/safe-area.d.ts} +0 -0
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,a}from"./p-BjziJWh2.js";import{b as i}from"./p-I1j7a0bW.js";import{v as s}from"./p-T8T3po4z.js";import{R as r}from"./p-DlKbBdcP.js";import{T as n}from"./p-9S_5_Zh8.js";import"./p-DgnQe03V.js";const d=["grid-1","grid-2","grid-3","grid-4"],p=["prefooter","socialmedia","app","businesssectors","meta","copyright"],c=class{constructor(e){o(this,e),this.device=i.get("device"),this.slotDisplayed={},this.breakpointChange=o=>{this.device=o.detail},this.handleGridSlotChange=this.handleGridSlotChange.bind(this),this.handleSlotChange=this.handleSlotChange.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentWillLoad(){[...d,...p].forEach((o=>{const e=this.host.querySelectorAll(`[slot="${o}"]`);this.updateSlotDisplay(o,e.length>0)}))}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange)}handleGridSlotChange(...o){return e=>{o.includes(this.device)&&e.target instanceof HTMLSlotElement&&this.updateSlotDisplay(e.target.name,e.target.assignedElements().length>0)}}handleSlotChange(o){o.target instanceof HTMLSlotElement&&this.updateSlotDisplay(o.target.name,o.target.assignedElements().length>0)}updateSlotDisplay(o,e){this.slotDisplayed[o]!==e&&(this.slotDisplayed={...this.slotDisplayed,[o]:e})}renderAccordion(){return e("post-accordion",{headingLevel:3,multiple:!0},d.map((o=>e("post-accordion-item",{key:o,class:{"d-none":!this.slotDisplayed[o]},collapsed:!0},e("span",{slot:"header"},e("slot",{name:o+"-title"})),e("slot",{onSlotchange:this.handleGridSlotChange("mobile"),name:o})))))}renderColumns(){return d.map((o=>e("div",{key:o,class:{"d-none":!this.slotDisplayed[o]}},e("h3",null,e("slot",{name:o+"-title"})),e("slot",{onSlotchange:this.handleGridSlotChange("tablet","desktop"),name:o}))))}render(){const o=this.slotDisplayed.prefooter,a=this.slotDisplayed.socialmedia,i=this.slotDisplayed.app,r=this.slotDisplayed.businesssectors,n=this.slotDisplayed.meta,p=this.slotDisplayed.copyright,c=d.every((o=>!this.slotDisplayed[o])),f=!c||a||i||r,l=p||n;return e(t,{key:"08a1ce26926dace6b5b58df118007107c971221e","data-version":s,"data-color-scheme":"light"},e("footer",{key:"bcc5101df4f8e203fdba9075e34b7aa125eb53ce"},e("h2",{key:"a8efa01756ea699f5f66346e3cfe05cc56f36264",class:"visually-hidden"},this.textFooter),e("div",{key:"1b8e30a01c3f0a711f0351b36d396f90511154c4",class:{prefooter:!0,"d-none":!o}},e("div",{key:"2c900ed450bc1dc5ad655d35f5f50b1b5a268fec",class:"footer-container"},e("slot",{key:"8ab8cef6c639251543c65ed21a1f14adf043029e",onSlotchange:this.handleSlotChange,name:"prefooter"}))),e("div",{key:"e3f3bedd9725968fbce6e887e22842a7e8e5ffa5",class:{"footer-main":!0,"d-none":!f}},e("div",{key:"76cec7363e3771da636a6c0a32afbf16d5c4d405",class:"footer-container"},e("div",{key:"4e9ea3788103175b48839b6bf815d4c675769c97",class:{"footer-grid":!0,"d-none":c}},"mobile"===this.device?this.renderAccordion():this.renderColumns()),e("div",{key:"64d10c9fb543290e078f7fff098b401926b3bf4b",class:{"footer-column":!0,"d-none":!a&&!i}},e("div",{key:"05b566b43e2c4fed2919e3312a718ea392cad0f7",class:{"footer-socialmedia":!0,"d-none":!a}},e("slot",{key:"a46f739c9d4b6cbf96988f96f89d7cc093797b40",onSlotchange:this.handleSlotChange,name:"socialmedia"})),e("div",{key:"f28490dfaa982a609ba1eb393339980a358488e5",class:{"footer-app":!0,"d-none":!i}},e("slot",{key:"01c10bf12eb2f39a0dbceec320b476041d46c631",onSlotchange:this.handleSlotChange,name:"app"}))),e("div",{key:"609935b6b6ee48176d7e44919726abdaff8e6161",class:{"footer-businesssectors":!0,"d-none":!r}},e("slot",{key:"9f153ba54a08d48e55644fe58089ed7122c1cfdd",onSlotchange:this.handleSlotChange,name:"businesssectors"})))),e("div",{key:"03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a",class:{"footer-base":!0,"d-none":!l}},e("div",{key:"3eb810a55e3193295f8b9291bd824af77a5a2fac",class:"footer-container"},e("div",{key:"04c38d8d5e483b9f9cc8acca1cc8224e381651f1",class:{"footer-copyright":!0,"d-none":!p}},e("slot",{key:"fdd11e63af64161288533c21ea455f3513ac7d87",onSlotchange:this.handleSlotChange,name:"copyright"})),e("div",{key:"adffa17e5f3b94af32e489d113afd9908e2b7abf",class:{"footer-meta":!0,"d-none":!n}},e("slot",{key:"7ebaf69055332d184b86a58e57db1c214b5f08c6",onSlotchange:this.handleSlotChange,name:"meta"}))))))}get host(){return a(this)}};(function(o,e,t,a){var i,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,e,t,a);else for(var n=o.length-1;n>=0;n--)(i=o[n])&&(r=(s<3?i(r):s>3?i(e,t,r):i(e,t))||r);s>3&&r&&Object.defineProperty(e,t,r)})([r(),n("string")],c.prototype,"textFooter",void 0),c.style=":host{display:block}footer{--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-padding-block:32px;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-padding-block:16px;--post-footer-app-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-businesssectors-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-gap:8px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-base-gap:4px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px;--post-footer-grid-padding-block:48px;--post-footer-socialmedia-padding-block:24px}}@media screen and (min-width: 1024px){footer{--post-footer-grid-template:auto / repeat(4, auto);--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding-inline:var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa;border-block-start:1px solid #373632;padding-block:var(--post-footer-prefooter-padding-block)}.prefooter .footer-container{padding-block:0}.footer-main{background-color:#fc0;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{border-block-start:unset}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);gap:32px 24px;padding-block:var(--post-footer-grid-padding-block)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;align-items:var(--post-footer-list-align-items) !important}.footer-socialmedia{padding-block:var(--post-footer-socialmedia-padding-block)}.footer-app{padding-block:var(--post-footer-app-padding-block)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:flex;flex-wrap:wrap;align-items:center;gap:var(--post-footer-list-gap) !important}.footer-businesssectors{padding-block:var(--post-footer-businesssectors-padding-block)}.footer-base{background-color:#fc0;border-block-start:1px solid #373632;padding-block:var(--post-footer-base-padding-block);gap:var(--post-footer-base-gap)}.footer-meta{font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}";export{c as post_footer}
1
+ import{r as o,h as e,H as t,a}from"./p-D0jX3Fts.js";import{b as i}from"./p-I1j7a0bW.js";import{v as s}from"./p-BdiQsTQm.js";import{R as r}from"./p-D6mVqZLg.js";import{T as n}from"./p-CP3LjuFR.js";import"./p-DSaWK_q-.js";const d=["grid-1","grid-2","grid-3","grid-4"],p=["prefooter","socialmedia","app","businesssectors","meta","copyright"],c=class{constructor(e){o(this,e),this.device=i.get("device"),this.slotDisplayed={},this.breakpointChange=o=>{this.device=o.detail},this.handleGridSlotChange=this.handleGridSlotChange.bind(this),this.handleSlotChange=this.handleSlotChange.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentWillLoad(){[...d,...p].forEach((o=>{const e=this.host.querySelectorAll(`[slot="${o}"]`);this.updateSlotDisplay(o,e.length>0)}))}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange)}handleGridSlotChange(...o){return e=>{o.includes(this.device)&&e.target instanceof HTMLSlotElement&&this.updateSlotDisplay(e.target.name,e.target.assignedElements().length>0)}}handleSlotChange(o){o.target instanceof HTMLSlotElement&&this.updateSlotDisplay(o.target.name,o.target.assignedElements().length>0)}updateSlotDisplay(o,e){this.slotDisplayed[o]!==e&&(this.slotDisplayed={...this.slotDisplayed,[o]:e})}renderAccordion(){return e("post-accordion",{headingLevel:3,multiple:!0},d.map((o=>e("post-accordion-item",{key:o,class:{"d-none":!this.slotDisplayed[o]},collapsed:!0},e("span",{slot:"header"},e("slot",{name:o+"-title"})),e("slot",{onSlotchange:this.handleGridSlotChange("mobile"),name:o})))))}renderColumns(){return d.map((o=>e("div",{key:o,class:{"d-none":!this.slotDisplayed[o]}},e("h3",null,e("slot",{name:o+"-title"})),e("slot",{onSlotchange:this.handleGridSlotChange("tablet","desktop"),name:o}))))}render(){const o=this.slotDisplayed.prefooter,a=this.slotDisplayed.socialmedia,i=this.slotDisplayed.app,r=this.slotDisplayed.businesssectors,n=this.slotDisplayed.meta,p=this.slotDisplayed.copyright,c=d.every((o=>!this.slotDisplayed[o])),f=!c||a||i||r,l=p||n;return e(t,{key:"08a1ce26926dace6b5b58df118007107c971221e","data-version":s,"data-color-scheme":"light"},e("footer",{key:"bcc5101df4f8e203fdba9075e34b7aa125eb53ce"},e("h2",{key:"a8efa01756ea699f5f66346e3cfe05cc56f36264",class:"visually-hidden"},this.textFooter),e("div",{key:"1b8e30a01c3f0a711f0351b36d396f90511154c4",class:{prefooter:!0,"d-none":!o}},e("div",{key:"2c900ed450bc1dc5ad655d35f5f50b1b5a268fec",class:"footer-container"},e("slot",{key:"8ab8cef6c639251543c65ed21a1f14adf043029e",onSlotchange:this.handleSlotChange,name:"prefooter"}))),e("div",{key:"e3f3bedd9725968fbce6e887e22842a7e8e5ffa5",class:{"footer-main":!0,"d-none":!f}},e("div",{key:"76cec7363e3771da636a6c0a32afbf16d5c4d405",class:"footer-container"},e("div",{key:"4e9ea3788103175b48839b6bf815d4c675769c97",class:{"footer-grid":!0,"d-none":c}},"mobile"===this.device?this.renderAccordion():this.renderColumns()),e("div",{key:"64d10c9fb543290e078f7fff098b401926b3bf4b",class:{"footer-column":!0,"d-none":!a&&!i}},e("div",{key:"05b566b43e2c4fed2919e3312a718ea392cad0f7",class:{"footer-socialmedia":!0,"d-none":!a}},e("slot",{key:"a46f739c9d4b6cbf96988f96f89d7cc093797b40",onSlotchange:this.handleSlotChange,name:"socialmedia"})),e("div",{key:"f28490dfaa982a609ba1eb393339980a358488e5",class:{"footer-app":!0,"d-none":!i}},e("slot",{key:"01c10bf12eb2f39a0dbceec320b476041d46c631",onSlotchange:this.handleSlotChange,name:"app"}))),e("div",{key:"609935b6b6ee48176d7e44919726abdaff8e6161",class:{"footer-businesssectors":!0,"d-none":!r}},e("slot",{key:"9f153ba54a08d48e55644fe58089ed7122c1cfdd",onSlotchange:this.handleSlotChange,name:"businesssectors"})))),e("div",{key:"03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a",class:{"footer-base":!0,"d-none":!l}},e("div",{key:"3eb810a55e3193295f8b9291bd824af77a5a2fac",class:"footer-container"},e("div",{key:"04c38d8d5e483b9f9cc8acca1cc8224e381651f1",class:{"footer-copyright":!0,"d-none":!p}},e("slot",{key:"fdd11e63af64161288533c21ea455f3513ac7d87",onSlotchange:this.handleSlotChange,name:"copyright"})),e("div",{key:"adffa17e5f3b94af32e489d113afd9908e2b7abf",class:{"footer-meta":!0,"d-none":!n}},e("slot",{key:"7ebaf69055332d184b86a58e57db1c214b5f08c6",onSlotchange:this.handleSlotChange,name:"meta"}))))))}get host(){return a(this)}};(function(o,e,t,a){var i,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,e,t,a);else for(var n=o.length-1;n>=0;n--)(i=o[n])&&(r=(s<3?i(r):s>3?i(e,t,r):i(e,t))||r);s>3&&r&&Object.defineProperty(e,t,r)})([r(),n("string")],c.prototype,"textFooter",void 0),c.style=":host{display:block}footer{--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-padding-block:32px;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-padding-block:16px;--post-footer-app-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-businesssectors-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-gap:8px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-base-gap:4px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px;--post-footer-grid-padding-block:48px;--post-footer-socialmedia-padding-block:24px}}@media screen and (min-width: 1024px){footer{--post-footer-grid-template:auto / repeat(4, auto);--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding-inline:var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa;border-block-start:1px solid #373632;padding-block:var(--post-footer-prefooter-padding-block)}.prefooter .footer-container{padding-block:0}.footer-main{background-color:#fc0;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{border-block-start:unset}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);gap:32px 24px;padding-block:var(--post-footer-grid-padding-block)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;align-items:var(--post-footer-list-align-items) !important}.footer-socialmedia{padding-block:var(--post-footer-socialmedia-padding-block)}.footer-app{padding-block:var(--post-footer-app-padding-block)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:flex;flex-wrap:wrap;align-items:center;gap:var(--post-footer-list-gap) !important}.footer-businesssectors{padding-block:var(--post-footer-businesssectors-padding-block)}.footer-base{background-color:#fc0;border-block-start:1px solid #373632;padding-block-start:var(--post-footer-base-padding-block);padding-block-end:max(var(--post-footer-base-padding-block), env(safe-area-inset-bottom, 0px));gap:var(--post-footer-base-gap)}.footer-meta{font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}";export{c as post_footer}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as i,a as o}from"./p-D0jX3Fts.js";import"./p-I1j7a0bW.js";import{v as s}from"./p-BdiQsTQm.js";import{d as n}from"./p-bR8vy6-s.js";function r(t,e){const i=Number.parseFloat(t[e]);return Number.isNaN(i)?void 0:i}function a(t,e,i){return void 0!==t&&void 0!==e&&i(t,e)}const d=class{constructor(e){t(this,e),this.isDisabled=!1,this.isIncrementDisabled=!1,this.isDecrementDisabled=!1,this.small=!1,this.setupInput=n(50,(()=>{this.input=this.input??function(t,e){const i=t.querySelectorAll(e);return 1===i.length?i[0]:(console.error(`<${t.localName}> expects exactly one element matching "${e}", but found ${i.length}.`,t),null)}(this.host,'input[type="number"]'),this.input&&(this.isDisabled=this.input.disabled,this.small=this.input.classList.contains("form-control-sm"),this.updateStepButtonState(),this.input.addEventListener("input",(()=>this.updateStepButtonState())),this.mutationObserver=new MutationObserver((()=>this.updateStepButtonState())),this.mutationObserver.observe(this.input,{attributes:!0,attributeFilter:["min","max","disabled"]}))}))}get value(){return r(this.input,"value")}get min(){return r(this.input,"min")}get max(){return r(this.input,"max")}get isAtMin(){return a(this.value,this.min,((t,e)=>t===e))}get isAtMax(){return a(this.value,this.max,((t,e)=>t===e))}get isBelowMin(){return a(this.value,this.min,((t,e)=>t<e))}get isAboveMax(){return a(this.value,this.max,((t,e)=>t>e))}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}step(t){const e="up"===t;!function(t,e){const i=function(t,{delayMs:e=300,intervalMs:i=100}={}){let o;t();const s=setTimeout((()=>{o=setInterval(t,i)}),e);return()=>{clearTimeout(s),o&&clearInterval(o)}}(t,e),o=()=>{i(),globalThis.removeEventListener("pointerup",o),globalThis.removeEventListener("pointercancel",o),globalThis.removeEventListener("pointerleave",o)};globalThis.addEventListener("pointerup",o),globalThis.addEventListener("pointercancel",o),globalThis.addEventListener("pointerleave",o)}((()=>{(e?this.isAtMax:this.isAtMin)||((e?this.isBelowMin:this.isAboveMax)?this.input.value=e?this.input.min:this.input.max:(e?this.input.stepUp:this.input.stepDown).call(this.input),this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.updateStepButtonState())}))}updateStepButtonState(){this.input.disabled||this.min&&this.max&&this.min>this.max?this.isIncrementDisabled=this.isDecrementDisabled=!0:(this.isIncrementDisabled=this.isAtMax||this.isAboveMax,this.isDecrementDisabled=this.isAtMin||this.isBelowMin)}render(){const t=!!this.input;return e(i,{key:"9bc4f1aff3f0347c5419cbc8c3f03660c8ce0ec3","data-version":s,class:{"number-input-sm":this.small,disabled:this.isDisabled}},t&&e("div",{key:"556bdd45f2dc5b924f7bb2eab0c059c3000bf404","aria-hidden":"true",onPointerDown:()=>this.step("down"),class:{"step-button":!0,disabled:this.isDecrementDisabled}},e("post-icon",{key:"fc8ee1c88ab96345a0aa81928c7fd4d45dd88414",name:"minus"})),e("div",{key:"9284ca5c21009bd79b144e61a33017501646fceb",class:"input-container"},e("slot",{key:"e6dfefd93d26fee610a82863a66f55939552ff7c",onSlotchange:()=>this.setupInput()})),t&&e("div",{key:"d74c99d7f2db50387cd3f0d6033339fbf9480a24","aria-hidden":"true",onPointerDown:()=>this.step("up"),class:{"step-button":!0,disabled:this.isIncrementDisabled}},e("post-icon",{key:"25635f72d1b067663f8458bdbb7994c7dfafa6e8",name:"plus"})))}get host(){return o(this)}};d.style=':host{display:inline-flex;align-items:end;width:100%}:host ::slotted(input[type=number]),:host .step-button{height:var(--post-device-sizing-interactive-button-height-6) !important}:host ::slotted(input[type=number]){border-radius:0 !important;padding-inline:var(--post-device-spacing-padding-inline-1);padding-block-start:var(--post-device-spacing-padding-block-29);padding-block-end:var(--post-device-spacing-padding-block-3);font-size:var(--post-device-font-size-12)}:host ::slotted(input[type=number]:focus){outline:none !important}:host .step-button.disabled{background-color:var(--post-scheme-color-interactive-button-secondary-disabled-bg);color:var(--post-scheme-color-interactive-button-secondary-disabled-fg);border-color:var(--post-scheme-color-interactive-button-secondary-disabled-stroke);border-style:var(--post-core-border-style-dash)}:host(.number-input-sm) ::slotted(input[type=number]),:host(.number-input-sm) .step-button{height:var(--post-device-sizing-interactive-button-height-8) !important}:host(.number-input-sm) ::slotted(input[type=number]){font-size:var(--post-device-font-size-8) !important;padding-inline:var(--post-device-spacing-padding-inline-1) !important;padding-block:var(--post-device-spacing-padding-26) !important}:host(.number-input-sm) ::slotted(input[type=number].is-valid),:host(.number-input-sm) ::slotted(input[type=number].is-invalid){background-size:var(--post-device-sizing-notification-5) !important;padding-inline-end:calc( (var(--post-device-spacing-padding-inline-1)* 2) + var(--post-device-sizing-notification-5) ) !important}:host(.number-input-sm) .step-button{padding-inline:var(--post-device-spacing-padding-32);padding-block:var(--post-device-spacing-padding-2)}:host(.number-input-sm) .step-button post-icon{width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7)}:host(:hover) .step-button:not(.disabled){background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg);border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:hover) .step-button:not(.disabled){border-color:Highlight}}:host(:hover) .step-button:not(.disabled),:host(:hover) .step-button:not(.disabled) post-icon{color:var(--post-scheme-color-interactive-button-secondary-hover-fg)}.input-container{position:relative;flex-grow:1}.input-container:focus-within::after{content:"";pointer-events:none;z-index:2;width:calc(100% + (var(--post-device-border-width-default) * 2));height:calc(100% + (var(--post-device-border-width-default) * 2));border:var(--post-device-border-width-focus) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-focus-stroke);position:absolute;border-radius:var(--post-device-border-radius-1);top:calc((var(--post-device-border-width-default) * 2)*-1);left:calc((var(--post-device-border-width-default) * 2)*-1)}.step-button{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;transition:unset;box-sizing:border-box;flex:0 0 auto;border-radius:var(--post-device-border-radius-1);padding-inline:var(--post-device-spacing-padding-23);padding-block:var(--post-device-spacing-padding-22);box-shadow:var(--post-device-elevation-100);border:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-button-secondary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg)}.step-button:not(:disabled):hover{text-decoration:none}.step-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.step-button{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}.step-button: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){.step-button:focus-visible{outline-color:Highlight !important}}.step-button.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){.step-button.pretend-focus{outline-color:Highlight !important}}.step-button:has(: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){.step-button:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.step-button: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){.step-button: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){.step-button{border-width:1px !important;transition:none}.step-button:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.step-button post-icon{width:var(--post-device-sizing-interactive-icon-size6);height:var(--post-device-sizing-interactive-icon-size6)}.step-button:first-of-type{border-start-end-radius:0;border-end-end-radius:0;border-inline-end-width:0}.step-button:last-of-type{border-start-start-radius:0;border-end-start-radius:0;border-inline-start-width:0}.step-button.disabled{pointer-events:none;cursor:unset}';export{d as post_number_input}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as i,a as o}from"./p-D0jX3Fts.js";import"./p-I1j7a0bW.js";import{c as s}from"./p-lpWRZjJp.js";import{n as r}from"./p-8LXe8Zt_.js";import{v as a}from"./p-BdiQsTQm.js";import{t as n}from"./p-bR8vy6-s.js";import{R as c}from"./p-D6mVqZLg.js";import{U as l}from"./p-gv9b-Z15.js";import{T as m}from"./p-CP3LjuFR.js";import"./p-DSaWK_q-.js";var d=function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};const h=class{constructor(e){t(this,e),this.debounceUpdateCollapsedItems=n(50,this.updateCollapsedItems.bind(this)),this.resizeObserver=new ResizeObserver(this.debounceUpdateCollapsedItems),this.mutationObserver=new MutationObserver((()=>{this.updateAfterMutation()})),this.loaded=!1,this.hasSlottedHomeAnchor=!1,this.hasSlottedHomeIcon=!1,this.collapsed=0,this.homeCollapsed=!1,this.lastItemWraps=!1,this.nav=null,this.hiddenNav=null,this.homeTextOnly=!1}componentWillLoad(){this.id=this.host.id||`b${r(6)}`,this.checkSlottedHomeAnchor()}async componentDidLoad(){this.resizeObserver?.observe(document.body),this.mutationObserver?.observe(this.host,{childList:!0,characterData:!0,subtree:!0}),await this.updateHiddenNav(),await this.updateCollapsedItems(),this.loaded=!0}disconnectedCallback(){this.resizeObserver?.disconnect(),this.mutationObserver?.disconnect(),this.debounceUpdateCollapsedItems.cancel()}checkSlottedHomeAnchor(){const t=Array.from(this.host.children).find((t=>"home"===t.getAttribute("slot")));this.hasSlottedHomeAnchor="A"===t?.tagName,this.hasSlottedHomeIcon=this.hasSlottedHomeAnchor&&!!t?.querySelector("post-icon")}get usesHomeText(){return this.hasSlottedHomeAnchor?!this.hasSlottedHomeIcon:this.homeTextOnly}async updateCollapsedItems(){if(!this.nav)return;const{overflowing:t,homeOverflows:e,lastItemWraps:i}=await this.calculateCollapsedItems();this.collapsed=t,this.homeCollapsed=e,this.lastItemWraps=i}async calculateCollapsedItems(){const t=this.host.querySelectorAll("post-breadcrumb-item"),{overflowing:e,homeOverflows:i,lastItemWraps:o}=await this.calculateOverflowingItems();return{overflowing:Math.max(e,t.length-6),homeOverflows:i,lastItemWraps:o}}async calculateOverflowingItems(){if(!this.hiddenNav)return{overflowing:0,homeOverflows:!1,lastItemWraps:!1};const t=this.hiddenNav,e=t.clientWidth,i=Number.parseFloat(getComputedStyle(t.firstElementChild).gap),o=t.querySelector(".menu")?.clientWidth??0,s=t.querySelector(".home")?.clientWidth??0,r=Array.from(t.querySelectorAll("post-breadcrumb-item")).slice(0,-1),{overflowing:a,remainingWidth:n}=this.collapseMiddleItems(r,i,o,e),c=this.usesHomeText&&n>e;return{overflowing:a,homeOverflows:c,lastItemWraps:this.usesHomeText?c&&n-s+(0===a?o:0)>e:n>e}}collapseMiddleItems(t,e,i,o){let s=this.hiddenNav.scrollWidth-i+e,r=0;for(;r<t.length&&s>o;)0===r&&(s+=i),s-=t[r++].clientWidth+e;return{overflowing:r,remainingWidth:s}}updateItems(t,e,i){t.forEach(((o,s)=>{const r=s===t.length-1;o.setAttribute("variant",s<e?"menuitem":"listitem"),o.setAttribute("selected",String(r)),o.setAttribute("standalone",String(r&&s===e&&i))}))}async updateHiddenNav(){this.hiddenNav?.remove(),this.hiddenNav=await this.renderHiddenNav()}async updateAfterMutation(){await this.updateHiddenNav(),await this.updateCollapsedItems()}async renderHiddenNav(){const t=this.host.shadowRoot;if(!t||!this.nav)return null;const e=this.nav.cloneNode(!0),i=e.querySelectorAll("slot");this.nav.querySelectorAll("slot").forEach(((t,e)=>{const o=i[e],s=t.assignedElements();if(s.length>0)s.forEach((t=>{o.insertAdjacentElement("beforebegin",t.cloneNode(!0))})),o.remove();else{const t=o.parentNode;t&&(Array.from(o.childNodes).forEach((e=>t.insertBefore(e,o))),o.remove())}}));const o=e.querySelector(".home");o?.parentNode?.replaceChild(this.buildMeasurementHomeElement(),o),e.classList.remove("loading"),e.classList.add("invisible"),e.querySelector(".menu").classList.remove("empty"),t.append(e);const r=e.querySelectorAll("post-breadcrumb-item");return await Promise.all(Array.from(r).map((t=>s(t)))),this.updateItems(r,0,!1),e}buildMeasurementHomeElement(){const t=document.createElement("div");t.className="breadcrumb-item home"+(this.usesHomeText?"":" icon"),t.setAttribute("role","listitem");const e=this.hasSlottedHomeAnchor?Array.from(this.host.children).find((t=>"home"===t.getAttribute("slot"))):null;if(e)return t.append(e.cloneNode(!0)),t;const i=document.createElement("a");this.homeUrl&&(i.href=this.homeUrl);const o=document.createElement("span");if(this.usesHomeText||(o.className="visually-hidden"),o.textContent=this.textHome,i.append(o),!this.usesHomeText){const t=document.createElement("post-icon");t.setAttribute("aria-hidden","true"),t.setAttribute("name","home"),i.append(t)}return t.append(i),t}renderMenu(){const t=`${this.id}-menu`;return e("div",{class:"breadcrumb-item menu "+(0!==this.collapsed||this.homeCollapsed?"":"empty"),role:"listitem"},e("post-menu-trigger",{for:t},e("button",null,e("span",{class:"visually-hidden"},this.textMoreItems),e("span",{"aria-hidden":"true"},"..."))),e("post-menu",{id:t,label:this.textMoreItems,placement:"bottom-start"},this.homeCollapsed&&this.usesHomeText&&e("post-menu-item",null,this.renderHomeContent()),e("slot",{name:"menu"})))}renderHomeContent(){return e("slot",{name:"home",onSlotchange:()=>this.checkSlottedHomeAnchor()},e("a",{href:this.homeUrl},e("span",{class:this.usesHomeText?void 0:"visually-hidden"},this.textHome),!this.usesHomeText&&e("post-icon",{"aria-hidden":"true",name:"home"})))}renderHome(){return e("div",{class:"breadcrumb-item home"+(this.usesHomeText?"":" icon"),role:"listitem"},this.renderHomeContent())}render(){if(this.loaded){const t=this.host.querySelectorAll("post-breadcrumb-item");this.updateItems(t,this.collapsed,this.lastItemWraps)}return e(i,{key:"8d5f457a7c6a2df0cfaf5c31f3ffc6937de76e57","data-version":a,class:this.homeCollapsed&&this.usesHomeText?"home-collapsed":void 0},e("nav",{key:"ce3fd7ad69060dd6968afaad6170e27eee72682f","aria-label":this.textBreadcrumbs,ref:t=>this.nav=t,class:this.loaded?"":"loading"},e("div",{key:"1c400c8c1e1b625203876cc9804936782a2202c6",role:"list"},(!this.homeCollapsed||!this.usesHomeText)&&this.renderHome(),this.renderMenu(),e("slot",{key:"5cf6618b487961c0e7d70637f5396d023660ec55"}),e("slot",{key:"f4fb662d04d9966c76a22444844d692611472b2d",name:"selected"}))))}get host(){return o(this)}};d([c({when:"hasSlottedHomeAnchor",truthy:!1}),l()],h.prototype,"homeUrl",void 0),d([c({when:"hasSlottedHomeAnchor",truthy:!1}),m("string")],h.prototype,"textHome",void 0),d([c(),m("boolean")],h.prototype,"homeTextOnly",void 0),d([c(),m("string")],h.prototype,"textBreadcrumbs",void 0),d([c(),m("string")],h.prototype,"textMoreItems",void 0),h.style=':host{display:block;position:relative}nav{max-width:100%}nav.invisible{overflow:hidden;visibility:hidden;position:absolute;inset:0}nav.loading>div>:not(.home){display:none}[role=list]{display:flex;align-items:flex-start;gap:var(--post-device-spacing-gap-inline-4)}[role=list]>.menu:first-child::before{content:none}.breadcrumb-item{display:flex;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}.breadcrumb-item :is(button,a){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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}.breadcrumb-item :is(button,a):not(:disabled):hover{text-decoration:none}.breadcrumb-item :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.breadcrumb-item :is(button,a){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}.breadcrumb-item :is(button,a):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){.breadcrumb-item :is(button,a):focus-visible{outline-color:Highlight !important}}.breadcrumb-item :is(button,a).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){.breadcrumb-item :is(button,a).pretend-focus{outline-color:Highlight !important}}.breadcrumb-item :is(button,a):has(: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){.breadcrumb-item :is(button,a):has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.breadcrumb-item :is(button,a):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){.breadcrumb-item :is(button,a):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){.breadcrumb-item :is(button,a){border-width:1px !important;transition:none}.breadcrumb-item :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.breadcrumb-item :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}.breadcrumb-item::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;flex:0 0 auto;content:"";display:block;height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0LjdhLjg4Ljg4IDAgMCAxIDAtMS4yNGMuMzQtLjM0LjktLjM0IDEuMjQgMGw4LjUgOC41LTguNDkgOC40OWMtLjE3LjE3LS40LjI2LS42Mi4yNloiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTEwLjc2IDI3LjVjLS4yNiAwLS41MS0uMS0uNzEtLjI5YS45OTYuOTk2IDAgMCAxIDAtMS40MWw5Ljc5LTkuNzktOS43OS05LjgxYS45OTYuOTk2IDAgMSAxIDEuNDEtMS40MUwyMi42NyAxNiAxMS40NiAyNy4yMWMtLjIuMi0uNDUuMjktLjcxLjI5WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMTMuNSAzNC4yMmExLjEyMyAxLjEyMyAwIDAgMS0uOC0xLjkybDEyLjMzLTEyLjMzTDEyLjcgNy42M2MtLjQ0LS40NC0uNDQtMS4xNSAwLTEuNTlzMS4xNS0uNDQgMS41OSAwbDEzLjkzIDEzLjkzTDE0LjMgMzMuODljLS4yMi4yMi0uNTEuMzMtLjguMzMiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTE2LjE0IDQxYy0uMzIgMC0uNjQtLjEyLS44OC0uMzdhMS4yNSAxLjI1IDAgMCAxIDAtMS43N2wxNC44Ny0xNC44N0wxNS4yNSA5LjExYy0uNDktLjQ5LS40OS0xLjI4IDAtMS43N3MxLjI4LS40OSAxLjc3IDBsMTYuNjQgMTYuNjQtMTYuNjMgMTYuNjNjLS4yNC4yNC0uNTYuMzctLjg4LjM3WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM2NCIgdmlld0JveD0iMCAwIDY0IDY0Ij48cGF0aCBkPSJNMjEuNTEgNTQuNGExLjM3NiAxLjM3NiAwIDAgMS0uOTctMi4zNWwyMC4wMy0yMC4wMy0yMC4wNC0yMC4wM2MtLjU0LS41NC0uNTQtMS40MSAwLTEuOTVzMS40MS0uNTQgMS45NSAwbDIxLjk4IDIxLjk5TDIyLjQ5IDU0Yy0uMjcuMjctLjYyLjQtLjk3LjRaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}post-menu-item>slot[name=home]>a{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;min-width:0;white-space:normal;overflow:visible;text-overflow:unset;justify-content:start;overflow-wrap:anywhere;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-menu-item>slot[name=home]>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item>slot[name=home]>a{font-size:1.25rem;padding-block:13px}}post-menu-item>slot[name=home]>a:focus-visible{outline:none !important}post-menu-item>slot[name=home]>a.pretend-focus{outline:none !important}post-menu-item>slot[name=home]>a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-menu-item>slot[name=home]>a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-menu-item>slot[name=home]>a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-menu-item>slot[name=home]>a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-menu-item>slot[name=home]>a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item>slot[name=home]>a:focus-visible::after{outline-color:Highlight !important}}post-menu-item>slot[name=home]>a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item>slot[name=home]>a.pretend-focus::after{outline-color:Highlight !important}}post-menu-item>slot[name=home]>a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item>slot[name=home]>a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-menu-item>slot[name=home]>a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item>slot[name=home]>a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-menu-item>slot[name=home]>a:hover{background-color:#504f4b;color:#fff}post-menu-item>slot[name=home]>a:hover:focus-visible::after{outline-color:#fff !important}post-menu-item>slot[name=home]>a:hover.pretend-focus::after{outline-color:#fff !important}post-menu-item>slot[name=home]>a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-menu-item>slot[name=home]>a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}.home{flex:none}.home::before{content:unset}.home.icon{padding-block:var(--post-device-spacing-padding-47)}.home.icon post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.menu{margin-inline-end:calc(-1*var(--post-device-spacing-gap-inline-4))}.menu.empty{display:none}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{h as post_breadcrumbs}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,a as s}from"./p-D0jX3Fts.js";import"./p-I1j7a0bW.js";import{v as a}from"./p-BdiQsTQm.js";import{R as r}from"./p-D6mVqZLg.js";import{T as o}from"./p-CP3LjuFR.js";import{P as n}from"./p-VPHnF9fB.js";import"./p-DSaWK_q-.js";var c=function(t,i,e,s){var a,r=arguments.length,o=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(r<3?a(o):r>3?a(i,e,o):a(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};const d=/^[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"}(h||(h={}));const l=class{constructor(i){t(this,i),this.slottedImage=null,this.avatarType=h.Initials,this.imageUrl="",this.imageAlt="",this.showSlottedImage=()=>{this.slottedImage&&(this.slottedImage.style.display="block",this.avatarType=h.Slotted)},this.hideSlottedImage=()=>{this.slottedImage&&(this.slottedImage.style.display="none"),this.avatarType=h.Initials}}updateEmail(){this.getAvatarImage()}async getAvatarImage(){let t=!1;this.slottedImage=this.host.querySelector("img");const i=this.slottedImage?.getAttribute("src");i?(this.imageUrl="",this.updateSlottedImageVisibility()):(this.imageUrl="",this.email?.match(d)&&(t=await this.getImageByProp(this.email,this.fetchImageByEmail.bind(this))),t||(this.avatarType=h.Initials))}async getImageByProp(t,i,e=h.Image){if(!t)return!1;try{const s=await i(t);return e===h.Image&&(this.imageUrl=s,this.imageAlt=`${[this.firstname,this.lastname].filter(Boolean).join(" ")} avatar`),this.avatarType=e,!0}catch(t){return console.info("Loading avatar image failed.",t),!1}}async fetchImageByEmail(t){return await this.loadImage(await async function(t){return`https://www.gravatar.com/avatar/${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("")))}(t.trim().toLowerCase())}?s=80&d=404&r=g`}(t))}updateSlottedImageVisibility(){this.slottedImage?.complete&&this.slottedImage.naturalWidth>0?this.showSlottedImage():this.hideSlottedImage()}loadImage(t){return new Promise(((i,e)=>{const s=new Image;s.addEventListener("load",(()=>i(t)),{once:!0}),s.addEventListener("error",(()=>e(new Error(`Could not load ${t}`))),{once:!0}),s.src=t}))}slotChanged(t){const i=t.target.assignedElements({flatten:!0}).find((t=>t instanceof HTMLImageElement));i instanceof HTMLImageElement?this.observeSlottedImage(i):(this.disconnectSlottedImage(),this.slottedImage=null,this.getAvatarImage())}observeSlottedImage(t){this.disconnectSlottedImage(),this.slottedImage=t,t.addEventListener("load",this.showSlottedImage),t.addEventListener("error",this.hideSlottedImage),this.slottedImageObserver=new MutationObserver((()=>this.getAvatarImage())),this.slottedImageObserver.observe(t,{attributes:!0,attributeFilter:["src"]}),this.updateSlottedImageVisibility()}disconnectSlottedImage(){this.slottedImageObserver?.disconnect(),this.slottedImage&&(this.slottedImage.removeEventListener("load",this.showSlottedImage),this.slottedImage.removeEventListener("error",this.hideSlottedImage))}componentWillLoad(){this.avatarType=h.Initials,this.getAvatarImage()}disconnectedCallback(){this.disconnectSlottedImage()}render(){const t=[this.firstname,this.lastname].filter((t=>"string"==typeof t)).map((t=>t.trim())),s=t.map((t=>t.charAt(0))).join("").trim(),r=t.join(" ");return i(e,{key:"ccba82ea3d543a8fad108ea7a8dd30bf6715c132","data-version":a},i("span",{key:"5e7b58d3eeb6bdf49c8a81f36b4d7fffa5b925cc"},i("slot",{key:"7b91589fbccdef4e29e3f5f3f58607887adac559",onSlotchange:t=>this.slotChanged(t)})),this.avatarType===h.Image&&i("img",{key:"65e9e2945592323e54e08d8152e7571222ad728d",src:this.imageUrl,alt:this.imageAlt}),this.avatarType===h.Initials&&i("span",{key:"d4305127e6c77239ab4bf3226aacc153277732cc",class:"initials"},s,i("span",{key:"5e681cb3205708fc42706d20c5d37a097f290898"},this.description??r)))}get host(){return s(this)}static get watchers(){return{email:[{updateEmail:0}]}}};c([r(),o("string")],l.prototype,"firstname",void 0),c([o("string")],l.prototype,"lastname",void 0),c([n(d)],l.prototype,"email",void 0),c([o("string")],l.prototype,"description",void 0),l.style=':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}';export{l as post_avatar}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a as e}from"./p-BjziJWh2.js";import{v as o}from"./p-T8T3po4z.js";import"./p-I1j7a0bW.js";import{E as a}from"./p-BEcxHjuM.js";import{g as n}from"./p-08F-DB-d.js";import{R as r}from"./p-DlKbBdcP.js";import{T as h}from"./p-9S_5_Zh8.js";import"./p-DgnQe03V.js";var c=function(t,s,i,e){var o,a=arguments.length,n=a<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 r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(s,i,n):o(s,i))||n);return a>3&&n&&Object.defineProperty(s,i,n),n};const l=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.toggleSideNavigation=this.toggleSideNavigation.bind(this),this.handlePostToggle=this.handlePostToggle.bind(this)}connectedCallback(){this.root=n(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-side-navigation-trigger must contain a button.")}disconnectedCallback(){this.observer.disconnect(),this.root.removeEventListener("postToggle",this.handlePostToggle),this.trigger?.removeEventListener("click",this.toggleSideNavigation)}get sideNavigation(){const t=this.root.getElementById(this.for);return t&&"post-side-navigation"===t.localName?t:null}setTrigger(){const t=this.host.querySelector("button");!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger&&this.trigger.removeEventListener("click",this.toggleSideNavigation),this.trigger=t,this.trigger.addEventListener("click",this.toggleSideNavigation),this.updateAriaAttributes())}updateAriaAttributes(){if(!this.trigger)return;const t=this.trigger.getAttribute("aria-controls");t?.includes(this.for)||this.trigger.setAttribute("aria-controls",t?`${t} ${this.for}`:this.for),this.trigger.setAttribute("aria-expanded","false")}handlePostToggle(t){this.trigger?.setAttribute("aria-expanded",`${t.detail}`)}async update(){this.updateAriaAttributes()}async toggleSideNavigation(){await(this.sideNavigation?.toggle())}render(){return s(i,{key:"1c908083562ec5ca01cd9410c72ac78ae11ce72f","data-version":o},s("slot",{key:"38f63424e8c66b4bf926418b57555dc676d24d45"}))}get host(){return e(this)}};c([r(),h("string")],l.prototype,"for",void 0),c([a("post-side-navigation",{ignoreNestedComponents:!1})],l.prototype,"handlePostToggle",null),l.style=":host{display:inline-block}@media screen and (min-width: 1024px){:host{display:none}}";export{l as post_side_navigation_trigger}
1
+ import{r as t,h as s,H as i,a as e}from"./p-D0jX3Fts.js";import{v as o}from"./p-BdiQsTQm.js";import"./p-I1j7a0bW.js";import{E as a}from"./p-BEcxHjuM.js";import{g as n}from"./p-08F-DB-d.js";import{R as r}from"./p-D6mVqZLg.js";import{T as h}from"./p-CP3LjuFR.js";import"./p-DSaWK_q-.js";var c=function(t,s,i,e){var o,a=arguments.length,n=a<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 r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(s,i,n):o(s,i))||n);return a>3&&n&&Object.defineProperty(s,i,n),n};const d=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.toggleSideNavigation=this.toggleSideNavigation.bind(this),this.handlePostToggle=this.handlePostToggle.bind(this)}connectedCallback(){this.root=n(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-side-navigation-trigger must contain a button.")}disconnectedCallback(){this.observer.disconnect(),this.root.removeEventListener("postToggle",this.handlePostToggle),this.trigger?.removeEventListener("click",this.toggleSideNavigation)}get sideNavigation(){const t=this.root.getElementById(this.for);return t&&"post-side-navigation"===t.localName?t:null}setTrigger(){const t=this.host.querySelector("button");!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger&&this.trigger.removeEventListener("click",this.toggleSideNavigation),this.trigger=t,this.trigger.addEventListener("click",this.toggleSideNavigation),this.updateAriaAttributes())}updateAriaAttributes(){if(!this.trigger)return;const t=this.trigger.getAttribute("aria-controls");t?.includes(this.for)||this.trigger.setAttribute("aria-controls",t?`${t} ${this.for}`:this.for),this.trigger.setAttribute("aria-expanded","false")}handlePostToggle(t){this.trigger?.setAttribute("aria-expanded",`${t.detail}`)}async update(){this.updateAriaAttributes()}async toggleSideNavigation(){await(this.sideNavigation?.toggle())}render(){return s(i,{key:"1c908083562ec5ca01cd9410c72ac78ae11ce72f","data-version":o},s("slot",{key:"38f63424e8c66b4bf926418b57555dc676d24d45"}))}get host(){return e(this)}};c([r(),h("string")],d.prototype,"for",void 0),c([a("post-side-navigation",{ignoreNestedComponents:!1})],d.prototype,"handlePostToggle",null),d.style=":host{display:inline-block}@media screen and (min-width: 1024px){:host{display:none}}";export{d as post_side_navigation_trigger}
@@ -1 +1 @@
1
- import{r as o,h as t,H as e,a as i}from"./p-BjziJWh2.js";import"./p-I1j7a0bW.js";import{E as c}from"./p-BEcxHjuM.js";import{v as a}from"./p-T8T3po4z.js";import{R as r}from"./p-DlKbBdcP.js";import{O as s}from"./p-CbbADNiv.js";import{n}from"./p-8LXe8Zt_.js";import"./p-DgnQe03V.js";var d=function(o,t,e,i){var c,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,e,i);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(r=(a<3?c(r):a>3?c(t,e,r):c(t,e))||r);return a>3&&r&&Object.defineProperty(t,e,r),r};const l=class{constructor(t){o(this,t),this.expandedItems=new Set,this.multiple=!1}syncHeadingLevel(){this.accordionItems.forEach((o=>{o.setAttribute("heading-level",String(this.headingLevel))}))}componentWillLoad(){this.registerAccordionItems()}componentDidLoad(){this.syncHeadingLevel()}collapseToggleHandler(o){const t=o.target,e=this.expandedItems.has(t);e?this.expandedItems.delete(t):this.expandedItems.add(t),this.multiple||e||Array.from(this.expandedItems.values()).filter((o=>o!==t)).forEach((o=>{o.toggle(!1)}))}async toggle(o){const t=this.accordionItems.find((t=>t.id===o));if(!t)throw new Error(`No post-accordion-item found with id #${o}.`);await t.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((o=>o.toggle(!0)))):0===this.expandedItems.size&&await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((o=>o.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((o=>!o.collapsed||this.expandedItems.has(o))).forEach(((o,t)=>{this.multiple||0===t?this.expandedItems.add(o):o.setAttribute("collapsed","")}))}render(){return t(e,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":a},t("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},t("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return i(this)}static get watchers(){return{headingLevel:[{syncHeadingLevel:0}]}}};d([r(),s([1,2,3,4,5,6])],l.prototype,"headingLevel",void 0),d([c("post-accordion-item")],l.prototype,"collapseToggleHandler",null),l.style=":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)}";const p=class{constructor(t){o(this,t),this.collapsed=!1}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=`c${n(6)}`,i=this.host.closest("post-accordion")?.getAttribute("heading-level");return t(e,{key:"b9699596d57887d99214c6f163355535c68eae1a","data-version":a},t("post-collapsible-trigger",{key:"ebd7c9d6bf2bc35d548867edc8766e31125d8509",for:o},t(`h${i??2}`,{key:"93806261d7dba93569b09d37dff0c01b4f29268b",class:"accordion-header"},t("button",{key:"785a4bcff2c6705aade9b045e1176d43a2ef202b",type:"button",class:"accordion-button"+(this.collapsed?" collapsed":""),part:"post-accordion-button"},t("span",{key:"87f8ba7f7ebe2ba851b6dc134656296820c467d0",class:{"logo-container":!0,"has-image":!!this.slottedLogo}},t("slot",{key:"146256cb174f5895b25fd8f44464ca32fba6b6ee",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),t("slot",{key:"d742ef89a88280f85c7da697536d4ad2ff825f0b",name:"header"}),t("post-icon",{key:"f83e438c9d504ebaa0066df81b6f74ec14dcb08a",name:"chevronup"})))),t("post-collapsible",{key:"179f36eab7ebdb9faa909a70eb43e1d78503e6e1",id:o,collapsed:this.collapsed,ref:o=>this.collapsible=o},t("div",{key:"e93c3570cf76c971b49bf28d3d5540ac289b2469",class:"accordion-body",part:"post-accordion-body"},t("slot",{key:"db26c35edb371cb855141b6f7552d96ea10e06a4"}))))}get host(){return i(this)}};(function(o,t,e,i){var c,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,e,i);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(r=(a<3?c(r):a>3?c(t,e,r):c(t,e))||r);a>3&&r&&Object.defineProperty(t,e,r)})([c("post-accordion-item")],p.prototype,"onCollapseToggle",null),p.style=':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}';export{l as post_accordion,p as post_accordion_item}
1
+ import{r as o,h as t,H as e,a as i}from"./p-D0jX3Fts.js";import"./p-I1j7a0bW.js";import{E as c}from"./p-BEcxHjuM.js";import{v as a}from"./p-BdiQsTQm.js";import{R as r}from"./p-D6mVqZLg.js";import{O as s}from"./p-BCPv4bcY.js";import{n}from"./p-8LXe8Zt_.js";import"./p-DSaWK_q-.js";var d=function(o,t,e,i){var c,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,e,i);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(r=(a<3?c(r):a>3?c(t,e,r):c(t,e))||r);return a>3&&r&&Object.defineProperty(t,e,r),r};const l=class{constructor(t){o(this,t),this.expandedItems=new Set,this.multiple=!1}syncHeadingLevel(){this.accordionItems.forEach((o=>{o.setAttribute("heading-level",String(this.headingLevel))}))}componentWillLoad(){this.registerAccordionItems()}componentDidLoad(){this.syncHeadingLevel()}collapseToggleHandler(o){const t=o.target,e=this.expandedItems.has(t);e?this.expandedItems.delete(t):this.expandedItems.add(t),this.multiple||e||Array.from(this.expandedItems.values()).filter((o=>o!==t)).forEach((o=>{o.toggle(!1)}))}async toggle(o){const t=this.accordionItems.find((t=>t.id===o));if(!t)throw new Error(`No post-accordion-item found with id #${o}.`);await t.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((o=>o.toggle(!0)))):0===this.expandedItems.size&&await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((o=>o.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((o=>!o.collapsed||this.expandedItems.has(o))).forEach(((o,t)=>{this.multiple||0===t?this.expandedItems.add(o):o.setAttribute("collapsed","")}))}render(){return t(e,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":a},t("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},t("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return i(this)}static get watchers(){return{headingLevel:[{syncHeadingLevel:0}]}}};d([r(),s([1,2,3,4,5,6])],l.prototype,"headingLevel",void 0),d([c("post-accordion-item")],l.prototype,"collapseToggleHandler",null),l.style=":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)}";const b=class{constructor(t){o(this,t),this.collapsed=!1}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=`c${n(6)}`,i=this.host.closest("post-accordion")?.getAttribute("heading-level");return t(e,{key:"b9699596d57887d99214c6f163355535c68eae1a","data-version":a},t("post-collapsible-trigger",{key:"ebd7c9d6bf2bc35d548867edc8766e31125d8509",for:o},t(`h${i??2}`,{key:"93806261d7dba93569b09d37dff0c01b4f29268b",class:"accordion-header"},t("button",{key:"785a4bcff2c6705aade9b045e1176d43a2ef202b",type:"button",class:"accordion-button"+(this.collapsed?" collapsed":""),part:"post-accordion-button"},t("span",{key:"87f8ba7f7ebe2ba851b6dc134656296820c467d0",class:{"logo-container":!0,"has-image":!!this.slottedLogo}},t("slot",{key:"146256cb174f5895b25fd8f44464ca32fba6b6ee",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),t("slot",{key:"d742ef89a88280f85c7da697536d4ad2ff825f0b",name:"header"}),t("post-icon",{key:"f83e438c9d504ebaa0066df81b6f74ec14dcb08a",name:"chevronup"})))),t("post-collapsible",{key:"179f36eab7ebdb9faa909a70eb43e1d78503e6e1",id:o,collapsed:this.collapsed,ref:o=>this.collapsible=o},t("div",{key:"e93c3570cf76c971b49bf28d3d5540ac289b2469",class:"accordion-body",part:"post-accordion-body"},t("slot",{key:"db26c35edb371cb855141b6f7552d96ea10e06a4"}))))}get host(){return i(this)}};(function(o,t,e,i){var c,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,e,i);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(r=(a<3?c(r):a>3?c(t,e,r):c(t,e))||r);a>3&&r&&Object.defineProperty(t,e,r)})([c("post-accordion-item")],b.prototype,"onCollapseToggle",null),b.style=':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:focus-visible::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:focus-visible::before{outline-color:Highlight !important}}.accordion-button.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.pretend-focus::before{outline-color:Highlight !important}}.accordion-button:has(:focus-visible)::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:has(:focus-visible)::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}';export{l as post_accordion,b as post_accordion_item}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as i,a as o}from"./p-D0jX3Fts.js";import{f as r}from"./p-D5knoiyy.js";import"./p-I1j7a0bW.js";import{c as a}from"./p-lpWRZjJp.js";import{v as n}from"./p-BdiQsTQm.js";import{O as c}from"./p-BCPv4bcY.js";import{T as h}from"./p-CP3LjuFR.js";import"./p-CoDiS_Ik.js";import"./p-DSaWK_q-.js";var l=function(t,s,e,i){var o,r=arguments.length,a=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,e,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(s,e,a):o(s,e))||a);return r>3&&a&&Object.defineProperty(s,e,a),a};const b=class{constructor(e){t(this,e),this.postChange=s(this,"postChange"),this.showing=null,this.hiding=null,this.isLoaded=!1,this.isPagesVariant=!1,this.showLeftScrollButton=!1,this.showRightScrollButton=!1,this.textPrevTabItems="Previous tab items",this.textNextTabItems="Next tab items",this.size="large",this.updateScrollButtons=()=>{if(!this.tabsContainer)return;const t=getComputedStyle(this.tabsContainer),s=Number.parseFloat(t.paddingInlineStart)||0,e=Number.parseFloat(t.paddingInlineEnd)||0,i=this.tabsContainer.clientWidth-s-e,o=this.tabsContainer.scrollWidth-s-e;this.showLeftScrollButton=this.tabsContainer.scrollLeft>0,this.showRightScrollButton=this.tabsContainer.scrollLeft+i<o}}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.isPagesVariant&&!this.label&&console.error(`[${this.host.localName}] Property "label" is required in Pages variant. Received: ${JSON.stringify(this.label)}.`,this.host)}componentWillRender(){this.detectVariant()}componentDidLoad(){if(this.leftScrollButton.ariaControlsElements=[this.tabsContainer],this.rightScrollButton.ariaControlsElements=[this.tabsContainer],this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.handleScrollButtons(),this.setupContentObserver(),this.setupResizeObserver(),this.validateLabel(),this.isPagesVariant){const t=this.findActivePagesTab();t&&(this.activateTab(t),this.scrollTabIntoView(t))}else{const t=this.activeTab||this.tabs[0]?.name;if(t){this.show(t);const s=this.tabs.find((s=>s.name===t));s&&this.scrollTabIntoView(s)}}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(),this.resizeObserver?.disconnect(),this.tabsContainer?.removeEventListener("scroll",this.updateScrollButtons)}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver?.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-pages-variant","aria-current"]})}setupResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateScrollButtons),this.resizeObserver.observe(this.tabsContainer)}handleContentChange(t){const s=this.shouldRedetectVariant(t);this.hasAriaCurrentChanged(t)&&this.isPagesVariant&&this.updateActivePagesTab(),s&&this.handleVariantChange(),this.updateScrollButtons()}shouldRedetectVariant(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-pages-variant"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActivePagesTab(){const t=this.findActivePagesTab();t&&t!==this.currentActiveTab&&(this.activateTab(t),this.scrollTabIntoView(t,"smooth"))}handleVariantChange(){const t=this.isPagesVariant;this.detectVariant(),t!==this.isPagesVariant&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isPagesVariant){const t=this.findActivePagesTab();t&&(this.activateTab(t),this.scrollTabIntoView(t))}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectVariant(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.pagesVariant));if(t&&this.panels.length>0)throw new Error("PostTabs: Mixed mode detected. Cannot use both Page Tabs (anchor elements) and Content Tabs (post-tab-panel elements) variants at the same time.");this.isPagesVariant=t,this.host.classList.remove("page-tabs","content-tabs"),this.host.classList.add(this.isPagesVariant?"page-tabs":"content-tabs")}findActivePagesTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){try{if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,e=this.host.querySelector(`post-tab-item[name="${t}"]`);if(!e)return;if(this.activateTab(e),this.scrollTabIntoView(e,"smooth"),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),await this.awaitAnimation(this.hiding))return;if(this.showSelectedPanel(),await this.awaitAnimation(this.showing))return;this.isLoaded&&this.currentActiveTab&&this.postChange.emit(this.currentActiveTab.name)}catch(t){if(this.isAbortError(t))return;throw t}}async awaitAnimation(t){if(!t)return!1;try{return await t.finished,!1}catch(t){if(this.isAbortError(t))return!0;throw t}}isAbortError(t){return(t instanceof DOMException||t instanceof Error)&&"AbortError"===t.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 a(t),this.isPagesVariant)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=>{if("Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name)),"Home"!==s.key&&"End"!==s.key)return;s.preventDefault();const e=this.tabs.filter((t=>!t.hasAttribute("disabled")));if(0===e.length)return;const i="Home"===s.key?e[0]:e.at(-1);i&&(i?.focus(),this.show(i.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.isPagesVariant||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),this.isPagesVariant||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=r(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){if(!this.currentActiveTab)return;const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=r(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const e=Array.from(this.tabs).indexOf(t);let i;i="ArrowRight"===s?this.tabs[e+1]||this.tabs[0]:this.tabs[e-1]||this.tabs.at(-1),i&&(i.focus(),this.show(i.name))}scrollTabs(t){const s="prev"===t?-1:1,e=getComputedStyle(this.tabsContainer),i=Number.parseFloat(e.paddingInlineStart)||0,o=Number.parseFloat(e.paddingInlineEnd)||0;this.tabsContainer.scrollBy({left:s*(this.tabsContainer.clientWidth-i-o),behavior:"smooth"})}scrollTabIntoView(t,s="instant"){const e=this.tabsContainer,i=getComputedStyle(e),o=Number.parseFloat(i.paddingInlineStart)||0,r=Number.parseFloat(i.paddingInlineEnd)||0,a=t.offsetLeft,n=a+t.offsetWidth,c=e.scrollLeft+o,h=c+e.clientWidth-o-r;a<c?e.scrollTo({left:a-o,behavior:s}):n>h&&e.scrollTo({left:n-e.clientWidth+r,behavior:s})}handleScrollButtons(){this.updateScrollButtons(),this.tabsContainer.addEventListener("scroll",this.updateScrollButtons)}render(){const t=this.isPagesVariant?"nav":"div";return e(i,{key:"fb65fd2589517dd6d86e86435ec6b3a3b64b093d","data-version":n,style:void 0},e("div",{key:"dbcdd791af381ccc23953acb38a8e71527a804ee",class:"tabs-wrapper",part:"post-tabs"},e("button",{key:"e14933611fd38f647219a6885b879f93e7bdd4d7",ref:t=>this.leftScrollButton=t,class:"scroll-btn scroll-btn-left",type:"button","aria-label":this.textPrevTabItems,tabindex:-1,hidden:!this.showLeftScrollButton,onClick:()=>this.scrollTabs("prev")},e("post-icon",{key:"c1bf9a6f438f2b6519a90b20c26c292143239323",name:"chevronleft"})),e(t,{key:"b7f3357cdab40e7e0d9c290c922803eccb00ec81",ref:t=>this.tabsContainer=t,class:"tabs",role:this.isPagesVariant?void 0:"tablist","aria-label":this.isPagesVariant?this.label:void 0},e("slot",{key:"4e4487253b64f4ec1f0454e711de7b1d3240dc32",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}})),e("button",{key:"415ca5611f57f8af18135ae3cdd18ca33964aba5",ref:t=>this.rightScrollButton=t,class:"scroll-btn scroll-btn-right",type:"button","aria-label":this.textNextTabItems,tabindex:-1,hidden:!this.showRightScrollButton,onClick:()=>this.scrollTabs("next")},e("post-icon",{key:"42e4d6ff41b39a94b9480d3ec477a2f93e876d4f",name:"chevronright"}))),!this.isPagesVariant&&e("div",{key:"5c529d848c9bb7221d06324c03e98c55a3ef61b6",class:"tab-content",part:"post-tabs-content"},e("slot",{key:"76c701c2ecb17d762bdf96c2970f5b69a6871301",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return o(this)}static get watchers(){return{label:[{validateLabel:0}]}}};l([c(["small","large"])],b.prototype,"size",void 0),l([h("string")],b.prototype,"label",void 0),b.style=':host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{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;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{outline-offset:var(--post-device-spacing-padding-44) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .tabs-wrapper button.scroll-btn: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 .tabs-wrapper button.scroll-btn:focus-visible{transition:none}:host .tabs-wrapper button.scroll-btn:focus-visible:hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:focus-visible{outline-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn.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){:host .tabs-wrapper button.scroll-btn.pretend-focus{transition:none}:host .tabs-wrapper button.scroll-btn.pretend-focus:hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn.pretend-focus{outline-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn:has(: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 .tabs-wrapper button.scroll-btn:has(:focus-visible){transition:none}:host .tabs-wrapper button.scroll-btn:has(:focus-visible):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn: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){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset)))}@media screen and (min-width: 1024px){:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1 * (var(--post-container-offset)) + 20px)}:host(.page-tabs) .tabs-wrapper::after{box-shadow:20px 0 0 var(--post-palette-color-nested-tabs-page-stroke),-20px 0 0 var(--post-palette-color-nested-tabs-page-stroke)}}@media screen and (min-width: 1024px)and (forced-colors: active),screen and (min-width: 1024px)and (-ms-high-contrast: active),screen and (min-width: 1024px)and (-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{box-shadow:20px 0 0 LinkText,-20px 0 0 LinkText}}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:0;border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:0;border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-36)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-36)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(post-tabs:not([size=small])) button.scroll-btn{height:var(--post-device-sizing-interactive-button-height-10);width:var(--post-device-sizing-interactive-button-width-1);border-radius:var(--post-device-border-radius-2)}:host(post-tabs:not([size=small])) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size5);width:var(--post-device-sizing-interactive-icon-size5)}:host(.page-tabs:not([size=small])) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-39) var(--post-device-spacing-padding-40)}:host(.page-tabs:not([size=small])) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-40) var(--post-device-spacing-padding-39)}:host([size=small]) button.scroll-btn{height:var(--post-device-sizing-interactive-button-size-1);width:var(--post-device-sizing-interactive-button-size-1);border-radius:var(--post-device-border-radius-2)}:host([size=small]) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4)}:host(.page-tabs[size=small]) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-42) var(--post-device-spacing-padding-43)}:host(.page-tabs[size=small]) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-43) var(--post-device-spacing-padding-42)}';export{b as post_tabs}
@@ -0,0 +1 @@
1
+ import{r as o,h as e,H as t,a}from"./p-D0jX3Fts.js";import{P as r}from"./p-DRiVosES.js";import"./p-I1j7a0bW.js";import{v as s}from"./p-BdiQsTQm.js";import{O as i}from"./p-BCPv4bcY.js";import"./p-DSaWK_q-.js";const p=class{constructor(e){o(this,e),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,e){this.popoverRef.toggle(o,e)}handleBeforeToggle(o){this.host.toggleAttribute("open",o.detail.willOpen),this.open=o.detail.willOpen}render(){return e(t,{key:"c592afd24bbaf57999ca40b9558746a5a4490362","data-version":s},e("post-popovercontainer",{key:"c66e0c89228fed51a0affa4788a3e6c32f3196ae",safeSpace:!0,class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,autoHide:!0,onPostBeforeToggle:o=>this.handleBeforeToggle(o),ref:o=>this.popoverRef=o},e("div",{key:"fc57d4457c4910aab1bfae2558cf78ae9a253552",class:"tooltip-content"},e("slot",{key:"316a52bf1a1763b2510270e9ab5bc26ca8e5e53f"}))))}get host(){return a(this)}};(function(o,e,t,a){var r,s=arguments.length,i=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,e,t,a);else for(var p=o.length-1;p>=0;p--)(r=o[p])&&(i=(s<3?r(i):s>3?r(e,t,i):r(e,t))||i);s>3&&i&&Object.defineProperty(e,t,i)})([i(r)],p.prototype,"placement",void 0),p.style=":host{display:none}:host([open]){display:contents}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)}.tooltip-content{box-sizing:border-box;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);word-wrap:break-word;white-space:normal;overflow:hidden}";export{p as post_tooltip}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,a as o}from"./p-D0jX3Fts.js";import"./p-I1j7a0bW.js";import{v as l}from"./p-BdiQsTQm.js";import{T as a}from"./p-CP3LjuFR.js";import{E as r}from"./p-BEcxHjuM.js";import{g as h}from"./p-08F-DB-d.js";import"./p-DSaWK_q-.js";const n={height:"0",overflow:"hidden"},c={duration:!globalThis.matchMedia||globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches?0:350,easing:"ease",fill:"forwards"};const d=class{constructor(i){t(this,i),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 s=this.isExpanded;{const t=s?(i=this.host).animate([n,{height:`${i.scrollHeight}px`,offset:1,overflow:"hidden"},{height:"auto",overflow:"visible"}],c):function(t){const s=globalThis.getComputedStyle(t).height;return t.animate([{height:s},n],c)}(this.host);this.postToggle.emit(s),this.host.toggleAttribute("data-animating",!0);try{await t.finished,t.commitStyles()}finally{this.host.toggleAttribute("data-animating",!1)}this.updateTriggers()}var i;return s}updateTriggers(){const t=this.host.id?Array.from(document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`)):[],s=this.host.closest("post-collapsible-trigger");s&&!t.includes(s)&&t.push(s),t.forEach((t=>t.update()))}render(){return i(e,{key:"1d1ecff40af5f2597d15179b687c4919289e1d0b","data-version":l,tabindex:this.collapsed?-1:void 0,style:this.collapsed?n:void 0},i("slot",{key:"5aa7a507af747649dd7d6f1edead5dacee0fb69e"}))}get host(){return o(this)}};(function(t,s,i,e){var o,l=arguments.length,a=l<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(l<3?o(a):l>3?o(s,i,a):o(s,i))||a);l>3&&a&&Object.defineProperty(s,i,a)})([a("boolean")],d.prototype,"collapsed",void 0),d.style=":host{display:block;position:relative;overflow:var(--post-collapsible-initial-overflow, hidden);height:var(--post-collapsible-initial-height, auto)}";var p=function(t,s,i,e){var o,l=arguments.length,a=l<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(l<3?o(a):l>3?o(s,i,a):o(s,i))||a);return l>3&&a&&Object.defineProperty(s,i,a),a};const b=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.handlePostToggle=this.handlePostToggle.bind(this)}connectedCallback(){this.root=h(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||=`collapsible-${crypto.randomUUID()}`;const s=t.id,i=this.trigger.getAttribute("aria-controls"),e=i?i.split(/\s+/):[];e.includes(s)||(e.push(s),this.trigger.setAttribute("aria-controls",e.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 i(e,{key:"4d28c7068acd2e1b4a5f2272bee3b51ec5d8a216","data-version":l},i("slot",{key:"0bcbb780ed6d06ef36b9129b22b4a5dcd5aa7294"}))}get host(){return o(this)}};p([a("string")],b.prototype,"for",void 0),p([r("post-collapsible")],b.prototype,"handlePostToggle",null);export{d as post_collapsible,b as post_collapsible_trigger}
@@ -0,0 +1 @@
1
+ import{c as r,g as o}from"./p-DSaWK_q-.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
+ function r(r){if(!r)return!1;try{return r.matches(":focus-visible")}catch{return!0}}export{r as i}
@@ -0,0 +1 @@
1
+ const o="10.8.0";export{o as v}
@@ -0,0 +1 @@
1
+ import{c as r,g as o}from"./p-DSaWK_q-.js";function t(t){return r({priority:1,blocking:!1,run(r,a){const{value:e,showError:n}=o(r,a),s="array"===t,p=Array.isArray(e);return!!(s||p?p===s:typeof e===t)||(n(`must be of type "${t}"`),!1)}})}export{t as T}
@@ -0,0 +1,2 @@
1
+ const t=()=>{},e=':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-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-side-navigation,post-side-navigation-trigger,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-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-side-navigation,post-side-navigation-trigger,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)}post-breadcrumb-item:not([variant=menuitem])>a{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])>a:not(:disabled):hover{text-decoration:none}post-breadcrumb-item:not([variant=menuitem])>a:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumb-item:not([variant=menuitem])>a{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-breadcrumb-item:not([variant=menuitem])>a: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){post-breadcrumb-item:not([variant=menuitem])>a:focus-visible{outline-color:Highlight !important}}post-breadcrumb-item:not([variant=menuitem])>a.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-breadcrumb-item:not([variant=menuitem])>a.pretend-focus{outline-color:Highlight !important}}post-breadcrumb-item:not([variant=menuitem])>a:has(: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){post-breadcrumb-item:not([variant=menuitem])>a:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a{border-width:1px !important;transition:none}post-breadcrumb-item:not([variant=menuitem])>a:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumb-item:not([variant=menuitem])>a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumb-item[selected]:not([selected=false])>a{color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])[standalone]:not([standalone=false])>a{white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1.25rem;padding-block:13px}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible{outline:none !important}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a.pretend-focus{outline:none !important}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible::after{outline-color:Highlight !important}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a.pretend-focus::after{outline-color:Highlight !important}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover{background-color:#504f4b;color:#fff}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover:focus-visible::after{outline-color:#fff !important}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover.pretend-focus::after{outline-color:#fff !important}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-breadcrumbs>a[slot=home]{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumbs>a[slot=home]:not(:disabled):hover{text-decoration:none}post-breadcrumbs>a[slot=home]:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumbs>a[slot=home]{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-breadcrumbs>a[slot=home]: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){post-breadcrumbs>a[slot=home]:focus-visible{outline-color:Highlight !important}}post-breadcrumbs>a[slot=home].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-breadcrumbs>a[slot=home].pretend-focus{outline-color:Highlight !important}}post-breadcrumbs>a[slot=home]:has(: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){post-breadcrumbs>a[slot=home]:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]{border-width:1px !important;transition:none}post-breadcrumbs>a[slot=home]:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumbs>a[slot=home]:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumbs.home-collapsed>a[slot=home]{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;justify-content:flex-start;min-width:0;width:100%;white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1.25rem;padding-block:13px}}post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible{outline:none !important}post-breadcrumbs.home-collapsed>a[slot=home].pretend-focus{outline:none !important}post-breadcrumbs.home-collapsed>a[slot=home]:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-breadcrumbs.home-collapsed>a[slot=home]:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-breadcrumbs.home-collapsed>a[slot=home]::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-breadcrumbs.home-collapsed>a[slot=home]::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible::after{outline-color:Highlight !important}}post-breadcrumbs.home-collapsed>a[slot=home].pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs.home-collapsed>a[slot=home].pretend-focus::after{outline-color:Highlight !important}}post-breadcrumbs.home-collapsed>a[slot=home]:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs.home-collapsed>a[slot=home]:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumbs.home-collapsed>a[slot=home]:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs.home-collapsed>a[slot=home]:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-breadcrumbs.home-collapsed>a[slot=home]:hover{background-color:#504f4b;color:#fff}post-breadcrumbs.home-collapsed>a[slot=home]:hover:focus-visible::after{outline-color:#fff !important}post-breadcrumbs.home-collapsed>a[slot=home]:hover.pretend-focus::after{outline-color:#fff !important}post-breadcrumbs.home-collapsed>a[slot=home]:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-breadcrumbs.home-collapsed>a[slot=home]:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-breadcrumbs>a[slot=home] post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.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-41);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-30);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}@media screen and (min-width: 1024px){.main-container{margin-inline-start:var(--post-core-dimension-296)}}post-side-navigation{--post-side-nav-height:100vh;--post-side-nav-heading-p-block-start:var(--post-device-spacing-padding-53);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-heading-font-size:var(--post-device-font-size-7);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-49);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-50);--post-side-nav-item-gap:var(--post-device-spacing-gap-11);--post-side-nav-item-font-size:var(--post-device-font-size-6);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-5);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-54)}post-side-navigation ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-5);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-5)}post-side-navigation ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-55);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-6)}post-side-navigation ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-56);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-57);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-64)}@media screen and (min-width: 1024px){post-side-navigation{position:fixed;inset-block-start:0;inset-inline-start:0;padding-block-start:var(--post-header-height);width:var(--post-core-dimension-296);height:100vh;--post-side-nav-height:100%}}post-side-navigation[size=small]{--post-side-nav-heading-p-block-start:var(--post-core-dimension-15);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-heading-font-size:var(--post-device-font-size-9);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-42);--post-side-nav-item-gap:var(--post-device-spacing-gap-8);--post-side-nav-item-font-size:var(--post-device-font-size-7);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-inline-4);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-41)}post-side-navigation[size=small] ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4)}post-side-navigation[size=small] ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-48);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-31)}post-side-navigation[size=small] ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-60);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-36)}post-side-navigation[size=small] ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-72);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation nav{width:100%;height:var(--post-side-nav-height);padding-block-start:var(--post-device-spacing-padding-48);padding-block-end:max(var(--post-device-spacing-padding-5), env(safe-area-inset-bottom, 0px));overflow-y:auto}post-side-navigation nav ul{list-style:none;margin:0;padding-inline-start:0}post-side-navigation .post-side-navigation-heading{margin:0;padding:var(--post-side-nav-heading-p-block-start) var(--post-side-nav-heading-p-inline) var(--post-side-nav-heading-p-block-end);font-size:var(--post-side-nav-heading-font-size);font-weight:var(--post-device-font-weight-bold);line-height:var(--post-core-line-height-150);color:var(--post-scheme-color-interactive-primary-enabled-fg2);border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke)}post-side-navigation>ul>li>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}post-side-navigation .post-side-navigation-item[aria-current=page],post-side-navigation .post-side-navigation-item a[aria-current=page]{background-color:var(--post-scheme-color-interactive-primary-selected-bg4);color:var(--post-scheme-color-interactive-primary-selected-fg3)}post-side-navigation ul ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start)}post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-iconic-padding-inline-start)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>:where(a,span):not(:has(>post-icon:first-child))::before,post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>div:not(:has(>a>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>post-collapsible-trigger>button:not(:has(>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}post-side-navigation post-collapsible-trigger:has(>post-collapsible[tabindex="-1"]:not([data-animating]))>button.post-side-navigation-item,post-side-navigation post-collapsible-trigger:has(>post-collapsible[tabindex="-1"]:not([data-animating]))>.post-side-navigation-item:has(>button){border-block-end:0}post-side-navigation post-collapsible-trigger>post-collapsible[tabindex="-1"],post-side-navigation post-collapsible-trigger>post-collapsible[data-animating]{border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke4)}.post-side-navigation-item{display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);gap:var(--post-side-nav-item-gap);width:100%;min-width:0;margin:0;padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start);padding-inline-end:var(--post-side-nav-item-p-inline-end);line-height:var(--post-core-line-height-150);font-size:var(--post-side-nav-item-font-size);box-sizing:border-box;border:0;border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke4);border-radius:0;background-color:rgba(0,0,0,0);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-align:start;text-decoration:none;appearance:none;overflow-wrap:anywhere;hyphens:auto;line-break:strict}.post-side-navigation-item:has(a):has(button){gap:0;align-items:stretch;padding:0}.post-side-navigation-item:has(a):has(button) a{flex:1 1 auto;text-decoration:none;display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);line-height:var(--post-core-line-height-150);gap:var(--post-side-nav-item-gap);border-radius:0;padding-inline-end:var(--post-side-nav-item-p-inline-end)}.post-side-navigation-item:has(a):has(button) button{padding:var(--post-side-nav-btn-p-block-start) var(--post-side-nav-btn-p-inline) var(--post-side-nav-btn-p-block-end);display:flex;border:0;background:rgba(0,0,0,0);cursor:pointer;position:relative;margin-left:var(--post-device-border-width-alternative1);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.post-side-navigation-item:has(a):has(button) button post-icon{width:var(--post-side-nav-btn-icon-size);height:var(--post-side-nav-btn-icon-size);transform-origin:unset !important;margin-block:0 !important}.post-side-navigation-item:has(a):has(button) button::before{content:"";position:absolute;top:var(--post-side-nav-item-divider-p-block-start);height:calc(100% - var(--post-side-nav-item-divider-p-block-start) - var(--post-side-nav-item-divider-p-block-end));width:var(--post-device-border-width-alternative1);background:var(--post-scheme-color-interactive-primary-enabled-stroke4);left:calc(var(--post-device-border-width-alternative1) * -1)}.post-side-navigation-item:has(a):has(button) button:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button),.post-side-navigation-item:has(a):has(button) a,.post-side-navigation-item:has(a):has(button) button{cursor:pointer;position:relative;color:var(--post-scheme-color-interactive-primary-enabled-fg1);transition:background-color 250ms,color 250ms}.post-side-navigation-item:where(a,button)::after,.post-side-navigation-item:has(a):has(button) a::after,.post-side-navigation-item:has(a):has(button) button::after{content:"";position:absolute;pointer-events:none;border:var(--post-device-border-width-focus) solid rgba(0,0,0,0);border-radius:var(--post-device-border-radius-focus);width:calc(100% - var(--post-core-dimension-3)*2);height:calc(100% - var(--post-core-dimension-3)*2);top:var(--post-core-dimension-3);left:var(--post-core-dimension-3)}.post-side-navigation-item:where(a,button):hover,.post-side-navigation-item:has(a):has(button) a:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button)::after{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-side-navigation-item:where(a,button):focus-visible::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):focus-visible::after{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button).pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button).pretend-focus::after{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button):has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button)[aria-current=page]::after{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-side-navigation-item:where(a,button):focus-visible[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):focus-visible[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button).pretend-focus[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button).pretend-focus[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button):has(:focus-visible)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):has(:focus-visible)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button){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-side-navigation-item:where(a,button):focus-visible{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):focus-visible{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button).pretend-focus{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button).pretend-focus{outline-color:Highlight !important}}.post-side-navigation-item:where(a,button):has(:focus-visible){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a::after{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-side-navigation-item:has(a):has(button) a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:focus-visible::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a.pretend-focus::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a[aria-current=page]::after{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-side-navigation-item:has(a):has(button) a:focus-visible[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:focus-visible[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a.pretend-focus[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a.pretend-focus[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a:has(:focus-visible)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:has(:focus-visible)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a{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-side-navigation-item:has(a):has(button) a:focus-visible{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:focus-visible{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a.pretend-focus{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a.pretend-focus{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) a:has(:focus-visible){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button::after{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-side-navigation-item:has(a):has(button) button:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:focus-visible::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button.pretend-focus::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button[aria-current=page]::after{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-side-navigation-item:has(a):has(button) button:focus-visible[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:focus-visible[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button.pretend-focus[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button.pretend-focus[aria-current=page]::after{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button:has(:focus-visible)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:has(:focus-visible)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button{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-side-navigation-item:has(a):has(button) button:focus-visible{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:focus-visible{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button.pretend-focus{outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button.pretend-focus{outline-color:Highlight !important}}.post-side-navigation-item:has(a):has(button) button:has(:focus-visible){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item post-icon{flex:none;width:var(--post-side-nav-icon-size);height:var(--post-side-nav-icon-size);color:inherit;margin-block-start:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item post-icon[name=chevrondown]{transform-origin:50% calc(50% + var(--post-side-nav-icon-p-block-start)/2);margin-inline-start:auto;margin-block-start:var(--post-side-nav-icon-p-block-start);transform:var(--post-side-navigation-chevron-initial-transform, none)}.post-side-navigation-item[aria-expanded=true] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=true] post-icon[name=chevrondown]{transform:rotate(180deg);margin-block-start:0;margin-block-end:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item[aria-expanded=false] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=false] post-icon[name=chevrondown]{transform:none}post-collapsible-trigger[data-hydrated] .post-side-navigation-item post-icon[name=chevrondown]{transition:transform .2s ease}post-collapsible-trigger:not(:has(>post-collapsible[collapsed]))>.post-side-navigation-item post-icon[name=chevrondown]{--post-side-navigation-chevron-initial-transform:rotate(180deg)}nav>ul>li>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}nav>ul>li>.post-side-navigation-item:not(:has(+ul)),nav>ul>li>ul>li:last-child:not(:has(ul)) .post-side-navigation-item,nav>ul>li>ul>li:last-child>ul:not(:has(ul))>li:last-child .post-side-navigation-item,nav>ul>li>ul>li:last-child>ul>li:last-child>ul:not(:has(ul))>li:last-child .post-side-navigation-item{border-block-end-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}nav>ul>li>post-collapsible-trigger>post-collapsible[data-animating],nav>ul>li>post-collapsible-trigger>post-collapsible[tabindex="-1"]{border-block-end-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child:not(:has(ul))>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible{border-block-end-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child:not(:has(ul))>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible{border-block-end-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child:not(:has(ul))>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible>ul>li:last-child>post-collapsible-trigger>post-collapsible{border-block-end-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}post-listbox [slot=blank-slate]{display:none;padding:.75rem;color:#666}post-listbox:not(:has(post-listbox-option:not([hidden]))) [slot=blank-slate]{display:block}';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||{}),i=(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))(i||{}),s="type",n="value",a="serialized:";function r(t,e,o){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!o||i.get))return i;t=Object.getPrototypeOf(t)}}var l,c=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[i]])=>{if(31&i||32&i){const i=t[o],s=r(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==i&&(t[o]=i)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.o.p&&c(t,e))},u=(t,e)=>e in t,v=(t,e)=>(0,console.error)(t,e),h=new Map,m=new Map,b="s-id",f="sty-id",g="c-id",w="slot-fb{display:contents}slot-fb[hidden]{display:none}",y="http://www.w3.org/1999/xlink",k=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],$="undefined"!=typeof window?window:{},x={p:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,i)=>t.addEventListener(e,o,i),rel:(t,e,o,i)=>t.removeEventListener(e,o,i),ce:(t,e)=>new CustomEvent(t,e)},z=t=>Promise.resolve(t),H=(()=>{try{return!!$.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),j=!!H&&(()=>!!$.document&&Object.getOwnPropertyDescriptor($.document.adoptedStyleSheets,"length").writable)(),S=!1,O=[],N=[],C=(t,e)=>o=>{t.push(o),S||(S=!0,e&&4&x.p?L(M):x.raf(M))},E=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},M=()=>{E(O),E(N),(S=O.length>0)&&x.raf(M)},L=t=>z().then(t),R=C(N,!0);function B(){var t;const o=this.attachShadow({mode:"open"});if(void 0===l&&(l=null!=(t=function(t){if(!H)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(e))?t:null),l)j?o.adoptedStyleSheets.push(l):o.adoptedStyleSheets=[...o.adoptedStyleSheets,l];else if(!H){const t=document.createElement("style");t.innerHTML=e,o.prepend(t)}}var I=t=>{const e=V(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&A(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!T(t,P(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&V(t,"childNodes").length&&I(t)}};function A(t,e,o){let i,s=0,n=[];for(;s<t.length;s++){if(i=t[s],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===o||P(i)===o)&&(n.push(i),void 0!==o))return n;n=[...n,...A(i.childNodes,e,o)]}return n}var T=(t,e,o=!0)=>{const i=[];(o&&t["s-sr"]||!t["s-sr"])&&i.push(t);let s=t;for(;s=s.nextSibling;)P(s)!==e||!o&&s["s-sr"]||i.push(s);return i},F=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,D=(t,e,o,i)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const n=e["s-cr"].parentNode,a=V(n,"appendChild");if(void 0!==i){s["s-oo"]=i;const t=V(n,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>a.call(n,t)))}else a.call(n,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},P=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function U(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],i=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 s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const i=t[o]["s-nr"]||void 0;i&&i.isConnected&&e.push(i)}return e})(s.childNodes)).forEach((t=>{i===P(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function V(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}function _(t){var e,o,i;return null!=(i=null==(o=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?i:void 0}var W=new WeakMap,q=(t,e,o)=>{let i=m.get(t);H&&o?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,m.set(t,i)},Y=(t,e)=>{var o,i,s;const n=G(e),a=m.get(n);if(!$.document)return n;if(t=11===t.nodeType?t:$.document,a)if("string"==typeof a){let s,r=W.get(t=t.head||t);r||W.set(t,r=new Set);const l=t.querySelector(`[${f}="${n}"]`);if(l)l.textContent=a;else if(!r.has(n)){s=$.document.createElement("style"),s.textContent=a;const l=null!=(o=x.v)?o:_($.document);if(null!=l&&s.setAttribute("nonce",l),!(1&e.p))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(H){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(a),j?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=a+e.textContent:t.prepend(s)}else t.append(s);1&e.p&&t.insertBefore(s,null),4&e.p&&(s.textContent+=w),r&&r.add(n)}}else{let e=W.get(t);if(e||W.set(t,e=new Set),!e.has(n)){const o=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let i;if(a.constructor===o.CSSStyleSheet)i=a;else{i=new o.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)i.insertRule(a.cssRules[t].cssText,t)}if(j?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(n),"host"in t){const e=t.querySelector(`[${f}="${n}"]`);e&&R((()=>e.remove()))}}}return n},G=t=>"sc-"+t.h,J=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Z=t=>"object"==(t=typeof t)||"function"===t,K=(t,e,...o)=>{let i=null,s=null,n=null,a=!1,r=!1;const l=[],c=e=>{for(let o=0;o<e.length;o++)i=e[o],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof t&&!Z(i))&&(i+=""),a&&r?l[l.length-1].m+=i:l.push(a?Q(null,i):i),r=a)};if(c(o),e){e.key&&(s=e.key),e.name&&(n=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,l,tt);const d=Q(t,null);return d.k=e,l.length>0&&(d.$=l),d.H=s,d.j=n,d},Q=(t,e)=>({p:0,S:t,m:null!=e?e:null,O:null,$:null,k:null,H:null,j:null}),X={},tt={forEach:(t,e)=>t.map(et).forEach(e),map:(t,e)=>t.map(et).map(e).map(ot)},et=t=>({vattrs:t.k,vchildren:t.$,vkey:t.H,vname:t.j,vtag:t.S,vtext:t.m}),ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),K(t.vtag,e,...t.vchildren||[])}const e=Q(t.vtag,t.vtext);return e.k=t.vattrs,e.$=t.vchildren,e.H=t.vkey,e.j=t.vname,e},it=(t,e,o,i,s,n,a,r=[])=>{let l,c,d,p;if(1===n.nodeType){if(l=n.getAttribute(g),l&&(c=l.split("."),c[0]===a||"0"===c[0])){d=nt({p:0,N:c[0],C:c[1],M:c[2],L:c[3],S:n.tagName.toLowerCase(),O:n,k:{class:n.className||""}}),e.push(d),n.removeAttribute(g),t.$||(t.$=[]);const s=d.O.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.S&&at(s,c[2],d,n,t,e,o,i,r),d.O["s-sn"]=s,d.O.removeAttribute("s-sn")),void 0!==d.L&&(t.$[d.L]=d),t=d,i&&"0"===d.M&&(i[d.L]=d.O)}if(n.shadowRoot)for(p=n.shadowRoot.childNodes.length-1;p>=0;p--)it(t,e,o,i,s,n.shadowRoot.childNodes[p],a,r);const u=n.__childNodes||n.childNodes;for(p=u.length-1;p>=0;p--)it(t,e,o,i,s,u[p],a,r)}else if(8===n.nodeType)c=n.nodeValue.split("."),(c[1]===a||"0"===c[1])&&(l=c[0],d=nt({N:c[1],C:c[2],M:c[3],L:c[4]||"0",O:n,k:null,$:null,H:null,j:null,S:null,m:null}),"t"===l?(d.O=dt(n,3),d.O&&3===d.O.nodeType&&(d.m=d.O.textContent,e.push(d),n.remove(),a===d.N&&(t.$||(t.$=[]),t.$[d.L]=d),i&&"0"===d.M&&(i[d.L]=d.O))):"c"===l?(d.O=dt(n,8),d.O&&8===d.O.nodeType&&(e.push(d),n.remove())):d.N===a&&("s"===l?at(n["s-sn"]=c[5]||"",c[2],d,n,t,e,o,i,r):"r"===l&&(i?n.remove():(s["s-cr"]=n,n["s-cn"]=!0))));else if(t&&"style"===t.S){const e=Q(null,n.textContent);e.O=n,e.L="0",t.$=[e]}return t},st=(t,e)=>{if(1===t.nodeType){const o=t[b]||t.getAttribute(b);o&&e.set(o,t);let i=0;if(t.shadowRoot)for(;i<t.shadowRoot.childNodes.length;i++)st(t.shadowRoot.childNodes[i],e);const s=t.__childNodes||t.childNodes;for(i=0;i<s.length;i++)st(s[i],e)}else if(8===t.nodeType){const o=t.nodeValue.split(".");"o"===o[0]&&(e.set(o[1]+"."+o[2],t),t.nodeValue="",t["s-en"]=o[3])}},nt=t=>({p:0,N:null,C:null,M:null,L:"0",O:null,k:null,$:null,H:null,j:null,S:null,m:null,...t});function at(t,e,o,i,s,n,a,r,l){i["s-sr"]=!0,o.j=t||null,o.S="slot";const c=(null==s?void 0:s.O)?s.O["s-id"]||s.O.getAttribute("s-id"):"";if(r&&$.document){const n=o.O=$.document.createElement(o.S);o.j&&o.O.setAttribute("name",t),s.O.shadowRoot&&c&&c!==o.N?V(s.O,"insertBefore")(n,V(s.O,"children")[0]):V(V(i,"parentNode"),"insertBefore")(n,i),ct(l,e,t,i,o.N),i.remove(),"0"===o.M&&(r[o.L]=o.O)}else{const n=o.O,a=c&&c!==o.N&&s.O.shadowRoot;ct(l,e,t,i,a?c:o.N),U(i),a&&s.O.insertBefore(n,s.O.children[0])}n.push(o),a.push(o),s.$||(s.$=[]),s.$[o.L]=o}var rt,lt,ct=(t,e,o,i,s)=>{var n,a;let r=i.nextSibling;if(t[e]=t[e]||[],r&&!(null==(n=r.nodeValue)?void 0:n.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==o&&(""!==o||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=o,t[e].push({slot:i,node:r,hostId:s})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(a=r.nodeValue)?void 0:a.startsWith("s.")))},dt=(t,e)=>{let o=t;do{o=o.nextSibling}while(o&&(o.nodeType!==e||!o.nodeValue));return o},pt=class t{static fromLocalValue(e){const o=e[s],i=n in e?e[n]:void 0;switch(o){case"string":case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return"NaN"===i?NaN:"-0"===i?-0:"Infinity"===i?1/0:"-Infinity"===i?-1/0:i;case"array":return i.map((e=>t.fromLocalValue(e)));case"date":return new Date(i);case"map":const e=new Map;for(const[o,s]of i){const i="object"==typeof o&&null!==o?t.fromLocalValue(o):o,n=t.fromLocalValue(s);e.set(i,n)}return e;case"object":const s={};for(const[e,o]of i)s[e]=t.fromLocalValue(o);return s;case"regexp":const{pattern:n,flags:a}=i;return RegExp(n,a);case"set":const r=new Set;for(const e of i)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(i);default:throw Error("Unsupported type: "+o)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(s))return!1;const e=t[s];return!!Object.values({...o,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(n))}},ut=(t,e,o)=>"string"==typeof t&&t.startsWith(a)?t=function(t){return"string"==typeof t&&t.startsWith(a)?pt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Z(t)?t:4&e?(o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,vt=t=>{var e;return null==(e=d(t))?void 0:e.$hostElement$},ht=(t,e)=>{const o=vt(t);return{emit:t=>mt(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},mt=(t,e,o)=>{const i=x.ce(e,o);return t.dispatchEvent(i),i},bt=(t,e,o,i,s,n,a)=>{if(o===i)return;let r=u(t,e),l=e.toLowerCase();if("class"===e){const e=t.classList,s=gt(o);let n=gt(i);if((t["s-si"]||t["s-sc"])&&a){const o=t["s-sc"]||t["s-si"];n.push(o),s.forEach((t=>{t.startsWith(o)&&n.push(t)})),n=[...new Set(n)].filter((t=>t)),e.add(...n)}else e.remove(...s.filter((t=>t&&!n.includes(t)))),e.add(...n.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in o)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Dt(i,t);else if(r||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let s;{const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(s=t[1])}}return s||(s=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=i}catch(t){}return}{const a=Z(i);if((r||a&&null!==i)&&!s)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const s=null==i?"":i;"list"===e?r=!1:null!=o&&t[e]===s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let c=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(e=l,c=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(c?t.removeAttributeNS(y,e):t.removeAttribute(e)):(!r||4&n||s)&&!a&&1===t.nodeType&&(i=!0===i?"":i,c?t.setAttributeNS(y,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):u($,l)?l.slice(2):l[2]+e.slice(3),o||i){const s=e.endsWith(wt);e=e.replace(yt,""),o&&x.rel(t,e,o,s),i&&x.ael(t,e,i,s)}},ft=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),wt="Capture",yt=RegExp(wt+"$"),kt=(t,e,o,i)=>{const s=11===e.O.nodeType&&e.O.host?e.O.host:e.O,n=t&&t.k||{},a=e.k||{};for(const t of $t(Object.keys(n)))t in a||bt(s,t,n[t],void 0,o,e.p,i);for(const t of $t(Object.keys(a)))bt(s,t,n[t],a[t],o,e.p,i)};function $t(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var xt=!1,zt=!1,Ht=!1,jt=!1,St=[],Ot=[],Nt=(t,e,o)=>{var i;const s=e.$[o];let n,a,r,l=0;if(xt||(Ht=!0,"slot"===s.S&&(s.p|=s.$?2:1)),null!=s.m)n=s.O=$.document.createTextNode(s.m);else if(1&s.p)n=s.O=$.document.createTextNode(""),kt(null,s,jt);else{if(jt||(jt="svg"===s.S),!$.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(n=s.O=$.document.createElementNS(jt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!xt&&2&s.p?"slot-fb":s.S),jt&&"foreignObject"===s.S&&(jt=!1),kt(null,s,jt),s.$){const e="template"===s.S?n.content:n;for(l=0;l<s.$.length;++l)a=Nt(t,s,l),a&&e.appendChild(a)}"svg"===s.S?jt=!1:"foreignObject"===n.tagName&&(jt=!0)}return n["s-hn"]=lt,3&s.p&&(n["s-sr"]=!0,n["s-cr"]=rt,n["s-sn"]=s.j||"",n["s-rf"]=null==(i=s.k)?void 0:i.ref,U(n),r=t&&t.$&&t.$[o],r&&r.S===s.S&&t.O&&Ct(t.O)),n},Ct=t=>{x.p|=1;const e=t.closest(lt.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of o?i.reverse():i)null!=t["s-sh"]&&(Pt(e,t,null!=o?o:null),t["s-sh"]=void 0,Ht=!0)}x.p&=-2},Et=(t,e)=>{x.p|=1;const o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===lt&&o.push(e)}for(let t=o.length-1;t>=0;t--){const i=o[t];i["s-hn"]!==lt&&i["s-ol"]&&(Pt(Bt(i).parentNode,i,Bt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ht=!0),e&&Et(i,e)}x.p&=-2},Mt=(t,e,o,i,s,n)=>{let a,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===lt&&(r=r.shadowRoot),"template"===o.S&&(r=r.content);s<=n;++s)i[s]&&(a=Nt(null,o,s),a&&(i[s].O=a,Pt(r,a,Bt(e))))},Lt=(t,e,o)=>{for(let i=e;i<=o;++i){const e=t[i];if(e){const t=e.O;Ft(e),t&&(zt=!0,t["s-ol"]?t["s-ol"].remove():Et(t,!0),t.remove())}}},Rt=(t,e,o=!1)=>t.S===e.S&&("slot"===t.S?t.j===e.j:o?(o&&!t.H&&e.H&&(t.H=e.H),!0):t.H===e.H),Bt=t=>t&&t["s-ol"]||t,It=(t,e,o=!1)=>{const i=e.O=t.O,s=t.$,n=e.$,a=e.S,r=e.m;let l;null==r?(jt="svg"===a||"foreignObject"!==a&&jt,"slot"!==a||xt||t.j!==e.j&&(e.O["s-sn"]=e.j||"",Ct(e.O.parentElement)),kt(t,e,jt,o),null!==s&&null!==n?((t,e,o,i,s=!1)=>{let n,a,r=0,l=0,c=0,d=0,p=e.length-1,u=e[0],v=e[p],h=i.length-1,m=i[0],b=i[h];const f="template"===o.S?t.content:t;for(;r<=p&&l<=h;)if(null==u)u=e[++r];else if(null==v)v=e[--p];else if(null==m)m=i[++l];else if(null==b)b=i[--h];else if(Rt(u,m,s))It(u,m,s),u=e[++r],m=i[++l];else if(Rt(v,b,s))It(v,b,s),v=e[--p],b=i[--h];else if(Rt(u,b,s))"slot"!==u.S&&"slot"!==b.S||Et(u.O.parentNode,!1),It(u,b,s),Pt(f,u.O,v.O.nextSibling),u=e[++r],b=i[--h];else if(Rt(v,m,s))"slot"!==u.S&&"slot"!==b.S||Et(v.O.parentNode,!1),It(v,m,s),Pt(f,v.O,u.O),v=e[--p],m=i[++l];else{for(c=-1,d=r;d<=p;++d)if(e[d]&&null!==e[d].H&&e[d].H===m.H){c=d;break}c>=0?(a=e[c],a.S!==m.S?n=Nt(e&&e[l],o,c):(It(a,m,s),e[c]=void 0,n=a.O),m=i[++l]):(n=Nt(e&&e[l],o,l),m=i[++l]),n&&Pt(Bt(u.O).parentNode,n,Bt(u.O))}r>p?Mt(t,null==i[h+1]?null:i[h+1].O,o,i,l,h):l>h&&Lt(e,r,p)})(i,s,e,n,o):null!==n?(null!==t.m&&(i.textContent=""),Mt(i,null,e,n,0,n.length-1)):o||null===s?o&&null!==s&&null===n&&(e.$=s):Lt(s,0,s.length-1),jt&&"svg"===a&&(jt=!1)):(l=i["s-cr"])?l.parentNode.textContent=r:t.m!==r&&(i.data=r)},At=[],Tt=t=>{let e,o,i;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(i=o.length-1;i>=0;i--)if(e=o[i],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(F(e,s)){let o=At.find((t=>t.R===e));zt=!0,e["s-sn"]=e["s-sn"]||s,o?(o.R["s-sh"]=t["s-hn"],o.B=t):(e["s-sh"]=t["s-hn"],At.push({B:t,R:e})),e["s-sr"]&&At.map((t=>{F(t.R,e["s-sn"])&&(o=At.find((t=>t.R===e)),o&&!t.B&&(t.B=o.B))}))}else At.some((t=>t.R===e))||At.push({R:e})}1===t.nodeType&&Tt(t)}},Ft=t=>{t.k&&t.k.ref&&St.push((()=>t.k.ref(null))),t.$&&t.$.map(Ft)},Dt=(t,e)=>{Ot.push((()=>t(e)))},Pt=(t,e,o,i)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:s}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=P(t)||"";return{slotNode:A(V(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return s&&!i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(s),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},Ut=(t,e)=>{if(e&&!t.I&&e["s-p"]){const o=e["s-p"].push(new Promise((i=>t.I=()=>{e["s-p"].splice(o-1,1),i()})))}},Vt=(t,e)=>{if(t.p|=16,4&t.p)return void(t.p|=512);Ut(t,t.A);const o=()=>_t(t,e);if(!e)return R(o);queueMicrotask((()=>{o()}))},_t=(t,e)=>{const o=t.$hostElement$,i=t.l;if(!i)throw Error(`Can't render component <${o.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 s;return e?(t.T&&(t.T=!1,Kt(i,"connectedCallback",void 0,o)),t.p|=256,t.F&&(t.F.map((([t,e])=>Kt(i,t,e,o))),t.F=void 0),t.D.length&&t.D.forEach((t=>t(o))),s=Kt(i,"componentWillLoad",void 0,o)):s=Kt(i,"componentWillUpdate",void 0,o),s=Wt(s,(()=>Kt(i,"componentWillRender",void 0,o))),Wt(s,(()=>Yt(t,i,e)))},Wt=(t,e)=>qt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),qt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Yt=async(t,e,o)=>{var i;const s=t.$hostElement$,n=s["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,i=e.p,s=Y(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&i&&(o["s-sc"]=s,o.classList.add(s+"-h"))})(t);Gt(t,e,s,o),n&&(n.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(i=s["s-p"])?i:[],o=()=>Jt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.p|=4,e.length=0)}},Gt=(t,e,o,i)=>{try{e=e.render&&e.render(),t.p&=-17,t.p|=2,((t,e,o=!1)=>{var i,s,n,a,r;const l=t.$hostElement$,c=t.o,d=t.P||Q(null,null),p=(t=>t&&t.S===X)(e)?e:K(null,null,e);if(lt=l.tagName,c.U&&(p.k=p.k||{},c.U.forEach((([t,e])=>{p.k[e]=l[t]}))),o&&p.k)for(const t of Object.keys(p.k))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.k[t]=l[t]);if(p.S=null,p.p|=4,t.P=p,p.O=d.O=l.shadowRoot||l,xt=!(!(1&c.p)||128&c.p),rt=l["s-cr"],zt=!1,It(d,p,o),x.p|=1,Ht){Tt(p.O);for(const t of At){const e=t.R;if(!e["s-ol"]&&$.document){const t=$.document.createTextNode("");t["s-nr"]=e,Pt(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of At){const e=t.R,r=t.B;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(i=e.hidden)&&i),r){const t=r.parentNode;let i=r.nextSibling;if(i&&1===i.nodeType){let o=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;o;){let s=null!=(n=o["s-nr"])?n:null;if(s&&s["s-sn"]===e["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){i=s;break}}o=o.previousSibling}}if((!i&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==i)&&e!==i){if(Pt(t,e,i,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=$.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,Pt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(a=e["s-ih"])&&a)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(zt&&I(p.O),x.p&=-2,At.length=0,!xt&&!(1&c.p)&&l["s-cr"]){const t=p.O.__childNodes||p.O.childNodes;for(const e of t)if(e["s-hn"]!==lt&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=$.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Pt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}rt=void 0,St.forEach((t=>t())),St.length=0,Ot.forEach((t=>t())),Ot.length=0})(t,e,i)}catch(e){v(e,t.$hostElement$)}return null},Jt=t=>{const e=t.$hostElement$,o=t.l,i=t.A;Kt(o,"componentDidRender",void 0,e),64&t.p?Kt(o,"componentDidUpdate",void 0,e):(t.p|=64,Qt(e),Kt(o,"componentDidLoad",void 0,e),t.V(e),i||Zt()),t._(e),t.I&&(t.I(),t.I=void 0),512&t.p&&L((()=>Vt(t,!1))),t.p&=-517},Zt=()=>{var t;L((()=>mt($,"appload",{detail:{namespace:"post-components"}}))),(null==(t=x.W)?void 0:t.size)&&x.W.clear()},Kt=(t,e,o,i)=>{if(t&&t[e])try{return t[e](o)}catch(t){v(t,i)}},Qt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Xt=(t,e,o,i)=>{const s=d(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${i.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const n=s.$hostElement$,a=s.i.get(e),r=s.p,l=s.l;if(o=ut(o,i.t[e][0],!!(64&i.p)),!(8&r&&void 0!==a||o===a||Number.isNaN(a)&&Number.isNaN(o))){if(s.i.set(e,o),i.q){const t=i.q[e];t&&t.map((t=>{try{const[[i,n]]=Object.entries(t);(128&r||1&n)&&(l?l[i](o,a,e):s.D.push((()=>{s.l[i](o,a,e)})))}catch(t){v(t,n)}}))}if(2&r){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(o,a,e)&&!(16&r))return;16&r||Vt(s,!1)}}},te=(t,e,o)=>{var i,s;const n=t.prototype;64&e.p&&1&o&&k.forEach((t=>{Object.defineProperty(n,t,{value(...e){var o;const i=d(this),s=null==i?void 0:i.l;if(s){const o=s[t];"function"==typeof o&&o.call(s,...e)}else null==(o=null==i?void 0:i.Y)||o.then((o=>{const i=o[t];"function"==typeof i&&i.call(o,...e)}))}})}));{t.watchers&&!e.q&&(e.q=t.watchers),t.deserializers&&!e.G&&(e.G=t.deserializers),t.serializers&&!e.J&&(e.J=t.serializers);const a=Object.entries(null!=(i=e.t)?i:{});if(a.map((([t,[i]])=>{if(31&i||2&o&&32&i){const{get:s,set:a}=r(n,t)||{};s&&(e.t[t][0]|=2048),a&&(e.t[t][0]|=4096),(1&o||!s)&&Object.defineProperty(n,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>d(this).i.get(e))(0,t);const o=d(this),i=o?o.l:n;if(!i)return;return i[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(n,t,{set(s){const n=d(this);if(n){if(a)return void 0===(32&i?this[t]:n.$hostElement$[t])&&n.i.get(t)&&(s=n.i.get(t)),a.call(this,ut(s,i,!!(64&e.p))),void Xt(this,t,s=32&i?this[t]:n.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return Xt(this,t,s,e),void(1&o&&!n.l&&n.D.push((()=>{4096&e.t[t][0]&&n.l[t]!==n.i.get(t)&&(n.l[t]=s)})));const a=()=>{const o=n.l[t];!n.i.get(t)&&o&&n.i.set(t,o),n.l[t]=ut(s,i,!!(64&e.p)),Xt(this,t,n.l[t],e)};n.l?a():n.D.push((()=>{a()}))}}}})}else 1&o&&64&i&&Object.defineProperty(n,t,{value(...e){var o;const i=d(this);return null==(o=null==i?void 0:i.Z)?void 0:o.then((()=>{var o;return null==(o=i.l)?void 0:o[t](...e)}))}})})),1&o){const o=new Map;n.attributeChangedCallback=function(t,i,s){x.jmp((()=>{var r;const l=o.get(t),c=d(this);if(this.hasOwnProperty(l)&&(s=this[l],delete this[l]),n.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==s)return;if(null==l){const o=null==c?void 0:c.p;if(c&&o&&!(8&o)&&s!==i){const n=c.l,a=null==(r=e.q)?void 0:r[t];null==a||a.forEach((e=>{const[[a,r]]=Object.entries(e);null!=n[a]&&(128&o||1&r)&&n[a].call(n,s,i,t)}))}return}const p=a.find((([t])=>t===l));p&&4&p[1][0]&&(s=null!==s&&"false"!==s);const u=Object.getOwnPropertyDescriptor(n,l);s==this[l]||u.get&&!u.set||(this[l]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.q)?s:{}),...a.filter((([t,e])=>31&e[0])).map((([t,i])=>{var s;const n=i[1]||t;return o.set(n,t),512&i[0]&&(null==(s=e.U)||s.push([t,n])),n}))]))}}return t},ee=(t,e)=>{Kt(t,"connectedCallback",void 0,e)},oe=t=>{if(!(1&x.p)){const e=d(t);if(!e)return;const o=e.o,i=()=>{};if(1&e.p)ae(t,e,o.K),(null==e?void 0:e.l)?ee(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>ee(e.l,t)));else{let i;if(e.p|=1,i=t.getAttribute(b),i){if(1&o.p){const e=Y(t.shadowRoot,o);t.classList.remove(e+"-h",e+"-s")}((t,e,o,i)=>{var s,n,a,r;const l=t.shadowRoot,c=[],p=[],u=l?[]:null,v=Q(e,null);v.O=t,!$.document||x.W&&x.W.size||st($.document.body,x.W=new Map),t[b]=o,t.removeAttribute(b),i.P=it(v,c,[],u,t,t,o,p);let h=0;const m=c.length;let f;for(;h<m;h++){f=c[h];const o=f.N+"."+f.C,i=x.W.get(o),n=f.O;if(l){if((null==(s=f.S)?void 0:(""+s).includes("-"))&&"slot-fb"!==f.S&&!f.O.shadowRoot){const t=d(f.O);if(t){const e=G(t.o),o=$.document.querySelector(`style[sty-id="${e}"]`);o&&u.unshift(o.cloneNode(!0))}}}else n["s-hn"]=e.toUpperCase(),"slot"===f.S&&(n["s-cr"]=t["s-cr"]);"slot"===f.S&&(f.j=f.O["s-sn"]||f.O.name||null,f.$?(f.p|=2,f.O.childNodes.length||f.$.forEach((t=>{f.O.appendChild(t.O)}))):f.p|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(n,i.nextSibling),i.parentNode.removeChild(i),l||(n["s-oo"]=parseInt(f.C))),i&&!i["s-id"]&&x.W.delete(o)}const g=[],w=p.length;let y,k,z,H,j=0,S=0;for(;j<w;j++)if(y=p[j],y&&y.length)for(z=y.length,k=0;k<z;k++){if(H=y[k],g[H.hostId]||(g[H.hostId]=x.W.get(H.hostId)),!g[H.hostId])continue;const t=g[H.hostId];t.shadowRoot&&H.node.parentElement!==t&&t.insertBefore(H.node,null==(a=null==(n=y[k-1])?void 0:n.node)?void 0:a.nextSibling),t.shadowRoot&&l||(H.slot["s-cr"]||(H.slot["s-cr"]=t["s-cr"],H.slot["s-cr"]=!H.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),D(H.node,H.slot,0,H.node["s-oo"]||S),(null==(r=H.node.parentElement)?void 0:r.shadowRoot)&&H.node.getAttribute&&H.node.getAttribute("slot")&&H.node.removeAttribute("slot")),S=(H.node["s-oo"]||S)+1}if(l&&!l.childNodes.length){let e=0;const o=u.length;if(o){for(;e<o;e++){const t=u[e];t&&l.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))}))}}i.$hostElement$=t})(t,o.h,i,e)}i||12&o.p&&ie(t);{let o=t;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Ut(e,e.A=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let i;try{if(!(32&e.p)){if(e.p|=32,o.X){const s=((t,e)=>{const o=t.h.replace(/-/g,"_"),i=t.X;if(!i)return;const s=h.get(i);return s?s[o]:import(`./${i}.entry.js`).then((t=>(h.set(i,t),t[o])),(t=>{v(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(o,e);if(s&&"then"in s){const t=()=>{};i=await s,t()}else i=s;if(!i)throw Error(`Constructor for "${o.h}#${e.tt}" was not found`);i.isProxied||(o.q=i.watchers,o.J=i.serializers,o.G=i.deserializers,te(i,o,2),i.isProxied=!0);const n=()=>{};e.p|=8;try{new i(e)}catch(e){v(e,t)}e.p&=-9,e.p|=128,n(),4&o.p?e.T=!0:ee(e.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.p|=128));if(i&&i.style){let t;"string"==typeof i.style&&(t=i.style);const e=G(o);if(!m.has(e)){const i=()=>{};q(e,t,!!(1&o.p)),i()}}}const s=e.A,n=()=>Vt(e,!0);s&&s["s-rc"]?s["s-rc"].push(n):n()}catch(o){v(o,t),e.I&&(e.I(),e.I=void 0),e.V&&e.V(t)}})(t,e,o)}i()}},ie=t=>{if(!$.document)return;const e=t["s-cr"]=$.document.createComment("");e["s-cn"]=!0,Pt(t,e,t.firstChild)},se=(t,e)=>{Kt(t,"disconnectedCallback",void 0,e||t)},ne=(t,e={})=>{var o;if(!$.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const i=[],s=e.exclude||[],n=$.customElements,a=$.document.head,r=a.querySelector("meta[charset]"),l=$.document.createElement("style"),c=[];let p,u=!0;Object.assign(x,e),x.u=new URL(e.resourcesUrl||"./",$.document.baseURI).href,x.p|=2,(()=>{if(!$.document)return;const t=$.document.querySelectorAll(`[${f}]`);let e=0;for(;e<t.length;e++)q(t[e].getAttribute(f),J(t[e].innerHTML),!0)})();let v=!1;if(t.map((t=>{t[1].map((e=>{var o,a,r;const l={p:e[0],h:e[1],t:e[2],K:e[3]};4&l.p&&(v=!0),l.t=e[2],l.K=e[3],l.U=[],l.q=null!=(o=e[4])?o:{},l.J=null!=(a=e[5])?a:{},l.G=null!=(r=e[6])?r:{};const h=l.h,m=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const o={p:0,$hostElement$:t,o:e,i:new Map,et:new Map};o.Z=new Promise((t=>o._=t)),o.Y=new Promise((t=>o.V=t)),t["s-p"]=[],t["s-rc"]=[],o.D=[];const i=o;t.__stencil__getHostRef=()=>i})(t=this,l),1&l.p)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else B.call(t,l)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ae(this,t,l.K)),p&&(clearTimeout(p),p=null),u?c.push(this):x.jmp((()=>oe(this))))}disconnectedCallback(){x.jmp((()=>(async t=>{if(!(1&x.p)){const e=d(t);(null==e?void 0:e.ot)&&(e.ot.map((t=>t())),e.ot=void 0),(null==e?void 0:e.l)?se(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>se(e.l,t)))}W.has(t)&&W.delete(t),t.shadowRoot&&W.has(t.shadowRoot)&&W.delete(t.shadowRoot)})(this))),x.raf((()=>{var t;const e=d(this);if(!e)return;const o=c.findIndex((t=>t===this));o>-1&&c.splice(o,1),(null==(t=null==e?void 0:e.P)?void 0:t.O)instanceof Node&&!e.P.O.isConnected&&delete e.P.O}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.Y}};64&l.p&&(m.formAssociated=!0),l.X=t[0],s.includes(h)||n.get(h)||(i.push(h),n.define(h,te(m,l,1)))}))})),i.length>0&&(v&&(l.textContent+=w),l.innerHTML.length)){l.setAttribute("data-styles","");const t=null!=(o=x.v)?o:_($.document);null!=t&&l.setAttribute("nonce",t),a.insertBefore(l,r?r.nextSibling:a.firstChild)}u=!1,c.length?c.map((t=>t.connectedCallback())):x.jmp((()=>p=setTimeout(Zt,30)))},ae=(t,e,o)=>{o&&$.document&&o.map((([o,i,s])=>{const n=le($.document,t,o),a=re(e,s),r=ce(o);x.ael(n,i,a,r),(e.ot=e.ot||[]).push((()=>x.rel(n,i,a,r)))}))},re=(t,e)=>o=>{var i;try{256&t.p?null==(i=t.l)||i[e](o):(t.F=t.F||[]).push([e,o])}catch(e){v(e,t.$hostElement$)}},le=(t,e,o)=>4&o?t:8&o?$:e,ce=t=>({passive:!!(1&t),capture:!!(2&t)}),de=t=>x.v=t;export{X as H,vt as a,ne as b,ht as c,t as g,K as h,z as p,p as r,de as s}
@@ -0,0 +1 @@
1
+ import{c as r,g as t,i,r as n}from"./p-DSaWK_q-.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:a}=t(r,n);return!i(s)||(a("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{a as n}from"./p-BjziJWh2.js";const t=[void 0,null,"",Number.NaN];function e(n){return t.some((t=>Object.is(t,n)))}const o=new WeakSet,i=new WeakSet,c=new WeakMap,r=new WeakMap,s=new WeakMap,u=new WeakMap;function f(n,t,e){let o=n.get(t);return o||(o=e(),n.set(t,o)),o}function a(n){return f(r,n,(()=>new Set))}function p(n){return f(s,n,(()=>new Map))}function b(n,t,e){w(n,t);const o=f(u,n,(()=>new Map));f(o,t,(()=>new Set)).add(e)}function w(n,t){const e=Object.getOwnPropertyDescriptor(n,t);e&&e.get||Object.defineProperty(n,t,{get(){return p(this).get(t)},set(n){if(p(this).set(t,n),i.has(this)){h(this,t);const n=Object.getPrototypeOf(this),e=u.get(n);if(e){const n=e.get(t);if(n)for(const t of n)h(this,t)}}},enumerable:!0,configurable:!0})}function h(n,t){const o=Object.getPrototypeOf(n),i=c.get(o);if(!i)return;const r=i.get(t);if(!r||0===r.length)return;const s=[...r].sort(((n,t)=>n.priority-t.priority)),u=e(n[t]);for(const e of s)if((!u||e.validateEmptyValues)&&!e.run(n,t)&&e.blocking)break}function l(n){return function(t,e){w(t,e),function(n){if(o.has(n))return;o.add(n);const t="componentDidLoad"in n&&"function"==typeof n.componentDidLoad?n.componentDidLoad:void 0;Object.defineProperty(n,"componentDidLoad",{writable:!0,configurable:!0,value:function(...n){i.add(this);const e=a(Object.getPrototypeOf(this));for(const n of e)h(this,n);if(t)return t.apply(this,n)}})}(t),a(t).add(e),function(n,t){const e=f(c,n,(()=>new Map));return f(e,t,(()=>[]))}(t,e).push(n)}}function j(t,e){const o=n(t),i=o.localName,c=t[e];return{value:c,showError(n){console.error(`[${i}] Property "${String(e)}" ${n}. Received: ${JSON.stringify(c)}.`,o)}}}export{l as c,j as g,e as i,b as r}
1
+ import{a as n}from"./p-D0jX3Fts.js";const t=[void 0,null,"",Number.NaN];function e(n){return t.some((t=>Object.is(t,n)))}const o=new WeakSet,c=new WeakSet,i=new WeakMap,r=new WeakMap,s=new WeakMap,u=new WeakMap;function f(n,t,e){let o=n.get(t);return o||(o=e(),n.set(t,o)),o}function a(n){return f(r,n,(()=>new Set))}function p(n){return f(s,n,(()=>new Map))}function b(n,t,e){w(n,t);const o=f(u,n,(()=>new Map));f(o,t,(()=>new Set)).add(e)}function w(n,t){const e=Object.getOwnPropertyDescriptor(n,t);e&&e.get||Object.defineProperty(n,t,{get(){return p(this).get(t)},set(n){if(p(this).set(t,n),c.has(this)){h(this,t);const n=Object.getPrototypeOf(this),e=u.get(n);if(e){const n=e.get(t);if(n)for(const t of n)h(this,t)}}},enumerable:!0,configurable:!0})}function h(n,t){const o=Object.getPrototypeOf(n),c=i.get(o);if(!c)return;const r=c.get(t);if(!r||0===r.length)return;const s=[...r].sort(((n,t)=>n.priority-t.priority)),u=e(n[t]);for(const e of s)if((!u||e.validateEmptyValues)&&!e.run(n,t)&&e.blocking)break}function l(n){return function(t,e){w(t,e),function(n){if(o.has(n))return;o.add(n);const t="componentDidLoad"in n&&"function"==typeof n.componentDidLoad?n.componentDidLoad:void 0;Object.defineProperty(n,"componentDidLoad",{writable:!0,configurable:!0,value:function(...n){c.add(this);const e=a(Object.getPrototypeOf(this));for(const n of e)h(this,n);if(t)return t.apply(this,n)}})}(t),a(t).add(e),function(n,t){const e=f(i,n,(()=>new Map));return f(e,t,(()=>[]))}(t,e).push(n)}}function j(t,e){const o=n(t),c=o.localName,i=t[e];return{value:i,showError(n){console.error(`[${c}] Property "${String(e)}" ${n}. Received: ${JSON.stringify(i)}.`,o)}}}export{l as c,j as g,e as i,b as r}
@@ -0,0 +1 @@
1
+ import{c as r,g as t}from"./p-DSaWK_q-.js";function o(o){return r({priority:1,blocking:!1,run(r,n){const{value:s,showError:a}=t(r,n);return!("string"!=typeof s||!o.test(s))||(a(`must match ${o}`),!1)}})}export{o as P}
@@ -1 +1 @@
1
- import{r as o,c as e,h as i,H as t,a}from"./p-BjziJWh2.js";import{f as r}from"./p-D5knoiyy.js";import"./p-I1j7a0bW.js";import{v as s}from"./p-T8T3po4z.js";import{O as c}from"./p-CbbADNiv.js";import"./p-CoDiS_Ik.js";import"./p-DgnQe03V.js";const n=class{constructor(i){o(this,i),this.postDismissed=e(this,"postDismissed"),this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.hasActions=!1,this.type="info"}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0})}componentDidLoad(){this.checkContent()}disconnectedCallback(){this.mutationObserver.disconnect()}async dismiss(){const o=r(this.host,"out");await o.finished,this.postDismissed.emit(),this.host.remove()}checkContent(){this.hasActions=this.host.querySelectorAll('[slot="actions"]').length>0}render(){return i(t,{key:"890eea914f07f31f64c9e1b01fca94e824a019bc","data-version":s,role:"alert","data-color-scheme":"light"},i("slot",{key:"d4ac9c3714979cde7bba7554fbe1886d2cf75701",name:"close-button"}),i("div",{key:"a097570719b709a3b67aa7152701edbf1174ace0",class:"post-banner-content"},i("slot",{key:"df12b0e63ac4cf4152c196eaad071774be4d7b88",name:"heading"}),i("slot",{key:"a5e376800525119dc47815b9977936fa3966e087"}),this.hasActions&&i("div",{key:"6a0cc7f82873bcfde5109ed9e6bfe8255e30b19c",class:"actions"},i("slot",{key:"11b1d289705cb9d1d96b20b4fcea2b923bfd184a",name:"actions"}))))}get host(){return a(this)}};(function(o,e,i,t){var a,r=arguments.length,s=r<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,i):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,i,t);else for(var c=o.length-1;c>=0;c--)(a=o[c])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)})([c(["success","warning","error","info"])],n.prototype,"type",void 0),n.style=':host{position:relative;display:grid;grid-template-columns:1fr;grid-auto-rows:auto;grid-auto-flow:row;min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));padding:var(--post-device-spacing-padding-10);padding-inline-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );color:var(--post-current-fg);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);border-radius:var(--post-device-border-radius-2);box-shadow:var(--post-device-elevation-100);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);inset-block-start:var(--post-device-spacing-padding-10);inset-inline-start:var(--post-device-spacing-padding-10);background-image:var(--post-signal-icon-info)}:host([type=info]){background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host([type=info])::before{background-image:var(--post-signal-icon-info)}:host([type=success]){background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke)}:host([type=success])::before{background-image:var(--post-signal-icon-success)}:host([type=warning]){background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke)}:host([type=warning])::before{background-image:var(--post-signal-icon-warning)}:host([type=error]){background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke)}:host([type=error])::before{background-image:var(--post-signal-icon-error)}.post-banner-content{display:grid;grid-template-columns:1fr;row-gap:var(--post-device-spacing-gap-block-1);overflow-x:auto}.actions{display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media screen and (min-width: 0)and (max-width: 599.98px){.actions{flex-direction:column;align-items:stretch}}::slotted(*){margin-block:0 !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border-color:CanvasText}:host::before{color:CanvasText}}';export{n as post_banner}
1
+ import{r as o,c as e,h as t,H as i,a}from"./p-D0jX3Fts.js";import{f as r}from"./p-D5knoiyy.js";import"./p-I1j7a0bW.js";import{v as s}from"./p-BdiQsTQm.js";import{O as c}from"./p-BCPv4bcY.js";import"./p-CoDiS_Ik.js";import"./p-DSaWK_q-.js";const n=class{constructor(t){o(this,t),this.postDismissed=e(this,"postDismissed"),this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.hasActions=!1,this.type="info"}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0})}componentDidLoad(){this.checkContent()}disconnectedCallback(){this.mutationObserver.disconnect()}async dismiss(){const o=r(this.host,"out");await o.finished,this.postDismissed.emit(),this.host.remove()}checkContent(){this.hasActions=this.host.querySelectorAll('[slot="actions"]').length>0}render(){return t(i,{key:"890eea914f07f31f64c9e1b01fca94e824a019bc","data-version":s,role:"alert","data-color-scheme":"light"},t("slot",{key:"d4ac9c3714979cde7bba7554fbe1886d2cf75701",name:"close-button"}),t("div",{key:"a097570719b709a3b67aa7152701edbf1174ace0",class:"post-banner-content"},t("slot",{key:"df12b0e63ac4cf4152c196eaad071774be4d7b88",name:"heading"}),t("slot",{key:"a5e376800525119dc47815b9977936fa3966e087"}),this.hasActions&&t("div",{key:"6a0cc7f82873bcfde5109ed9e6bfe8255e30b19c",class:"actions"},t("slot",{key:"11b1d289705cb9d1d96b20b4fcea2b923bfd184a",name:"actions"}))))}get host(){return a(this)}};(function(o,e,t,i){var a,r=arguments.length,s=r<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 c=o.length-1;c>=0;c--)(a=o[c])&&(s=(r<3?a(s):r>3?a(e,t,s):a(e,t))||s);r>3&&s&&Object.defineProperty(e,t,s)})([c(["success","warning","error","info"])],n.prototype,"type",void 0),n.style=':host{position:relative;display:grid;grid-template-columns:1fr;grid-auto-rows:auto;grid-auto-flow:row;min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));padding:var(--post-device-spacing-padding-10);padding-inline-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );color:var(--post-current-fg);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);border-radius:var(--post-device-border-radius-2);box-shadow:var(--post-device-elevation-100);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);inset-block-start:var(--post-device-spacing-padding-10);inset-inline-start:var(--post-device-spacing-padding-10);background-image:var(--post-signal-icon-info)}:host([type=info]){background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host([type=info])::before{background-image:var(--post-signal-icon-info)}:host([type=success]){background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke)}:host([type=success])::before{background-image:var(--post-signal-icon-success)}:host([type=warning]){background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke)}:host([type=warning])::before{background-image:var(--post-signal-icon-warning)}:host([type=error]){background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke)}:host([type=error])::before{background-image:var(--post-signal-icon-error)}.post-banner-content{--post-banner-focus-room:calc( var(--post-device-border-width-focus) + var(--post-device-spacing-padding-2) );display:grid;grid-template-columns:1fr;row-gap:var(--post-device-spacing-gap-block-1);overflow-x:auto;padding:var(--post-banner-focus-room);margin:calc(-1*var(--post-banner-focus-room))}.actions{display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media screen and (min-width: 0)and (max-width: 599.98px){.actions{flex-direction:column;align-items:stretch}}::slotted(*){margin-block:0 !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border-color:CanvasText}:host::before{color:CanvasText}}';export{n as post_banner}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as o,H as e,a as i}from"./p-D0jX3Fts.js";import{v as r}from"./p-BdiQsTQm.js";import{b as a}from"./p-I1j7a0bW.js";import{a as n}from"./p-DYYpZAAV.js";import{i as l}from"./p-BWwWKRO5.js";import{R as h}from"./p-D6mVqZLg.js";import{T as c}from"./p-CP3LjuFR.js";import{O as d}from"./p-BCPv4bcY.js";import"./p-08F-DB-d.js";import"./p-DSaWK_q-.js";var p=function(t,s,o,e){var i,r=arguments.length,a=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,o,e);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(a=(r<3?i(a):r>3?i(s,o,a):i(s,o))||a);return r>3&&a&&Object.defineProperty(s,o,a),a};const m=class{constructor(o){t(this,o),this.postToggle=s(this,"postToggle"),this.device=a.get("device"),this.size="large",this.breakpointChange=t=>{this.device=t.detail,"desktop"===this.device&&(this.dialog?.open&&this.dialog.close(),this.postToggle.emit(!1))},this.handleKeyDown=t=>{if("Escape"!==t.key)return;const s=this.collapsible;s&&!s.collapsed&&(t.preventDefault(),t.stopPropagation(),s.toggle(!1),this.collapsibleTrigger?.querySelector("button")?.focus())},this.handleDialogClick=t=>{t.composedPath().some((t=>t instanceof HTMLAnchorElement))&&this.dialog.close()}}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange),this.host.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange),this.host.removeEventListener("keydown",this.handleKeyDown)}get dialog(){return this.host.shadowRoot?.querySelector("dialog")}get collapsibleTrigger(){return document.activeElement?.closest("post-collapsible-trigger")??null}get collapsible(){return this.collapsibleTrigger?.querySelector(":scope > post-collapsible")??null}async toggle(){if("desktop"!==this.device)return this.dialog?.open?this.hide():this.show()}async show(){if("desktop"===this.device)return;const t=l(document.activeElement);this.dialog.showModal(),this.postToggle.emit(!0),t&&this.focusNav()}async hide(){"desktop"!==this.device&&this.dialog.close()}focusNav(){const t=this.host.shadowRoot?.querySelector("slot"),s=t?.assignedElements({flatten:!0})[0];if(!s)return;const[o]=n(s);o?.focus()}renderNav(){return o("slot",null)}renderDialog(){return o("dialog",{onClick:this.handleDialogClick,onClose:()=>{this.postToggle.emit(!1)}},o("slot",null),o("post-closebutton",{onClick:()=>this.hide()},this.textClose))}render(){return o(e,{key:"742833fbbbc716630d5fc5cc6289e44e3d05ee17","data-version":r},"desktop"===this.device?this.renderNav():this.renderDialog())}get host(){return i(this)}};p([h(),c("string")],m.prototype,"textClose",void 0),p([d(["large","small"])],m.prototype,"size",void 0),m.style=":host{display:flex}:host,:host dialog{background-color:var(--post-scheme-color-palette-bg-2);border-inline-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke4)}:host dialog{overflow:visible;width:var(--post-core-dimension-296);bottom:auto;right:auto;border:none;padding:0;max-height:100dvh;transform:translateX(-100%);transition-property:transform,overlay,display;transition-behavior:allow-discrete;transition-duration:350ms;box-shadow:var(--post-device-elevation-300)}:host dialog:focus,:host dialog:focus-visible{outline:none}:host dialog[open]{transform:translateX(0)}@starting-style{:host dialog[open]{transform:translateX(-100%)}}@media (prefers-reduced-motion: reduce){:host dialog{transition:none}}:host post-closebutton{transform:translate(50%, 0)}";export{m as post_side_navigation}