@swisspost/internet-header 10.4.0 → 10.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/dist/cjs/{breakpoints-CI0Xuh1L.js → breakpoints-Kruvy8Dm.js} +11 -10
  2. package/dist/cjs/{event-from-CwMw19f8.js → event-from-CTcQxB9-.js} +19 -13
  3. package/dist/cjs/index-B5ypPkK3.js +4 -4
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{package-HZ6bBKwJ.js → package-D7UYFbVU.js} +1 -1
  7. package/dist/cjs/{package-CL8OSAS4.js → package-pKyFPwiA.js} +1 -1
  8. package/dist/cjs/post-accordion_4.cjs.entry.js +5 -5
  9. package/dist/cjs/post-autocomplete.cjs.entry.js +65 -50
  10. package/dist/cjs/post-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/post-back-to-top.cjs.entry.js +20 -8
  12. package/dist/cjs/post-banner.cjs.entry.js +2 -9
  13. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +35 -5
  14. package/dist/cjs/post-breadcrumbs.cjs.entry.js +215 -65
  15. package/dist/cjs/post-closebutton.cjs.entry.js +46 -8
  16. package/dist/cjs/post-date-picker.cjs.entry.js +13 -11
  17. package/dist/cjs/post-footer.cjs.entry.js +4 -5
  18. package/dist/cjs/post-header.cjs.entry.js +5 -5
  19. package/dist/cjs/post-icon.cjs.entry.js +2 -2
  20. package/dist/cjs/post-language-menu-item.cjs.entry.js +1 -1
  21. package/dist/cjs/post-language-menu.cjs.entry.js +3 -3
  22. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  23. package/dist/cjs/post-listbox-option.cjs.entry.js +3 -3
  24. package/dist/cjs/post-listbox.cjs.entry.js +4 -4
  25. package/dist/cjs/post-logo.cjs.entry.js +2 -2
  26. package/dist/cjs/post-mainnavigation.cjs.entry.js +2 -2
  27. package/dist/cjs/post-megadropdown-trigger.cjs.entry.js +3 -3
  28. package/dist/cjs/post-megadropdown.cjs.entry.js +5 -6
  29. package/dist/cjs/post-menu-item.cjs.entry.js +2 -2
  30. package/dist/cjs/post-menu_2.cjs.entry.js +25 -10
  31. package/dist/cjs/post-number-input.cjs.entry.js +3 -3
  32. package/dist/cjs/post-pagination.cjs.entry.js +1 -1
  33. package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
  34. package/dist/cjs/post-popover.cjs.entry.js +5 -5
  35. package/dist/cjs/post-popovercontainer.cjs.entry.js +341 -196
  36. package/dist/cjs/post-progressbar.cjs.entry.js +1 -1
  37. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  38. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +3 -3
  39. package/dist/cjs/post-side-navigation.cjs.entry.js +4 -5
  40. package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
  41. package/dist/cjs/post-stepper.cjs.entry.js +2 -2
  42. package/dist/cjs/post-tab-item.cjs.entry.js +2 -2
  43. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  44. package/dist/cjs/post-tabs.cjs.entry.js +4 -4
  45. package/dist/cjs/post-togglebutton.cjs.entry.js +2 -2
  46. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +3 -3
  47. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  48. package/dist/cjs/swisspost-internet-footer.cjs.entry.js +3 -11
  49. package/dist/cjs/swisspost-internet-header.cjs.entry.js +51 -69
  50. package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
  51. package/dist/collection/components/post-internet-footer/post-internet-footer.js +2 -10
  52. package/dist/collection/components/post-internet-header/post-internet-header.js +16 -66
  53. package/dist/collection/config/klp-urls.js +33 -0
  54. package/dist/collection/services/config.service.js +1 -2
  55. package/dist/collection/tests/setup-tests.js +1 -0
  56. package/dist/components/breakpoints.js +1 -1
  57. package/dist/components/event-from.js +1 -1
  58. package/dist/components/package.js +1 -1
  59. package/dist/components/package2.js +1 -1
  60. package/dist/components/post-autocomplete.js +1 -1
  61. package/dist/components/post-back-to-top.js +1 -1
  62. package/dist/components/post-banner.js +1 -1
  63. package/dist/components/post-breadcrumb-item.js +1 -1
  64. package/dist/components/post-breadcrumbs.js +1 -1
  65. package/dist/components/post-closebutton2.js +1 -1
  66. package/dist/components/post-collapsible-trigger2.js +1 -1
  67. package/dist/components/post-collapsible2.js +1 -1
  68. package/dist/components/post-date-picker.js +1 -1
  69. package/dist/components/post-footer2.js +1 -1
  70. package/dist/components/post-header2.js +1 -1
  71. package/dist/components/post-icon2.js +1 -1
  72. package/dist/components/post-linkarea.js +1 -1
  73. package/dist/components/post-listbox-option.js +1 -1
  74. package/dist/components/post-listbox.js +1 -1
  75. package/dist/components/post-logo2.js +1 -1
  76. package/dist/components/post-mainnavigation2.js +1 -1
  77. package/dist/components/post-megadropdown-trigger.js +1 -1
  78. package/dist/components/post-megadropdown.js +1 -1
  79. package/dist/components/post-menu-item2.js +1 -1
  80. package/dist/components/post-menu-trigger2.js +1 -1
  81. package/dist/components/post-menu2.js +1 -1
  82. package/dist/components/post-number-input.js +1 -1
  83. package/dist/components/post-popover-trigger.js +1 -1
  84. package/dist/components/post-popover.js +1 -1
  85. package/dist/components/post-popovercontainer2.js +1 -1
  86. package/dist/components/post-progressbar.js +1 -1
  87. package/dist/components/post-rating.js +1 -1
  88. package/dist/components/post-side-navigation-trigger.js +1 -1
  89. package/dist/components/post-side-navigation.js +1 -1
  90. package/dist/components/post-stepper-item.js +1 -1
  91. package/dist/components/post-stepper.js +1 -1
  92. package/dist/components/post-tab-item.js +1 -1
  93. package/dist/components/post-tab-panel.js +1 -1
  94. package/dist/components/post-tabs.js +1 -1
  95. package/dist/components/post-togglebutton2.js +1 -1
  96. package/dist/components/post-tooltip-trigger.js +1 -1
  97. package/dist/components/post-tooltip.js +1 -1
  98. package/dist/components/swisspost-internet-footer.js +1 -1
  99. package/dist/components/swisspost-internet-header.js +1 -1
  100. package/dist/docs.json +1 -1
  101. package/dist/esm/{breakpoints-C3jWktf-.js → breakpoints-I1j7a0bW.js} +11 -10
  102. package/dist/esm/{event-from-rEfV4v4a.js → event-from-BEcxHjuM.js} +19 -14
  103. package/dist/esm/index-h3opCZqH.js +4 -4
  104. package/dist/esm/index.js +1 -1
  105. package/dist/esm/loader.js +1 -1
  106. package/dist/esm/{package-B4lS4y6E.js → package-Dy8-dzD8.js} +1 -1
  107. package/dist/esm/{package-tTf1w3A9.js → package-T8T3po4z.js} +1 -1
  108. package/dist/esm/post-accordion_4.entry.js +5 -5
  109. package/dist/esm/post-autocomplete.entry.js +65 -50
  110. package/dist/esm/post-avatar.entry.js +1 -1
  111. package/dist/esm/post-back-to-top.entry.js +20 -8
  112. package/dist/esm/post-banner.entry.js +2 -9
  113. package/dist/esm/post-breadcrumb-item.entry.js +35 -5
  114. package/dist/esm/post-breadcrumbs.entry.js +215 -65
  115. package/dist/esm/post-closebutton.entry.js +46 -8
  116. package/dist/esm/post-date-picker.entry.js +13 -11
  117. package/dist/esm/post-footer.entry.js +4 -5
  118. package/dist/esm/post-header.entry.js +5 -5
  119. package/dist/esm/post-icon.entry.js +2 -2
  120. package/dist/esm/post-language-menu-item.entry.js +1 -1
  121. package/dist/esm/post-language-menu.entry.js +3 -3
  122. package/dist/esm/post-linkarea.entry.js +2 -2
  123. package/dist/esm/post-listbox-option.entry.js +3 -3
  124. package/dist/esm/post-listbox.entry.js +4 -4
  125. package/dist/esm/post-logo.entry.js +2 -2
  126. package/dist/esm/post-mainnavigation.entry.js +2 -2
  127. package/dist/esm/post-megadropdown-trigger.entry.js +3 -3
  128. package/dist/esm/post-megadropdown.entry.js +5 -6
  129. package/dist/esm/post-menu-item.entry.js +2 -2
  130. package/dist/esm/post-menu_2.entry.js +25 -10
  131. package/dist/esm/post-number-input.entry.js +3 -3
  132. package/dist/esm/post-pagination.entry.js +1 -1
  133. package/dist/esm/post-popover-trigger.entry.js +4 -4
  134. package/dist/esm/post-popover.entry.js +5 -5
  135. package/dist/esm/post-popovercontainer.entry.js +341 -196
  136. package/dist/esm/post-progressbar.entry.js +1 -1
  137. package/dist/esm/post-rating.entry.js +2 -2
  138. package/dist/esm/post-side-navigation-trigger.entry.js +3 -3
  139. package/dist/esm/post-side-navigation.entry.js +4 -5
  140. package/dist/esm/post-stepper-item.entry.js +2 -2
  141. package/dist/esm/post-stepper.entry.js +2 -2
  142. package/dist/esm/post-tab-item.entry.js +2 -2
  143. package/dist/esm/post-tab-panel.entry.js +2 -2
  144. package/dist/esm/post-tabs.entry.js +4 -4
  145. package/dist/esm/post-togglebutton.entry.js +2 -2
  146. package/dist/esm/post-tooltip-trigger.entry.js +3 -3
  147. package/dist/esm/post-tooltip.entry.js +2 -2
  148. package/dist/esm/swisspost-internet-footer.entry.js +3 -11
  149. package/dist/esm/swisspost-internet-header.entry.js +51 -69
  150. package/dist/esm/swisspost-internet-header.js +1 -1
  151. package/dist/esm-es5/breakpoints-I1j7a0bW.js +1 -0
  152. package/dist/esm-es5/event-from-BEcxHjuM.js +1 -0
  153. package/dist/esm-es5/index-h3opCZqH.js +1 -1
  154. package/dist/esm-es5/index.js +1 -1
  155. package/dist/esm-es5/loader.js +1 -1
  156. package/dist/esm-es5/{package-B4lS4y6E.js → package-Dy8-dzD8.js} +1 -1
  157. package/dist/esm-es5/package-T8T3po4z.js +1 -0
  158. package/dist/esm-es5/post-accordion_4.entry.js +1 -1
  159. package/dist/esm-es5/post-autocomplete.entry.js +1 -1
  160. package/dist/esm-es5/post-avatar.entry.js +1 -1
  161. package/dist/esm-es5/post-back-to-top.entry.js +1 -1
  162. package/dist/esm-es5/post-banner.entry.js +1 -1
  163. package/dist/esm-es5/post-breadcrumb-item.entry.js +1 -1
  164. package/dist/esm-es5/post-breadcrumbs.entry.js +1 -1
  165. package/dist/esm-es5/post-closebutton.entry.js +1 -1
  166. package/dist/esm-es5/post-date-picker.entry.js +1 -1
  167. package/dist/esm-es5/post-footer.entry.js +1 -1
  168. package/dist/esm-es5/post-header.entry.js +1 -1
  169. package/dist/esm-es5/post-icon.entry.js +1 -1
  170. package/dist/esm-es5/post-language-menu-item.entry.js +1 -1
  171. package/dist/esm-es5/post-language-menu.entry.js +1 -1
  172. package/dist/esm-es5/post-linkarea.entry.js +1 -1
  173. package/dist/esm-es5/post-listbox-option.entry.js +1 -1
  174. package/dist/esm-es5/post-listbox.entry.js +1 -1
  175. package/dist/esm-es5/post-logo.entry.js +1 -1
  176. package/dist/esm-es5/post-mainnavigation.entry.js +1 -1
  177. package/dist/esm-es5/post-megadropdown-trigger.entry.js +1 -1
  178. package/dist/esm-es5/post-megadropdown.entry.js +1 -1
  179. package/dist/esm-es5/post-menu-item.entry.js +1 -1
  180. package/dist/esm-es5/post-menu_2.entry.js +1 -1
  181. package/dist/esm-es5/post-number-input.entry.js +1 -1
  182. package/dist/esm-es5/post-pagination.entry.js +1 -1
  183. package/dist/esm-es5/post-popover-trigger.entry.js +1 -1
  184. package/dist/esm-es5/post-popover.entry.js +1 -1
  185. package/dist/esm-es5/post-popovercontainer.entry.js +1 -1
  186. package/dist/esm-es5/post-progressbar.entry.js +1 -1
  187. package/dist/esm-es5/post-rating.entry.js +1 -1
  188. package/dist/esm-es5/post-side-navigation-trigger.entry.js +1 -1
  189. package/dist/esm-es5/post-side-navigation.entry.js +1 -1
  190. package/dist/esm-es5/post-stepper-item.entry.js +1 -1
  191. package/dist/esm-es5/post-stepper.entry.js +1 -1
  192. package/dist/esm-es5/post-tab-item.entry.js +1 -1
  193. package/dist/esm-es5/post-tab-panel.entry.js +1 -1
  194. package/dist/esm-es5/post-tabs.entry.js +1 -1
  195. package/dist/esm-es5/post-togglebutton.entry.js +1 -1
  196. package/dist/esm-es5/post-tooltip-trigger.entry.js +1 -1
  197. package/dist/esm-es5/post-tooltip.entry.js +1 -1
  198. package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
  199. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  200. package/dist/esm-es5/swisspost-internet-header.js +1 -1
  201. package/dist/swisspost-internet-header/index.esm.js +1 -1
  202. package/dist/swisspost-internet-header/{p-80993537.system.entry.js → p-000978a2.system.entry.js} +1 -1
  203. package/dist/swisspost-internet-header/{p-31f0de1e.entry.js → p-03587cd5.entry.js} +1 -1
  204. package/dist/swisspost-internet-header/{p-09d4521f.entry.js → p-068b1e2b.entry.js} +1 -1
  205. package/dist/swisspost-internet-header/p-087b1e22.system.entry.js +1 -0
  206. package/dist/swisspost-internet-header/{p-bc470741.entry.js → p-089412b9.entry.js} +1 -1
  207. package/dist/swisspost-internet-header/{p-f523050e.entry.js → p-094ef16a.entry.js} +1 -1
  208. package/dist/swisspost-internet-header/{p-ab97669b.system.entry.js → p-0c651391.system.entry.js} +1 -1
  209. package/dist/swisspost-internet-header/p-0d4d5c56.entry.js +1 -0
  210. package/dist/swisspost-internet-header/{p-bf2996de.system.entry.js → p-0f501e99.system.entry.js} +1 -1
  211. package/dist/swisspost-internet-header/p-1502d221.system.entry.js +1 -0
  212. package/dist/swisspost-internet-header/{p-d7e470ff.system.entry.js → p-155f5b00.system.entry.js} +1 -1
  213. package/dist/swisspost-internet-header/p-161b1a45.system.entry.js +1 -0
  214. package/dist/swisspost-internet-header/p-16623b05.entry.js +1 -0
  215. package/dist/swisspost-internet-header/p-1780039a.entry.js +1 -0
  216. package/dist/swisspost-internet-header/p-1a18ac48.system.entry.js +1 -0
  217. package/dist/swisspost-internet-header/{p-06de7983.entry.js → p-1b2b7af5.entry.js} +1 -1
  218. package/dist/swisspost-internet-header/p-2196012d.entry.js +1 -0
  219. package/dist/swisspost-internet-header/p-2197ca9e.system.entry.js +1 -0
  220. package/dist/swisspost-internet-header/p-21e537be.system.entry.js +1 -0
  221. package/dist/swisspost-internet-header/p-25407470.system.entry.js +1 -0
  222. package/dist/swisspost-internet-header/{p-79512699.entry.js → p-255b2067.entry.js} +1 -1
  223. package/dist/swisspost-internet-header/p-2b0f93fb.entry.js +1 -0
  224. package/dist/swisspost-internet-header/{p-c1e959fb.entry.js → p-2da6fba5.entry.js} +1 -1
  225. package/dist/swisspost-internet-header/p-2e8c0f26.entry.js +1 -0
  226. package/dist/swisspost-internet-header/{p-f7a9a615.system.entry.js → p-31af5cf2.system.entry.js} +1 -1
  227. package/dist/swisspost-internet-header/p-35b6e07c.system.entry.js +1 -0
  228. package/dist/swisspost-internet-header/{p-8e61f407.system.entry.js → p-39af32a0.system.entry.js} +1 -1
  229. package/dist/swisspost-internet-header/p-3d38ab21.entry.js +1 -0
  230. package/dist/swisspost-internet-header/{p-25a5281d.entry.js → p-3ff138ba.entry.js} +1 -1
  231. package/dist/swisspost-internet-header/p-42806d60.system.entry.js +1 -0
  232. package/dist/swisspost-internet-header/{p-658dd74d.entry.js → p-4557a744.entry.js} +1 -1
  233. package/dist/swisspost-internet-header/p-4562d9d8.system.entry.js +1 -0
  234. package/dist/swisspost-internet-header/{p-17a3d14a.system.entry.js → p-4bdbf9e9.system.entry.js} +1 -1
  235. package/dist/swisspost-internet-header/p-53c33e94.entry.js +1 -0
  236. package/dist/swisspost-internet-header/p-5443664a.entry.js +1 -0
  237. package/dist/swisspost-internet-header/p-547d9572.system.entry.js +1 -0
  238. package/dist/swisspost-internet-header/{p-52e305d7.system.entry.js → p-57f1f9e2.system.entry.js} +1 -1
  239. package/dist/swisspost-internet-header/{p-be97ff93.system.entry.js → p-586ee1e8.system.entry.js} +1 -1
  240. package/dist/swisspost-internet-header/{p-80cb2bdb.entry.js → p-599e94e7.entry.js} +1 -1
  241. package/dist/swisspost-internet-header/{p-f2ed3863.entry.js → p-613fa3a4.entry.js} +1 -1
  242. package/dist/swisspost-internet-header/p-651b9efe.entry.js +1 -0
  243. package/dist/swisspost-internet-header/{p-120a2867.entry.js → p-6d6fb84b.entry.js} +1 -1
  244. package/dist/swisspost-internet-header/p-6f187e15.entry.js +1 -0
  245. package/dist/swisspost-internet-header/{p-a9c5178f.system.entry.js → p-6f79a60d.system.entry.js} +1 -1
  246. package/dist/swisspost-internet-header/{p-1f30f235.system.entry.js → p-72377b16.system.entry.js} +1 -1
  247. package/dist/swisspost-internet-header/{p-0da236b6.system.entry.js → p-7ad0de4b.system.entry.js} +1 -1
  248. package/dist/swisspost-internet-header/{p-429f04bc.system.entry.js → p-81f34993.system.entry.js} +1 -1
  249. package/dist/swisspost-internet-header/{p-e3515572.entry.js → p-826d0669.entry.js} +1 -1
  250. package/dist/swisspost-internet-header/{p-de258c90.system.entry.js → p-84ebaf4b.system.entry.js} +1 -1
  251. package/dist/swisspost-internet-header/p-8717e0ce.system.entry.js +1 -0
  252. package/dist/swisspost-internet-header/p-8f21a530.entry.js +1 -0
  253. package/dist/swisspost-internet-header/p-98d2dfb3.system.entry.js +1 -0
  254. package/dist/swisspost-internet-header/p-9b6c8533.entry.js +1 -0
  255. package/dist/swisspost-internet-header/{p-756574fd.entry.js → p-9c5941a2.entry.js} +1 -1
  256. package/dist/swisspost-internet-header/{p-B4kfqOjJ.js → p-B-DGLCj0.js} +1 -1
  257. package/dist/swisspost-internet-header/p-BEcxHjuM.js +1 -0
  258. package/dist/swisspost-internet-header/p-BT1GO8tc.system.js +1 -0
  259. package/dist/swisspost-internet-header/{p-BhneAPKT.system.js → p-COm5Sc71.system.js} +1 -1
  260. package/dist/swisspost-internet-header/p-D1A3ltXC.system.js +1 -0
  261. package/dist/swisspost-internet-header/{p-CHYNOqn0.system.js → p-D_rLPX5e.system.js} +1 -1
  262. package/dist/swisspost-internet-header/p-I1j7a0bW.js +1 -0
  263. package/dist/swisspost-internet-header/p-R5BnOD0U.system.js +1 -1
  264. package/dist/swisspost-internet-header/p-T8T3po4z.js +1 -0
  265. package/dist/swisspost-internet-header/p-a435a51d.system.entry.js +1 -0
  266. package/dist/swisspost-internet-header/{p-9b4f74a6.system.entry.js → p-a46ef8a8.system.entry.js} +1 -1
  267. package/dist/swisspost-internet-header/p-a75d1e4f.entry.js +1 -0
  268. package/dist/swisspost-internet-header/{p-db9eae5a.system.entry.js → p-a8b0c0ec.system.entry.js} +1 -1
  269. package/dist/swisspost-internet-header/p-abe2eefe.entry.js +1 -0
  270. package/dist/swisspost-internet-header/p-b344fa82.entry.js +1 -0
  271. package/dist/swisspost-internet-header/{p-4876e706.system.entry.js → p-b4de053e.system.entry.js} +1 -1
  272. package/dist/swisspost-internet-header/p-b85fabc2.system.entry.js +1 -0
  273. package/dist/swisspost-internet-header/p-bb4c3ac1.entry.js +1 -0
  274. package/dist/swisspost-internet-header/{p-36be5234.entry.js → p-bfc4a6a9.entry.js} +1 -1
  275. package/dist/swisspost-internet-header/{p-2501eb09.entry.js → p-c1e818d2.entry.js} +1 -1
  276. package/dist/swisspost-internet-header/{p-3c228ed0.system.entry.js → p-c96dbc97.system.entry.js} +1 -1
  277. package/dist/swisspost-internet-header/{p-9e57bd5a.entry.js → p-ca68b8cf.entry.js} +1 -1
  278. package/dist/swisspost-internet-header/p-caed751e.entry.js +1 -0
  279. package/dist/swisspost-internet-header/p-cb52e42c.system.entry.js +1 -0
  280. package/dist/swisspost-internet-header/{p-1801d35d.system.entry.js → p-cec19e1d.system.entry.js} +1 -1
  281. package/dist/swisspost-internet-header/p-d45690b3.system.entry.js +1 -0
  282. package/dist/swisspost-internet-header/{p-bda3094c.entry.js → p-d68a1179.entry.js} +1 -1
  283. package/dist/swisspost-internet-header/{p-0de83906.entry.js → p-d7c2cce3.entry.js} +1 -1
  284. package/dist/swisspost-internet-header/{p-2b04e974.system.entry.js → p-d7df13be.system.entry.js} +1 -1
  285. package/dist/swisspost-internet-header/p-e5ebe099.system.entry.js +1 -0
  286. package/dist/swisspost-internet-header/p-e69e8fa4.entry.js +1 -0
  287. package/dist/swisspost-internet-header/p-e6ec5fa5.entry.js +1 -0
  288. package/dist/swisspost-internet-header/{p-90e78f26.system.entry.js → p-ede58236.system.entry.js} +1 -1
  289. package/dist/swisspost-internet-header/{p-a204bb79.system.entry.js → p-f3e68437.system.entry.js} +1 -1
  290. package/dist/swisspost-internet-header/p-f4489f68.system.entry.js +1 -0
  291. package/dist/swisspost-internet-header/{p-7c53064b.entry.js → p-f4ce6247.entry.js} +1 -1
  292. package/dist/swisspost-internet-header/p-f783b224.system.entry.js +1 -0
  293. package/dist/swisspost-internet-header/{p-fe440b79.entry.js → p-fcfd3134.entry.js} +1 -1
  294. package/dist/swisspost-internet-header/p-fdbcf065.entry.js +1 -0
  295. package/dist/swisspost-internet-header/p-iSGRM5O1.system.js +1 -0
  296. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  297. package/dist/types/config/klp-urls.d.ts +23 -0
  298. package/package.json +20 -23
  299. package/readme.md +2 -2
  300. package/dist/esm-es5/breakpoints-C3jWktf-.js +0 -1
  301. package/dist/esm-es5/event-from-rEfV4v4a.js +0 -1
  302. package/dist/esm-es5/package-tTf1w3A9.js +0 -1
  303. package/dist/swisspost-internet-header/p-16182f34.system.entry.js +0 -1
  304. package/dist/swisspost-internet-header/p-1a39c0c7.entry.js +0 -1
  305. package/dist/swisspost-internet-header/p-1aeb1d6c.entry.js +0 -1
  306. package/dist/swisspost-internet-header/p-1ec41382.system.entry.js +0 -1
  307. package/dist/swisspost-internet-header/p-1fe8276f.entry.js +0 -1
  308. package/dist/swisspost-internet-header/p-2738143c.entry.js +0 -1
  309. package/dist/swisspost-internet-header/p-2990978f.system.entry.js +0 -1
  310. package/dist/swisspost-internet-header/p-2ec721b4.system.entry.js +0 -1
  311. package/dist/swisspost-internet-header/p-3373f238.system.entry.js +0 -1
  312. package/dist/swisspost-internet-header/p-34259104.entry.js +0 -1
  313. package/dist/swisspost-internet-header/p-3c917e9d.system.entry.js +0 -1
  314. package/dist/swisspost-internet-header/p-42394464.system.entry.js +0 -1
  315. package/dist/swisspost-internet-header/p-48cace4d.system.entry.js +0 -1
  316. package/dist/swisspost-internet-header/p-4b44ce5f.system.entry.js +0 -1
  317. package/dist/swisspost-internet-header/p-4d3939eb.entry.js +0 -1
  318. package/dist/swisspost-internet-header/p-5efffa89.system.entry.js +0 -1
  319. package/dist/swisspost-internet-header/p-65cfb55b.entry.js +0 -1
  320. package/dist/swisspost-internet-header/p-7a66d431.system.entry.js +0 -1
  321. package/dist/swisspost-internet-header/p-7baa1968.system.entry.js +0 -1
  322. package/dist/swisspost-internet-header/p-805ee472.system.entry.js +0 -1
  323. package/dist/swisspost-internet-header/p-83410f32.entry.js +0 -1
  324. package/dist/swisspost-internet-header/p-85087a43.system.entry.js +0 -1
  325. package/dist/swisspost-internet-header/p-8b9c9fda.entry.js +0 -1
  326. package/dist/swisspost-internet-header/p-925c8906.entry.js +0 -1
  327. package/dist/swisspost-internet-header/p-92e0402a.entry.js +0 -1
  328. package/dist/swisspost-internet-header/p-999af688.system.entry.js +0 -1
  329. package/dist/swisspost-internet-header/p-C1pxTt7y.system.js +0 -1
  330. package/dist/swisspost-internet-header/p-CGtndO2e.system.js +0 -1
  331. package/dist/swisspost-internet-header/p-Ck6UMUSA.js +0 -1
  332. package/dist/swisspost-internet-header/p-D8meK6Dd.system.js +0 -1
  333. package/dist/swisspost-internet-header/p-acabba28.entry.js +0 -1
  334. package/dist/swisspost-internet-header/p-aefc1c4c.entry.js +0 -1
  335. package/dist/swisspost-internet-header/p-b05dd248.system.entry.js +0 -1
  336. package/dist/swisspost-internet-header/p-b8bb2c10.entry.js +0 -1
  337. package/dist/swisspost-internet-header/p-c546bebe.entry.js +0 -1
  338. package/dist/swisspost-internet-header/p-ca9c885e.entry.js +0 -1
  339. package/dist/swisspost-internet-header/p-e26d9136.entry.js +0 -1
  340. package/dist/swisspost-internet-header/p-e9582f72.system.entry.js +0 -1
  341. package/dist/swisspost-internet-header/p-ec06df2f.entry.js +0 -1
  342. package/dist/swisspost-internet-header/p-ec43767f.entry.js +0 -1
  343. package/dist/swisspost-internet-header/p-ec45ed63.system.entry.js +0 -1
  344. package/dist/swisspost-internet-header/p-ecb554c7.system.entry.js +0 -1
  345. package/dist/swisspost-internet-header/p-f32d49d7.entry.js +0 -1
  346. package/dist/swisspost-internet-header/p-f56fe63d.entry.js +0 -1
  347. package/dist/swisspost-internet-header/p-fe9ac5ca.system.entry.js +0 -1
  348. package/dist/swisspost-internet-header/p-rEfV4v4a.js +0 -1
  349. package/dist/swisspost-internet-header/p-tTf1w3A9.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-CN_0KCBp.system.js","./p-CHYNOqn0.system.js","./p-CDvD7acy.system.js"],(function(t){"use strict";var e,i,o,n,r,s;return{setters:[function(t){e=t.r;i=t.h;o=t.H;n=t.g},function(t){r=t.v},function(t){s=t.d}],execute:function(){function a(t,e){var i=t.querySelectorAll(e);if(i.length===1){return i[0]}console.error("<".concat(t.localName,'> expects exactly one element matching "').concat(e,'", but found ').concat(i.length,"."),t);return null}function c(t,e){var i=d(t,e);var o=function(){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)}function d(t,e){var i=e===void 0?{}:e,o=i.delayMs,n=o===void 0?300:o,r=i.intervalMs,s=r===void 0?100:r;t();var a;var c=setTimeout((function(){a=setInterval(t,s)}),n);return function(){clearTimeout(c);if(a)clearInterval(a)}}var u=function(){return':host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:end;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);-webkit-padding-before:var(--post-device-spacing-padding-block-29);padding-block-start:var(--post-device-spacing-padding-block-29);-webkit-padding-after:var(--post-device-spacing-padding-block-3);padding-block-end:var(--post-device-spacing-padding-block-3)}: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-7) !important;padding-inline:var(--post-device-spacing-padding-inline-1) !important;padding-block:var(--post-device-spacing-padding-29) !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;-webkit-padding-end:calc( (var(--post-device-spacing-padding-inline-1)* 2) + 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;-ms-flex-positive:1;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:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;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);-webkit-box-shadow:none;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;-webkit-transition:unset;transition:unset;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex:0 0 auto;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);-webkit-box-shadow:var(--post-device-elevation-100);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:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.step-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){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;-webkit-transition:none;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}'};function l(t,e){var i=Number.parseFloat(t[e]);return Number.isNaN(i)?undefined:i}function b(t,e,i){return t!==undefined&&e!==undefined&&i(t,e)}var p=t("post_number_input",function(){function t(t){var i=this;e(this,t);this.isDisabled=false;this.isIncrementDisabled=false;this.isDecrementDisabled=false;this.small=false;this.setupInput=s(50,(function(){var t;i.input=(t=i.input)!==null&&t!==void 0?t:a(i.host,'input[type="number"]');if(!i.input)return;i.isDisabled=i.input.disabled;i.small=i.input.classList.contains("form-control-sm");i.updateStepButtonState();i.input.addEventListener("input",(function(){return i.updateStepButtonState()}));i.mutationObserver=new MutationObserver((function(){return i.updateStepButtonState()}));i.mutationObserver.observe(i.input,{attributes:true,attributeFilter:["min","max","disabled"]})}))}Object.defineProperty(t.prototype,"value",{get:function(){return l(this.input,"value")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"min",{get:function(){return l(this.input,"min")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"max",{get:function(){return l(this.input,"max")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAtMin",{get:function(){return b(this.value,this.min,(function(t,e){return t===e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAtMax",{get:function(){return b(this.value,this.max,(function(t,e){return t===e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isBelowMin",{get:function(){return b(this.value,this.min,(function(t,e){return t<e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAboveMax",{get:function(){return b(this.value,this.max,(function(t,e){return t>e}))},enumerable:false,configurable:true});t.prototype.disconnectedCallback=function(){if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.step=function(t){var e=this;var i=t==="up";c((function(){var t=i?e.isAtMax:e.isAtMin;if(t)return;var o=i?e.isBelowMin:e.isAboveMax;if(o){e.input.value=i?e.input.min:e.input.max}else{var n=i?e.input.stepUp:e.input.stepDown;n.call(e.input)}e.input.dispatchEvent(new Event("input",{bubbles:true}));e.updateStepButtonState()}))};t.prototype.updateStepButtonState=function(){var t=this.min&&this.max&&this.min>this.max;if(this.input.disabled||t){this.isIncrementDisabled=this.isDecrementDisabled=true}else{this.isIncrementDisabled=this.isAtMax||this.isAboveMax;this.isDecrementDisabled=this.isAtMin||this.isBelowMin}};t.prototype.render=function(){var t=this;var e=!!this.input;return i(o,{key:"770a0b0fe9b018afcb81f4477f45e6ea8ce27ad7","data-version":r,class:{"number-input-sm":this.small,disabled:this.isDisabled}},e&&i("div",{key:"8e599b55dc4362674719df75a573bf9ce34e79ff","aria-hidden":"true",onPointerDown:function(){return t.step("down")},class:{"step-button":true,disabled:this.isDecrementDisabled}},i("post-icon",{key:"aa55be92c51df3cc1b7f006a4400090eb345747c",name:"minus"})),i("div",{key:"030ea2a621529e61757edfc5a79fa353327a8102",class:"input-container"},i("slot",{key:"800d325da194bd0f32eab2a2bba21211aaf1829b",onSlotchange:function(){return t.setupInput()}})),e&&i("div",{key:"901dc835f21fbb51146d93f7f34775c600163993","aria-hidden":"true",onPointerDown:function(){return t.step("up")},class:{"step-button":true,disabled:this.isIncrementDisabled}},i("post-icon",{key:"1a7b93951f1f9978a1d321b33b2083774dcf86b0",name:"plus"})))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());p.style=u()}}}));
1
+ System.register(["./p-CN_0KCBp.system.js","./p-D_rLPX5e.system.js","./p-CDvD7acy.system.js"],(function(t){"use strict";var e,i,o,n,r,s;return{setters:[function(t){e=t.r;i=t.h;o=t.H;n=t.g},function(t){r=t.v},function(t){s=t.d}],execute:function(){function a(t,e){var i=t.querySelectorAll(e);if(i.length===1){return i[0]}console.error("<".concat(t.localName,'> expects exactly one element matching "').concat(e,'", but found ').concat(i.length,"."),t);return null}function c(t,e){var i=d(t,e);var o=function(){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)}function d(t,e){var i=e===void 0?{}:e,o=i.delayMs,n=o===void 0?300:o,r=i.intervalMs,s=r===void 0?100:r;t();var a;var c=setTimeout((function(){a=setInterval(t,s)}),n);return function(){clearTimeout(c);if(a)clearInterval(a)}}var u=function(){return':host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:end;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);-webkit-padding-before:var(--post-device-spacing-padding-block-29);padding-block-start:var(--post-device-spacing-padding-block-29);-webkit-padding-after:var(--post-device-spacing-padding-block-3);padding-block-end:var(--post-device-spacing-padding-block-3)}: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-7) !important;padding-inline:var(--post-device-spacing-padding-inline-1) !important;padding-block:var(--post-device-spacing-padding-29) !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;-webkit-padding-end:calc( (var(--post-device-spacing-padding-inline-1)* 2) + 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;-ms-flex-positive:1;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:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;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);-webkit-box-shadow:none;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;-webkit-transition:unset;transition:unset;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex:0 0 auto;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);-webkit-box-shadow:var(--post-device-elevation-100);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:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.step-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){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;-webkit-transition:none;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}'};function l(t,e){var i=Number.parseFloat(t[e]);return Number.isNaN(i)?undefined:i}function b(t,e,i){return t!==undefined&&e!==undefined&&i(t,e)}var p=t("post_number_input",function(){function t(t){var i=this;e(this,t);this.isDisabled=false;this.isIncrementDisabled=false;this.isDecrementDisabled=false;this.small=false;this.setupInput=s(50,(function(){var t;i.input=(t=i.input)!==null&&t!==void 0?t:a(i.host,'input[type="number"]');if(!i.input)return;i.isDisabled=i.input.disabled;i.small=i.input.classList.contains("form-control-sm");i.updateStepButtonState();i.input.addEventListener("input",(function(){return i.updateStepButtonState()}));i.mutationObserver=new MutationObserver((function(){return i.updateStepButtonState()}));i.mutationObserver.observe(i.input,{attributes:true,attributeFilter:["min","max","disabled"]})}))}Object.defineProperty(t.prototype,"value",{get:function(){return l(this.input,"value")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"min",{get:function(){return l(this.input,"min")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"max",{get:function(){return l(this.input,"max")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAtMin",{get:function(){return b(this.value,this.min,(function(t,e){return t===e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAtMax",{get:function(){return b(this.value,this.max,(function(t,e){return t===e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isBelowMin",{get:function(){return b(this.value,this.min,(function(t,e){return t<e}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isAboveMax",{get:function(){return b(this.value,this.max,(function(t,e){return t>e}))},enumerable:false,configurable:true});t.prototype.disconnectedCallback=function(){if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.step=function(t){var e=this;var i=t==="up";c((function(){var t=i?e.isAtMax:e.isAtMin;if(t)return;var o=i?e.isBelowMin:e.isAboveMax;if(o){e.input.value=i?e.input.min:e.input.max}else{var n=i?e.input.stepUp:e.input.stepDown;n.call(e.input)}e.input.dispatchEvent(new Event("input",{bubbles:true}));e.updateStepButtonState()}))};t.prototype.updateStepButtonState=function(){var t=this.min&&this.max&&this.min>this.max;if(this.input.disabled||t){this.isIncrementDisabled=this.isDecrementDisabled=true}else{this.isIncrementDisabled=this.isAtMax||this.isAboveMax;this.isDecrementDisabled=this.isAtMin||this.isBelowMin}};t.prototype.render=function(){var t=this;var e=!!this.input;return i(o,{key:"9bc4f1aff3f0347c5419cbc8c3f03660c8ce0ec3","data-version":r,class:{"number-input-sm":this.small,disabled:this.isDisabled}},e&&i("div",{key:"556bdd45f2dc5b924f7bb2eab0c059c3000bf404","aria-hidden":"true",onPointerDown:function(){return t.step("down")},class:{"step-button":true,disabled:this.isDecrementDisabled}},i("post-icon",{key:"fc8ee1c88ab96345a0aa81928c7fd4d45dd88414",name:"minus"})),i("div",{key:"9284ca5c21009bd79b144e61a33017501646fceb",class:"input-container"},i("slot",{key:"e6dfefd93d26fee610a82863a66f55939552ff7c",onSlotchange:function(){return t.setupInput()}})),e&&i("div",{key:"d74c99d7f2db50387cd3f0d6033339fbf9480a24","aria-hidden":"true",onPointerDown:function(){return t.step("up")},class:{"step-button":true,disabled:this.isIncrementDisabled}},i("post-icon",{key:"25635f72d1b067663f8458bdbb7994c7dfafa6e8",name:"plus"})))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());p.style=u()}}}));
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-h3opCZqH.js";import{v as o}from"./p-tTf1w3A9.js";import{g as a}from"./p-08F-DB-d.js";import{R as n}from"./p-DvaRK2lz.js";import{T as r}from"./p-DZMUeI8H.js";import{E as h}from"./p-rEfV4v4a.js";import"./p-vAzHgwTd.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=a(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:"1fda1561026f1eb8a4c976a937d2573713068ef9","data-version":o},s("slot",{key:"4e594cf134bfa431e410099cc0b8bf3071833e9a"}))}get host(){return e(this)}};c([n(),r("string")],l.prototype,"for",void 0),c([h("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,g as e}from"./p-h3opCZqH.js";import{v as o}from"./p-T8T3po4z.js";import{g as a}from"./p-08F-DB-d.js";import{R as n}from"./p-DvaRK2lz.js";import{T as r}from"./p-DZMUeI8H.js";import{E as h}from"./p-BEcxHjuM.js";import"./p-vAzHgwTd.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=a(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([n(),r("string")],l.prototype,"for",void 0),c([h("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}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as i,g as e}from"./p-h3opCZqH.js";import{v as s}from"./p-T8T3po4z.js";import{U as a}from"./p-C6RsLT58.js";import{T as r}from"./p-DZMUeI8H.js";import{O as n}from"./p-Drxf8XVU.js";import{R as c}from"./p-DvaRK2lz.js";import"./p-vAzHgwTd.js";var l=function(t,o,i,e){var s,a=arguments.length,r=a<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,o,i,e);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(o,i,r):s(o,i))||r);return a>3&&r&&Object.defineProperty(o,i,r),r};const d=class{constructor(o){t(this,o),this.hasSlottedAnchor=!1,this.variant="listitem",this.selected=!1,this.standalone=!1}componentWillLoad(){this.checkSlottedAnchor()}checkSlottedAnchor(){this.hasSlottedAnchor=Array.from(this.host.children).some((t=>"A"===t.tagName))}renderContent(){const t=o("slot",{onSlotchange:()=>this.checkSlottedAnchor()}),i=this.url instanceof URL?this.url.href:this.url;return this.hasSlottedAnchor?t:i?o("a",{href:i,"aria-current":this.selected?"page":void 0,"aria-label":this.label,"aria-description":this.description},t):o("span",null,t)}render(){const t=this.renderContent();return"listitem"===this.variant||this.selected?o(i,{"data-version":s,role:"listitem",slot:this.selected?"selected":void 0},t):o(i,{"data-version":s,slot:"menu"},o("post-menu-item",null,t))}get host(){return e(this)}};l([a()],d.prototype,"url",void 0),l([r("string")],d.prototype,"label",void 0),l([r("string")],d.prototype,"description",void 0),l([n(["listitem","menuitem"])],d.prototype,"variant",void 0),l([c(),r("boolean")],d.prototype,"selected",void 0),l([c(),r("boolean")],d.prototype,"standalone",void 0),d.style='a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}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}a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){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){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){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}a.btn:not(.btn-link){border-color:ButtonBorder !important}a.btn.btn-tertiary.px-0{border:0 !important}a.btn.btn-tertiary.px-0:not(:hover){text-decoration:underline}}:host([variant=menuitem]) :is(a,span),:host([variant=menuitem]) ::slotted(a){white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}:host([variant=listitem]){display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host([variant=listitem]) :is(button,a){display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;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);-webkit-box-shadow:none;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);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host([variant=listitem]) :is(button,a):not(:disabled):hover{text-decoration:none}:host([variant=listitem]) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host([variant=listitem]) :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}:host([variant=listitem]) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([variant=listitem]) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([variant=listitem]) :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){:host([variant=listitem]) :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){:host([variant=listitem]) :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}:host([variant=listitem]) :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}:host([variant=listitem]) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}:host([variant=listitem])::before{-webkit-mask-image:var(--post-icon-chevronright);mask-image:var(--post-icon-chevronright);background-color:currentColor;-ms-flex:0 0 auto;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=")}:host([variant=listitem]):not([standalone]:not([standalone=false])) ::slotted(a){white-space:nowrap}:host([variant=listitem]):host([selected]:not([selected=false])){-ms-flex-negative:0;flex-shrink:0}:host([variant=listitem]):host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host([variant=listitem]):host([standalone]:not([standalone=false])){-ms-flex-negative:1;flex-shrink:1}:host([variant=listitem]):host([standalone]:not([standalone=false])) :is(a,span),:host([variant=listitem]):host([standalone]:not([standalone=false])) ::slotted(a){white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}';export{d as post_breadcrumb_item}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,n=arguments.length;e<n;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function s(t){try{c(n.next(t))}catch(t){o(t)}}function a(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):r(t.value).then(s,a)}c((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return c([t,i])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(e=0)),e)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;r=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,o;n<r;n++){if(o||!(n in i)){if(!o)o=Array.prototype.slice.call(i,0,n);o[n]=i[n]}}return t.concat(o||Array.prototype.slice.call(i))};System.register(["./p-CN_0KCBp.system.js","./p-BthnT4-E.system.js","./p-D1A3ltXC.system.js","./p-BIAUtR0M.system.js","./p-D_rLPX5e.system.js","./p-BCAukqif.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-qFxyG4GI.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var i,e,n,r,o,s,a,c,u,d,h,f;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.H;o=t.g},function(t){s=t.f},function(t){a=t.b},function(t){c=t.a},function(t){u=t.v},function(t){d=t.r},function(t){h=t.R},function(t){f=t.T},null,null],execute:function(){var l;var b={translate:100,duration:500,easing:"ease",fill:"none"};function p(t,i,e){var n=__assign(__assign({},b),e),r=n.duration,o=n.easing,s=n.fill;return t.animate(i,{duration:r,easing:d(o),fill:s})}function v(t,i,e){if(e===void 0){e={}}var n=__assign(__assign({},b),e);var r=n.translate;var o=[{transform:"translateX(".concat(r,"%)")},{transform:"translateX(0)"}];var s=i==="in"?o:__spreadArray([],o,true).reverse();return p(t,s,e)}var m=function(){return"*,::before,::after{-webkit-box-sizing:border-box;box-sizing:border-box}.megadropdown{position:absolute;inset-inline:0;overflow-y:auto;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}@media screen and (min-width: 1024px){.megadropdown{max-height:calc(100vh - var(--post-header-height) - 48px);background-color:#f0efed;z-index:-1;inset-block-start:100%}.megadropdown.slide-in{-webkit-animation:slide-down 350ms forwards;animation:slide-down 350ms forwards}.megadropdown.slide-out{-webkit-animation:slide-up 350ms forwards;animation:slide-up 350ms forwards}}@media screen and (max-width: 1023.98px){.megadropdown{background-color:#fafafa;z-index:1;inset-block-start:var(--post-header-navigation-current-inset);-ms-scroll-chaining:none;overscroll-behavior:contain}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.megadropdown{-webkit-border-after:1px solid CanvasText;border-block-end:1px solid CanvasText}}.section{width:100%;max-width:var(--post-header-content-max-width);margin-inline:auto;position:relative}@media screen and (min-width: 1024px){.section{padding:48px 40px 40px}}@media screen and (max-width: 1023.98px){.section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));padding-inline:var(--post-burger-menu-padding-inline);-webkit-padding-before:24px;padding-block-start:24px}}@media screen and (max-width: 1023.98px){.section .megadropdown-content{-webkit-padding-after:24px;padding-block-end:24px}}.megadropdown-title{margin-block:0 16px;font-weight:950}@media screen and (min-width: 600px)and (max-width: 1023.98px){.megadropdown-title{font-size:1.25rem}}@media screen and (min-width: 0)and (max-width: 599.98px){.megadropdown-title{font-size:1.125rem}}.back-button{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;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);-webkit-box-shadow:none;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;min-height:var(--post-device-sizing-interactive-button-height-4);gap:var(--post-device-spacing-gap-inline-11);padding:0 var(--post-device-spacing-padding-inline-7);border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);-ms-flex-order:-1;order:-1;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-inline:0}.back-button:not(:disabled):hover{text-decoration:none}.back-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.back-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}.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.back-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){.back-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){.back-button{border-width:1px !important;-webkit-transition:none;transition:none}.back-button:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.back-button>post-icon{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.back-button:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}@media screen and (min-width: 600px)and (max-width: 1023.98px){.back-button{-webkit-margin-after:32px;margin-block-end:32px}}@media screen and (min-width: 0)and (max-width: 599.98px){.back-button{-webkit-margin-after:24px;margin-block-end:24px}}.close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}@media screen and (max-width: 1023.98px){.close-button{display:none}}"};var g=undefined&&undefined.__decorate||function(t,i,e,n){var r=arguments.length,o=r<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(t,i,e,n);else for(var a=t.length-1;a>=0;a--)if(s=t[a])o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o;return r>3&&o&&Object.defineProperty(i,e,o),o};var w=t("post_megadropdown",(l=function(){function t(t){var n=this;i(this,t);this.postToggleMegadropdown=e(this,"postToggleMegadropdown");this.currentAnimation=null;this.isAnimating=false;this.fsAnimationOptions={translate:-10,duration:350,easing:"headerEase"};this.device=a.get("device");this.isVisible=false;this.trigger=false;this.animationClass=null;this.breakpointChange=function(t){n.device=t.detail;n.cancelAnimation()};this.handleClickOutside=function(t){return __awaiter(n,void 0,void 0,(function(){var i,e,n;return __generator(this,(function(r){switch(r.label){case 0:if(this.device!=="desktop")return[2];i=t.target;if(this.host.contains(i)){return[2]}if(this.megadropdownTrigger.contains(i)){return[2]}if(i instanceof HTMLElement){e=i.closest("post-megadropdown-trigger");if(e){n=e.getAttribute("for");if(n!==this.host.id){return[2]}}}return[4,this.hide(false)];case 1:r.sent();return[2]}}))}))};this.keyboardHandler=this.keyboardHandler.bind(this);this.handleTabOutside=this.handleTabOutside.bind(this);this.handleClickOutside=this.handleClickOutside.bind(this)}Object.defineProperty(t.prototype,"megadropdownTrigger",{get:function(){var t=this.host.getAttribute("id");return t?document.querySelector('post-megadropdown-trigger[for="'.concat(t,'"]')):null},enumerable:false,configurable:true});t.prototype.connectedCallback=function(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)};t.prototype.componentDidRender=function(){this.getFocusableElements()};t.prototype.componentDidLoad=function(){this.checkInitialAriaCurrent();this.setupObserver();this.handleAriaCurrentChange([])};t.prototype.disconnectedCallback=function(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange);if(w.activeDropdown===this)w.activeDropdown=null;this.removeListeners();if(this.defaultSlotObserver){this.defaultSlotObserver.disconnect()}};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isAnimating){return[2,this.isVisible?this.show():this.hide()]}return[2,this.isVisible?this.hide():this.show()]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;return __generator(this,(function(n){switch(n.label){case 0:if(this.device!=="desktop"){t=this.megadropdownTrigger;if(t)this.megadropdownTitle=t.innerHTML}i=false;if(w.activeDropdown&&w.activeDropdown!==this){w.activeDropdown.forceClose();i=true}this.cancelAnimation();this.isVisible=true;w.activeDropdown=this;this.postToggleMegadropdown.emit({isVisible:true});if(!i)return[3,1];this.focusFirst();this.addListeners();return[3,4];case 1:n.trys.push([1,3,,4]);return[4,this.animate("in")];case 2:n.sent();this.focusFirst();this.addListeners();return[3,4];case 3:e=n.sent();this.removeListeners();this.isVisible=false;if(w.activeDropdown===this)w.activeDropdown=null;this.postToggleMegadropdown.emit({isVisible:false,focusParent:true});return[3,4];case 4:return[2]}}))}))};t.prototype.hide=function(){return __awaiter(this,arguments,void 0,(function(t,i){var e;if(t===void 0){t=true}if(i===void 0){i=false}return __generator(this,(function(n){switch(n.label){case 0:if(i){this.forceClose();return[2]}this.postToggleMegadropdown.emit({isVisible:false,focusParent:t});n.label=1;case 1:n.trys.push([1,3,,4]);return[4,this.animate("out")];case 2:n.sent();this.isVisible=false;this.removeListeners();if(w.activeDropdown===this)w.activeDropdown=null;return[3,4];case 3:e=n.sent();w.activeDropdown=this;this.addListeners();this.isVisible=true;this.postToggleMegadropdown.emit({isVisible:true,focusParent:false});return[3,4];case 4:return[2]}}))}))};t.prototype.focusFirst=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this.firstFocusableEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.forceClose=function(){this.removeListeners();this.postToggleMegadropdown.emit({isVisible:false,focusParent:false});this.isVisible=false;if(w.activeDropdown===this)w.activeDropdown=null};t.prototype.createAnimation=function(t){if(this.device==="desktop"){return s(this.animatedContainer,t,this.fsAnimationOptions)}return v(this.animatedContainer,t,{translate:100,duration:350,easing:t==="in"?"ease-in":"ease-out"})};t.prototype.animate=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:this.cancelAnimation();this.currentAnimation=this.createAnimation(t);this.isAnimating=true;return[4,this.currentAnimation.finished];case 1:i.sent();this.isAnimating=false;this.currentAnimation=null;return[2]}}))}))};t.prototype.cancelAnimation=function(){var t;(t=this.currentAnimation)===null||t===void 0?void 0:t.cancel();this.currentAnimation=null};t.prototype.addListeners=function(){this.host.addEventListener("keydown",this.keyboardHandler);document.addEventListener("keyup",this.handleTabOutside);document.addEventListener("mousedown",this.handleClickOutside)};t.prototype.removeListeners=function(){this.host.removeEventListener("keydown",this.keyboardHandler);document.removeEventListener("keyup",this.handleTabOutside);document.removeEventListener("mousedown",this.handleClickOutside)};t.prototype.getFocusableElements=function(){var t=__spreadArray(__spreadArray([],c(this.host),true),c(this.host.shadowRoot),true);this.firstFocusableEl=t[0];this.lastFocusableEl=t.at(-1)};t.prototype.keyboardHandler=function(t){if(t.key!=="Tab"||this.device==="desktop")return;var i=this.host.shadowRoot.activeElement||document.activeElement;if(t.shiftKey&&i===this.firstFocusableEl){t.preventDefault();this.lastFocusableEl.focus()}else if(!t.shiftKey&&i===this.lastFocusableEl){t.preventDefault();this.firstFocusableEl.focus()}};t.prototype.handleTabOutside=function(t){if(t.key==="Tab"&&this.device==="desktop"){if(this.isVisible&&!this.host.contains(t.target)){this.hide(false)}}};t.prototype.setupObserver=function(){var t={subtree:true,attributes:true,attributeFilter:["aria-current"]};this.defaultSlotObserver=new MutationObserver(this.handleAriaCurrentChange.bind(this));this.defaultSlotObserver.observe(this.host,t)};t.prototype.setTriggerActive=function(t){var i=this.megadropdownTrigger;if(i)i.setAttribute("active",t.toString())};t.prototype.handleAriaCurrentChange=function(t){if(t.length===0)return;var i=t.some((function(t){return t.target instanceof HTMLElement&&t.target.getAttribute("aria-current")==="page"}));this.setTriggerActive(i)};t.prototype.checkInitialAriaCurrent=function(){var t=this.host.querySelector('[aria-current="page"]');if(t)this.setTriggerActive(true)};t.prototype.render=function(){var t=this;var i=this.isVisible?{}:{display:"none"};return n(r,{key:"c0854fff62bf5e8de1597e46051aea5f300ee686",version:u},n("div",{key:"1f4f66b74d7129481d76f1eec15a924b2c37718c",ref:function(i){return t.animatedContainer=i},class:"megadropdown",style:i},n("div",{key:"af743442fe3ad6211cddccddf5d0803de9f501b5",class:"section"},this.device!=="desktop"&&this.megadropdownTitle&&n("p",{key:"35a03b2ee32498aa157140d4e6916cbf66655e5c",class:"megadropdown-title"},this.megadropdownTitle),n("div",{key:"6c4efb52e7bb04c4f40d5b3f739ca69771c48602",class:"megadropdown-content"},n("slot",{key:"2b3200495cf23fe049734de9de9a5a1f4c9b09f3"})),this.device==="desktop"?n("post-closebutton",{onClick:function(){return t.hide(true)},class:"close-button",size:"small",placement:"manual"},this.textClose):n("button",{onClick:function(){return t.hide(true)},class:"back-button"},n("post-icon",{name:"arrowleft"}),this.textBack))))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}(),function(){l.activeDropdown=null}(),l));g([h(),f("string")],w.prototype,"textClose",void 0);g([h(),f("string")],w.prototype,"textBack",void 0);w.style=m()}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,i){function r(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function a(t){try{s(i.next(t))}catch(t){n(t)}}function c(t){try{s(i["throw"](t))}catch(t){n(t)}}function s(t){t.done?o(t.value):r(t.value).then(a,c)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=c(0),a["throw"]=c(1),a["return"]=c(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(e){return s([t,e])}}function s(c){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(o=0)),o)try{if(i=1,r&&(n=c[0]&2?r["return"]:c[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,c[1])).done)return n;if(r=0,n)c=[c[0]&2,n.value];switch(c[0]){case 0:case 1:n=c;break;case 4:o.label++;return{value:c[1],done:false};case 5:o.label++;r=c[1];c=[0];continue;case 7:c=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){o.label=c[1];break}if(c[0]===6&&o.label<n[1]){o.label=n[1];n=c;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(c);break}if(n[2])o.ops.pop();o.trys.pop();continue}c=e.call(t,o)}catch(t){c=[6,t];r=0}finally{i=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-CHYNOqn0.system.js","./p-D4wq7hIE.system.js","./p-CiwQnVr3.system.js","./p-C1pxTt7y.system.js","./p-Bwi1IyPf.system.js","./p-BMZcKRx0.system.js","./p-qFxyG4GI.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var e,o,i,r,n,a,c,s,d,l,u,f;return{setters:[function(t){e=t.r;o=t.h;i=t.H;r=t.g;n=t.c},function(t){a=t.v},function(t){c=t.R},function(t){s=t.O},function(t){d=t.E},function(t){l=t.n},function(t){u=t.T},function(t){f=t.g},null],execute:function(){function b(){return globalThis.matchMedia?globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches:true}var h=[1,2,3,4,5,6];var p=function(){return":host{display:block;-webkit-border-before:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke);border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}"};var v=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var g=t("post_accordion",function(){function t(t){e(this,t);this.expandedItems=new Set;this.multiple=false}t.prototype.syncHeadingLevel=function(){var t=this;this.accordionItems.forEach((function(e){e.setAttribute("heading-level",String(t.headingLevel))}))};t.prototype.componentWillLoad=function(){this.registerAccordionItems()};t.prototype.componentDidLoad=function(){this.syncHeadingLevel()};t.prototype.collapseToggleHandler=function(t){var e=t.target;var o=this.expandedItems.has(e);if(o){this.expandedItems.delete(e)}else{this.expandedItems.add(e)}if(this.multiple||o)return;Array.from(this.expandedItems.values()).filter((function(t){return t!==e})).forEach((function(t){t.toggle(false)}))};t.prototype.toggle=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:e=this.accordionItems.find((function(e){return e.id===t}));if(!e)throw new Error("No post-accordion-item found with id #".concat(t,"."));return[4,e.toggle()];case 1:o.sent();return[2]}}))}))};t.prototype.expandAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.multiple)return[3,2];return[4,Promise.all(this.accordionItems.map((function(t){return t.toggle(true)})))];case 1:t.sent();return[3,4];case 2:if(!(this.expandedItems.size===0))return[3,4];return[4,this.accordionItems[0].toggle(true)];case 3:t.sent();t.label=4;case 4:return[2]}}))}))};t.prototype.collapseAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.accordionItems.map((function(t){return t.toggle(false)})))];case 1:t.sent();return[2]}}))}))};t.prototype.registerAccordionItems=function(){var t=this;this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item"));this.accordionItems.filter((function(e){return!e.collapsed||t.expandedItems.has(e)})).forEach((function(e,o){if(!t.multiple&&o!==0){e.setAttribute("collapsed","");return}t.expandedItems.add(e)}))};t.prototype.render=function(){var t=this;return o(i,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":a},o("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},o("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:function(){return t.registerAccordionItems()}})))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{headingLevel:[{syncHeadingLevel:0}]}},enumerable:false,configurable:true});return t}());v([c(),s(h)],g.prototype,"headingLevel",void 0);v([d("post-accordion-item")],g.prototype,"collapseToggleHandler",null);g.style=p();var m=function(){return':host{display:block;-webkit-border-after:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke);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{-webkit-transform:rotate(-180deg);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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;display:-ms-flexbox;display:flex;position:relative;width:100%;-ms-flex-align:center;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);-webkit-border-after:var(--post-device-border-width-default) var(--post-core-border-style-solid) rgba(0,0,0,0);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]){-ms-flex-positive:1;flex-grow:1}.accordion-button post-icon{-ms-flex:none;flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:var(--post-accordion-icon-initial-transform, none);transform:var(--post-accordion-icon-initial-transform, none)}.accordion-button.collapsed{-webkit-padding-before:var(--post-device-spacing-padding-19);padding-block-start:var(--post-device-spacing-padding-19);-webkit-padding-after:var(--post-device-spacing-padding-19);padding-block-end:var(--post-device-spacing-padding-19)}.accordion-button.collapsed post-icon{-webkit-transform:rotate(-180deg);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{-webkit-margin-after:calc(var(--post-device-border-width-default)*-1);margin-block-end:calc(var(--post-device-border-width-default)*-1)}.accordion-body{-webkit-padding-before:var(--post-device-spacing-padding-15);padding-block-start:var(--post-device-spacing-padding-15);-webkit-padding-after:var(--post-device-spacing-padding-block-25);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%;-o-object-fit:cover;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){-webkit-margin-before:0 !important;margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){-webkit-margin-after:0 !important;margin-block-end:0 !important}'};var y=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var w=t("post_accordion_item",function(){function t(t){e(this,t);this.collapsed=false}t.prototype.onCollapseToggle=function(t){this.collapsed=!t.detail};t.prototype.toggle=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.collapsible.toggle(t)]}))}))};t.prototype.onSlotLogoChange=function(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')};t.prototype.componentWillRender=function(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')};t.prototype.render=function(){var t=this;var e;var r="c".concat(l(6));var n=(e=this.host.closest("post-accordion"))===null||e===void 0?void 0:e.getAttribute("heading-level");var c="h".concat(n!==null&&n!==void 0?n:2);return o(i,{key:"b9699596d57887d99214c6f163355535c68eae1a","data-version":a},o("post-collapsible-trigger",{key:"ebd7c9d6bf2bc35d548867edc8766e31125d8509",for:r},o(c,{key:"93806261d7dba93569b09d37dff0c01b4f29268b",class:"accordion-header"},o("button",{key:"785a4bcff2c6705aade9b045e1176d43a2ef202b",type:"button",class:"accordion-button".concat(this.collapsed?" collapsed":""),part:"post-accordion-button"},o("span",{key:"87f8ba7f7ebe2ba851b6dc134656296820c467d0",class:{"logo-container":true,"has-image":!!this.slottedLogo}},o("slot",{key:"146256cb174f5895b25fd8f44464ca32fba6b6ee",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),o("slot",{key:"d742ef89a88280f85c7da697536d4ad2ff825f0b",name:"header"}),o("post-icon",{key:"f83e438c9d504ebaa0066df81b6f74ec14dcb08a",name:"chevronup"})))),o("post-collapsible",{key:"179f36eab7ebdb9faa909a70eb43e1d78503e6e1",id:r,collapsed:this.collapsed,ref:function(e){return t.collapsible=e}},o("div",{key:"e93c3570cf76c971b49bf28d3d5540ac289b2469",class:"accordion-body",part:"post-accordion-body"},o("slot",{key:"db26c35edb371cb855141b6f7552d96ea10e06a4"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y([d("post-accordion-item")],w.prototype,"onCollapseToggle",null);w.style=m();var k=350;var _="ease";var j={height:"0",overflow:"hidden"};var x={duration:b()?0:k,easing:_,fill:"forwards"};function O(t){var e=globalThis.getComputedStyle(t).height;var o={height:e};return t.animate([o,j],x)}function R(t){var e={height:"".concat(t.scrollHeight,"px"),offset:1,overflow:"hidden"};var o={height:"auto",overflow:"visible"};return t.animate([j,e,o],x)}var T=function(){return":host{display:block;position:relative;overflow:var(--post-collapsible-initial-overflow, hidden);height:var(--post-collapsible-initial-height, auto)}"};var z=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var H=t("post_collapsible",function(){function t(t){e(this,t);this.postToggle=n(this,"postToggle");this.collapsed=false}Object.defineProperty(t.prototype,"isExpanded",{get:function(){return!this.collapsed},enumerable:false,configurable:true});t.prototype.componentDidLoad=function(){this.updateTriggers()};t.prototype.toggle=function(){return __awaiter(this,arguments,void 0,(function(t){var e,o;if(t===void 0){t=!this.isExpanded}return __generator(this,(function(i){switch(i.label){case 0:if(t===this.isExpanded)return[2,this.isExpanded];this.collapsed=!t;e=this.isExpanded;o=e?R(this.host):O(this.host);this.postToggle.emit(e);return[4,o.finished];case 1:i.sent();o.commitStyles();this.updateTriggers();return[2,e]}}))}))};t.prototype.updateTriggers=function(){var t=this.host.id?Array.from(document.querySelectorAll('post-collapsible-trigger[for="'.concat(this.host.id,'"]'))):[];var e=this.host.closest("post-collapsible-trigger");if(e&&!t.includes(e)){t.push(e)}t.forEach((function(t){return t.update()}))};t.prototype.render=function(){return o(i,{key:"d4fef8eff9b716e9dff0e570f5993221ca631ed5","data-version":a,tabindex:this.collapsed?-1:undefined,style:this.collapsed?j:undefined},o("slot",{key:"ee957da050187c1cfd752e0dcb6b5f86505f5089"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());z([u("boolean")],H.prototype,"collapsed",void 0);H.style=T();var S=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var C=t("post_collapsible_trigger",function(){function t(t){var o=this;e(this,t);this.observer=new MutationObserver((function(){return o.setTrigger()}));this.handlePostToggle=this.handlePostToggle.bind(this)}t.prototype.connectedCallback=function(){this.root=f(this.host);this.root.addEventListener("postToggle",this.handlePostToggle);this.observer.observe(this.host,{childList:true,subtree:true})};t.prototype.componentDidLoad=function(){this.setTrigger();if(!this.trigger)console.warn("The post-collapsible-trigger must contain a button.");if(!this.collapsible){var t=this.for?'with id "'.concat(this.for,'"'):"nested inside <post-collapsible-trigger>";console.warn("No post-collapsible found ".concat(t,'. Either nest a post-collapsible inside the trigger or set the "for" attribute to the id of the collapsible.'))}};t.prototype.disconnectedCallback=function(){var t;this.observer.disconnect();(t=this.root)===null||t===void 0?void 0:t.removeEventListener("postToggle",this.handlePostToggle)};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateAriaAttributes();return[2]}))}))};t.prototype.handlePostToggle=function(t){if(this.trigger){this.trigger.setAttribute("aria-expanded","".concat(t.detail))}};t.prototype.updateAriaAttributes=function(){var t=this.collapsible;if(!this.trigger||!t)return;t.id||(t.id="collapsible-".concat(crypto.randomUUID()));var e=t.id;var o=this.trigger.getAttribute("aria-controls");var i=o?o.split(/\s+/):[];if(!i.includes(e)){i.push(e);this.trigger.setAttribute("aria-controls",i.join(" "))}this.trigger.setAttribute("aria-expanded","".concat(!t.collapsed))};t.prototype.toggleCollapsible=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:return[4,(t=this.collapsible)===null||t===void 0?void 0:t.toggle()];case 1:e.sent();return[2]}}))}))};Object.defineProperty(t.prototype,"collapsible",{get:function(){var t,e,o;var i=(t=this.host.querySelector("post-collapsible"))!==null&&t!==void 0?t:this.for?(o=(e=this.root)===null||e===void 0?void 0:e.getElementById(this.for))!==null&&o!==void 0?o:null:null;if(i&&i.localName==="post-collapsible"){return i}return null},enumerable:false,configurable:true});t.prototype.setTrigger=function(){var t=this;var e=Array.from(this.host.querySelectorAll("button")).find((function(e){var o=e.closest("post-collapsible");var i=!!o&&t.host.contains(o);return!i}));if(!e||this.trigger&&e.isEqualNode(this.trigger))return;this.trigger=e;this.trigger.addEventListener("click",(function(){return t.toggleCollapsible()}));this.updateAriaAttributes()};t.prototype.render=function(){return o(i,{key:"64dde42136274194be6c3c4f94fb87ded8a3a079","data-version":a},o("slot",{key:"f43727ec2f7692793178ad6c162bb56f0f2d842b"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());S([u("string")],C.prototype,"for",void 0);S([d("post-collapsible")],C.prototype,"handlePostToggle",null)}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,o,i){function r(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function a(t){try{s(i.next(t))}catch(t){n(t)}}function c(t){try{s(i["throw"](t))}catch(t){n(t)}}function s(t){t.done?o(t.value):r(t.value).then(a,c)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=c(0),a["throw"]=c(1),a["return"]=c(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(e){return s([t,e])}}function s(c){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(o=0)),o)try{if(i=1,r&&(n=c[0]&2?r["return"]:c[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,c[1])).done)return n;if(r=0,n)c=[c[0]&2,n.value];switch(c[0]){case 0:case 1:n=c;break;case 4:o.label++;return{value:c[1],done:false};case 5:o.label++;r=c[1];c=[0];continue;case 7:c=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){o.label=c[1];break}if(c[0]===6&&o.label<n[1]){o.label=n[1];n=c;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(c);break}if(n[2])o.ops.pop();o.trys.pop();continue}c=e.call(t,o)}catch(t){c=[6,t];r=0}finally{i=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-D_rLPX5e.system.js","./p-D4wq7hIE.system.js","./p-CiwQnVr3.system.js","./p-iSGRM5O1.system.js","./p-Bwi1IyPf.system.js","./p-BMZcKRx0.system.js","./p-qFxyG4GI.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var e,o,i,r,n,a,c,s,d,l,u,f;return{setters:[function(t){e=t.r;o=t.h;i=t.H;r=t.g;n=t.c},function(t){a=t.v},function(t){c=t.R},function(t){s=t.O},function(t){d=t.E},function(t){l=t.n},function(t){u=t.T},function(t){f=t.g},null],execute:function(){function b(){return globalThis.matchMedia?globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches:true}var h=[1,2,3,4,5,6];var p=function(){return":host{display:block;-webkit-border-before:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke);border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}"};var v=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var g=t("post_accordion",function(){function t(t){e(this,t);this.expandedItems=new Set;this.multiple=false}t.prototype.syncHeadingLevel=function(){var t=this;this.accordionItems.forEach((function(e){e.setAttribute("heading-level",String(t.headingLevel))}))};t.prototype.componentWillLoad=function(){this.registerAccordionItems()};t.prototype.componentDidLoad=function(){this.syncHeadingLevel()};t.prototype.collapseToggleHandler=function(t){var e=t.target;var o=this.expandedItems.has(e);if(o){this.expandedItems.delete(e)}else{this.expandedItems.add(e)}if(this.multiple||o)return;Array.from(this.expandedItems.values()).filter((function(t){return t!==e})).forEach((function(t){t.toggle(false)}))};t.prototype.toggle=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:e=this.accordionItems.find((function(e){return e.id===t}));if(!e)throw new Error("No post-accordion-item found with id #".concat(t,"."));return[4,e.toggle()];case 1:o.sent();return[2]}}))}))};t.prototype.expandAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.multiple)return[3,2];return[4,Promise.all(this.accordionItems.map((function(t){return t.toggle(true)})))];case 1:t.sent();return[3,4];case 2:if(!(this.expandedItems.size===0))return[3,4];return[4,this.accordionItems[0].toggle(true)];case 3:t.sent();t.label=4;case 4:return[2]}}))}))};t.prototype.collapseAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.accordionItems.map((function(t){return t.toggle(false)})))];case 1:t.sent();return[2]}}))}))};t.prototype.registerAccordionItems=function(){var t=this;this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item"));this.accordionItems.filter((function(e){return!e.collapsed||t.expandedItems.has(e)})).forEach((function(e,o){if(!t.multiple&&o!==0){e.setAttribute("collapsed","");return}t.expandedItems.add(e)}))};t.prototype.render=function(){var t=this;return o(i,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":a},o("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},o("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:function(){return t.registerAccordionItems()}})))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{headingLevel:[{syncHeadingLevel:0}]}},enumerable:false,configurable:true});return t}());v([c(),s(h)],g.prototype,"headingLevel",void 0);v([d("post-accordion-item")],g.prototype,"collapseToggleHandler",null);g.style=p();var m=function(){return':host{display:block;-webkit-border-after:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke);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{-webkit-transform:rotate(-180deg);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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;display:-ms-flexbox;display:flex;position:relative;width:100%;-ms-flex-align:center;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);-webkit-border-after:var(--post-device-border-width-default) var(--post-core-border-style-solid) rgba(0,0,0,0);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]){-ms-flex-positive:1;flex-grow:1}.accordion-button post-icon{-ms-flex:none;flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:var(--post-accordion-icon-initial-transform, none);transform:var(--post-accordion-icon-initial-transform, none)}.accordion-button.collapsed{-webkit-padding-before:var(--post-device-spacing-padding-19);padding-block-start:var(--post-device-spacing-padding-19);-webkit-padding-after:var(--post-device-spacing-padding-19);padding-block-end:var(--post-device-spacing-padding-19)}.accordion-button.collapsed post-icon{-webkit-transform:rotate(-180deg);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{-webkit-margin-after:calc(var(--post-device-border-width-default)*-1);margin-block-end:calc(var(--post-device-border-width-default)*-1)}.accordion-body{-webkit-padding-before:var(--post-device-spacing-padding-15);padding-block-start:var(--post-device-spacing-padding-15);-webkit-padding-after:var(--post-device-spacing-padding-block-25);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%;-o-object-fit:cover;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){-webkit-margin-before:0 !important;margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){-webkit-margin-after:0 !important;margin-block-end:0 !important}'};var y=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var w=t("post_accordion_item",function(){function t(t){e(this,t);this.collapsed=false}t.prototype.onCollapseToggle=function(t){this.collapsed=!t.detail};t.prototype.toggle=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.collapsible.toggle(t)]}))}))};t.prototype.onSlotLogoChange=function(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')};t.prototype.componentWillRender=function(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')};t.prototype.render=function(){var t=this;var e;var r="c".concat(l(6));var n=(e=this.host.closest("post-accordion"))===null||e===void 0?void 0:e.getAttribute("heading-level");var c="h".concat(n!==null&&n!==void 0?n:2);return o(i,{key:"b9699596d57887d99214c6f163355535c68eae1a","data-version":a},o("post-collapsible-trigger",{key:"ebd7c9d6bf2bc35d548867edc8766e31125d8509",for:r},o(c,{key:"93806261d7dba93569b09d37dff0c01b4f29268b",class:"accordion-header"},o("button",{key:"785a4bcff2c6705aade9b045e1176d43a2ef202b",type:"button",class:"accordion-button".concat(this.collapsed?" collapsed":""),part:"post-accordion-button"},o("span",{key:"87f8ba7f7ebe2ba851b6dc134656296820c467d0",class:{"logo-container":true,"has-image":!!this.slottedLogo}},o("slot",{key:"146256cb174f5895b25fd8f44464ca32fba6b6ee",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),o("slot",{key:"d742ef89a88280f85c7da697536d4ad2ff825f0b",name:"header"}),o("post-icon",{key:"f83e438c9d504ebaa0066df81b6f74ec14dcb08a",name:"chevronup"})))),o("post-collapsible",{key:"179f36eab7ebdb9faa909a70eb43e1d78503e6e1",id:r,collapsed:this.collapsed,ref:function(e){return t.collapsible=e}},o("div",{key:"e93c3570cf76c971b49bf28d3d5540ac289b2469",class:"accordion-body",part:"post-accordion-body"},o("slot",{key:"db26c35edb371cb855141b6f7552d96ea10e06a4"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y([d("post-accordion-item")],w.prototype,"onCollapseToggle",null);w.style=m();var k=350;var _="ease";var j={height:"0",overflow:"hidden"};var x={duration:b()?0:k,easing:_,fill:"forwards"};function O(t){var e=globalThis.getComputedStyle(t).height;var o={height:e};return t.animate([o,j],x)}function R(t){var e={height:"".concat(t.scrollHeight,"px"),offset:1,overflow:"hidden"};var o={height:"auto",overflow:"visible"};return t.animate([j,e,o],x)}var T=function(){return":host{display:block;position:relative;overflow:var(--post-collapsible-initial-overflow, hidden);height:var(--post-collapsible-initial-height, auto)}"};var z=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var S=t("post_collapsible",function(){function t(t){e(this,t);this.postToggle=n(this,"postToggle");this.collapsed=false}Object.defineProperty(t.prototype,"isExpanded",{get:function(){return!this.collapsed},enumerable:false,configurable:true});t.prototype.componentDidLoad=function(){this.updateTriggers()};t.prototype.toggle=function(){return __awaiter(this,arguments,void 0,(function(t){var e,o;if(t===void 0){t=!this.isExpanded}return __generator(this,(function(i){switch(i.label){case 0:if(t===this.isExpanded)return[2,this.isExpanded];this.collapsed=!t;e=this.isExpanded;o=e?R(this.host):O(this.host);this.postToggle.emit(e);return[4,o.finished];case 1:i.sent();o.commitStyles();this.updateTriggers();return[2,e]}}))}))};t.prototype.updateTriggers=function(){var t=this.host.id?Array.from(document.querySelectorAll('post-collapsible-trigger[for="'.concat(this.host.id,'"]'))):[];var e=this.host.closest("post-collapsible-trigger");if(e&&!t.includes(e)){t.push(e)}t.forEach((function(t){return t.update()}))};t.prototype.render=function(){return o(i,{key:"243dad696871a08bc07325d4511f5baeb937c194","data-version":a,tabindex:this.collapsed?-1:undefined,style:this.collapsed?j:undefined},o("slot",{key:"5f4f8a9bb698f6558b114c760e5eeb355ac35b80"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());z([u("boolean")],S.prototype,"collapsed",void 0);S.style=T();var H=undefined&&undefined.__decorate||function(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)if(a=t[c])n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n;return r>3&&n&&Object.defineProperty(e,o,n),n};var P=t("post_collapsible_trigger",function(){function t(t){var o=this;e(this,t);this.observer=new MutationObserver((function(){return o.setTrigger()}));this.handlePostToggle=this.handlePostToggle.bind(this)}t.prototype.connectedCallback=function(){this.root=f(this.host);this.root.addEventListener("postToggle",this.handlePostToggle);this.observer.observe(this.host,{childList:true,subtree:true})};t.prototype.componentDidLoad=function(){this.setTrigger();if(!this.trigger)console.warn("The post-collapsible-trigger must contain a button.");if(!this.collapsible){var t=this.for?'with id "'.concat(this.for,'"'):"nested inside <post-collapsible-trigger>";console.warn("No post-collapsible found ".concat(t,'. Either nest a post-collapsible inside the trigger or set the "for" attribute to the id of the collapsible.'))}};t.prototype.disconnectedCallback=function(){var t;this.observer.disconnect();(t=this.root)===null||t===void 0?void 0:t.removeEventListener("postToggle",this.handlePostToggle)};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateAriaAttributes();return[2]}))}))};t.prototype.handlePostToggle=function(t){if(this.trigger){this.trigger.setAttribute("aria-expanded","".concat(t.detail))}};t.prototype.updateAriaAttributes=function(){var t=this.collapsible;if(!this.trigger||!t)return;t.id||(t.id="collapsible-".concat(crypto.randomUUID()));var e=t.id;var o=this.trigger.getAttribute("aria-controls");var i=o?o.split(/\s+/):[];if(!i.includes(e)){i.push(e);this.trigger.setAttribute("aria-controls",i.join(" "))}this.trigger.setAttribute("aria-expanded","".concat(!t.collapsed))};t.prototype.toggleCollapsible=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:return[4,(t=this.collapsible)===null||t===void 0?void 0:t.toggle()];case 1:e.sent();return[2]}}))}))};Object.defineProperty(t.prototype,"collapsible",{get:function(){var t,e,o;var i=(t=this.host.querySelector("post-collapsible"))!==null&&t!==void 0?t:this.for?(o=(e=this.root)===null||e===void 0?void 0:e.getElementById(this.for))!==null&&o!==void 0?o:null:null;if(i&&i.localName==="post-collapsible"){return i}return null},enumerable:false,configurable:true});t.prototype.setTrigger=function(){var t=this;var e=Array.from(this.host.querySelectorAll("button")).find((function(e){var o=e.closest("post-collapsible");var i=!!o&&t.host.contains(o);return!i}));if(!e||this.trigger&&e.isEqualNode(this.trigger))return;this.trigger=e;this.trigger.addEventListener("click",(function(){return t.toggleCollapsible()}));this.updateAriaAttributes()};t.prototype.render=function(){return o(i,{key:"4d28c7068acd2e1b4a5f2272bee3b51ec5d8a216","data-version":a},o("slot",{key:"0bcbb780ed6d06ef36b9129b22b4a5dcd5aa7294"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());H([u("string")],P.prototype,"for",void 0);H([d("post-collapsible")],P.prototype,"handlePostToggle",null)}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{s(n.next(t))}catch(t){i(t)}}function c(t){try{s(n["throw"](t))}catch(t){i(t)}}function s(t){t.done?r(t.value):o(t.value).then(a,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=c(0),a["throw"]=c(1),a["return"]=c(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(e){return s([t,e])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(r=0)),r)try{if(n=1,o&&(i=c[0]&2?o["return"]:c[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;if(o=0,i)c=[c[0]&2,i.value];switch(c[0]){case 0:case 1:i=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;o=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1];i=c;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(c);break}if(i[2])r.ops.pop();r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t];o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-BYB4z0RW.system.js","./p-D_rLPX5e.system.js","./p-CiwQnVr3.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var e,r,n,o,i,a,c;return{setters:[function(t){e=t.r;r=t.h;n=t.H;o=t.g},function(t){i=t.P},function(t){a=t.v},function(t){c=t.O},null],execute:function(){var s=function(){return':host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;-webkit-box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg);box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);word-wrap:break-word;white-space:normal}'};var u=undefined&&undefined.__decorate||function(t,e,r,n){var o=arguments.length,i=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)if(a=t[c])i=(o<3?a(i):o>3?a(e,r,i):a(e,r))||i;return o>3&&i&&Object.defineProperty(e,r,i),i};var f=t("post_tooltip",function(){function t(t){e(this,t);this.placement="top";this.arrow=false;this.open=false}t.prototype.componentDidLoad=function(){if(!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.")}};t.prototype.show=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(this.open)return[2];return[4,this.popoverRef.show(t)];case 1:e.sent();return[2]}}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.popoverRef.hide();return[2]}))}))};t.prototype.toggle=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.popoverRef.toggle(t,e);return[2]}))}))};t.prototype.handleBeforeToggle=function(t){this.open=t.detail.willOpen};t.prototype.render=function(){var t=this;var e="".concat(this.arrow?"has-arrow":"");return r(n,{key:"62d5983e0ef32f851166d0c1d2c457cac0809fdf","data-version":a},r("post-popovercontainer",{key:"10150540956510724ab4832ecceb421a7013d983",safeSpace:"trapezoid",class:e,role:"tooltip",arrow:this.arrow,placement:this.placement,autoHide:true,onPostBeforeToggle:function(e){return t.handleBeforeToggle(e)},ref:function(e){return t.popoverRef=e}},r("slot",{key:"cdfaf0e916afa55ec3f1a7f64003101985560e27"})))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u([c(i)],f.prototype,"placement",void 0);f.style=s()}}}));
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-h3opCZqH.js";import{v as a}from"./p-tTf1w3A9.js";import{n as o}from"./p-8LXe8Zt_.js";import{R as r}from"./p-DvaRK2lz.js";import{T as c}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";const n=class{constructor(s){t(this,s),this.mutationObserver=new MutationObserver(this.checkPagesVariant.bind(this)),this.isPagesVariant=!1,this.disabled=!1}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0,subtree:!0})}componentWillLoad(){this.tabId=`tab-${this.host.id||o(6)}`,this.checkPagesVariant()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkPagesVariant(){const t=null!==this.host.querySelector("a");this.isPagesVariant=t}render(){return s(i,{key:"3d17a3c22c3677483bc4c86600b7527353dff290",id:this.tabId,role:this.isPagesVariant?void 0:"tab","data-version":a,"data-pages-variant":this.isPagesVariant.toString(),"aria-selected":this.isPagesVariant?void 0:"false","aria-disabled":this.disabled?"true":void 0,tabindex:this.isPagesVariant?void 0:"-1",class:this.isPagesVariant?"nav-item":"tab-title",style:void 0},s("slot",{key:"9514279224549dcc0bf5553e98c535b64f37a191"}))}get host(){return e(this)}};!function(t,s,i,e){var a,o=arguments.length,r=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(r=(o<3?a(r):o>3?a(s,i,r):a(s,i))||r);o>3&&r&&Object.defineProperty(s,i,r)}([r(),c("string")],n.prototype,"name",void 0);export{n as post_tab_item}
1
+ import{r as t,h as s,H as e,g as i}from"./p-h3opCZqH.js";import{v as a}from"./p-T8T3po4z.js";import{n as o}from"./p-8LXe8Zt_.js";import{R as r}from"./p-DvaRK2lz.js";import{T as c}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";const n=class{constructor(s){t(this,s),this.mutationObserver=new MutationObserver(this.checkPagesVariant.bind(this)),this.isPagesVariant=!1,this.disabled=!1}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0,subtree:!0})}componentWillLoad(){this.tabId=`tab-${this.host.id||o(6)}`,this.checkPagesVariant()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkPagesVariant(){const t=null!==this.host.querySelector("a");this.isPagesVariant=t}render(){return s(e,{key:"0c98772d01658e932be9982b6983eb3c1f0c4053",id:this.tabId,role:this.isPagesVariant?void 0:"tab","data-version":a,"data-pages-variant":this.isPagesVariant.toString(),"aria-selected":this.isPagesVariant?void 0:"false","aria-disabled":this.disabled?"true":void 0,tabindex:this.isPagesVariant?void 0:"-1",class:this.isPagesVariant?"nav-item":"tab-title",style:void 0},s("slot",{key:"fba27566a1226e560161f839df050666763bdce5"}))}get host(){return i(this)}};!function(t,s,e,i){var a,o=arguments.length,r=o<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(r=(o<3?a(r):o>3?a(s,e,r):a(s,e))||r);o>3&&r&&Object.defineProperty(s,e,r)}([r(),c("string")],n.prototype,"name",void 0);export{n as post_tab_item}
@@ -1 +1 @@
1
- import{r as t,c as s,h as a,H as r,g as i}from"./p-h3opCZqH.js";import{v as e}from"./p-tTf1w3A9.js";import{R as o}from"./p-DvaRK2lz.js";import{T as n}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";var l=function(t,s,a,r){var i,e=arguments.length,o=e<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,a,r);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(e<3?i(o):e>3?i(s,a,o):i(s,a))||o);return e>3&&o&&Object.defineProperty(s,a,o),o};const h=class{constructor(a){t(this,a),this.postInput=s(this,"postInput"),this.postChange=s(this,"postChange"),this.hasChanged=!1,this.stars=5,this.currentRating=0,this.readonly=!1,this.keydownHandler=this.keydownHandler.bind(this),this.blurHandler=this.blurHandler.bind(this),this.hoverHandler=this.hoverHandler.bind(this)}update(t){this.readonly||t<0||t>this.stars||(this.currentRating=this.currentRating!==t?t:0,this.postInput.emit({value:this.currentRating}),this.hasChanged=!0)}keydownHandler(t){switch(t.key){case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.update(this.currentRating-1);break;case"ArrowUp":case"ArrowRight":t.preventDefault(),this.update(this.currentRating+1);break;case"Home":t.preventDefault(),this.update(0);break;case"End":t.preventDefault(),this.update(this.stars);break;case"Enter":case" ":this.blurHandler();break;default:return}}blurHandler(){this.hasChanged&&(this.postChange.emit({value:this.currentRating}),this.hasChanged=!1)}hoverHandler(t,s){this.readonly||("mouseenter"===s.type?this.hoveredIndex=t:"mouseleave"===s.type&&(this.hoveredIndex=void 0))}render(){return a(r,{key:"082aaa831e204f0576c494bd9ce14364b7a34436","data-version":e},a("div",{key:"1c13ae74c34a1032fa680ce608aac0320178bd65",role:"slider",class:"rating",tabindex:"0","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":this.stars,"aria-valuenow":this.currentRating,"aria-valuetext":`${this.currentRating} / ${this.stars}`,"aria-readonly":this.readonly?"true":"false",onKeyDown:this.keydownHandler,onBlur:this.blurHandler},Array.from({length:this.stars}).map(((t,s)=>a("div",{key:`star-${t}`,"aria-hidden":"true",class:{star:!0,"before-hover":s<this.hoveredIndex,active:s<Math.round(this.currentRating),hover:s===this.hoveredIndex,"after-active":s>this.hoveredIndex&&s<this.currentRating},onClick:()=>this.update(s+1),onMouseEnter:t=>this.hoverHandler(s,t),onMouseLeave:t=>this.hoverHandler(s,t)},a("post-icon",{name:"favoritestar",class:"stroke"}),a("post-icon",{name:"favoritestar-solid",class:"fill"}))))))}get host(){return i(this)}};l([o(),n("string")],h.prototype,"label",void 0),l([o(),n("number")],h.prototype,"stars",void 0),l([o(),n("number")],h.prototype,"currentRating",void 0),h.style=":host{display:inline-block}.rating{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden;margin:0 calc(var(--post-core-dimension-4)*-1);border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;-webkit-transition:all ease 100ms;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:var(--post-core-dimension-2);outline:var(--post-core-dimension-2) solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";export{h as post_rating}
1
+ import{r as t,c as s,h as r,H as a,g as i}from"./p-h3opCZqH.js";import{v as e}from"./p-T8T3po4z.js";import{R as o}from"./p-DvaRK2lz.js";import{T as n}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";var l=function(t,s,r,a){var i,e=arguments.length,o=e<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,r,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(e<3?i(o):e>3?i(s,r,o):i(s,r))||o);return e>3&&o&&Object.defineProperty(s,r,o),o};const h=class{constructor(r){t(this,r),this.postInput=s(this,"postInput"),this.postChange=s(this,"postChange"),this.hasChanged=!1,this.stars=5,this.currentRating=0,this.readonly=!1,this.keydownHandler=this.keydownHandler.bind(this),this.blurHandler=this.blurHandler.bind(this),this.hoverHandler=this.hoverHandler.bind(this)}update(t){this.readonly||t<0||t>this.stars||(this.currentRating=this.currentRating!==t?t:0,this.postInput.emit({value:this.currentRating}),this.hasChanged=!0)}keydownHandler(t){switch(t.key){case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.update(this.currentRating-1);break;case"ArrowUp":case"ArrowRight":t.preventDefault(),this.update(this.currentRating+1);break;case"Home":t.preventDefault(),this.update(0);break;case"End":t.preventDefault(),this.update(this.stars);break;case"Enter":case" ":this.blurHandler();break;default:return}}blurHandler(){this.hasChanged&&(this.postChange.emit({value:this.currentRating}),this.hasChanged=!1)}hoverHandler(t,s){this.readonly||("mouseenter"===s.type?this.hoveredIndex=t:"mouseleave"===s.type&&(this.hoveredIndex=void 0))}render(){return r(a,{key:"727813875ba5d754ec17f4a2b151c0c6cd4ab5ca","data-version":e},r("div",{key:"1ac7e5db0098568c16551a4850442e4c8f0e686b",role:"slider",class:"rating",tabindex:"0","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":this.stars,"aria-valuenow":this.currentRating,"aria-valuetext":`${this.currentRating} / ${this.stars}`,"aria-readonly":this.readonly?"true":"false",onKeyDown:this.keydownHandler,onBlur:this.blurHandler},Array.from({length:this.stars}).map(((t,s)=>r("div",{key:`star-${t}`,"aria-hidden":"true",class:{star:!0,"before-hover":s<this.hoveredIndex,active:s<Math.round(this.currentRating),hover:s===this.hoveredIndex,"after-active":s>this.hoveredIndex&&s<this.currentRating},onClick:()=>this.update(s+1),onMouseEnter:t=>this.hoverHandler(s,t),onMouseLeave:t=>this.hoverHandler(s,t)},r("post-icon",{name:"favoritestar",class:"stroke"}),r("post-icon",{name:"favoritestar-solid",class:"fill"}))))))}get host(){return i(this)}};l([o(),n("string")],h.prototype,"label",void 0),l([o(),n("number")],h.prototype,"stars",void 0),l([o(),n("number")],h.prototype,"currentRating",void 0),h.style=":host{display:inline-block}.rating{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden;margin:0 calc(var(--post-core-dimension-4)*-1);border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;-webkit-transition:all ease 100ms;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:var(--post-core-dimension-2);outline:var(--post-core-dimension-2) solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";export{h as post_rating}
@@ -1 +1 @@
1
- System.register(["./p-CN_0KCBp.system.js","./p-DaxAbTyB.system.js","./p-BMZcKRx0.system.js"],(function(e){"use strict";var r,t,i,n,o,a,s,u;return{setters:[function(e){r=e.r;t=e.h;i=e.H;n=e.g},function(e){o=e.r;a=e.c;s=e.g},function(e){u=e.T}],execute:function(){function c(e,r){var t=typeof r==="string"?e[r]:r;return typeof t==="number"?t:null}function f(e,r,t){var i=a({priority:1,blocking:false,run:function(i,n){var o;var a=s(i,n),u=a.value,f=a.showError;if(typeof u!=="number"){return true}var l=c(i,e);if(l===null){if(typeof e==="string"){var d=i[e];var v=typeof d;if(v!=="number"){f('references property "'.concat(e,'" which must be a number but got ').concat(v));return false}}return true}var b=(o=r.include)!==null&&o!==void 0?o:t.includeDefault;if(!t.compare(u,l,b)){var p=typeof e==="string"?String(l):String(e);var h=t.formatExpectation(p,b);f("must be ".concat(h));return false}return true}});return function(r,t){if(typeof e==="string"){o(r,e,t)}i(r,t)}}function l(e,r){if(r===void 0){r={}}return f(e,{include:r.includeMin},{includeDefault:false,compare:function(e,r,t){return t?e>=r:e>r},formatExpectation:function(e,r){return r?'greater than or equal to "'.concat(e,'"'):'greater than "'.concat(e,'"')}})}function d(e,r){if(r===void 0){r={}}return f(e,{include:r.includeMax},{includeDefault:true,compare:function(e,r,t){return t?e<=r:e<r},formatExpectation:function(e,r){return r?'less than or equal to "'.concat(e,'"'):'less than "'.concat(e,'"')}})}var v=function(){return":host{display:block;position:relative;height:var(--post-device-sizing-interactive-progressbar-indicator);border-radius:var(--post-device-border-radius-round);-webkit-box-shadow:0px 0px 0px var(--post-device-border-width-alternative1) var(--post-scheme-color-interactive-primary-enabled-stroke) inset;box-shadow:0px 0px 0px var(--post-device-border-width-alternative1) var(--post-scheme-color-interactive-primary-enabled-stroke) inset;overflow:hidden}.progress-value{position:absolute;inset-block:0;inset-inline-start:0;width:var(--post-progressbar-value, 0);border-radius:var(--post-device-border-radius-round);background-color:var(--post-progressbar-status-color, var(--post-scheme-color-interactive-primary-enabled-bg2));-webkit-transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border:1px solid Highlight}.progress-value{background-color:Highlight}}"};var b=undefined&&undefined.__decorate||function(e,r,t,i){var n=arguments.length,o=n<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,t):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)if(a=e[s])o=(n<3?a(o):n>3?a(r,t,o):a(r,t))||o;return n>3&&o&&Object.defineProperty(r,t,o),o};var p=e("post_progressbar",function(){function e(e){r(this,e);this.min=0;this.max=100}e.prototype.getEffectiveMin=function(){return Number.isFinite(this.min)?this.min:0};e.prototype.getEffectiveMax=function(){return Number.isFinite(this.max)&&this.max>this.getEffectiveMin()?this.max:100};e.prototype.getEffectiveValue=function(e,r){if(this.value===undefined||!Number.isFinite(this.value)||this.value<e||this.value>r){return e}return this.value};e.prototype.render=function(){var e=this.getEffectiveMin();var r=this.getEffectiveMax();var n=this.getEffectiveValue(e,r);var o=(n-e)/(r-e)*100;return t(i,{key:"434d38d2a3157820477b80831a8283ca9e427dfb",role:"progressbar","aria-valuenow":n,"aria-valuemin":e,"aria-valuemax":r},t("div",{key:"862332d99d2b930258e20d2f4417cdfebc6e6333",class:"progress-value",style:{"--post-progressbar-value":"".concat(o,"%")}}))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());b([u("number")],p.prototype,"min",void 0);b([u("number"),l("min")],p.prototype,"max",void 0);b([u("number"),l("min"),d("max")],p.prototype,"value",void 0);p.style=v()}}}));
1
+ System.register(["./p-CN_0KCBp.system.js","./p-DaxAbTyB.system.js","./p-BMZcKRx0.system.js"],(function(e){"use strict";var r,t,i,n,o,a,s,u;return{setters:[function(e){r=e.r;t=e.h;i=e.H;n=e.g},function(e){o=e.r;a=e.c;s=e.g},function(e){u=e.T}],execute:function(){function c(e,r){var t=typeof r==="string"?e[r]:r;return typeof t==="number"?t:null}function f(e,r,t){var i=a({priority:1,blocking:false,run:function(i,n){var o;var a=s(i,n),u=a.value,f=a.showError;if(typeof u!=="number"){return true}var l=c(i,e);if(l===null){if(typeof e==="string"){var v=i[e];var d=typeof v;if(d!=="number"){f('references property "'.concat(e,'" which must be a number but got ').concat(d));return false}}return true}var b=(o=r.include)!==null&&o!==void 0?o:t.includeDefault;if(!t.compare(u,l,b)){var p=typeof e==="string"?String(l):String(e);var h=t.formatExpectation(p,b);f("must be ".concat(h));return false}return true}});return function(r,t){if(typeof e==="string"){o(r,e,t)}i(r,t)}}function l(e,r){if(r===void 0){r={}}return f(e,{include:r.includeMin},{includeDefault:false,compare:function(e,r,t){return t?e>=r:e>r},formatExpectation:function(e,r){return r?'greater than or equal to "'.concat(e,'"'):'greater than "'.concat(e,'"')}})}function v(e,r){if(r===void 0){r={}}return f(e,{include:r.includeMax},{includeDefault:true,compare:function(e,r,t){return t?e<=r:e<r},formatExpectation:function(e,r){return r?'less than or equal to "'.concat(e,'"'):'less than "'.concat(e,'"')}})}var d=function(){return":host{display:block;position:relative;height:var(--post-device-sizing-interactive-progressbar-indicator);border-radius:var(--post-device-border-radius-round);-webkit-box-shadow:0px 0px 0px var(--post-device-border-width-alternative1) var(--post-scheme-color-interactive-primary-enabled-stroke) inset;box-shadow:0px 0px 0px var(--post-device-border-width-alternative1) var(--post-scheme-color-interactive-primary-enabled-stroke) inset;overflow:hidden}.progress-value{position:absolute;inset-block:0;inset-inline-start:0;width:var(--post-progressbar-value, 0);border-radius:var(--post-device-border-radius-round);background-color:var(--post-progressbar-status-color, var(--post-scheme-color-interactive-primary-enabled-bg2));-webkit-transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border:1px solid Highlight}.progress-value{background-color:Highlight}}"};var b=undefined&&undefined.__decorate||function(e,r,t,i){var n=arguments.length,o=n<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,t):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(e,r,t,i);else for(var s=e.length-1;s>=0;s--)if(a=e[s])o=(n<3?a(o):n>3?a(r,t,o):a(r,t))||o;return n>3&&o&&Object.defineProperty(r,t,o),o};var p=e("post_progressbar",function(){function e(e){r(this,e);this.min=0;this.max=100}e.prototype.getEffectiveMin=function(){return Number.isFinite(this.min)?this.min:0};e.prototype.getEffectiveMax=function(){return Number.isFinite(this.max)&&this.max>this.getEffectiveMin()?this.max:100};e.prototype.getEffectiveValue=function(e,r){if(this.value===undefined||!Number.isFinite(this.value)||this.value<e||this.value>r){return e}return this.value};e.prototype.render=function(){var e=this.getEffectiveMin();var r=this.getEffectiveMax();var n=this.getEffectiveValue(e,r);var o=(n-e)/(r-e)*100;return t(i,{key:"c29b1fa3dca89d999c2a55bd58c9c7450ed767c6",role:"progressbar","aria-valuenow":n,"aria-valuemin":e,"aria-valuemax":r},t("div",{key:"aaff038be7bdaf99de1e94c7479c2b57947195ac",class:"progress-value",style:{"--post-progressbar-value":"".concat(o,"%")}}))};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());b([u("number")],p.prototype,"min",void 0);b([u("number"),l("min")],p.prototype,"max",void 0);b([u("number"),l("min"),v("max")],p.prototype,"value",void 0);p.style=d()}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,o,e,i){function n(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,r){function s(t){try{c(i.next(t))}catch(t){r(t)}}function a(t){try{c(i["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):n(t.value).then(s,a)}c((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(o){return c([t,o])}}function c(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(e=0)),e)try{if(i=1,n&&(r=a[0]&2?n["return"]:a[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;if(n=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;n=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=o.call(t,e)}catch(t){a=[6,t];n=0}finally{i=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-BthnT4-E.system.js","./p-D_rLPX5e.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-BCAukqif.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var o,e,i,n,r,s,a,c;return{setters:[function(t){o=t.r;e=t.h;i=t.H;n=t.g},function(t){r=t.f},function(t){s=t.v},function(t){a=t.R},function(t){c=t.T},null,null],execute:function(){var u=function(){return":host{opacity:0;--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;z-index:1019;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;-webkit-box-shadow:var(--post-back-to-top-elevation);box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top: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 .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}"};var h=undefined&&undefined.__decorate||function(t,o,e,i){var n=arguments.length,r=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,e):i,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(t,o,e,i);else for(var a=t.length-1;a>=0;a--)if(s=t[a])r=(n<3?s(r):n>3?s(o,e,r):s(o,e))||r;return n>3&&r&&Object.defineProperty(o,e,r),r};var l=t("post_back_to_top",function(){function t(t){var e=this;o(this,t);this.belowFold=false;this.handleScroll=function(){e.belowFold=e.isBelowFold()}}t.prototype.isBelowFold=function(){return window.scrollY>window.innerHeight};t.prototype.watchBelowFold=function(t){return __awaiter(this,void 0,void 0,(function(){var o;var e;return __generator(this,(function(i){switch(i.label){case 0:(e=this.currentAnimation)===null||e===void 0?void 0:e.cancel();this.host.hidden=false;this.currentAnimation=r(this.host,t?"in":"out",{translate:this.translateY,fill:"forwards"});i.label=1;case 1:i.trys.push([1,3,,4]);return[4,this.currentAnimation.finished];case 2:i.sent();if(!this.belowFold)this.host.hidden=true;return[3,4];case 3:o=i.sent();return[3,4];case 4:return[2]}}))}))};t.prototype.scrollToTop=function(){window.scrollTo({top:0,behavior:"smooth"})};t.prototype.getSecondPixelValue=function(t){for(var o=0,e=t;o<e.length;o++){var i=e[o];var n=i.match(/\b\d+px\b/g);if(n&&n.length>1){return n[1]}}};t.prototype.animateButton=function(){var t=globalThis.getComputedStyle(this.host).getPropertyValue("top");var o=this.host.shadowRoot.querySelector("button");var e=getComputedStyle(o).getPropertyValue("--post-back-to-top-elevation");var i=e.split(",");var n=this.getSecondPixelValue(i);if(!t||t==="auto"||!n)return;this.translateY=-1*100/100-Number.parseFloat(t.replace("px",""))-Number.parseFloat(n.replace("px",""));if(this.belowFold){r(this.host,"in",{translate:this.translateY,fill:"forwards"})}if(!this.belowFold){this.host.style.transform="translateY(".concat(this.translateY,")")}};t.prototype.componentWillLoad=function(){this.belowFold=this.isBelowFold();this.host.hidden=!this.belowFold};t.prototype.componentDidLoad=function(){window.addEventListener("scroll",this.handleScroll,{passive:true});this.animateButton()};t.prototype.disconnectedCallback=function(){window.removeEventListener("scroll",this.handleScroll)};t.prototype.render=function(){return e(i,{key:"149a8afee36c12130b3e503c4da5cffdaa3f86b5","data-version":s},e("button",{key:"4e291c5cfaa55bb6a68f436af570d83377436a3a",class:"back-to-top",onClick:this.scrollToTop},e("post-icon",{key:"c25e8d12cf6f751b368010ad2d82534fa95adf86","aria-hidden":"true",name:"arrowup"}),e("span",{key:"e16d1247a5ab7e39629e4bec7307ee562c589f7e",class:"visually-hidden"},this.textBackToTop)))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{belowFold:[{watchBelowFold:0}]}},enumerable:false,configurable:true});return t}());h([a(),c("string")],l.prototype,"textBackToTop",void 0);l.style=u()}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-h3opCZqH.js";import{v as h}from"./p-T8T3po4z.js";import{E as a}from"./p-BEcxHjuM.js";const c=class{constructor(i){t(this,i),this.postOptionActive=s(this,"postOptionActive"),this.highlightedIndex=-1,this.visibleOptions=[],this.diacriticPattern=/[\u0300-\u036F]/u,this.registerOptions=()=>{this.visibleOptions=this.options},this.updateSelection=t=>{this.options.forEach((s=>{s.selected=s.value===t,s.highlighted=!1})),this.highlightedIndex=-1,this.clearActive()},this.clearActive=()=>{this.highlightedIndex=-1,this.postOptionActive.emit(null)},this.normalizeText=t=>t.trim().normalize("NFD").replace(this.diacriticPattern,"").toLocaleLowerCase(),this.resetFilter=()=>{this.visibleOptions=this.options,this.options.forEach((t=>{t.hidden=!1,t.highlighted=!1}))}}get options(){return Array.from(this.host.querySelectorAll("post-listbox-option"))}get inputElement(){let t=this.host.closest("post-autocomplete");return t||(t=document.querySelector(`post-autocomplete[listbox="${this.host.id}"]`)),t?.querySelector("input")}componentWillLoad(){this.registerOptions()}async show(){const t=this.inputElement;t&&this.popoverContainer?.show(t)}async hide(){this.popoverContainer?.hide()}async filter(t){const s=this.normalizeText(t);s?this.visibleOptions=this.options.filter((t=>{const i=this.normalizeText(t.textContent),e=this.normalizeText(t.value).includes(s)||i.includes(s);return t.hidden=!e,e})):this.resetFilter(),this.clearActive()}async clearSelection(){this.updateSelection()}async navigate(t){if(0===this.visibleOptions.length)return;switch(this.highlightedIndex>=0&&(this.visibleOptions[this.highlightedIndex].highlighted=!1),t){case"first":this.highlightedIndex=0;break;case"last":this.highlightedIndex=this.visibleOptions.length-1;break;case"up":this.highlightedIndex=(this.highlightedIndex-1+this.visibleOptions.length)%this.visibleOptions.length;break;case"down":this.highlightedIndex=(this.highlightedIndex+1)%this.visibleOptions.length}const s=this.visibleOptions[this.highlightedIndex];s.scrollIntoView({behavior:"smooth",block:"end"}),s.highlighted=!0,this.postOptionActive.emit(s.id)}async selectActive(){if(this.highlightedIndex>=0){const t=this.visibleOptions[this.highlightedIndex];this.updateSelection(t.value),this.host.dispatchEvent(new CustomEvent("postOptionSelected",{bubbles:!0,detail:t.value}))}}optionClicked(t){this.updateSelection(t.detail)}render(){return i(e,{key:"a59296af752a3f88bcd70663d0ce12f61718e92f","data-version":h,role:"listbox"},i("post-popovercontainer",{key:"665dd563705515022edc79a4d98e9ac43b80c525",placement:"bottom-start",ref:t=>this.popoverContainer=t},i("slot",{key:"d8a37fd905dfaca07286913a0c680e61744d65e1",name:"blank-slate"}),i("slot",{key:"22e367ae36329d0586e1a275692983cf0c004df4"})))}get host(){return o(this)}};(function(t,s,i,e){var o,h=arguments.length,a=h<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 c=t.length-1;c>=0;c--)(o=t[c])&&(a=(h<3?o(a):h>3?o(s,i,a):o(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([a("post-listbox-option")],c.prototype,"optionClicked",null),c.style="post-popovercontainer{border-radius:4px;overflow:hidden;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";export{c as post_listbox}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as o,H as n,g as r}from"./p-h3opCZqH.js";import{v as s}from"./p-T8T3po4z.js";import{O as i}from"./p-Drxf8XVU.js";import{P as a}from"./p-DRiVosES.js";import{T as p}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";const c=["top","right","bottom","left"],l=Math.min,f=Math.max,u=Math.round,d=Math.floor,h=t=>({x:t,y:t}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function m(t,e,o){return f(t,l(e,o))}function g(t,e){return"function"==typeof t?t(e):t}function x(t){return t.split("-")[0]}function w(t){return t.split("-")[1]}function b(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function S(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return b(S(t))}function T(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const E=["left","right"],M=["right","left"],A=["top","bottom"],O=["bottom","top"];function H(t){const e=x(t);return v[e]+t.slice(e.length)}function L(t){return"number"!=typeof t?function(t){var e,o,n,r;return{top:null!=(e=t.top)?e:0,right:null!=(o=t.right)?o:0,bottom:null!=(n=t.bottom)?n:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function $(t){const{x:e,y:o,width:n,height:r}=t;return{width:n,height:r,top:o,left:e,right:e+n,bottom:o+r,x:e,y:o}}function D(t,e,o){let{reference:n,floating:r}=t;const s=S(e),i=k(e),a=y(i),p=x(e),c="y"===s,l=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2,u=n[a]/2-r[a]/2;let d;switch(p){case"top":d={x:l,y:n.y-r.height};break;case"bottom":d={x:l,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-r.width,y:f};break;default:d={x:n.x,y:n.y}}const h=w(e);return h&&(d[i]+=u*("end"===h?1:-1)*(o&&c?-1:1)),d}async function C(t,e){var o;void 0===e&&(e={});const{x:n,y:r,platform:s,rects:i,elements:a,strategy:p}=t,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:u=!1,padding:d=0}=g(e,t),h=L(d),v=a[u?"floating"===f?"reference":"floating":f],m=$(await s.getClippingRect({element:null==(o=await(null==s.isElement?void 0:s.isElement(v)))||o?v:v.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:p})),x="floating"===f?{x:n,y:r,width:i.floating.width,height:i.floating.height}:i.reference,w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),b=await(null==s.isElement?void 0:s.isElement(w))&&await(null==s.getScale?void 0:s.getScale(w))||{x:1,y:1},y=$(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:w,strategy:p}):x);return{top:(m.top-y.top+h.top)/b.y,bottom:(y.bottom-m.bottom+h.bottom)/b.y,left:(m.left-y.left+h.left)/b.x,right:(y.right-m.right+h.right)/b.x}}function R(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function z(t){return c.some((e=>t[e]>=0))}function j(t){const e=l(...t.map((t=>t.left))),o=l(...t.map((t=>t.top)));return{x:e,y:o,width:f(...t.map((t=>t.right)))-e,height:f(...t.map((t=>t.bottom)))-o}}const F=new Set(["left","top"]);function P(){return"undefined"!=typeof window}function W(t){return I(t)?(t.nodeName||"").toLowerCase():"#document"}function B(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function q(t){var e;return null==(e=(I(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function I(t){return!!P()&&(t instanceof Node||t instanceof B(t).Node)}function V(t){return!!P()&&(t instanceof Element||t instanceof B(t).Element)}function N(t){return!!P()&&(t instanceof HTMLElement||t instanceof B(t).HTMLElement)}function G(t){return!(!P()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof B(t).ShadowRoot)}function U(t){const{overflow:e,overflowX:o,overflowY:n,display:r}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&"inline"!==r&&"contents"!==r}function X(t){return/^(table|td|th)$/.test(W(t))}function Z(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const _=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,J=t=>!!t&&"none"!==t;let K;function Q(t){const e=V(t)?ot(t):t;return J(e.transform)||J(e.translate)||J(e.scale)||J(e.rotate)||J(e.perspective)||!tt()&&(J(e.backdropFilter)||J(e.filter))||_.test(e.willChange||"")||Y.test(e.contain||"")}function tt(){return null==K&&(K="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),K}function et(t){return/^(html|body|#document)$/.test(W(t))}function ot(t){return B(t).getComputedStyle(t)}function nt(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function rt(t){if("html"===W(t))return t;const e=t.assignedSlot||t.parentNode||G(t)&&t.host||q(t);return G(e)?e.host:e}function st(t){const e=rt(t);return et(e)?(t.ownerDocument||t).body:N(e)&&U(e)?e:st(e)}function it(t,e,o){var n;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=st(t),s=r===(null==(n=t.ownerDocument)?void 0:n.body),i=B(r);if(s){const t=at(i);return e.concat(i,i.visualViewport||[],U(r)?r:[],t&&o?it(t):[])}return e.concat(r,it(r,[],o))}function at(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function pt(t){const e=ot(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const r=N(t),s=r?t.offsetWidth:o,i=r?t.offsetHeight:n,a=u(o)!==s||u(n)!==i;return a&&(o=s,n=i),{width:o,height:n,$:a}}function ct(t){return V(t)?t:t.contextElement}function lt(t){const e=ct(t);if(!N(e))return h(1);const o=e.getBoundingClientRect(),{width:n,height:r,$:s}=pt(e);let i=(s?u(o.width):o.width)/n,a=(s?u(o.height):o.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const ft=h(0);function ut(t){const e=B(t);return tt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ft}function dt(t,e,o,n){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),s=ct(t);let i=h(1);e&&(n?V(n)&&(i=lt(n)):i=lt(t));const a=function(t,e,o){return void 0===e&&(e=!1),!!o&&e&&o===B(t)}(s,o,n)?ut(s):h(0);let p=(r.left+a.x)/i.x,c=(r.top+a.y)/i.y,l=r.width/i.x,f=r.height/i.y;if(s&&n){const t=B(s),e=V(n)?B(n):n;let o=t,r=at(o);for(;r&&e!==o;){const t=lt(r),e=r.getBoundingClientRect(),n=ot(r),s=e.left+(r.clientLeft+parseFloat(n.paddingLeft))*t.x,i=e.top+(r.clientTop+parseFloat(n.paddingTop))*t.y;p*=t.x,c*=t.y,l*=t.x,f*=t.y,p+=s,c+=i,o=B(r),r=at(o)}}return $({width:l,height:f,x:p,y:c})}function ht(t,e){const o=nt(t).scrollLeft;return e?e.left+o:dt(q(t)).left+o}function vt(t,e){const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-ht(t,o),y:o.top+e.scrollTop}}function mt(t,e,o){let n;if("viewport"===e||"layoutViewport"===e)n=function(t,e,o){void 0===o&&(o="viewport");const n="layoutViewport"===o,r=B(t),s=q(t),i=r.visualViewport;let a=s.clientWidth,p=s.clientHeight,c=0,l=0;if(i){const t=!tt()||"fixed"===e;n?t||(c=-i.offsetLeft,l=-i.offsetTop):(a=i.width,p=i.height,t&&(c=i.offsetLeft,l=i.offsetTop))}if(ht(s)<=0){const t=s.ownerDocument,e=t.body,o=getComputedStyle(e),n="CSS1Compat"===t.compatMode&&parseFloat(o.marginLeft)+parseFloat(o.marginRight)||0,r=Math.abs(s.clientWidth-e.clientWidth-n),i="stable both-edges"===getComputedStyle(s).scrollbarGutter?r/2:r;i<=25&&(a-=i)}return{width:a,height:p,x:c,y:l}}(t,o,e);else if("document"===e)n=function(t){const e=nt(t),o=t.ownerDocument.body,n=f(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=f(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-e.scrollLeft+ht(t);const i=-e.scrollTop;return"rtl"===ot(o).direction&&(s+=f(t.clientWidth,o.clientWidth)-n),{width:n,height:r,x:s,y:i}}(q(t));else if(V(e))n=function(t,e){const o=dt(t,!0,"fixed"===e),n=o.top+t.clientTop,r=o.left+t.clientLeft,s=lt(t);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:r*s.x,y:n*s.y}}(e,o);else{const o=ut(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return $(n)}function gt(t,e,o){const n=N(e),r=q(e),s="fixed"===o,i=dt(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const p=h(0);if((n||!s)&&(("body"!==W(e)||U(r))&&(a=nt(e)),n)){const t=dt(e,!0,s,e);p.x=t.x+e.clientLeft,p.y=t.y+e.clientTop}!n&&r&&(p.x=ht(r));const c=!r||n||s?h(0):vt(r,a);return{x:i.left+a.scrollLeft-p.x-c.x,y:i.top+a.scrollTop-p.y-c.y,width:i.width,height:i.height}}function xt(t){return"static"===ot(t).position}function wt(t,e){if(!N(t)||"fixed"===ot(t).position)return null;if(e)return e(t);let o=t.offsetParent;return q(t)===o&&(o=o.ownerDocument.body),o}function bt(t,e){const o=B(t);if(Z(t))return o;if(!N(t)){let e=rt(t);for(;e&&!et(e);){if(V(e)&&!xt(e))return e;e=rt(e)}return o}let n=wt(t,e);for(;n&&X(n)&&xt(n);)n=wt(n,e);return n&&et(n)&&xt(n)&&!Q(n)?o:n||function(t){let e=rt(t);for(;N(e)&&!et(e);){if(Q(e))return e;if(Z(e))return null;e=rt(e)}return null}(t)||o}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:o,offsetParent:n,strategy:r}=t;const s="fixed"===r,i=q(n),a=!!e&&Z(e.floating);if(n===i||a&&s)return o;let p={scrollLeft:0,scrollTop:0},c=h(1);const l=h(0),f=N(n);if((f||!s)&&(("body"!==W(n)||U(i))&&(p=nt(n)),f)){const t=dt(n);c=lt(n),l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}const u=!i||f||s?h(0):vt(i,p);return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-p.scrollLeft*c.x+l.x+u.x,y:o.y*c.y-p.scrollTop*c.y+l.y+u.y}},getDocumentElement:q,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:n,strategy:r}=t;const s=[..."clippingAncestors"===o?Z(e)?[]:function(t,e){const o=e.get(t);if(o)return o;let n=it(t,[],!1).filter((t=>V(t)&&"body"!==W(t))),r=null;const s="fixed"===ot(t).position;let i=s?rt(t):t;for(;V(i)&&!et(i);){const t=ot(i),e=Q(i),o=r?r.position:s?"fixed":"";e||"fixed"!==o&&("absolute"!==o||"static"!==t.position)?r=t:n=n.filter((t=>t!==i)),i=rt(i)}return e.set(t,n),n}(e,this._c):[].concat(o),n],i=mt(e,s[0],r);let a=i.top,p=i.right,c=i.bottom,u=i.left;for(let t=1;t<s.length;t++){const o=mt(e,s[t],r);a=f(o.top,a),p=l(o.right,p),c=l(o.bottom,c),u=f(o.left,u)}return{width:p-u,height:c-a,x:u,y:a}},getOffsetParent:bt,getElementRects:async function(t){const e=this.getOffsetParent||bt,o=this.getDimensions,n=await o(t.floating);return{reference:gt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:o}=pt(t);return{width:e,height:o}},getScale:lt,isElement:V,isRTL:function(t){return"rtl"===ot(t).direction}};function St(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const kt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:r,y:s,placement:i,middlewareData:a}=e,p=await async function(t,e){const{placement:o,platform:n,elements:r}=t,s=await(null==n.isRTL?void 0:n.isRTL(r.floating)),i=x(o),a=w(o),p="y"===S(o),c=F.has(i)?-1:1,l=s&&p?-1:1,f=g(e,t);let{mainAxis:u,crossAxis:d,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(d="end"===a?-1*h:h),p?{x:d*l,y:u*c}:{x:u*c,y:d*l}}(e,t);return i===(null==(o=a.offset)?void 0:o.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+p.x,y:s+p.y,data:{...p,placement:i}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,n;const{placement:r,middlewareData:s,rects:i,initialPlacement:a,platform:p,elements:c}=e,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=g(t,e);if(null!=(o=s.arrow)&&o.alignmentOffset)return{};const b=x(r),L=S(a),$=x(a)===a,D=await(null==p.isRTL?void 0:p.isRTL(c.floating)),C=u||($||!v?[H(a)]:function(t){const e=H(t);return[T(t),e,T(e)]}(a)),R="none"!==h;!u&&R&&C.push(...function(t,e,o,n){const r=w(t);let s=function(t,e,o){switch(t){case"top":case"bottom":return o?e?M:E:e?E:M;case"left":case"right":return e?A:O;default:return[]}}(x(t),"start"===o,n);return r&&(s=s.map((t=>t+"-"+r)),e&&(s=s.concat(s.map(T)))),s}(a,v,h,D));const z=[a,...C],j=await p.detectOverflow(e,m),F=[];let P=(null==(n=s.flip)?void 0:n.overflows)||[];if(l&&F.push(j[b]),f){const t=function(t,e,o){void 0===o&&(o=!1);const n=w(t),r=k(t),s=y(r);let i="x"===r?n===(o?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=H(i)),[i,H(i)]}(r,i,D);F.push(j[t[0]],j[t[1]])}if(P=[...P,{placement:r,overflows:F}],!F.every((t=>t<=0))){var W,B;const t=((null==(W=s.flip)?void 0:W.index)||0)+1,e=z[t];if(e&&("alignment"!==f||L===S(e)||P.every((t=>S(t.placement)!==L||t.overflows[0]>0))))return{data:{index:t,overflows:P},reset:{placement:e}};let o=null==(B=P.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:B.placement;if(!o)switch(d){case"bestFit":{var q;const t=null==(q=P.filter((t=>{if(R){const e=S(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}},Et=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:n,platform:r,elements:s}=e,{apply:i=()=>{},...a}=g(t,e),p=await r.detectOverflow(e,a),c=x(o),u=w(o),d="y"===S(o),{width:h,height:v}=n.floating;let m,b;"top"===c||"bottom"===c?(m=c,b=u===(await(null==r.isRTL?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(b=c,m="end"===u?"top":"bottom");const y=v-p.top-p.bottom,k=h-p.left-p.right,T=l(v-p[m],y),E=l(h-p[b],k),M=e.middlewareData.shift;let A=T,O=E;null!=M&&M.enabled.x&&(O=k),null!=M&&M.enabled.y&&(A=y),!M&&!u&&(d?O=h-2*f(p.left,p.right):A=v-2*f(p.top,p.bottom)),await i({...e,availableWidth:O,availableHeight:A});const H=await r.getDimensions(s.floating);return h!==H.width||v!==H.height?{reset:{rects:!0}}:{}}}},Mt=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:n,rects:r,platform:s,strategy:i}=e,{padding:a=2,x:p,y:c}=g(t,e),u=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(n.reference))||[]);if(!u.length)return{};const d=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),o=[];let n=null;for(let t=0;t<e.length;t++){const r=e[t];!n||r.y-n.y>n.height/2?o.push([r]):o[o.length-1].push(r),n=r}return o.map((t=>$(j(t))))}(u),h=$(j(u)),v=L(a),m=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&(d[0].left>d[1].right||d[1].left>d[0].right)&&null!=p&&null!=c)return d.find((t=>p>t.left-v.left&&p<t.right+v.right&&c>t.top-v.top&&c<t.bottom+v.bottom))||h;if(d.length>=2){if("y"===S(o)){const t=d[0],e=d[d.length-1],n="top"===x(o),r=t.top,s=n?t.left:e.left;return $({x:s,y:r,width:(n?t.right:e.right)-s,height:e.bottom-r})}const t="left"===x(o),e=f(...d.map((t=>t.right))),n=l(...d.map((t=>t.left))),r=d.filter((o=>t?o.left===n:o.right===e)),s=r[0].top;return $({x:n,y:s,width:e-n,height:r[r.length-1].bottom-s})}return h}},floating:n.floating,strategy:i});return r.reference.x!==m.reference.x||r.reference.y!==m.reference.y||r.reference.width!==m.reference.width||r.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},At=function(t){return void 0===t&&(t={}),{options:t,fn(e){var o,n;const{x:r,y:s,placement:i,rects:a,middlewareData:p}=e,{offset:c=0,mainAxis:l=!0,crossAxis:f=!0}=g(t,e),u={x:r,y:s},d=S(i),h=b(d);let v=u[h],m=u[d];const w=g(c,e),y="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(o=w.mainAxis)?o:0,crossAxis:null!=(n=w.crossAxis)?n:0};if(l){const t="y"===h?"height":"width",e=a.reference[h]-a.floating[t]+y.mainAxis,o=a.reference[h]+a.reference[t]-y.mainAxis;v<e?v=e:v>o&&(v=o)}if(f){var k,T;const t="y"===h?"width":"height",e=F.has(x(i)),o=a.reference[d]-a.floating[t]+(e&&(null==(k=p.offset)?void 0:k[d])||0)+(e?0:y.crossAxis),n=a.reference[d]+a.reference[t]+(e?0:(null==(T=p.offset)?void 0:T[d])||0)-(e?y.crossAxis:0);m<o?m=o:m>n&&(m=n)}return{[h]:v,[d]:m}}}};var Ot=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:o="",...n}={}){super(t,n),this.oldState=String(e||""),this.newState=String(o||"")}},Ht=new WeakMap;function Lt(t,e,o){Ht.set(t,setTimeout((()=>{Ht.has(t)&&t.dispatchEvent(new Ot("toggle",{cancelable:!1,oldState:e,newState:o}))}),0))}var $t=globalThis.ShadowRoot||function(){},Dt=globalThis.HTMLDialogElement||function(){},Ct=new WeakMap,Rt=new WeakMap,zt=new WeakMap,jt=new WeakMap;function Ft(t){return jt.get(t)||"hidden"}var Pt=new WeakMap;function Wt(t){return[...t].pop()}function Bt(t,e){return!("auto"!==t.popover&&"manual"!==t.popover&&"hint"!==t.popover||!t.isConnected||e&&"showing"!==Ft(t)||!e&&"hidden"!==Ft(t)||t instanceof Dt&&t.hasAttribute("open")||document.fullscreenElement===t)}function qt(t){if(!t)return 0;const e=Rt.get(document)||new Set,o=zt.get(document)||new Set;return o.has(t)?[...o].indexOf(t)+e.size+1:e.has(t)?[...e].indexOf(t)+1:0}function It(t){let e;const o=zt.get(t)||new Set,n=Rt.get(t)||new Set,r=o.size>0?o:n.size>0?n:null;return r?(e=Wt(r),e.isConnected?e:(r.delete(e),It(t))):null}function Vt(t){for(const e of t||[]){if(e.isConnected)return e;t.delete(e)}return null}function Nt(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?Nt(t.parentNode):t}function Gt(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===jt.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||Nt(t))instanceof $t&&(t=t.host),t instanceof Document)return}}function Ut(t,e){const o=new Map;let n=0;for(const t of e||[])o.set(t,n),n+=1;o.set(t,n),n+=1;let r=null;return function(e){if(!e)return;let n=!1,s=null,i=null;for(;!n;){if(s=Gt(e)||null,null===s)return;if(!o.has(s))return;"hint"!==t.popover&&"auto"!==s.popover||(n=!0),n||(e=s.parentElement)}i=o.get(s),(null===r||o.get(r)<i)&&(r=s)}(t.parentElement||Nt(t)),r}function Xt(t){return!(t.hidden||t instanceof $t||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href||"number"!=typeof t.tabIndex||-1===t.tabIndex)}var Zt=new WeakMap;function _t(t){if(!Bt(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new Ot("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!Bt(t,!1))return;let o=!1;const n=t.popover;let r=null;const s=Ut(t,Rt.get(e)||new Set),i=Ut(t,zt.get(e)||new Set);if("auto"===n&&(Jt(zt.get(e)||new Set,o,!0),Qt(s||e,o,!0),r="auto"),"hint"===n&&(i?(Qt(i,o,!0),r="hint"):(Jt(zt.get(e)||new Set,o,!0),s?(Qt(s,o,!0),r="auto"):r="hint")),"auto"===n||"hint"===n){if(n!==t.popover||!Bt(t,!1))return;It(e)||(o=!0),"auto"===r?(Rt.has(e)||Rt.set(e,new Set),Rt.get(e).add(t)):"hint"===r&&(zt.has(e)||zt.set(e,new Set),zt.get(e).add(t))}Zt.delete(t);const a=e.activeElement;var p;t.classList.add(":popover-open"),jt.set(t,"showing"),Ct.has(e)||Ct.set(e,new Set),Ct.get(e).add(t),ne(Pt.get(t),!0),p=t,function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let o=e.querySelector("[autofocus]");if(o)return o;{const t=e.querySelectorAll("slot");for(const e of t){const t=e.assignedElements({flatten:!0});for(const e of t){if(e.hasAttribute("autofocus"))return e;if(o=e.querySelector("[autofocus]"),o)return o}}}const n=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){if(Xt(r))return r;r=n.nextNode()}}(p)?.focus(),o&&a&&"auto"===t.popover&&Zt.set(t,a),Lt(t,"closed","open")}function Yt(t,e=!1,o=!1){if(!Bt(t,!0))return;const n=t.ownerDocument;if(["auto","hint"].includes(t.popover)&&(Qt(t,e,o),!Bt(t,!0)))return;const r=Rt.get(n)||new Set,s=r.has(t)&&Wt(r)===t;if(ne(Pt.get(t),!1),Pt.delete(t),o&&(t.dispatchEvent(new Ot("beforetoggle",{oldState:"open",newState:"closed"})),s&&Wt(r)!==t&&Qt(t,e,o),!Bt(t,!0)))return;Ct.get(n)?.delete(t),r.delete(t),zt.get(n)?.delete(t),t.classList.remove(":popover-open"),jt.set(t,"hidden"),o&&Lt(t,"open","closed");const i=Zt.get(t);i&&(Zt.delete(t),e&&i.focus())}function Jt(t,e=!1,o=!1){let n=Vt(t);for(;n;)Yt(n,e,o),n=Vt(t)}function Kt(t,e,o,n){let r=!1,s=!1;for(;r||!s;){s=!0;let i=null,a=!1;for(const o of e)if(o===t)a=!0;else if(a){i=o;break}if(!i)return;for(;"showing"===Ft(i)&&e.size;)Yt(Wt(e),o,n);e.has(t)&&Wt(e)!==t&&(r=!0),r&&(n=!1)}}function Qt(t,e,o){const n=t.ownerDocument||t;if(t instanceof Document)return function(t,e=!1,o=!1){let n=It(t);for(;n;)Yt(n,e,o),n=It(t)}(n,e,o);zt.get(n)?.has(t)?Kt(t,zt.get(n),e,o):(Jt(zt.get(n)||new Set,e,o),Rt.get(n)?.has(t)&&Kt(t,Rt.get(n),e,o))}var te=new WeakMap;function ee(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const o=e.ownerDocument;if(!It(o))return;const n=function(t){const e=Gt(t),o=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||Nt(t))instanceof $t&&(t=t.host),t instanceof Document)return}}(t);return qt(e)>qt(o)?e:o}(e);if(n&&"pointerdown"===t.type)te.set(o,n);else if("pointerup"===t.type){const t=te.get(o)===n;te.delete(o),t&&Qt(n||o,!1,!0)}}var oe=new WeakMap;function ne(t,e=!1){if(!t)return;oe.has(t)||oe.set(t,t.getAttribute("aria-expanded"));const o=t.popoverTargetElement;if(o instanceof HTMLElement&&"auto"===o.popover)t.setAttribute("aria-expanded",String(e));else{const e=oe.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var re=globalThis.ShadowRoot||function(){};function se(t,e,o){const n=t[e];Object.defineProperty(t,e,{value(t){return n.call(this,o(t))}})}var ie=/(^|[^\\]):popover-open\b/g;var ae=null;function pe(t){const e=function(){const t="function"==typeof globalThis.CSSLayerBlockRule;return`\n${t?"@layer popover-polyfill {":""}\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n${t?"}":""}\n`}();if(null===ae)try{(ae=new CSSStyleSheet).replaceSync(e)}catch{ae=!1}if(!1===ae){const o=document.createElement("style");o.textContent=e,t instanceof Document?t.head.prepend(o):t.prepend(o)}else t.adoptedStyleSheets=[ae,...t.adoptedStyleSheets]}const ce=Symbol("Clipping Rect Cache"),le={...yt,getClippingRect:async function(...t){const e=t[0].element,o=this[ce].get(e);if(o)return o;const n=await yt.getClippingRect.apply(this,t);return function(t,e){const o=e.ownerDocument.querySelector("post-header");if(null===o)return;let n=e;for(;!et(n);)if(n=rt(n),N(n)&&(Z(n)||n===o))return;const r=o.getBoundingClientRect(),s=Math.max(t.y,r.bottom);t.height-=s-t.y,t.y=s}(n,e),this[ce].set(e,n),n}};var fe=function(t,e,o,n){var r,s=arguments.length,i=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(i=(s<3?r(i):s>3?r(e,o,i):r(e,o))||i);return s>3&&i&&Object.defineProperty(e,o,i),i};const ue={"pop-in":function(t){if(t)return t.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:250,easing:"ease-out",fill:"forwards"})}},de=class{static{this.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"}}static{this.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"]}constructor(o){t(this,o),this.postBeforeShow=e(this,"postBeforeShow"),this.postShow=e(this,"postShow"),this.postHide=e(this,"postHide"),this.postBeforeToggle=e(this,"postBeforeToggle"),this.postToggle=e(this,"postToggle"),this.toggleTimeoutId=null,this.hasOpenedOnce=!0,this.placement="top",this.edgeGap=8,this.arrow=!1,this.animation="pop-in",this.currentAnimation=null,this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}connectedCallback(){"undefined"!=typeof HTMLElement&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){if("undefined"==typeof window)return;function t(t){return t?.includes(":popover-open")&&(t=t.replace(ie,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||Ot,se(Document.prototype,"querySelector",t),se(Document.prototype,"querySelectorAll",t),se(Element.prototype,"querySelector",t),se(Element.prototype,"querySelectorAll",t),se(Element.prototype,"matches",t),se(Element.prototype,"closest",t),se(DocumentFragment.prototype,"querySelectorAll",t),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;const t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"hint"==t?"hint":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(t={}){_t(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){Yt(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t={}){return"boolean"==typeof t&&(t={force:t}),"showing"===jt.get(this)&&void 0===t.force||!1===t.force?Yt(this,!0,!0):void 0!==t.force&&!0!==t.force||_t(this),"showing"===jt.get(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const o=e.call(this,t);return pe(o),o}}});const o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=o.call(this);return t.shadowRoot&&pe(t.shadowRoot),t}}});const n=new WeakMap;function r(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),n.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),n.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName)return null;if("input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type)return null;if(this.disabled)return null;if(this.form&&"submit"===this.type)return null;const t=n.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return n.delete(this),null;const e=Nt(this),o=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof re)&&o&&e.getElementById(o)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){const t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}var s;r(HTMLButtonElement),r(HTMLInputElement),(s=document).addEventListener("click",(t=>{const e=t.composedPath(),o=e[0];if(!(o instanceof Element)||o?.shadowRoot)return;const n=Nt(o);if(!(n instanceof re||n instanceof Document))return;const r=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return r?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const o=Ft(e);"show"===t.popoverTargetAction&&"showing"===o||"hide"===t.popoverTargetAction&&"hidden"===o||("showing"===o?Yt(e,!0,!0):Bt(e,!1)&&(Pt.set(e,t),_t(e)))}(r),void t.preventDefault()):void 0})),s.addEventListener("keydown",(t=>{const e=t.key,o=t.target;t.defaultPrevented||!o||"Escape"!==e&&"Esc"!==e||Qt(o.ownerDocument,!0,!0)})),s.addEventListener("pointerdown",ee),s.addEventListener("pointerup",ee),pe(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))}async show(t){!this.toggleTimeoutId&&t&&(this.eventTarget=t,this.updatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover(),this.postHide.emit())}async toggle(t,e){const o=this.host.matches(":where(:popover-open, .popover-open)");return!0!==e&&(void 0!==e||o)||t?(this.eventTarget=t,this.toggleTimeoutId||(this.updatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")):o}open(){const t=this.host.shadowRoot?.querySelector(".popover-content");if(this.startAutoupdates(),t){const e=ue[this.animation];"function"==typeof e?this.runOpenAnimation(e,t):(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce&&(this.hasOpenedOnce=!1))}this.safeSpace&&globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}close(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler),this.currentAnimation&&(this.currentAnimation.cancel(),this.currentAnimation=null),this.postBeforeToggle.emit({willOpen:!1}),this.postToggle.emit({isOpen:!1}),this.postHide.emit()}async runOpenAnimation(t,e){let o;try{if(o=t(e),!o)return this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),void this.postShow.emit({first:this.hasOpenedOnce});this.currentAnimation=o,"running"===o.playState&&(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce})),await o.finished,this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce=!0}catch(t){console.warn("Animation failed or was interrupted:",t),this.postBeforeToggle.emit({willOpen:!1}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!1})}finally{this.currentAnimation===o&&(this.currentAnimation=null)}}handleToggle(t){this.toggleTimeoutId=globalThis.setTimeout((()=>this.toggleTimeoutId=null),10),"open"===t.newState?this.open():this.close()}startAutoupdates(){this.eventTarget&&this.host&&(this.clearAutoUpdate=function(t,e,o,n){void 0===n&&(n={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:p=!1}=n,c=ct(t),u=r||s?[...c?it(c):[],...e?it(e):[]]:[];u.forEach((t=>{r&&t.addEventListener("scroll",o),s&&t.addEventListener("resize",o)}));const h=c&&a?function(t,e,o){let n,r=null;const s=q(t);function i(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}function a(o,p){void 0===o&&(o=!1),void 0===p&&(p=1),i();const c=t.getBoundingClientRect(),{left:u,top:h,width:v,height:m}=c;if(o||e(),!v||!m)return;const g={rootMargin:-d(h)+"px "+-d(s.clientWidth-(u+v))+"px "+-d(s.clientHeight-(h+m))+"px "+-d(u)+"px",threshold:f(0,l(1,p))||1};let x=!0;function w(e){const o=e[0].intersectionRatio;if(!St(c,t.getBoundingClientRect()))return a();if(o!==p){if(!x)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}x=!1}try{r=new IntersectionObserver(w,{...g,root:s.ownerDocument})}catch(t){r=new IntersectionObserver(w,g)}r.observe(t)}const p=B(t),c=()=>a(o);return p.addEventListener("resize",c),a(!0),()=>{p.removeEventListener("resize",c),i()}}(c,o,s):null;let v,m=-1,g=null;i&&(g=new ResizeObserver((t=>{let[n]=t;n&&n.target===c&&g&&e&&(g.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(e)}))),o()})),c&&!p&&g.observe(c),e&&g.observe(e));let x=p?dt(t):null;return p&&function e(){const n=dt(t);x&&!St(x,n)&&o(),x=n,v=requestAnimationFrame(e)}(),o(),()=>{var t;u.forEach((t=>{r&&t.removeEventListener("scroll",o),s&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=g)||t.disconnect(),g=null,p&&cancelAnimationFrame(v)}}(this.eventTarget,this.host,this.updatePosition.bind(this)))}async updatePosition(){const{x:t,y:e,middlewareData:o,placement:n}=await this.calculatePosition();o.hide?.referenceHidden&&this.host.hidePopover();const r=n.split("-")[0];if(this.dynamicPlacement=r,this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&o.arrow){const{x:t,y:e}=o.arrow,n=de.STATIC_SIDES[r],s=-.5*this.arrowRef.offsetWidth;n&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[n]:`${s}px`})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(r)}async calculatePosition(){const t=this.edgeGap,e=(this.placement||"top").includes("-"),o=[Tt({elementContext:"reference",crossAxis:!1}),Tt({elementContext:"floating",crossAxis:!1})],n=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:r,platform:s}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:p={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=g(t,e),l={x:o,y:n},f=await s.detectOverflow(e,c),u=S(r),d=b(u);let h=l[d],v=l[u];const x=(t,e)=>m(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);i&&(h=x(d,h)),a&&(v=x(u,v));const w=p.fn({...e,[d]:h,[u]:v});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[d]:i,[u]:a}}}}}}({padding:t,limiter:At({offset:32})}),r=[kt(this.offset??(this.arrow?t+4:t)),Mt(),...e?[...o,n]:[n,...o],Et({apply({availableWidth:e,elements:o}){Object.assign(o.floating.style,{maxWidth:e-2*t+"px"})}})];return this.arrow&&r.push((t=>({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:r,rects:s,platform:i,elements:a,middlewareData:p}=e,{element:c,padding:f=0}=g(t,e)||{};if(null==c)return{};const u=L(f),d={x:o,y:n},h=k(r),v=y(h),x=await i.getDimensions(c),b="y"===h,S=b?"top":"left",T=b?"bottom":"right",E=b?"clientHeight":"clientWidth",M=s.reference[v]+s.reference[h]-d[h]-s.floating[v],A=d[h]-s.reference[h],O=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let H=O?O[E]:0;H&&await(null==i.isElement?void 0:i.isElement(O))||(H=a.floating[E]||s.floating[v]);const $=M/2-A/2,D=H/2-x[v]/2-1,C=l(u[S],D),R=l(u[T],D),z=H-x[v]-R,j=H/2-x[v]/2+$,F=m(C,j,z),P=!p.arrow&&null!=w(r)&&j!==F&&s.reference[v]/2-(j<C?C:R)-x[v]/2<0,W=P?j<C?j-C:j-z:0;return{[h]:d[h]+W,data:{[h]:F,centerOffset:j-F-W,...P&&{alignmentOffset:W}},reset:P}}}))({element:this.arrowRef,padding:t})),this.autoHide&&r.push(function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o,platform:n}=e,{strategy:r="referenceHidden",...s}=g(t,e);switch(r){case"referenceHidden":{const t=R(await n.detectOverflow(e,{...s,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:z(t)}}}case"escaped":{const t=R(await n.detectOverflow(e,{...s,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:z(t)}}}default:return{}}}}}({strategy:"referenceHidden"})),s=this.eventTarget,i=this.host,a={placement:this.placement||"top",strategy:"fixed",middleware:r},a??={},((t,e,o)=>{const n=new Map,r=null!=o?o:{},s={...yt,...r.platform,_c:n};return(async(t,e,o)=>{const{placement:n="bottom",strategy:r="absolute",middleware:s=[],platform:i}=o,a=i.detectOverflow?i:{...i,detectOverflow:C},p=await(null==i.isRTL?void 0:i.isRTL(e));let c=await i.getElementRects({reference:t,floating:e,strategy:r}),{x:l,y:f}=D(c,n,p),u=n,d=0;const h={};for(let o=0;o<s.length;o++){const v=s[o];if(!v)continue;const{name:m,fn:g}=v,{x,y:w,data:b,reset:y}=await g({x:l,y:f,initialPlacement:n,placement:u,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});l=null!=x?x:l,f=null!=w?w:f,h[m]={...h[m],...b},y&&d<50&&(d++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:t,floating:e,strategy:r}):y.rects),({x:l,y:f}=D(c,u,p))),o=-1)}return{x:l,y:f,placement:u,strategy:r,middlewareData:h}})(t,e,{...r,platform:s})})(s,i,{...a,platform:{...le,...a.platform,[ce]:new Map}});var s,i,a}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),o="top"===t||"bottom"===t,n=((t,e,o)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?o.top:o.bottom,xStart:o.left,xEnd:o.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?o.left:o.right,yStart:o.top,yEnd:o.bottom}})(t,this.host.getBoundingClientRect(),e);de.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${n.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${n.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${n.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${n.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${n.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${n.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${n.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${n.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${n.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${n.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${n.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${n.trigger.yEnd}px`))}render(){return o(n,{key:"f3ea4bfc9a59faa2fbf1e413a1ec648f598a6779","data-version":s,popover:"auto"},o("div",{key:"a328c73c7e08eca1e423fcbe736798188cca2a87",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&o("span",{key:"8fad0095fb8d8c903ba84a639b4efc3e321c6aef","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:t=>{this.arrowRef=t}}),o("span",{key:"deadbcc5892ed545a64b4a0e5e0936e0dd1feb70",part:"post-popovercontainer-border-mask"}),o("slot",{key:"48c4db7ab222f3ef18157ce19d8ba15d75441f98"})))}get host(){return r(this)}};fe([i(a)],de.prototype,"placement",void 0),fe([p("number")],de.prototype,"edgeGap",void 0),fe([i(["triangle","trapezoid"])],de.prototype,"safeSpace",void 0),de.style='@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{-webkit-clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)));clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{-webkit-clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)));clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{-webkit-filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{-webkit-filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{-webkit-filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{-webkit-filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}';export{de as post_popovercontainer}