@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,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
3
  import { t as throttle } from './index-bR8vy6-s.js';
4
4
  import { n as nanoid } from './nanoid-8LXe8Zt_.js';
5
5
  import { c as componentOnReady } from './component-on-ready-lpWRZjJp.js';
@@ -8,7 +8,7 @@ import { U as Url } from './url-B61rZU6Z.js';
8
8
  import { T as Type } from './type-Daxpt5v6.js';
9
9
  import './create-validator-decorator--a-qkYfP.js';
10
10
 
11
- const postBreadcrumbsCss = () => `:host{display:block;position:relative}nav{max-width:100%}nav.invisible{--post-breadcrumb-item-wrap:nowrap;visibility:hidden;overflow:hidden;position:absolute;inset:0;padding-inline:1px}[role=list]{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;gap:var(--post-device-spacing-gap-inline-4)}.breadcrumb-item{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)}.breadcrumb-item :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;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}.breadcrumb-item :is(button,a):not(:disabled):hover{text-decoration:none}.breadcrumb-item :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.breadcrumb-item :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.breadcrumb-item :is(button,a):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){.breadcrumb-item :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}.breadcrumb-item :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.breadcrumb-item :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}.breadcrumb-item::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=")}.home{padding-block:var(--post-device-spacing-padding-47)}.home::before{content:unset}.home post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
11
+ const postBreadcrumbsCss = () => `:host{display:block;position:relative}nav{max-width:100%}nav.invisible{overflow:hidden;visibility:hidden;position:absolute;inset:0}nav.loading>div>:not(.home){display:none}[role=list]{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;gap:var(--post-device-spacing-gap-inline-4)}[role=list]>.menu:first-child::before{content:none}.breadcrumb-item{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)}.breadcrumb-item :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)}.breadcrumb-item :is(button,a):not(:disabled):hover{text-decoration:none}.breadcrumb-item :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.breadcrumb-item :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.breadcrumb-item :is(button,a):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){.breadcrumb-item :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}.breadcrumb-item :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.breadcrumb-item :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}.breadcrumb-item::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=")}post-menu-item>slot[name=home]>a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;min-width:0;white-space:normal;overflow:visible;text-overflow:unset;-ms-flex-pack:start;justify-content:start;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-menu-item>slot[name=home]>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item>slot[name=home]>a{font-size:1.25rem;padding-block:13px}}post-menu-item>slot[name=home]>a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item>slot[name=home]>a:hover{background-color:#504f4b;color:#fff}.home{-ms-flex:none;flex:none}.home::before{content:unset}.home.icon{padding-block:var(--post-device-spacing-padding-47)}.home.icon post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.menu{-webkit-margin-end:calc(-1*var(--post-device-spacing-gap-inline-4));margin-inline-end:calc(-1*var(--post-device-spacing-gap-inline-4))}.menu.empty{display:none}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
12
12
 
13
13
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
14
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -20,103 +20,253 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
20
20
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
21
  return c > 3 && r && Object.defineProperty(target, key, r), r;
22
22
  };
23
+ const MAX_VISIBLE_ITEMS = 6;
24
+ const MEASUREMENT_DEBOUNCE_MS = 50;
23
25
  const PostBreadcrumbs = class {
24
26
  constructor(hostRef) {
25
27
  registerInstance(this, hostRef);
26
- this.shouldRenderMenu = false;
28
+ this.debounceUpdateCollapsedItems = throttle(MEASUREMENT_DEBOUNCE_MS, this.updateCollapsedItems.bind(this));
29
+ this.resizeObserver = new ResizeObserver(this.debounceUpdateCollapsedItems);
30
+ this.mutationObserver = new MutationObserver(() => {
31
+ void this.updateAfterMutation();
32
+ });
33
+ this.loaded = false;
34
+ /** Whether the consumer slotted their own `<a>` into the `home` slot. When true, `home-url` is not required, since the internal fallback link is not rendered. */
35
+ this.hasSlottedHomeAnchor = false;
36
+ /** Whether the slotted home anchor contains a post-icon. */
37
+ this.hasSlottedHomeIcon = false;
38
+ /** The number of breadcrumb items, counted from the start, moved into the overflow menu. */
39
+ this.collapsed = 0;
40
+ /** Whether the home item is collapsed into its own overflow menu. */
41
+ this.homeCollapsed = false;
42
+ /** Whether the last (selected) item wraps onto multiple lines. */
43
+ this.lastItemWraps = false;
44
+ /** The visible breadcrumb navigation. */
45
+ this.nav = null;
46
+ /** An off-screen copy of the breadcrumb navigation used for measurement. */
47
+ this.hiddenNav = null;
48
+ /**
49
+ * Whether `text-home` content is displayed instead of the home icon, enabling segment specific
50
+ * breadcrumbs (like "Private customers" or "About us").
51
+ */
52
+ this.homeTextOnly = false;
27
53
  }
28
54
  componentWillLoad() {
29
55
  this.id = this.host.id || `b${nanoid(6)}`;
56
+ this.checkSlottedHomeAnchor();
30
57
  }
31
- componentDidLoad() {
32
- this.createMutationObserver();
33
- this.createResizeObserver();
34
- }
35
- disconnectedCallback() {
36
- this.mutationObserver?.disconnect();
37
- this.resizeObserver?.disconnect();
38
- }
39
- createMutationObserver() {
40
- this.mutationObserver = new MutationObserver(this.duplicateNavElement.bind(this));
41
- this.mutationObserver.observe(this.host, {
58
+ async componentDidLoad() {
59
+ this.resizeObserver?.observe(document.body);
60
+ this.mutationObserver?.observe(this.host, {
42
61
  childList: true,
43
62
  characterData: true,
44
63
  subtree: true,
45
64
  });
46
- this.duplicateNavElement();
65
+ await this.updateHiddenNav();
66
+ await this.updateCollapsedItems();
67
+ this.loaded = true;
47
68
  }
48
- createResizeObserver() {
49
- this.resizeObserver = new ResizeObserver(throttle(50, this.checkOverflow.bind(this)));
50
- this.resizeObserver.observe(document.body);
69
+ disconnectedCallback() {
70
+ this.resizeObserver?.disconnect();
71
+ this.mutationObserver?.disconnect();
72
+ this.debounceUpdateCollapsedItems.cancel();
51
73
  }
52
- /**
53
- * To measure overflow, we duplicate the entire breadcrumb so an inline version is always available.
54
- */
55
- duplicateNavElement() {
56
- const shadowRoot = this.host.shadowRoot;
57
- const nav = shadowRoot?.querySelector('nav');
58
- if (!shadowRoot || !nav)
59
- return;
60
- this.prepareBreadcrumbItemsForClone();
61
- const clone = nav.cloneNode(true);
62
- clone.classList.add('invisible');
63
- shadowRoot.querySelector('nav.invisible')?.remove();
64
- shadowRoot.append(clone);
65
- requestAnimationFrame(() => {
66
- this.duplicateSlottedElements(clone, 'slot:not([name])');
67
- this.duplicateSlottedElements(clone, 'slot[name="selected"]');
68
- this.checkOverflow();
69
- });
74
+ checkSlottedHomeAnchor() {
75
+ const homeSlotElement = Array.from(this.host.children).find(child => child.getAttribute('slot') === 'home');
76
+ this.hasSlottedHomeAnchor = homeSlotElement?.tagName === 'A';
77
+ this.hasSlottedHomeIcon =
78
+ this.hasSlottedHomeAnchor && !!homeSlotElement?.querySelector('post-icon');
70
79
  }
71
- duplicateSlottedElements(clone, slotSelector) {
72
- const originalSlot = this.host.shadowRoot?.querySelector(slotSelector);
73
- const clonedSlot = clone.querySelector(slotSelector);
74
- if (!originalSlot || !clonedSlot)
75
- return;
76
- originalSlot.assignedElements().forEach(element => {
77
- clonedSlot.insertAdjacentElement('beforebegin', element.cloneNode(true));
78
- });
79
- clonedSlot.remove();
80
+ get usesHomeText() {
81
+ return this.hasSlottedHomeAnchor ? !this.hasSlottedHomeIcon : this.homeTextOnly;
80
82
  }
81
- checkOverflow() {
82
- const hiddenNav = this.host.shadowRoot?.querySelector('nav.invisible');
83
- if (!hiddenNav)
83
+ // Degrade order: collapse middle items -> collapse home -> wrap the last item.
84
+ /** Measures the available space and updates all three degrade-stage states. */
85
+ async updateCollapsedItems() {
86
+ if (!this.nav)
84
87
  return;
85
- const breadcrumbItems = Array.from(hiddenNav.querySelectorAll('post-breadcrumb-item'));
86
- Promise.all(breadcrumbItems.map(item => componentOnReady(item))).then(() => {
87
- this.shouldRenderMenu =
88
- hiddenNav.scrollWidth > hiddenNav.clientWidth && breadcrumbItems.length > 1;
89
- this.updateBreadcrumbItemProps();
88
+ const { overflowing, homeOverflows, lastItemWraps } = await this.calculateCollapsedItems();
89
+ this.collapsed = overflowing;
90
+ this.homeCollapsed = homeOverflows;
91
+ this.lastItemWraps = lastItemWraps;
92
+ }
93
+ async calculateCollapsedItems() {
94
+ const items = this.host.querySelectorAll('post-breadcrumb-item');
95
+ const { overflowing, homeOverflows, lastItemWraps } = await this.calculateOverflowingItems();
96
+ // Never show more than `MAX_VISIBLE_ITEMS`, even if the nav is wide enough to fit them all.
97
+ return {
98
+ overflowing: Math.max(overflowing, items.length - MAX_VISIBLE_ITEMS),
99
+ homeOverflows,
100
+ lastItemWraps,
101
+ };
102
+ }
103
+ /** Runs the three degrade stages in order against the off-screen measurement clone. */
104
+ async calculateOverflowingItems() {
105
+ if (!this.hiddenNav)
106
+ return { overflowing: 0, homeOverflows: false, lastItemWraps: false };
107
+ const nav = this.hiddenNav;
108
+ const availableWidth = nav.clientWidth;
109
+ const gap = Number.parseFloat(getComputedStyle(nav.firstElementChild).gap);
110
+ const menuWidth = nav.querySelector('.menu')?.clientWidth ?? 0;
111
+ const homeWidth = nav.querySelector('.home')?.clientWidth ?? 0;
112
+ // Stage 1: collapse middle items, starting closest to home, until the rest fits.
113
+ const middleItems = Array.from(nav.querySelectorAll('post-breadcrumb-item')).slice(0, -1);
114
+ const { overflowing, remainingWidth } = this.collapseMiddleItems(middleItems, gap, menuWidth, availableWidth);
115
+ // Stage 2: home + last item, single-line. Text home can collapse into the menu, while the
116
+ // icon-only home remains visible and lets the last item wrap instead.
117
+ const homeOverflows = this.usesHomeText && remainingWidth > availableWidth;
118
+ // Stage 3: home joins the existing menu when middle items have collapsed. If no middle item
119
+ // collapsed, the menu needs to be added when home moves into it.
120
+ const widthWithHomeCollapsed = remainingWidth - homeWidth + (overflowing === 0 ? menuWidth : 0);
121
+ const lastItemWraps = this.usesHomeText
122
+ ? homeOverflows && widthWithHomeCollapsed > availableWidth
123
+ : remainingWidth > availableWidth;
124
+ return { overflowing, homeOverflows, lastItemWraps };
125
+ }
126
+ /** Stage 1: collapses middle items until the rest fits, or none are left. */
127
+ collapseMiddleItems(items, gap, menuWidth, availableWidth) {
128
+ // Start from the assumption that all items fit and that no menu is shown, so subtract the
129
+ // overflow menu's width from the total.
130
+ let width = this.hiddenNav.scrollWidth - menuWidth + gap;
131
+ let overflowing = 0;
132
+ while (overflowing < items.length && width > availableWidth) {
133
+ // The overflow menu needs to be displayed as soon as the first item is moved into it, so its
134
+ // width needs to be taken into account when measuring the remaining items.
135
+ if (overflowing === 0)
136
+ width += menuWidth;
137
+ width -= items[overflowing++].clientWidth + gap;
138
+ }
139
+ return { overflowing, remainingWidth: width };
140
+ }
141
+ /** Applies the degrade states to the `<post-breadcrumb-item>` elements. */
142
+ updateItems(items, collapsed, lastItemWraps) {
143
+ items.forEach((item, index) => {
144
+ const isLast = index === items.length - 1;
145
+ item.setAttribute('variant', index < collapsed ? 'menuitem' : 'listitem');
146
+ item.setAttribute('selected', String(isLast));
147
+ item.setAttribute('standalone', String(isLast && index === collapsed && lastItemWraps));
90
148
  });
91
149
  }
92
- prepareBreadcrumbItemsForClone() {
93
- this.shouldRenderMenu = false;
94
- this.updateBreadcrumbItemProps();
150
+ /** Rebuilds the off-screen copy of the breadcrumb navigation. */
151
+ async updateHiddenNav() {
152
+ this.hiddenNav?.remove();
153
+ this.hiddenNav = await this.renderHiddenNav();
154
+ }
155
+ async updateAfterMutation() {
156
+ await this.updateHiddenNav();
157
+ await this.updateCollapsedItems();
95
158
  }
96
- updateBreadcrumbItemProps() {
97
- const breadcrumbItems = this.host.querySelectorAll('post-breadcrumb-item');
98
- breadcrumbItems.forEach((item, index) => {
99
- item.setAttribute('variant', this.shouldRenderMenu ? 'menuitem' : 'listitem');
100
- item.setAttribute('selected', String(index === breadcrumbItems.length - 1));
159
+ /**
160
+ * Renders an off-screen copy of the nav for measurements. `.home` is rebuilt independently (see
161
+ * `buildMeasurementHomeElement`) rather than cloned, since the live nav may show the home item
162
+ * in the overflow menu instead if it is already collapsed.
163
+ */
164
+ async renderHiddenNav() {
165
+ const shadowRoot = this.host.shadowRoot;
166
+ if (!shadowRoot || !this.nav)
167
+ return null;
168
+ const clone = this.nav.cloneNode(true);
169
+ const slots = clone.querySelectorAll('slot');
170
+ // Deep clone the breadcrumb navigation and flatten its slots into the clone.
171
+ this.nav.querySelectorAll('slot').forEach((source, index) => {
172
+ const target = slots[index];
173
+ const assignedElements = source.assignedElements();
174
+ if (assignedElements.length > 0) {
175
+ // Insert the assigned elements where the slot used to be, then drop the now empty slot.
176
+ assignedElements.forEach(element => {
177
+ target.insertAdjacentElement('beforebegin', element.cloneNode(true));
178
+ });
179
+ target.remove();
180
+ }
181
+ else {
182
+ // Nothing assigned: keep the slot's own fallback content (e.g. the default home link) by
183
+ // unwrap the <slot> in place, move its children to where it was, then remove it.
184
+ const parent = target.parentNode;
185
+ if (parent) {
186
+ Array.from(target.childNodes).forEach(child => parent.insertBefore(child, target));
187
+ target.remove();
188
+ }
189
+ }
101
190
  });
191
+ // Always measure the full, uncollapsed home item — see the method doc above. Uses
192
+ // replaceChild rather than replaceWith, since the latter isn't implemented by Stencil's
193
+ // mock-doc DOM used during SSR/hydration.
194
+ const existingHome = clone.querySelector('.home');
195
+ existingHome?.parentNode?.replaceChild(this.buildMeasurementHomeElement(), existingHome);
196
+ clone.classList.remove('loading');
197
+ clone.classList.add('invisible');
198
+ // Show the overflow menu so that we can include the space it takes up in the measurement.
199
+ clone.querySelector('.menu').classList.remove('empty');
200
+ shadowRoot.append(clone);
201
+ // Wait for all items to be fully hydrated before measuring.
202
+ const items = clone.querySelectorAll('post-breadcrumb-item');
203
+ await Promise.all(Array.from(items).map(item => componentOnReady(item)));
204
+ // Uncollapsed layout, both single-line, for measurement.
205
+ this.updateItems(items, 0, false);
206
+ return clone;
207
+ }
208
+ /** Builds `.home` in its full, uncollapsed form for measurement. Mirrors `renderHomeContent`, but as plain DOM since this runs outside the render cycle. */
209
+ buildMeasurementHomeElement() {
210
+ const home = document.createElement('div');
211
+ home.className = `breadcrumb-item home${this.usesHomeText ? '' : ' icon'}`;
212
+ home.setAttribute('role', 'listitem');
213
+ const slottedAnchor = this.hasSlottedHomeAnchor
214
+ ? Array.from(this.host.children).find(child => child.getAttribute('slot') === 'home')
215
+ : null;
216
+ if (slottedAnchor) {
217
+ home.append(slottedAnchor.cloneNode(true));
218
+ return home;
219
+ }
220
+ const anchor = document.createElement('a');
221
+ if (this.homeUrl)
222
+ anchor.href = this.homeUrl;
223
+ const label = document.createElement('span');
224
+ if (!this.usesHomeText)
225
+ label.className = 'visually-hidden';
226
+ label.textContent = this.textHome;
227
+ anchor.append(label);
228
+ if (!this.usesHomeText) {
229
+ const icon = document.createElement('post-icon');
230
+ icon.setAttribute('aria-hidden', 'true');
231
+ icon.setAttribute('name', 'home');
232
+ anchor.append(icon);
233
+ }
234
+ home.append(anchor);
235
+ return home;
102
236
  }
103
237
  renderMenu() {
104
238
  const menuId = `${this.id}-menu`;
105
- return (h("div", { role: "listitem" }, h("div", { class: "breadcrumb-item" }, h("post-menu-trigger", { for: menuId }, h("button", null, h("span", { class: "visually-hidden" }, this.textMoreItems), h("span", { "aria-hidden": "true" }, "...")))), h("post-menu", { id: menuId, label: this.textMoreItems, placement: "bottom-start" }, h("slot", null))));
239
+ return (h("div", { class: `breadcrumb-item menu ${this.collapsed === 0 && !this.homeCollapsed ? 'empty' : ''}`, role: "listitem" }, h("post-menu-trigger", { for: menuId }, h("button", null, h("span", { class: "visually-hidden" }, this.textMoreItems), h("span", { "aria-hidden": "true" }, "..."))), h("post-menu", { id: menuId, label: this.textMoreItems, placement: "bottom-start" }, this.homeCollapsed && this.usesHomeText && (h("post-menu-item", null, this.renderHomeContent())), h("slot", { name: "menu" }))));
240
+ }
241
+ /** Reused by the plain home item and the home menu — a slot can only be assigned once. */
242
+ renderHomeContent() {
243
+ return (h("slot", { name: "home", onSlotchange: () => this.checkSlottedHomeAnchor() }, h("a", { href: this.homeUrl }, h("span", { class: this.usesHomeText ? undefined : 'visually-hidden' }, this.textHome), !this.usesHomeText && h("post-icon", { "aria-hidden": "true", name: "home" }))));
244
+ }
245
+ /** Degrade stage 2: home renders in full, single-line, not yet collapsed. */
246
+ renderHome() {
247
+ return (h("div", { class: `breadcrumb-item home${this.usesHomeText ? '' : ' icon'}`, role: "listitem" }, this.renderHomeContent()));
106
248
  }
107
249
  render() {
108
- return (h(Host, { key: '2640a012ada112396ea3c954cda45c7bfaf2968d', "data-version": version }, h("nav", { key: '397a017f326459c433e0f8fae5766badfad52e29', "aria-label": this.textBreadcrumbs }, h("div", { key: 'eb1d83aeb4aca599350918ba6be9df2a5ce86453', role: "list" }, h("div", { key: '217b359f3da4afc3ca8c28d8fc0d352f4198c9b1', class: "breadcrumb-item home", role: "listitem" }, h("a", { key: '1c2c3754bc0ef04e48ab95b5dad62e2d4cbb85e9', href: this.homeUrl }, h("span", { key: '15878d068a9901a2c7b4f6726e6962dc9158a86f', class: "visually-hidden" }, this.textHome), h("post-icon", { key: '0d755bcc61c49ccd7944b4a9370198ed41ab1c34', "aria-hidden": "true", name: "home" }))), this.shouldRenderMenu ? this.renderMenu() : h("slot", null), h("slot", { key: 'a0bafe06eab2346ea12bd00aec40c91b5e5347d0', name: "selected" })))));
250
+ if (this.loaded) {
251
+ const items = this.host.querySelectorAll('post-breadcrumb-item');
252
+ this.updateItems(items, this.collapsed, this.lastItemWraps);
253
+ }
254
+ return (h(Host, { key: '8d5f457a7c6a2df0cfaf5c31f3ffc6937de76e57', "data-version": version, class: this.homeCollapsed && this.usesHomeText ? 'home-collapsed' : undefined }, h("nav", { key: 'ce3fd7ad69060dd6968afaad6170e27eee72682f', "aria-label": this.textBreadcrumbs, ref: el => (this.nav = el), class: this.loaded ? '' : 'loading' }, h("div", { key: '1c400c8c1e1b625203876cc9804936782a2202c6', role: "list" }, (!this.homeCollapsed || !this.usesHomeText) && this.renderHome(), this.renderMenu(), h("slot", { key: '5cf6618b487961c0e7d70637f5396d023660ec55' }), h("slot", { key: 'f4fb662d04d9966c76a22444844d692611472b2d', name: "selected" })))));
109
255
  }
110
256
  get host() { return getElement(this); }
111
257
  };
112
258
  __decorate([
113
- Required(),
259
+ Required({ when: 'hasSlottedHomeAnchor', truthy: false }),
114
260
  Url()
115
261
  ], PostBreadcrumbs.prototype, "homeUrl", void 0);
116
262
  __decorate([
117
- Required(),
263
+ Required({ when: 'hasSlottedHomeAnchor', truthy: false }),
118
264
  Type('string')
119
265
  ], PostBreadcrumbs.prototype, "textHome", void 0);
266
+ __decorate([
267
+ Required(),
268
+ Type('boolean')
269
+ ], PostBreadcrumbs.prototype, "homeTextOnly", void 0);
120
270
  __decorate([
121
271
  Required(),
122
272
  Type('string')
@@ -1,9 +1,48 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
+ import { f as findClosestAcrossShadow } from './event-from-BEcxHjuM.js';
3
4
  import { O as OneOf } from './one-of-w2eXPAzD.js';
4
5
  import { R as Required } from './required-tHxh_hWW.js';
5
6
  import './create-validator-decorator--a-qkYfP.js';
6
7
 
8
+ const CLOSABLE_TARGETS = [
9
+ {
10
+ predicate: el => el.localName === 'post-banner',
11
+ close: el => void el.dismiss(),
12
+ },
13
+ {
14
+ predicate: el => el.localName === 'post-popover',
15
+ close: el => void el.hide(),
16
+ },
17
+ {
18
+ predicate: el => el.localName === 'post-popovercontainer',
19
+ close: el => void el.hide(),
20
+ },
21
+ {
22
+ predicate: el => el.localName === 'post-collapsible',
23
+ close: el => void el.toggle(false),
24
+ },
25
+ {
26
+ predicate: el => el.localName === 'post-accordion-item',
27
+ close: el => void el.toggle(false),
28
+ },
29
+ {
30
+ predicate: el => el.localName === 'dialog',
31
+ close: el => el.close(),
32
+ },
33
+ {
34
+ predicate: el => el.hasAttribute('popover'),
35
+ close: el => el.togglePopover(false),
36
+ },
37
+ ];
38
+ function findClosableTarget(start) {
39
+ const el = findClosestAcrossShadow(start, (el) => CLOSABLE_TARGETS.some(t => t.predicate(el)));
40
+ if (!el)
41
+ return null;
42
+ const match = CLOSABLE_TARGETS.find(t => t.predicate(el));
43
+ return { element: el, close: () => match.close(el) };
44
+ }
45
+
7
46
  const BUTTON_TYPES = ['button', 'reset'];
8
47
  const PLACEMENT = ['manual', 'auto'];
9
48
  const SIZE = ['default', 'small'];
@@ -32,7 +71,7 @@ const PostClosebutton = class {
32
71
  }
33
72
  /**
34
73
  * The "type" attribute used for the close button
35
-
74
+
36
75
  */
37
76
  this.buttonType = 'button';
38
77
  /**
@@ -43,6 +82,10 @@ const PostClosebutton = class {
43
82
  * The size of the close button.
44
83
  */
45
84
  this.size = 'default';
85
+ this.handleClick = () => {
86
+ const target = findClosableTarget(this.host);
87
+ target?.close();
88
+ };
46
89
  }
47
90
  componentDidLoad() {
48
91
  if (globalThis.MutationObserver) {
@@ -67,13 +110,8 @@ const PostClosebutton = class {
67
110
  console.error(`The \`${this.host.localName}\` component requires content for accessibility.`);
68
111
  }
69
112
  }
70
- handleClick() {
71
- if (this.buttonType === 'reset')
72
- this.internals.form?.reset();
73
- this.host.closest('dialog')?.close();
74
- }
75
113
  render() {
76
- return (h(Host, { key: '22ac2b07e9a8a8f8d157423fea1bcedb2c4f9b11', "data-version": version }, h("button", { key: '91eb413a2546f131e4c97c28340374addbf2c7a7', type: this.buttonType, class: "btn btn-icon btn-secondary btn-sm", onClick: () => this.handleClick() }, h("post-icon", { key: '02202b3df2e5830aeb267921c924c1e75508d546', "aria-hidden": "true", name: "closex" }), h("span", { key: 'c691c845dd58b4f975c33791d29518428ade6ee8', ref: el => (this.visuallyHidden = el), class: "visually-hidden" }, h("slot", { key: '3fd42b82ef1d1ea76343e0c69f421a2916c26006' })))));
114
+ return (h(Host, { key: 'b8e2214b904f5167fa3753aab947418891236fcf', "data-version": version }, h("button", { key: '224ca42d3be187062ba9717e4a534ff34eeafaf7', type: this.buttonType, class: "btn btn-icon btn-secondary btn-sm", onClick: this.handleClick }, h("post-icon", { key: '5b289691599d6f9a3bb0fa7a28c71eecd1f5aee7', "aria-hidden": "true", name: "closex" }), h("span", { key: 'e22045f15b3dc8b8b228eb4282114e10db68b186', ref: el => (this.visuallyHidden = el), class: "visually-hidden" }, h("slot", { key: 'e492390c995a993ffc8988a1c90a41e59fbe39f5' })))));
77
115
  }
78
116
  static get formAssociated() { return true; }
79
117
  get host() { return getElement(this); }
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
4
4
  import { c as createValidatorDecorator, g as getValidationContext } from './create-validator-decorator--a-qkYfP.js';
5
5
  import { R as Required } from './required-tHxh_hWW.js';
@@ -3689,7 +3689,7 @@ try {
3689
3689
  // environments (e.g. Next.js pre-rendering) with `HTMLInputElement is not defined`.
3690
3690
  let cachedNativeValueDescriptor;
3691
3691
  function nativeValueDescriptor() {
3692
- cachedNativeValueDescriptor ?? (cachedNativeValueDescriptor = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value'));
3692
+ cachedNativeValueDescriptor ??= Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value');
3693
3693
  return cachedNativeValueDescriptor;
3694
3694
  }
3695
3695
  // iMask adapter that bypasses the instance-level `input.value` override (which returns ISO strings)
@@ -4263,6 +4263,15 @@ const PostDatePicker = class {
4263
4263
  console.error('hide: popoverRef is null or undefined');
4264
4264
  }
4265
4265
  }
4266
+ static { this.FLYOUT_OFFSET = 4; }
4267
+ // Cells per row for each view
4268
+ static {
4269
+ this.COLUMNS_BY_VIEW = {
4270
+ days: 7,
4271
+ months: 4,
4272
+ years: 4,
4273
+ };
4274
+ }
4266
4275
  /**
4267
4276
  * Get the system locale (e.g.`en`, etc.) from the closest parent with a `lang` attribute,
4268
4277
  * or fallback to a default language code if not found or in server environment.
@@ -4893,11 +4902,11 @@ const PostDatePicker = class {
4893
4902
  }
4894
4903
  }
4895
4904
  render() {
4896
- return (h(Host, { key: 'ac7b7440fa143243f512f5310451bf5f78c8d4f9', "data-version": version }, this.inline && (h("div", { key: 'f8557be8fa3200fe60a5867136bcbafadb0dd8fa', dir: this.textDirection }, h("slot", { key: '0fb8338aa4f3003debd860818473545159dae9de' }), h("div", { key: 'a5ad622effd59c94e89fdaad49aac1be4572b6cc', class: "datepicker-container" }))), !this.inline && (h("div", { key: '13542f6ebc5b3eb019f08f229b57d9766da1f5f3', dir: this.textDirection }, h("div", { key: '70ff874ef7337256286af303a2491f82cf50ebdd', class: {
4905
+ return (h(Host, { key: 'aa624e30312b6e9af82ab3ae508b7527ebb99bdc', "data-version": version }, this.inline && (h("div", { key: '3643fb239e920945cb1438bb510047b19a6fc826', dir: this.textDirection }, h("slot", { key: '08113b74ebe5d1faede4dc4412858408870ccb3b' }), h("div", { key: 'b8cec572edeae4ef2b4d0bb582a8d4085e4815e9', class: "datepicker-container" }))), !this.inline && (h("div", { key: 'a3ab6ca2fded0644a3cb3a513100b309882a67b7', dir: this.textDirection }, h("div", { key: 'd1e3ec263fe3cbcfa7c78de9997be403e8dd8a1f', class: {
4897
4906
  'calendar-input': !this.range,
4898
4907
  'calendar-input-range': this.range,
4899
4908
  'disabled': this.inputDisabled,
4900
- } }, h("slot", { key: '833903cc2bc4560f3d9378e2e8cf47ff26af2ea1' }), h("button", { key: 'd7fd572bc96164d36e30cec148822e875966fc8d', onClick: () => this.show(), "aria-haspopup": "true", "aria-label": this.textToggleCalendar, disabled: this.inputDisabled, ref: e => (this.dpTrigger = e) }, h("post-icon", { key: '8606056f1de2c9c6cfc041575affb01155a4282e', name: "calendar" }))), h("post-popovercontainer", { key: '0519c4854ce7eaa31fdc542790d0b24da83c8538', placement: "bottom-end", offset: PostDatePicker.FLYOUT_OFFSET, ref: e => (this.popoverRef = e) }, h("div", { key: 'ad967bfcb1154e508d03f9d986be7829d65ce69b', class: "datepicker-container" }))))));
4909
+ } }, h("slot", { key: '5b747326d65bd4efa46cd7b6c0b20510ba1b894c' }), h("button", { key: '9b053c841863418e063b29fd1344dff8803bff00', onClick: () => this.show(), "aria-haspopup": "true", "aria-label": this.textToggleCalendar, disabled: this.inputDisabled, ref: e => (this.dpTrigger = e) }, h("post-icon", { key: 'badf30f287ca4776bedbd2323d03c1e7352e9a41', name: "calendar" }))), h("post-popovercontainer", { key: 'f5ccb7e7eb04e8f2251e87b8cc53bf0f613f174b', placement: "bottom-end", offset: PostDatePicker.FLYOUT_OFFSET, ref: e => (this.popoverRef = e) }, h("div", { key: '9054611105846624392ec79737d997a386a21ae2', class: "datepicker-container" }))))));
4901
4910
  }
4902
4911
  get host() { return getElement(this); }
4903
4912
  static get watchers() { return {
@@ -4920,13 +4929,6 @@ const PostDatePicker = class {
4920
4929
  }]
4921
4930
  }; }
4922
4931
  };
4923
- PostDatePicker.FLYOUT_OFFSET = 4;
4924
- // Cells per row for each view
4925
- PostDatePicker.COLUMNS_BY_VIEW = {
4926
- days: 7,
4927
- months: 4,
4928
- years: 4,
4929
- };
4930
4932
  __decorate([
4931
4933
  DateValue(),
4932
4934
  IsoDate()
@@ -1,9 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
3
- import { b as breakpoint } from './breakpoints-C3jWktf-.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
+ import { b as breakpoint } from './breakpoints-I1j7a0bW.js';
4
4
  import { R as Required } from './required-tHxh_hWW.js';
5
5
  import { T as Type } from './type-Daxpt5v6.js';
6
- import './index-bR8vy6-s.js';
7
6
  import './create-validator-decorator--a-qkYfP.js';
8
7
 
9
8
  const postFooterCss = () => `:host{display:block}footer{--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-padding-block:32px;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-padding-block:16px;--post-footer-app-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-businesssectors-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-gap:8px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-base-gap:4px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px;--post-footer-grid-padding-block:48px;--post-footer-socialmedia-padding-block:24px}}@media screen and (min-width: 1024px){footer{--post-footer-grid-template:auto / repeat(4, auto);--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{-webkit-box-sizing:content-box;box-sizing:content-box;margin:0 auto;padding-inline:var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632;padding-block:var(--post-footer-prefooter-padding-block)}.prefooter .footer-container{padding-block:0}.footer-main{background-color:#fc0;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{-webkit-border-before:unset;border-block-start:unset}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);gap:32px 24px;padding-block:var(--post-footer-grid-padding-block)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:-ms-flexbox;display:flex;-ms-flex-direction:var(--post-footer-column-flex-direction);flex-direction:var(--post-footer-column-flex-direction);-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:var(--post-footer-column-align-items);align-items:var(--post-footer-column-align-items);-webkit-column-gap:var(--post-footer-column-gap);-moz-column-gap:var(--post-footer-column-gap);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:-ms-flexbox !important;display:flex !important;-ms-flex-direction:var(--post-footer-list-flex-direction) !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;-ms-flex-align:var(--post-footer-list-align-items) !important;align-items:var(--post-footer-list-align-items) !important}.footer-socialmedia{padding-block:var(--post-footer-socialmedia-padding-block)}.footer-app{padding-block:var(--post-footer-app-padding-block)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;gap:var(--post-footer-list-gap) !important}.footer-businesssectors{padding-block:var(--post-footer-businesssectors-padding-block)}.footer-base{background-color:#fc0;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632;padding-block:var(--post-footer-base-padding-block);gap:var(--post-footer-base-gap)}.footer-meta{font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}`;
@@ -79,10 +78,10 @@ const PostFooter = class {
79
78
  const allGridSlotsEmpty = GRID_SLOTS.every(slotName => !this.slotDisplayed[slotName]);
80
79
  const renderMain = !allGridSlotsEmpty || renderSocialmedia || renderApp || renderBusinesssectors;
81
80
  const renderBase = renderCopyright || renderMeta;
82
- return (h(Host, { key: 'f668d6ba8da065dacae35ef5b62ee53de08e752b', "data-version": version, "data-color-scheme": "light" }, h("footer", { key: 'a2d5506e10de46e0c457795a241f7c121bccabbf' }, h("h2", { key: '6ab3e65fca3282f2c9e885b380759ccd06fdebb1', class: "visually-hidden" }, this.textFooter), h("div", { key: '77575484be6954dedaea636720d739fabd12393b', class: { 'prefooter': true, 'd-none': !renderPrefooter } }, h("div", { key: '10c9bd63fe081645b83e0e4630185da0b2f3125b', class: "footer-container" }, h("slot", { key: 'c73b907f6f0b2210c0fc33d3980e89b303599ca6', onSlotchange: this.handleSlotChange, name: "prefooter" }))), h("div", { key: 'facda7dade1905087e8f1d23505f2afc381f56df', class: { 'footer-main': true, 'd-none': !renderMain } }, h("div", { key: '09fcf43c02bab8f475d400c5fed66fababde2bfd', class: "footer-container" }, h("div", { key: '25362e6384b6f1cdea3e7901e1afef6926e7b855', class: { 'footer-grid': true, 'd-none': allGridSlotsEmpty } }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '0d4f176302870c035b517a9d6df34fd5bd2268ae', class: {
81
+ return (h(Host, { key: '08a1ce26926dace6b5b58df118007107c971221e', "data-version": version, "data-color-scheme": "light" }, h("footer", { key: 'bcc5101df4f8e203fdba9075e34b7aa125eb53ce' }, h("h2", { key: 'a8efa01756ea699f5f66346e3cfe05cc56f36264', class: "visually-hidden" }, this.textFooter), h("div", { key: '1b8e30a01c3f0a711f0351b36d396f90511154c4', class: { 'prefooter': true, 'd-none': !renderPrefooter } }, h("div", { key: '2c900ed450bc1dc5ad655d35f5f50b1b5a268fec', class: "footer-container" }, h("slot", { key: '8ab8cef6c639251543c65ed21a1f14adf043029e', onSlotchange: this.handleSlotChange, name: "prefooter" }))), h("div", { key: 'e3f3bedd9725968fbce6e887e22842a7e8e5ffa5', class: { 'footer-main': true, 'd-none': !renderMain } }, h("div", { key: '76cec7363e3771da636a6c0a32afbf16d5c4d405', class: "footer-container" }, h("div", { key: '4e9ea3788103175b48839b6bf815d4c675769c97', class: { 'footer-grid': true, 'd-none': allGridSlotsEmpty } }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '64d10c9fb543290e078f7fff098b401926b3bf4b', class: {
83
82
  'footer-column': true,
84
83
  'd-none': !renderSocialmedia && !renderApp,
85
- } }, h("div", { key: 'c109f4a4e6ee2654f3312924c0afe2ccb86c35c5', class: { 'footer-socialmedia': true, 'd-none': !renderSocialmedia } }, h("slot", { key: '50b9083d8962ac635f5b8e9124d401cb8113fd16', onSlotchange: this.handleSlotChange, name: "socialmedia" })), h("div", { key: 'f27f992e9f3fa51f0b1a46263b8b06db904c7326', class: { 'footer-app': true, 'd-none': !renderApp } }, h("slot", { key: 'b2312f504866d55a4214ea2c5a959f63d72224f5', onSlotchange: this.handleSlotChange, name: "app" }))), h("div", { key: '08887180c9834a3c843227e74038c10e59eff574', class: { 'footer-businesssectors': true, 'd-none': !renderBusinesssectors } }, h("slot", { key: '3c06ae979a57241646898761d7e4c07110f9982b', onSlotchange: this.handleSlotChange, name: "businesssectors" })))), h("div", { key: '2b306190837589565cb1f7a849ae5ed6fb95e2f4', class: { 'footer-base': true, 'd-none': !renderBase } }, h("div", { key: 'e399157216b6acd98e6fcb802f01fc50086c268c', class: "footer-container" }, h("div", { key: '2b594870e3256173f6a2bd293e5050cc7733e215', class: { 'footer-copyright': true, 'd-none': !renderCopyright } }, h("slot", { key: 'a79f43ab477dc12d1b9d34635784ac45feeeab59', onSlotchange: this.handleSlotChange, name: "copyright" })), h("div", { key: '3298f106b3ae0fd387dd407f5b3276d99e584eeb', class: { 'footer-meta': true, 'd-none': !renderMeta } }, h("slot", { key: '49b28b37aad643116441612ef10f9edcad9df2c3', onSlotchange: this.handleSlotChange, name: "meta" })))))));
84
+ } }, h("div", { key: '05b566b43e2c4fed2919e3312a718ea392cad0f7', class: { 'footer-socialmedia': true, 'd-none': !renderSocialmedia } }, h("slot", { key: 'a46f739c9d4b6cbf96988f96f89d7cc093797b40', onSlotchange: this.handleSlotChange, name: "socialmedia" })), h("div", { key: 'f28490dfaa982a609ba1eb393339980a358488e5', class: { 'footer-app': true, 'd-none': !renderApp } }, h("slot", { key: '01c10bf12eb2f39a0dbceec320b476041d46c631', onSlotchange: this.handleSlotChange, name: "app" }))), h("div", { key: '609935b6b6ee48176d7e44919726abdaff8e6161', class: { 'footer-businesssectors': true, 'd-none': !renderBusinesssectors } }, h("slot", { key: '9f153ba54a08d48e55644fe58089ed7122c1cfdd', onSlotchange: this.handleSlotChange, name: "businesssectors" })))), h("div", { key: '03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a', class: { 'footer-base': true, 'd-none': !renderBase } }, h("div", { key: '3eb810a55e3193295f8b9291bd824af77a5a2fac', class: "footer-container" }, h("div", { key: '04c38d8d5e483b9f9cc8acca1cc8224e381651f1', class: { 'footer-copyright': true, 'd-none': !renderCopyright } }, h("slot", { key: 'fdd11e63af64161288533c21ea455f3513ac7d87', onSlotchange: this.handleSlotChange, name: "copyright" })), h("div", { key: 'adffa17e5f3b94af32e489d113afd9908e2b7abf', class: { 'footer-meta': true, 'd-none': !renderMeta } }, h("slot", { key: '7ebaf69055332d184b86a58e57db1c214b5f08c6', onSlotchange: this.handleSlotChange, name: "meta" })))))));
86
85
  }
87
86
  get host() { return getElement(this); }
88
87
  };
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { b as breakpoint } from './breakpoints-C3jWktf-.js';
3
- import { E as EventFrom } from './event-from-rEfV4v4a.js';
2
+ import { b as breakpoint } from './breakpoints-I1j7a0bW.js';
3
+ import { E as EventFrom } from './event-from-BEcxHjuM.js';
4
4
  import { g as getDeepFocusableChildren } from './get-focusable-children-DxYnH2ye.js';
5
- import { v as version } from './package-tTf1w3A9.js';
5
+ import { v as version } from './package-T8T3po4z.js';
6
6
  import { t as throttle } from './index-bR8vy6-s.js';
7
7
  import { f as fade } from './fade-DsgPYmAa.js';
8
8
  import { R as Required } from './required-tHxh_hWW.js';
@@ -313,10 +313,10 @@ const PostHeader = class {
313
313
  render() {
314
314
  const onDesktop = this.device === 'desktop';
315
315
  const onTabletAndMobile = this.device !== 'desktop';
316
- return (h(Host, { key: 'cdd9dc28893d6b4707e70cc4c8fd0940903e9062', "data-version": version, "data-color-scheme": "light", "data-burger-menu": this.hasBurgerMenu, "data-menu-extended": this.burgerMenuExtended }, h("header", { key: '528563b69ff8f0452775b386a98de59e934c802d' }, h("div", { key: '1f0ab8f7288a63bdd8070bebc5651ffdc9ebfd42', class: "global-header" }, h("div", { key: 'd25d70eddb6d4edeb3be26b313b57980761979bf', class: "section" }, h("div", { key: 'fe284d8015bff65be10e2231147523640c4910d4', class: "logo" }, h("slot", { key: '0c6854d79f4e9695e99961481337b327af8c142c', name: "post-logo" })), h("div", { key: '6d0b33a967dc32760f3d3cf74fc794a1cb622327', class: "sliding-controls" }, onDesktop && (h("div", { key: '6ae13d6b39c19d3953fc719b0fca5cfbfa1c57b7', class: "audience" }, h("slot", { key: '49d3954b3c54d898ad473a0bf7d2566f2764638c', name: "audience" }))), h("slot", { key: 'c19c56d0b5c56c278b33c16ded66473fb44bfa3d', name: "global-nav-primary" }), (onDesktop || !this.hasMainNav) && [
316
+ return (h(Host, { key: 'd288ef2e58942c2cbc5da673076548c97eef04ed', "data-version": version, "data-color-scheme": "light", "data-burger-menu": this.hasBurgerMenu, "data-menu-extended": this.burgerMenuExtended }, h("header", { key: '5357f3edf382dec9b552fdfe9fb51d0878de697c' }, h("div", { key: 'bafa11390b33056e5a3d1a8a2922fd3a43a25020', class: "global-header" }, h("div", { key: '2d54e8d2931864880ff7a28aea64625e775ce327', class: "section" }, h("div", { key: 'b3a87bbf3b87213e22043d58a7298d0cff530cdf', class: "logo" }, h("slot", { key: '9d559b9231dc23841e277d3f4633cdeba2da12b2', name: "post-logo" })), h("div", { key: '64ebd463868ce8b417023651e745e33331feb908', class: "sliding-controls" }, onDesktop && (h("div", { key: 'b4e7d7231a0d8bebe620d41cb655c3686449b19f', class: "audience" }, h("slot", { key: '0781a76b1853a842dc74ec2a2a649f7de487e148', name: "audience" }))), h("slot", { key: '25f1d5b34a5aa950014214f810f3acca95dbbe80', name: "global-nav-primary" }), (onDesktop || !this.hasMainNav) && [
317
317
  h("slot", { key: "global-nav-secondary", name: "global-nav-secondary" }),
318
318
  h("slot", { key: "language-menu", name: "language-menu" }),
319
- ], h("slot", { key: 'a7c75b4628234c282ea9556b7965a4e469783913', name: "post-login" }), onTabletAndMobile && this.hasMainNav && (h("post-togglebutton", { key: 'e120687caa66facfb9721b6b6a8bc8691966a429', class: "burger-button", ref: el => (this.burgerMenuButton = el), onClick: () => this.toggleBurgerMenu() }, h("span", { key: '43fd450ae79386d2c9bf29eb546cc66c399564e4' }, this.textMenu), h("post-icon", { key: '863c5284f9f8b38e8e72390ead96eb7cccda9dd5', "aria-hidden": "true", name: "burger", "data-showwhen": "untoggled" }), h("post-icon", { key: 'f4ed6301b1836c51b0dbf9ee51040bb62dd06beb', "aria-hidden": "true", name: "closex", "data-showwhen": "toggled" })))))), h("div", { key: 'e5c314eae3e25b9bfb23fcbe95684ea7bc99be41', ref: el => (this.localHeader = el), class: { 'local-header': true, 'megadropdown-open': this.megadropdownOpen } }, h("div", { key: '60dd8029f12ec03493b5ce81bc3e3b8338cd80e6', class: "section" }, h("slot", { key: '8bbaa11f39bdf2ceb513fe698913c0350ca78776', name: "side-nav" }), h("slot", { key: '0c1d5da1e42a1d96005c66de9c675c91dc2c8518', name: "title" }), this.hasTitle && h("slot", { key: '8a2bb6822ba8033545e76b8f9a96f9bc7f498c9c', name: "local-nav" }), onDesktop && h("slot", { key: '9c8df8ae91ad85ab58f9ee0bfef6a661fee59814', name: "main-nav" }), onDesktop && !this.hasTitle && h("slot", { key: '85197bf72379b567c782bb54dbf77e6c17060895', name: "local-nav" }))), this.hasBurgerMenu && this.renderBurgerMenu())));
319
+ ], h("slot", { key: 'd7121e5e9ddf825f96a3a82e65ff135c61891adb', name: "post-login" }), onTabletAndMobile && this.hasMainNav && (h("post-togglebutton", { key: 'dd0bcf9cfd96d4ffa44fc549d518d7b39d287156', class: "burger-button", ref: el => (this.burgerMenuButton = el), onClick: () => this.toggleBurgerMenu() }, h("span", { key: '23004cb12733a7081f828d33327cc26adafe3888' }, this.textMenu), h("post-icon", { key: '7fb36892eadfcce0a85d964c411aeafc3fbbde1b', "aria-hidden": "true", name: "burger", "data-showwhen": "untoggled" }), h("post-icon", { key: 'a41292205573c03f25d225d4f4296f75ffe6c7ce', "aria-hidden": "true", name: "closex", "data-showwhen": "toggled" })))))), h("div", { key: '7d6d1424881bb5277210c86b194dfb9e5dcb7c59', ref: el => (this.localHeader = el), class: { 'local-header': true, 'megadropdown-open': this.megadropdownOpen } }, h("div", { key: '724a8d3f79112875ba343470f9d0b753ce5d4861', class: "section" }, h("slot", { key: '688aafdec4e4d5565f3d0a9d9bd9bb7bc78152be', name: "side-nav" }), h("slot", { key: '12590bfb4bfcc8c565f008a8e3d75b5951eb73bc', name: "title" }), this.hasTitle && h("slot", { key: 'd862de0f3aaba5ea22a26c387ea7e93dc0c5e79c', name: "local-nav" }), onDesktop && h("slot", { key: '1a25ec6694bc8b2c06e21449dc566f36595afbb5', name: "main-nav" }), onDesktop && !this.hasTitle && h("slot", { key: '987c26ee73fb19049fdd19de79b537b71e2771de', name: "local-nav" }))), this.hasBurgerMenu && this.renderBurgerMenu())));
320
320
  }
321
321
  get host() { return getElement(this); }
322
322
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
3
  import { O as OneOf } from './one-of-w2eXPAzD.js';
4
4
  import { T as Type } from './type-Daxpt5v6.js';
5
5
  import { R as Required } from './required-tHxh_hWW.js';
@@ -110,7 +110,7 @@ const PostIcon = class {
110
110
  }).filter(([_key, value]) => value !== null));
111
111
  }
112
112
  render() {
113
- return (h(Host, { key: 'ce81db69bf77d09a0a331bac48cdaede7ff3cb8e', "data-version": version }, h("span", { key: '211f999da845687289fd991421f4315a090a67ba', style: this.getStyles() })));
113
+ return (h(Host, { key: '405ccfde4206c14f044575d0b23998d93a03ffb6', "data-version": version }, h("span", { key: 'ad70ccf63add4b881ef6096ae460e13fba09f508', style: this.getStyles() })));
114
114
  }
115
115
  get host() { return getElement(this); }
116
116
  };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-h3opCZqH.js';
2
- import { v as version } from './package-tTf1w3A9.js';
2
+ import { v as version } from './package-T8T3po4z.js';
3
3
  import { S as SWITCH_VARIANTS } from './switch-variants-DjIHLduJ.js';
4
4
  import { R as Required } from './required-tHxh_hWW.js';
5
5
  import { T as Type } from './type-Daxpt5v6.js';