@dso-toolkit/core 76.0.0 → 77.0.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 (538) hide show
  1. package/dist/bundle/dso-accordion-section.js +5 -5
  2. package/dist/bundle/dso-action-list-item.js +1 -1
  3. package/dist/bundle/dso-advanced-select.js +3 -3
  4. package/dist/bundle/dso-alert.js +1 -1
  5. package/dist/bundle/dso-annotation-activiteit.js +5 -5
  6. package/dist/bundle/dso-annotation-activiteit.js.map +1 -1
  7. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +5 -5
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  9. package/dist/bundle/dso-annotation-kaart.js +3 -3
  10. package/dist/bundle/dso-annotation-kaart.js.map +1 -1
  11. package/dist/bundle/dso-annotation-locatie.js +1 -1
  12. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +5 -5
  13. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js.map +1 -1
  14. package/dist/bundle/dso-attachments-counter.js +1 -1
  15. package/dist/bundle/dso-autosuggest.js +3 -3
  16. package/dist/bundle/dso-button-group.d.ts +11 -0
  17. package/dist/bundle/dso-button-group.js +9 -0
  18. package/dist/bundle/dso-button-group.js.map +1 -0
  19. package/dist/bundle/dso-card-container.js +1 -1
  20. package/dist/bundle/dso-card.js +4 -4
  21. package/dist/bundle/dso-card.js.map +1 -1
  22. package/dist/bundle/dso-contact-information.js +1 -1
  23. package/dist/bundle/dso-date-picker-legacy.js +4 -4
  24. package/dist/bundle/dso-date-picker.js +1 -1
  25. package/dist/bundle/dso-document-card.js +2 -2
  26. package/dist/bundle/dso-document-component.js +1 -1
  27. package/dist/bundle/dso-dropdown-menu.js +1 -1
  28. package/dist/bundle/dso-header.js +4 -4
  29. package/dist/bundle/dso-header.js.map +1 -1
  30. package/dist/bundle/dso-highlight-box.js +1 -1
  31. package/dist/bundle/dso-icon.js +1 -1
  32. package/dist/bundle/dso-image-overlay.js +1 -1
  33. package/dist/bundle/dso-info-button.js +1 -1
  34. package/dist/bundle/dso-info.js +1 -1
  35. package/dist/bundle/dso-input-range.js +2 -2
  36. package/dist/bundle/dso-label.js +1 -1
  37. package/dist/bundle/dso-legend-item.js +6 -6
  38. package/dist/bundle/dso-list-button.js +5 -5
  39. package/dist/bundle/dso-logo.js +1 -1
  40. package/dist/bundle/dso-map-base-layers.js +5 -5
  41. package/dist/bundle/dso-map-controls.js +12 -6
  42. package/dist/bundle/dso-map-controls.js.map +1 -1
  43. package/dist/bundle/dso-map-overlays.js +5 -5
  44. package/dist/bundle/dso-mark-bar.js +2 -2
  45. package/dist/bundle/dso-modal.js +3 -3
  46. package/dist/bundle/dso-onboarding-tip.js +3 -1661
  47. package/dist/bundle/dso-onboarding-tip.js.map +1 -1
  48. package/dist/bundle/dso-ozon-content.js +1 -1
  49. package/dist/bundle/dso-pagination.js +3 -3
  50. package/dist/bundle/dso-pagination.js.map +1 -1
  51. package/dist/bundle/dso-panel.js +1 -1
  52. package/dist/bundle/dso-plekinfo-card.js +2 -2
  53. package/dist/bundle/dso-progress-bar.js +1 -1
  54. package/dist/bundle/dso-progress-indicator.js +1 -1
  55. package/dist/bundle/dso-project-item.js +4 -4
  56. package/dist/bundle/dso-responsive-element.js +1 -1
  57. package/dist/bundle/dso-scrollable.js +1 -1
  58. package/dist/bundle/dso-selectable.js +1 -1
  59. package/dist/bundle/dso-skiplink.js +2 -2
  60. package/dist/bundle/dso-slide-toggle.js +1 -1
  61. package/dist/bundle/dso-survey-rating.js +5 -5
  62. package/dist/bundle/dso-table.js +1 -1
  63. package/dist/bundle/dso-tabs.js +1 -1
  64. package/dist/bundle/dso-toggletip.js +1 -1
  65. package/dist/bundle/dso-tooltip.js +1 -1
  66. package/dist/bundle/dso-tree-view.js +3 -3
  67. package/dist/bundle/dso-viewer-grid.js +2 -2
  68. package/dist/bundle/dsot-document-component-demo.js +13 -13
  69. package/dist/bundle/index.js +2 -0
  70. package/dist/bundle/index.js.map +1 -1
  71. package/dist/bundle/{p-BS-Y76bJ.js → p-9zjtdLN6.js} +3 -3
  72. package/dist/bundle/{p-BS-Y76bJ.js.map → p-9zjtdLN6.js.map} +1 -1
  73. package/dist/bundle/{p-DAtQydKx.js → p-BBxSnuWP.js} +4 -4
  74. package/dist/bundle/{p-DAtQydKx.js.map → p-BBxSnuWP.js.map} +1 -1
  75. package/dist/bundle/{p-C0s1JAlb.js → p-BGaAMVmM.js} +6 -6
  76. package/dist/bundle/{p-C0s1JAlb.js.map → p-BGaAMVmM.js.map} +1 -1
  77. package/dist/bundle/{p-C62PayXc.js → p-BLcgQKpu.js} +3 -3
  78. package/dist/bundle/{p-C62PayXc.js.map → p-BLcgQKpu.js.map} +1 -1
  79. package/dist/bundle/{p-DhhVHw2w.js → p-BP2p2tL5.js} +12 -12
  80. package/dist/bundle/{p-DhhVHw2w.js.map → p-BP2p2tL5.js.map} +1 -1
  81. package/dist/bundle/{p-L6frHRla.js → p-BlvELqv3.js} +8 -8
  82. package/dist/bundle/{p-L6frHRla.js.map → p-BlvELqv3.js.map} +1 -1
  83. package/dist/bundle/{p-_DIUHRiS.js → p-BzRDrr-_.js} +3 -3
  84. package/dist/bundle/{p-_DIUHRiS.js.map → p-BzRDrr-_.js.map} +1 -1
  85. package/dist/bundle/{p-r4JnUhJ5.js → p-CMjyxr8o.js} +4 -4
  86. package/dist/bundle/{p-r4JnUhJ5.js.map → p-CMjyxr8o.js.map} +1 -1
  87. package/dist/bundle/{p-BJhPYrsL.js → p-CoKesn28.js} +4 -4
  88. package/dist/bundle/{p-BJhPYrsL.js.map → p-CoKesn28.js.map} +1 -1
  89. package/dist/bundle/p-Cve9JK5u.js +58 -0
  90. package/dist/bundle/p-Cve9JK5u.js.map +1 -0
  91. package/dist/bundle/{p-CdvSnpb_.js → p-CyJdlUc_.js} +3 -3
  92. package/dist/bundle/{p-CdvSnpb_.js.map → p-CyJdlUc_.js.map} +1 -1
  93. package/dist/bundle/{p-BI8W5IHk.js → p-DJ7nyiIt.js} +4 -4
  94. package/dist/bundle/{p-BI8W5IHk.js.map → p-DJ7nyiIt.js.map} +1 -1
  95. package/dist/bundle/{p-Dp31hMfn.js → p-DK7N75_d.js} +48 -115
  96. package/dist/bundle/p-DK7N75_d.js.map +1 -0
  97. package/dist/bundle/{p-CIShecZA.js → p-DM1_b6nQ.js} +3 -3
  98. package/dist/bundle/{p-CIShecZA.js.map → p-DM1_b6nQ.js.map} +1 -1
  99. package/dist/{cjs/has-overflow-B_4p67wC.js → bundle/p-DNO4kzq4.js} +311 -7
  100. package/dist/bundle/p-DNO4kzq4.js.map +1 -0
  101. package/dist/bundle/{p-J2YfZwgD.js → p-DSdjKKyW.js} +7 -7
  102. package/dist/bundle/{p-J2YfZwgD.js.map → p-DSdjKKyW.js.map} +1 -1
  103. package/dist/bundle/{p-D1jpHeMq.js → p-DZ8OX1GG.js} +3 -3
  104. package/dist/bundle/{p-D1jpHeMq.js.map → p-DZ8OX1GG.js.map} +1 -1
  105. package/dist/bundle/{p-CgRdthz0.js → p-DpoKLKOQ.js} +5 -5
  106. package/dist/bundle/{p-CgRdthz0.js.map → p-DpoKLKOQ.js.map} +1 -1
  107. package/dist/bundle/{p-BCHeTZOb.js → p-DwVf2qDM.js} +6 -6
  108. package/dist/bundle/{p-BCHeTZOb.js.map → p-DwVf2qDM.js.map} +1 -1
  109. package/dist/bundle/p-DyzZdG1l.js +80 -0
  110. package/dist/bundle/{p-CagCGFPb.js.map → p-DyzZdG1l.js.map} +1 -1
  111. package/dist/bundle/{p-Fr4DmH1l.js → p-Hd6HHp3Q.js} +4 -4
  112. package/dist/bundle/{p-Fr4DmH1l.js.map → p-Hd6HHp3Q.js.map} +1 -1
  113. package/dist/bundle/p-gdsca1fx.js +1663 -0
  114. package/dist/bundle/p-gdsca1fx.js.map +1 -0
  115. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
  116. package/dist/cjs/dso-alert_6.cjs.entry.js +5 -5
  117. package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
  118. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  119. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
  120. package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
  121. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  122. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
  123. package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
  124. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  125. package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
  126. package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
  127. package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
  128. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +3 -3
  129. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
  130. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
  132. package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
  133. package/dist/cjs/dso-button-group.cjs.entry.js +43 -0
  134. package/dist/cjs/dso-button-group.cjs.entry.js.map +1 -0
  135. package/dist/cjs/dso-button-group.entry.cjs.js.map +1 -0
  136. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-card.cjs.entry.js +3 -3
  138. package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
  139. package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
  140. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  141. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +3 -3
  142. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +44 -103
  145. package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -1
  146. package/dist/cjs/dso-dropdown-menu.entry.cjs.js.map +1 -1
  147. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  148. package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
  149. package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
  150. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  151. package/dist/cjs/dso-icon.cjs.entry.js +1 -1
  152. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  153. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  154. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  155. package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
  156. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  158. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  159. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  160. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  161. package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
  162. package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
  163. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  165. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  166. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +9 -1667
  167. package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
  168. package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
  169. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
  171. package/dist/cjs/dso-pagination.entry.cjs.js.map +1 -1
  172. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
  173. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  174. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  175. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  176. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  177. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  178. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  179. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  180. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  181. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  182. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  183. package/dist/cjs/dso-tooltip.cjs.entry.js +1802 -6
  184. package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -1
  185. package/dist/cjs/dso-tooltip.entry.cjs.js.map +1 -1
  186. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  187. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  188. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  189. package/dist/cjs/floating-ui.dom-uZgU2YQo.js +1671 -0
  190. package/dist/cjs/floating-ui.dom-uZgU2YQo.js.map +1 -0
  191. package/dist/cjs/loader.cjs.js +1 -1
  192. package/dist/collection/collection-manifest.json +1 -0
  193. package/dist/collection/components/annotation/annotation.css +3 -0
  194. package/dist/collection/components/button-group/button-group.css +76 -0
  195. package/dist/collection/components/button-group/button-group.interfaces.js +2 -0
  196. package/dist/collection/components/button-group/button-group.interfaces.js.map +1 -0
  197. package/dist/collection/components/button-group/button-group.js +74 -0
  198. package/dist/collection/components/button-group/button-group.js.map +1 -0
  199. package/dist/collection/components/card/card.css +3 -0
  200. package/dist/collection/components/card/card.js +2 -2
  201. package/dist/collection/components/card-container/card-container.js +1 -1
  202. package/dist/collection/components/contact-information/contact-information.js +1 -1
  203. package/dist/collection/components/date-picker/date-picker.js +1 -1
  204. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
  205. package/dist/collection/components/document-card/document-card.js +1 -1
  206. package/dist/collection/components/document-component/document-component.css +226 -5
  207. package/dist/collection/components/document-component/document-component.js +1 -1
  208. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  209. package/dist/collection/components/dropdown-menu/dropdown-menu.css +8 -0
  210. package/dist/collection/components/dropdown-menu/dropdown-menu.js +43 -176
  211. package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -1
  212. package/dist/collection/components/header/header.js +2 -2
  213. package/dist/collection/components/header/header.js.map +1 -1
  214. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  215. package/dist/collection/components/icon/icon.js +1 -1
  216. package/dist/collection/components/image-overlay/image-overlay.css +8 -8
  217. package/dist/collection/components/info/info.js +1 -1
  218. package/dist/collection/components/info-button/info-button.js +1 -1
  219. package/dist/collection/components/input-range/input-range.js +2 -2
  220. package/dist/collection/components/label/label.js +3 -3
  221. package/dist/collection/components/legend-item/legend-item.js +1 -1
  222. package/dist/collection/components/list-button/list-button.js +1 -1
  223. package/dist/collection/components/logo/logo.js +1 -1
  224. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  225. package/dist/collection/components/map-controls/map-controls.css +725 -184
  226. package/dist/collection/components/map-controls/map-controls.js +3 -3
  227. package/dist/collection/components/map-controls/map-controls.js.map +1 -1
  228. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  229. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  230. package/dist/collection/components/modal/modal.js +1 -1
  231. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  232. package/dist/collection/components/ozon-content/ozon-content.css +226 -5
  233. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  234. package/dist/collection/components/pagination/pagination.css +1 -2
  235. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  236. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  237. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  238. package/dist/collection/components/project-item/project-item.js +1 -1
  239. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  240. package/dist/collection/components/scrollable/scrollable.js +2 -2
  241. package/dist/collection/components/selectable/selectable.js +1 -1
  242. package/dist/collection/components/skiplink/skiplink.js +1 -1
  243. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  244. package/dist/collection/components/survey-rating/survey-rating.css +4 -4
  245. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  246. package/dist/collection/components/table/table.css +223 -5
  247. package/dist/collection/components/table/table.js +1 -1
  248. package/dist/collection/components/tabs/tabs.js +1 -1
  249. package/dist/collection/components/toggletip/toggletip.js +1 -1
  250. package/dist/collection/components/tooltip/tooltip.js +1 -1
  251. package/dist/collection/components/tree-view/tree-view.js +1 -1
  252. package/dist/collection/components/viewer-grid/viewer-grid.css +4 -4
  253. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  254. package/dist/components/annotation-locatie.js +1 -1
  255. package/dist/components/annotation-locatie.js.map +1 -1
  256. package/dist/components/button-group.js +58 -0
  257. package/dist/components/button-group.js.map +1 -0
  258. package/dist/components/document-component.js +2 -2
  259. package/dist/components/document-component.js.map +1 -1
  260. package/dist/components/dropdown-menu.js +46 -113
  261. package/dist/components/dropdown-menu.js.map +1 -1
  262. package/dist/components/dso-annotation-activiteit.js +1 -1
  263. package/dist/components/dso-annotation-activiteit.js.map +1 -1
  264. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  265. package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  266. package/dist/components/dso-annotation-kaart.js +1 -1
  267. package/dist/components/dso-annotation-kaart.js.map +1 -1
  268. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  269. package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
  270. package/dist/components/dso-button-group.d.ts +11 -0
  271. package/dist/components/dso-button-group.js +9 -0
  272. package/dist/components/dso-button-group.js.map +1 -0
  273. package/dist/components/dso-card-container.js +1 -1
  274. package/dist/components/dso-card.js +3 -3
  275. package/dist/components/dso-card.js.map +1 -1
  276. package/dist/components/dso-contact-information.js +1 -1
  277. package/dist/components/dso-date-picker-legacy.js +3 -3
  278. package/dist/components/dso-date-picker.js +1 -1
  279. package/dist/components/dso-document-card.js +1 -1
  280. package/dist/components/dso-header.js +2 -2
  281. package/dist/components/dso-header.js.map +1 -1
  282. package/dist/components/dso-highlight-box.js +1 -1
  283. package/dist/components/dso-input-range.js +2 -2
  284. package/dist/components/dso-legend-item.js +1 -1
  285. package/dist/components/dso-list-button.js +1 -1
  286. package/dist/components/dso-logo.js +1 -1
  287. package/dist/components/dso-map-base-layers.js +1 -1
  288. package/dist/components/dso-map-controls.js +10 -4
  289. package/dist/components/dso-map-controls.js.map +1 -1
  290. package/dist/components/dso-map-overlays.js +1 -1
  291. package/dist/components/dso-mark-bar.js +1 -1
  292. package/dist/components/dso-modal.js +1 -1
  293. package/dist/components/dso-onboarding-tip.js +5 -1663
  294. package/dist/components/dso-onboarding-tip.js.map +1 -1
  295. package/dist/components/dso-pagination.js +1 -1
  296. package/dist/components/dso-pagination.js.map +1 -1
  297. package/dist/components/dso-plekinfo-card.js +1 -1
  298. package/dist/components/dso-progress-bar.js +1 -1
  299. package/dist/components/dso-project-item.js +1 -1
  300. package/dist/components/dso-skiplink.js +1 -1
  301. package/dist/components/dso-survey-rating.js +3 -3
  302. package/dist/components/dso-tabs.js +1 -1
  303. package/dist/components/dso-tree-view.js +1 -1
  304. package/dist/components/dso-viewer-grid.js +2 -2
  305. package/dist/components/dsot-document-component-demo.js +1 -1
  306. package/dist/components/floating-ui.dom.js +1663 -0
  307. package/dist/components/floating-ui.dom.js.map +1 -0
  308. package/dist/components/icon.js +1 -1
  309. package/dist/components/image-overlay.js +1 -1
  310. package/dist/components/index.d.ts +2 -0
  311. package/dist/components/index.js +1 -0
  312. package/dist/components/index.js.map +1 -1
  313. package/dist/components/info-button.js +1 -1
  314. package/dist/components/info.js +1 -1
  315. package/dist/components/label.js +3 -3
  316. package/dist/components/ozon-content.js +2 -2
  317. package/dist/components/ozon-content.js.map +1 -1
  318. package/dist/components/progress-indicator.js +1 -1
  319. package/dist/components/responsive-element.js +1 -1
  320. package/dist/components/scrollable.js +2 -2
  321. package/dist/components/selectable.js +1 -1
  322. package/dist/components/slide-toggle.js +1 -1
  323. package/dist/components/table.js +2 -2
  324. package/dist/components/table.js.map +1 -1
  325. package/dist/components/toggletip.js +1 -1
  326. package/dist/components/tooltip.js +1804 -8
  327. package/dist/components/tooltip.js.map +1 -1
  328. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
  329. package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
  330. package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
  331. package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
  332. package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
  333. package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
  334. package/dist/dso-toolkit/dso-button-group.entry.esm.js.map +1 -0
  335. package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
  336. package/dist/dso-toolkit/dso-dropdown-menu.entry.esm.js.map +1 -1
  337. package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
  338. package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
  339. package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
  340. package/dist/dso-toolkit/dso-pagination.entry.esm.js.map +1 -1
  341. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  342. package/dist/dso-toolkit/dso-tooltip.entry.esm.js.map +1 -1
  343. package/dist/dso-toolkit/{p-41f3732b.entry.js → p-088d0493.entry.js} +2 -2
  344. package/dist/dso-toolkit/{p-137404b4.entry.js → p-090ab6fc.entry.js} +2 -2
  345. package/dist/dso-toolkit/{p-b3a8f101.entry.js → p-099c6eb7.entry.js} +2 -2
  346. package/dist/dso-toolkit/{p-27f7b86f.entry.js → p-10901139.entry.js} +2 -2
  347. package/dist/dso-toolkit/p-15e3e714.entry.js +2 -0
  348. package/dist/dso-toolkit/{p-f41b0ba0.entry.js.map → p-15e3e714.entry.js.map} +1 -1
  349. package/dist/dso-toolkit/p-221c7378.entry.js +2 -0
  350. package/dist/dso-toolkit/{p-bfaa3608.entry.js.map → p-221c7378.entry.js.map} +1 -1
  351. package/dist/dso-toolkit/{p-68cff470.entry.js → p-2d4a4552.entry.js} +2 -2
  352. package/dist/dso-toolkit/p-2f070718.entry.js +2 -0
  353. package/dist/dso-toolkit/p-2f070718.entry.js.map +1 -0
  354. package/dist/dso-toolkit/{p-7bedc94d.entry.js → p-2ff601f9.entry.js} +2 -2
  355. package/dist/dso-toolkit/p-351746ae.entry.js +2 -0
  356. package/dist/dso-toolkit/p-351746ae.entry.js.map +1 -0
  357. package/dist/dso-toolkit/{p-5e821c40.entry.js → p-356f8d94.entry.js} +2 -2
  358. package/dist/dso-toolkit/{p-1db24923.entry.js → p-4231f2f8.entry.js} +2 -2
  359. package/dist/dso-toolkit/{p-ffa6ca48.entry.js → p-44d831b6.entry.js} +2 -2
  360. package/dist/dso-toolkit/{p-009bd60a.entry.js → p-451f3c78.entry.js} +2 -2
  361. package/dist/dso-toolkit/{p-071e8dff.entry.js → p-474cc813.entry.js} +2 -2
  362. package/dist/dso-toolkit/p-517cbc20.entry.js +2 -0
  363. package/dist/dso-toolkit/p-54820bbe.entry.js +2 -0
  364. package/dist/dso-toolkit/p-54820bbe.entry.js.map +1 -0
  365. package/dist/dso-toolkit/p-586838c3.entry.js +2 -0
  366. package/dist/dso-toolkit/p-586838c3.entry.js.map +1 -0
  367. package/dist/dso-toolkit/{p-a4618476.entry.js → p-595e12bd.entry.js} +2 -2
  368. package/dist/dso-toolkit/p-595e12bd.entry.js.map +1 -0
  369. package/dist/dso-toolkit/{p-7233cef7.entry.js → p-613f19f9.entry.js} +2 -2
  370. package/dist/dso-toolkit/p-6949021b.entry.js +2 -0
  371. package/dist/dso-toolkit/p-6949021b.entry.js.map +1 -0
  372. package/dist/dso-toolkit/{p-86658809.entry.js → p-74718de8.entry.js} +2 -2
  373. package/dist/dso-toolkit/{p-cc66c346.entry.js → p-83d63542.entry.js} +2 -2
  374. package/dist/dso-toolkit/p-87716442.entry.js +2 -0
  375. package/dist/dso-toolkit/p-87716442.entry.js.map +1 -0
  376. package/dist/dso-toolkit/{p-e4907ab7.entry.js → p-92f93d4d.entry.js} +2 -2
  377. package/dist/dso-toolkit/{p-13512a35.entry.js → p-9674e7d2.entry.js} +2 -2
  378. package/dist/dso-toolkit/{p-8ac044db.entry.js → p-97320fda.entry.js} +2 -2
  379. package/dist/dso-toolkit/{p-eb5e5d0e.entry.js → p-a10cea33.entry.js} +2 -2
  380. package/dist/dso-toolkit/{p-e9ea10ed.entry.js → p-a1dd8602.entry.js} +2 -2
  381. package/dist/dso-toolkit/{p-bcfeeafb.entry.js → p-a3fd0646.entry.js} +2 -2
  382. package/dist/dso-toolkit/{p-903c3603.entry.js → p-b9b0c72d.entry.js} +2 -2
  383. package/dist/dso-toolkit/p-c7318c7e.entry.js +2 -0
  384. package/dist/dso-toolkit/{p-c93fae9e.entry.js.map → p-c7318c7e.entry.js.map} +1 -1
  385. package/dist/dso-toolkit/{p-469b876f.entry.js → p-c9389342.entry.js} +2 -2
  386. package/dist/dso-toolkit/{p-6d3d29ac.entry.js → p-c9645d23.entry.js} +2 -2
  387. package/dist/dso-toolkit/p-cf388db9.entry.js +2 -0
  388. package/dist/dso-toolkit/{p-4f56a26d.entry.js → p-d3e56081.entry.js} +2 -2
  389. package/dist/dso-toolkit/{p-f32bced2.entry.js → p-e0bc1853.entry.js} +2 -2
  390. package/dist/dso-toolkit/{p-e5a25571.entry.js → p-e3883983.entry.js} +2 -2
  391. package/dist/dso-toolkit/p-e41ede6e.entry.js +2 -0
  392. package/dist/dso-toolkit/{p-11cd688b.entry.js.map → p-e41ede6e.entry.js.map} +1 -1
  393. package/dist/dso-toolkit/{p-f63d51f9.entry.js → p-e9f5382c.entry.js} +2 -2
  394. package/dist/dso-toolkit/p-eca54e01.entry.js +2 -0
  395. package/dist/dso-toolkit/{p-75091e9b.entry.js.map → p-eca54e01.entry.js.map} +1 -1
  396. package/dist/dso-toolkit/p-ee48009b.entry.js +2 -0
  397. package/dist/dso-toolkit/{p-bd7d4a27.entry.js.map → p-ee48009b.entry.js.map} +1 -1
  398. package/dist/dso-toolkit/{p-76eb0308.entry.js → p-f0579969.entry.js} +2 -2
  399. package/dist/dso-toolkit/{p-3e8bda7c.entry.js → p-f1f414b6.entry.js} +2 -2
  400. package/dist/dso-toolkit/p-ff80c101.entry.js +2 -0
  401. package/dist/dso-toolkit/{p-9cf46bde.entry.js.map → p-ff80c101.entry.js.map} +1 -1
  402. package/dist/dso-toolkit/p-gdsca1fx.js +2 -0
  403. package/dist/dso-toolkit/p-gdsca1fx.js.map +1 -0
  404. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
  405. package/dist/esm/dso-alert_6.entry.js +5 -5
  406. package/dist/esm/dso-alert_6.entry.js.map +1 -1
  407. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  408. package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
  409. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  410. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
  411. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  412. package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
  413. package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
  414. package/dist/esm/dso-annotation-locatie_2.entry.js +3 -3
  415. package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
  416. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  417. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
  418. package/dist/esm/dso-button-group.entry.js +41 -0
  419. package/dist/esm/dso-button-group.entry.js.map +1 -0
  420. package/dist/esm/dso-card-container.entry.js +1 -1
  421. package/dist/esm/dso-card.entry.js +3 -3
  422. package/dist/esm/dso-card.entry.js.map +1 -1
  423. package/dist/esm/dso-contact-information.entry.js +1 -1
  424. package/dist/esm/dso-date-picker-legacy.entry.js +3 -3
  425. package/dist/esm/dso-date-picker.entry.js +1 -1
  426. package/dist/esm/dso-document-card.entry.js +1 -1
  427. package/dist/esm/dso-dropdown-menu.entry.js +44 -103
  428. package/dist/esm/dso-dropdown-menu.entry.js.map +1 -1
  429. package/dist/esm/dso-header.entry.js +2 -2
  430. package/dist/esm/dso-header.entry.js.map +1 -1
  431. package/dist/esm/dso-highlight-box.entry.js +1 -1
  432. package/dist/esm/dso-icon.entry.js +1 -1
  433. package/dist/esm/dso-info-button.entry.js +1 -1
  434. package/dist/esm/dso-info_2.entry.js +2 -2
  435. package/dist/esm/dso-input-range.entry.js +2 -2
  436. package/dist/esm/dso-label_3.entry.js +4 -4
  437. package/dist/esm/dso-legend-item.entry.js +1 -1
  438. package/dist/esm/dso-list-button.entry.js +1 -1
  439. package/dist/esm/dso-logo.entry.js +1 -1
  440. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  441. package/dist/esm/dso-map-controls.entry.js +3 -3
  442. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  443. package/dist/esm/dso-map-overlays.entry.js +1 -1
  444. package/dist/esm/dso-mark-bar.entry.js +1 -1
  445. package/dist/esm/dso-modal.entry.js +1 -1
  446. package/dist/esm/dso-onboarding-tip.entry.js +2 -1660
  447. package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
  448. package/dist/esm/dso-pagination.entry.js +1 -1
  449. package/dist/esm/dso-pagination.entry.js.map +1 -1
  450. package/dist/esm/dso-plekinfo-card.entry.js +1 -1
  451. package/dist/esm/dso-progress-bar.entry.js +1 -1
  452. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  453. package/dist/esm/dso-project-item.entry.js +1 -1
  454. package/dist/esm/dso-responsive-element.entry.js +1 -1
  455. package/dist/esm/dso-scrollable.entry.js +2 -2
  456. package/dist/esm/dso-skiplink.entry.js +1 -1
  457. package/dist/esm/dso-survey-rating.entry.js +3 -3
  458. package/dist/esm/dso-tabs.entry.js +1 -1
  459. package/dist/esm/dso-toggletip.entry.js +1 -1
  460. package/dist/esm/dso-toolkit.js +1 -1
  461. package/dist/esm/dso-tooltip.entry.js +1800 -4
  462. package/dist/esm/dso-tooltip.entry.js.map +1 -1
  463. package/dist/esm/dso-tree-view.entry.js +1 -1
  464. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  465. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  466. package/dist/esm/floating-ui.dom-gdsca1fx.js +1663 -0
  467. package/dist/esm/floating-ui.dom-gdsca1fx.js.map +1 -0
  468. package/dist/esm/loader.js +1 -1
  469. package/dist/types/components/button-group/button-group.d.ts +16 -0
  470. package/dist/types/components/button-group/button-group.interfaces.d.ts +1 -0
  471. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -20
  472. package/dist/types/components/map-controls/map-controls.d.ts +2 -2
  473. package/dist/types/components.d.ts +25 -26
  474. package/package.json +3 -3
  475. package/dist/bundle/p-CBwbkAC7.js +0 -314
  476. package/dist/bundle/p-CBwbkAC7.js.map +0 -1
  477. package/dist/bundle/p-CagCGFPb.js +0 -80
  478. package/dist/bundle/p-CsY83cJO.js +0 -1801
  479. package/dist/bundle/p-CsY83cJO.js.map +0 -1
  480. package/dist/bundle/p-Dp31hMfn.js.map +0 -1
  481. package/dist/cjs/has-overflow-B_4p67wC.js.map +0 -1
  482. package/dist/components/has-overflow.js +0 -1801
  483. package/dist/components/has-overflow.js.map +0 -1
  484. package/dist/dso-toolkit/p-11cd688b.entry.js +0 -2
  485. package/dist/dso-toolkit/p-2968e740.entry.js +0 -2
  486. package/dist/dso-toolkit/p-2968e740.entry.js.map +0 -1
  487. package/dist/dso-toolkit/p-5327558b.entry.js +0 -2
  488. package/dist/dso-toolkit/p-75091e9b.entry.js +0 -2
  489. package/dist/dso-toolkit/p-858970da.entry.js +0 -2
  490. package/dist/dso-toolkit/p-858970da.entry.js.map +0 -1
  491. package/dist/dso-toolkit/p-9cf46bde.entry.js +0 -2
  492. package/dist/dso-toolkit/p-CsY83cJO.js +0 -2
  493. package/dist/dso-toolkit/p-CsY83cJO.js.map +0 -1
  494. package/dist/dso-toolkit/p-a4618476.entry.js.map +0 -1
  495. package/dist/dso-toolkit/p-ad8a1705.entry.js +0 -2
  496. package/dist/dso-toolkit/p-b61f1d16.entry.js +0 -2
  497. package/dist/dso-toolkit/p-b61f1d16.entry.js.map +0 -1
  498. package/dist/dso-toolkit/p-bd7d4a27.entry.js +0 -2
  499. package/dist/dso-toolkit/p-bfaa3608.entry.js +0 -2
  500. package/dist/dso-toolkit/p-c93fae9e.entry.js +0 -2
  501. package/dist/dso-toolkit/p-cad0c5d9.entry.js +0 -2
  502. package/dist/dso-toolkit/p-cad0c5d9.entry.js.map +0 -1
  503. package/dist/dso-toolkit/p-cea64895.entry.js +0 -2
  504. package/dist/dso-toolkit/p-cea64895.entry.js.map +0 -1
  505. package/dist/dso-toolkit/p-f41b0ba0.entry.js +0 -2
  506. package/dist/esm/has-overflow-CsY83cJO.js +0 -1801
  507. package/dist/esm/has-overflow-CsY83cJO.js.map +0 -1
  508. /package/dist/dso-toolkit/{p-41f3732b.entry.js.map → p-088d0493.entry.js.map} +0 -0
  509. /package/dist/dso-toolkit/{p-137404b4.entry.js.map → p-090ab6fc.entry.js.map} +0 -0
  510. /package/dist/dso-toolkit/{p-b3a8f101.entry.js.map → p-099c6eb7.entry.js.map} +0 -0
  511. /package/dist/dso-toolkit/{p-27f7b86f.entry.js.map → p-10901139.entry.js.map} +0 -0
  512. /package/dist/dso-toolkit/{p-68cff470.entry.js.map → p-2d4a4552.entry.js.map} +0 -0
  513. /package/dist/dso-toolkit/{p-7bedc94d.entry.js.map → p-2ff601f9.entry.js.map} +0 -0
  514. /package/dist/dso-toolkit/{p-5e821c40.entry.js.map → p-356f8d94.entry.js.map} +0 -0
  515. /package/dist/dso-toolkit/{p-1db24923.entry.js.map → p-4231f2f8.entry.js.map} +0 -0
  516. /package/dist/dso-toolkit/{p-ffa6ca48.entry.js.map → p-44d831b6.entry.js.map} +0 -0
  517. /package/dist/dso-toolkit/{p-009bd60a.entry.js.map → p-451f3c78.entry.js.map} +0 -0
  518. /package/dist/dso-toolkit/{p-071e8dff.entry.js.map → p-474cc813.entry.js.map} +0 -0
  519. /package/dist/dso-toolkit/{p-5327558b.entry.js.map → p-517cbc20.entry.js.map} +0 -0
  520. /package/dist/dso-toolkit/{p-7233cef7.entry.js.map → p-613f19f9.entry.js.map} +0 -0
  521. /package/dist/dso-toolkit/{p-86658809.entry.js.map → p-74718de8.entry.js.map} +0 -0
  522. /package/dist/dso-toolkit/{p-cc66c346.entry.js.map → p-83d63542.entry.js.map} +0 -0
  523. /package/dist/dso-toolkit/{p-e4907ab7.entry.js.map → p-92f93d4d.entry.js.map} +0 -0
  524. /package/dist/dso-toolkit/{p-13512a35.entry.js.map → p-9674e7d2.entry.js.map} +0 -0
  525. /package/dist/dso-toolkit/{p-8ac044db.entry.js.map → p-97320fda.entry.js.map} +0 -0
  526. /package/dist/dso-toolkit/{p-eb5e5d0e.entry.js.map → p-a10cea33.entry.js.map} +0 -0
  527. /package/dist/dso-toolkit/{p-e9ea10ed.entry.js.map → p-a1dd8602.entry.js.map} +0 -0
  528. /package/dist/dso-toolkit/{p-bcfeeafb.entry.js.map → p-a3fd0646.entry.js.map} +0 -0
  529. /package/dist/dso-toolkit/{p-903c3603.entry.js.map → p-b9b0c72d.entry.js.map} +0 -0
  530. /package/dist/dso-toolkit/{p-469b876f.entry.js.map → p-c9389342.entry.js.map} +0 -0
  531. /package/dist/dso-toolkit/{p-6d3d29ac.entry.js.map → p-c9645d23.entry.js.map} +0 -0
  532. /package/dist/dso-toolkit/{p-ad8a1705.entry.js.map → p-cf388db9.entry.js.map} +0 -0
  533. /package/dist/dso-toolkit/{p-4f56a26d.entry.js.map → p-d3e56081.entry.js.map} +0 -0
  534. /package/dist/dso-toolkit/{p-f32bced2.entry.js.map → p-e0bc1853.entry.js.map} +0 -0
  535. /package/dist/dso-toolkit/{p-e5a25571.entry.js.map → p-e3883983.entry.js.map} +0 -0
  536. /package/dist/dso-toolkit/{p-f63d51f9.entry.js.map → p-e9f5382c.entry.js.map} +0 -0
  537. /package/dist/dso-toolkit/{p-76eb0308.entry.js.map → p-f0579969.entry.js.map} +0 -0
  538. /package/dist/dso-toolkit/{p-3e8bda7c.entry.js.map → p-f1f414b6.entry.js.map} +0 -0
@@ -1,7 +1,1795 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement as HTMLElement$1, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as clsx } from './clsx.js';
3
- import { d as debounce } from './index2.js';
4
- import { d as detectOverflow, h as hasOverflow, c as createPopper, b as beforeWrite } from './has-overflow.js';
3
+ import { d as debounce$1 } from './index2.js';
4
+
5
+ var top = 'top';
6
+ var bottom = 'bottom';
7
+ var right = 'right';
8
+ var left = 'left';
9
+ var auto = 'auto';
10
+ var basePlacements = [top, bottom, right, left];
11
+ var start = 'start';
12
+ var end = 'end';
13
+ var clippingParents = 'clippingParents';
14
+ var viewport = 'viewport';
15
+ var popper = 'popper';
16
+ var reference = 'reference';
17
+ var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
18
+ return acc.concat([placement + "-" + start, placement + "-" + end]);
19
+ }, []);
20
+ var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
21
+ return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
22
+ }, []); // modifiers that need to read the DOM
23
+
24
+ var beforeRead = 'beforeRead';
25
+ var read = 'read';
26
+ var afterRead = 'afterRead'; // pure-logic modifiers
27
+
28
+ var beforeMain = 'beforeMain';
29
+ var main = 'main';
30
+ var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
31
+
32
+ var beforeWrite = 'beforeWrite';
33
+ var write = 'write';
34
+ var afterWrite = 'afterWrite';
35
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
36
+
37
+ function getNodeName(element) {
38
+ return element ? (element.nodeName || '').toLowerCase() : null;
39
+ }
40
+
41
+ function getWindow(node) {
42
+ if (node == null) {
43
+ return window;
44
+ }
45
+
46
+ if (node.toString() !== '[object Window]') {
47
+ var ownerDocument = node.ownerDocument;
48
+ return ownerDocument ? ownerDocument.defaultView || window : window;
49
+ }
50
+
51
+ return node;
52
+ }
53
+
54
+ function isElement(node) {
55
+ var OwnElement = getWindow(node).Element;
56
+ return node instanceof OwnElement || node instanceof Element;
57
+ }
58
+
59
+ function isHTMLElement(node) {
60
+ var OwnElement = getWindow(node).HTMLElement;
61
+ return node instanceof OwnElement || node instanceof HTMLElement;
62
+ }
63
+
64
+ function isShadowRoot(node) {
65
+ // IE 11 has no ShadowRoot
66
+ if (typeof ShadowRoot === 'undefined') {
67
+ return false;
68
+ }
69
+
70
+ var OwnElement = getWindow(node).ShadowRoot;
71
+ return node instanceof OwnElement || node instanceof ShadowRoot;
72
+ }
73
+
74
+ // and applies them to the HTMLElements such as popper and arrow
75
+
76
+ function applyStyles(_ref) {
77
+ var state = _ref.state;
78
+ Object.keys(state.elements).forEach(function (name) {
79
+ var style = state.styles[name] || {};
80
+ var attributes = state.attributes[name] || {};
81
+ var element = state.elements[name]; // arrow is optional + virtual elements
82
+
83
+ if (!isHTMLElement(element) || !getNodeName(element)) {
84
+ return;
85
+ } // Flow doesn't support to extend this property, but it's the most
86
+ // effective way to apply styles to an HTMLElement
87
+ // $FlowFixMe[cannot-write]
88
+
89
+
90
+ Object.assign(element.style, style);
91
+ Object.keys(attributes).forEach(function (name) {
92
+ var value = attributes[name];
93
+
94
+ if (value === false) {
95
+ element.removeAttribute(name);
96
+ } else {
97
+ element.setAttribute(name, value === true ? '' : value);
98
+ }
99
+ });
100
+ });
101
+ }
102
+
103
+ function effect$2(_ref2) {
104
+ var state = _ref2.state;
105
+ var initialStyles = {
106
+ popper: {
107
+ position: state.options.strategy,
108
+ left: '0',
109
+ top: '0',
110
+ margin: '0'
111
+ },
112
+ arrow: {
113
+ position: 'absolute'
114
+ },
115
+ reference: {}
116
+ };
117
+ Object.assign(state.elements.popper.style, initialStyles.popper);
118
+ state.styles = initialStyles;
119
+
120
+ if (state.elements.arrow) {
121
+ Object.assign(state.elements.arrow.style, initialStyles.arrow);
122
+ }
123
+
124
+ return function () {
125
+ Object.keys(state.elements).forEach(function (name) {
126
+ var element = state.elements[name];
127
+ var attributes = state.attributes[name] || {};
128
+ var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
129
+
130
+ var style = styleProperties.reduce(function (style, property) {
131
+ style[property] = '';
132
+ return style;
133
+ }, {}); // arrow is optional + virtual elements
134
+
135
+ if (!isHTMLElement(element) || !getNodeName(element)) {
136
+ return;
137
+ }
138
+
139
+ Object.assign(element.style, style);
140
+ Object.keys(attributes).forEach(function (attribute) {
141
+ element.removeAttribute(attribute);
142
+ });
143
+ });
144
+ };
145
+ } // eslint-disable-next-line import/no-unused-modules
146
+
147
+
148
+ var applyStyles$1 = {
149
+ name: 'applyStyles',
150
+ enabled: true,
151
+ phase: 'write',
152
+ fn: applyStyles,
153
+ effect: effect$2,
154
+ requires: ['computeStyles']
155
+ };
156
+
157
+ function getBasePlacement(placement) {
158
+ return placement.split('-')[0];
159
+ }
160
+
161
+ var max = Math.max;
162
+ var min = Math.min;
163
+ var round = Math.round;
164
+
165
+ function getUAString() {
166
+ var uaData = navigator.userAgentData;
167
+
168
+ if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
169
+ return uaData.brands.map(function (item) {
170
+ return item.brand + "/" + item.version;
171
+ }).join(' ');
172
+ }
173
+
174
+ return navigator.userAgent;
175
+ }
176
+
177
+ function isLayoutViewport() {
178
+ return !/^((?!chrome|android).)*safari/i.test(getUAString());
179
+ }
180
+
181
+ function getBoundingClientRect(element, includeScale, isFixedStrategy) {
182
+ if (includeScale === void 0) {
183
+ includeScale = false;
184
+ }
185
+
186
+ if (isFixedStrategy === void 0) {
187
+ isFixedStrategy = false;
188
+ }
189
+
190
+ var clientRect = element.getBoundingClientRect();
191
+ var scaleX = 1;
192
+ var scaleY = 1;
193
+
194
+ if (includeScale && isHTMLElement(element)) {
195
+ scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
196
+ scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
197
+ }
198
+
199
+ var _ref = isElement(element) ? getWindow(element) : window,
200
+ visualViewport = _ref.visualViewport;
201
+
202
+ var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
203
+ var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
204
+ var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
205
+ var width = clientRect.width / scaleX;
206
+ var height = clientRect.height / scaleY;
207
+ return {
208
+ width: width,
209
+ height: height,
210
+ top: y,
211
+ right: x + width,
212
+ bottom: y + height,
213
+ left: x,
214
+ x: x,
215
+ y: y
216
+ };
217
+ }
218
+
219
+ // means it doesn't take into account transforms.
220
+
221
+ function getLayoutRect(element) {
222
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
223
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
224
+
225
+ var width = element.offsetWidth;
226
+ var height = element.offsetHeight;
227
+
228
+ if (Math.abs(clientRect.width - width) <= 1) {
229
+ width = clientRect.width;
230
+ }
231
+
232
+ if (Math.abs(clientRect.height - height) <= 1) {
233
+ height = clientRect.height;
234
+ }
235
+
236
+ return {
237
+ x: element.offsetLeft,
238
+ y: element.offsetTop,
239
+ width: width,
240
+ height: height
241
+ };
242
+ }
243
+
244
+ function contains(parent, child) {
245
+ var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
246
+
247
+ if (parent.contains(child)) {
248
+ return true;
249
+ } // then fallback to custom implementation with Shadow DOM support
250
+ else if (rootNode && isShadowRoot(rootNode)) {
251
+ var next = child;
252
+
253
+ do {
254
+ if (next && parent.isSameNode(next)) {
255
+ return true;
256
+ } // $FlowFixMe[prop-missing]: need a better way to handle this...
257
+
258
+
259
+ next = next.parentNode || next.host;
260
+ } while (next);
261
+ } // Give up, the result is false
262
+
263
+
264
+ return false;
265
+ }
266
+
267
+ function getComputedStyle(element) {
268
+ return getWindow(element).getComputedStyle(element);
269
+ }
270
+
271
+ function isTableElement(element) {
272
+ return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
273
+ }
274
+
275
+ function getDocumentElement(element) {
276
+ // $FlowFixMe[incompatible-return]: assume body is always available
277
+ return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
278
+ element.document) || window.document).documentElement;
279
+ }
280
+
281
+ function getParentNode(element) {
282
+ if (getNodeName(element) === 'html') {
283
+ return element;
284
+ }
285
+
286
+ return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
287
+ // $FlowFixMe[incompatible-return]
288
+ // $FlowFixMe[prop-missing]
289
+ element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
290
+ element.parentNode || ( // DOM Element detected
291
+ isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
292
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
293
+ getDocumentElement(element) // fallback
294
+
295
+ );
296
+ }
297
+
298
+ function getTrueOffsetParent(element) {
299
+ if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
300
+ getComputedStyle(element).position === 'fixed') {
301
+ return null;
302
+ }
303
+
304
+ return element.offsetParent;
305
+ } // `.offsetParent` reports `null` for fixed elements, while absolute elements
306
+ // return the containing block
307
+
308
+
309
+ function getContainingBlock(element) {
310
+ var isFirefox = /firefox/i.test(getUAString());
311
+ var isIE = /Trident/i.test(getUAString());
312
+
313
+ if (isIE && isHTMLElement(element)) {
314
+ // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
315
+ var elementCss = getComputedStyle(element);
316
+
317
+ if (elementCss.position === 'fixed') {
318
+ return null;
319
+ }
320
+ }
321
+
322
+ var currentNode = getParentNode(element);
323
+
324
+ if (isShadowRoot(currentNode)) {
325
+ currentNode = currentNode.host;
326
+ }
327
+
328
+ while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
329
+ var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
330
+ // create a containing block.
331
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
332
+
333
+ if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
334
+ return currentNode;
335
+ } else {
336
+ currentNode = currentNode.parentNode;
337
+ }
338
+ }
339
+
340
+ return null;
341
+ } // Gets the closest ancestor positioned element. Handles some edge cases,
342
+ // such as table ancestors and cross browser bugs.
343
+
344
+
345
+ function getOffsetParent(element) {
346
+ var window = getWindow(element);
347
+ var offsetParent = getTrueOffsetParent(element);
348
+
349
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
350
+ offsetParent = getTrueOffsetParent(offsetParent);
351
+ }
352
+
353
+ if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
354
+ return window;
355
+ }
356
+
357
+ return offsetParent || getContainingBlock(element) || window;
358
+ }
359
+
360
+ function getMainAxisFromPlacement(placement) {
361
+ return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
362
+ }
363
+
364
+ function within(min$1, value, max$1) {
365
+ return max(min$1, min(value, max$1));
366
+ }
367
+ function withinMaxClamp(min, value, max) {
368
+ var v = within(min, value, max);
369
+ return v > max ? max : v;
370
+ }
371
+
372
+ function getFreshSideObject() {
373
+ return {
374
+ top: 0,
375
+ right: 0,
376
+ bottom: 0,
377
+ left: 0
378
+ };
379
+ }
380
+
381
+ function mergePaddingObject(paddingObject) {
382
+ return Object.assign({}, getFreshSideObject(), paddingObject);
383
+ }
384
+
385
+ function expandToHashMap(value, keys) {
386
+ return keys.reduce(function (hashMap, key) {
387
+ hashMap[key] = value;
388
+ return hashMap;
389
+ }, {});
390
+ }
391
+
392
+ var toPaddingObject = function toPaddingObject(padding, state) {
393
+ padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
394
+ placement: state.placement
395
+ })) : padding;
396
+ return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
397
+ };
398
+
399
+ function arrow(_ref) {
400
+ var _state$modifiersData$;
401
+
402
+ var state = _ref.state,
403
+ name = _ref.name,
404
+ options = _ref.options;
405
+ var arrowElement = state.elements.arrow;
406
+ var popperOffsets = state.modifiersData.popperOffsets;
407
+ var basePlacement = getBasePlacement(state.placement);
408
+ var axis = getMainAxisFromPlacement(basePlacement);
409
+ var isVertical = [left, right].indexOf(basePlacement) >= 0;
410
+ var len = isVertical ? 'height' : 'width';
411
+
412
+ if (!arrowElement || !popperOffsets) {
413
+ return;
414
+ }
415
+
416
+ var paddingObject = toPaddingObject(options.padding, state);
417
+ var arrowRect = getLayoutRect(arrowElement);
418
+ var minProp = axis === 'y' ? top : left;
419
+ var maxProp = axis === 'y' ? bottom : right;
420
+ var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
421
+ var startDiff = popperOffsets[axis] - state.rects.reference[axis];
422
+ var arrowOffsetParent = getOffsetParent(arrowElement);
423
+ var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
424
+ var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
425
+ // outside of the popper bounds
426
+
427
+ var min = paddingObject[minProp];
428
+ var max = clientSize - arrowRect[len] - paddingObject[maxProp];
429
+ var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
430
+ var offset = within(min, center, max); // Prevents breaking syntax highlighting...
431
+
432
+ var axisProp = axis;
433
+ state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
434
+ }
435
+
436
+ function effect$1(_ref2) {
437
+ var state = _ref2.state,
438
+ options = _ref2.options;
439
+ var _options$element = options.element,
440
+ arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
441
+
442
+ if (arrowElement == null) {
443
+ return;
444
+ } // CSS selector
445
+
446
+
447
+ if (typeof arrowElement === 'string') {
448
+ arrowElement = state.elements.popper.querySelector(arrowElement);
449
+
450
+ if (!arrowElement) {
451
+ return;
452
+ }
453
+ }
454
+
455
+ if (!contains(state.elements.popper, arrowElement)) {
456
+ return;
457
+ }
458
+
459
+ state.elements.arrow = arrowElement;
460
+ } // eslint-disable-next-line import/no-unused-modules
461
+
462
+
463
+ var arrow$1 = {
464
+ name: 'arrow',
465
+ enabled: true,
466
+ phase: 'main',
467
+ fn: arrow,
468
+ effect: effect$1,
469
+ requires: ['popperOffsets'],
470
+ requiresIfExists: ['preventOverflow']
471
+ };
472
+
473
+ function getVariation(placement) {
474
+ return placement.split('-')[1];
475
+ }
476
+
477
+ var unsetSides = {
478
+ top: 'auto',
479
+ right: 'auto',
480
+ bottom: 'auto',
481
+ left: 'auto'
482
+ }; // Round the offsets to the nearest suitable subpixel based on the DPR.
483
+ // Zooming can change the DPR, but it seems to report a value that will
484
+ // cleanly divide the values into the appropriate subpixels.
485
+
486
+ function roundOffsetsByDPR(_ref, win) {
487
+ var x = _ref.x,
488
+ y = _ref.y;
489
+ var dpr = win.devicePixelRatio || 1;
490
+ return {
491
+ x: round(x * dpr) / dpr || 0,
492
+ y: round(y * dpr) / dpr || 0
493
+ };
494
+ }
495
+
496
+ function mapToStyles(_ref2) {
497
+ var _Object$assign2;
498
+
499
+ var popper = _ref2.popper,
500
+ popperRect = _ref2.popperRect,
501
+ placement = _ref2.placement,
502
+ variation = _ref2.variation,
503
+ offsets = _ref2.offsets,
504
+ position = _ref2.position,
505
+ gpuAcceleration = _ref2.gpuAcceleration,
506
+ adaptive = _ref2.adaptive,
507
+ roundOffsets = _ref2.roundOffsets,
508
+ isFixed = _ref2.isFixed;
509
+ var _offsets$x = offsets.x,
510
+ x = _offsets$x === void 0 ? 0 : _offsets$x,
511
+ _offsets$y = offsets.y,
512
+ y = _offsets$y === void 0 ? 0 : _offsets$y;
513
+
514
+ var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
515
+ x: x,
516
+ y: y
517
+ }) : {
518
+ x: x,
519
+ y: y
520
+ };
521
+
522
+ x = _ref3.x;
523
+ y = _ref3.y;
524
+ var hasX = offsets.hasOwnProperty('x');
525
+ var hasY = offsets.hasOwnProperty('y');
526
+ var sideX = left;
527
+ var sideY = top;
528
+ var win = window;
529
+
530
+ if (adaptive) {
531
+ var offsetParent = getOffsetParent(popper);
532
+ var heightProp = 'clientHeight';
533
+ var widthProp = 'clientWidth';
534
+
535
+ if (offsetParent === getWindow(popper)) {
536
+ offsetParent = getDocumentElement(popper);
537
+
538
+ if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
539
+ heightProp = 'scrollHeight';
540
+ widthProp = 'scrollWidth';
541
+ }
542
+ } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
543
+
544
+
545
+ offsetParent = offsetParent;
546
+
547
+ if (placement === top || (placement === left || placement === right) && variation === end) {
548
+ sideY = bottom;
549
+ var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
550
+ offsetParent[heightProp];
551
+ y -= offsetY - popperRect.height;
552
+ y *= gpuAcceleration ? 1 : -1;
553
+ }
554
+
555
+ if (placement === left || (placement === top || placement === bottom) && variation === end) {
556
+ sideX = right;
557
+ var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
558
+ offsetParent[widthProp];
559
+ x -= offsetX - popperRect.width;
560
+ x *= gpuAcceleration ? 1 : -1;
561
+ }
562
+ }
563
+
564
+ var commonStyles = Object.assign({
565
+ position: position
566
+ }, adaptive && unsetSides);
567
+
568
+ var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
569
+ x: x,
570
+ y: y
571
+ }, getWindow(popper)) : {
572
+ x: x,
573
+ y: y
574
+ };
575
+
576
+ x = _ref4.x;
577
+ y = _ref4.y;
578
+
579
+ if (gpuAcceleration) {
580
+ var _Object$assign;
581
+
582
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
583
+ }
584
+
585
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
586
+ }
587
+
588
+ function computeStyles(_ref5) {
589
+ var state = _ref5.state,
590
+ options = _ref5.options;
591
+ var _options$gpuAccelerat = options.gpuAcceleration,
592
+ gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
593
+ _options$adaptive = options.adaptive,
594
+ adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
595
+ _options$roundOffsets = options.roundOffsets,
596
+ roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
597
+ var commonStyles = {
598
+ placement: getBasePlacement(state.placement),
599
+ variation: getVariation(state.placement),
600
+ popper: state.elements.popper,
601
+ popperRect: state.rects.popper,
602
+ gpuAcceleration: gpuAcceleration,
603
+ isFixed: state.options.strategy === 'fixed'
604
+ };
605
+
606
+ if (state.modifiersData.popperOffsets != null) {
607
+ state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
608
+ offsets: state.modifiersData.popperOffsets,
609
+ position: state.options.strategy,
610
+ adaptive: adaptive,
611
+ roundOffsets: roundOffsets
612
+ })));
613
+ }
614
+
615
+ if (state.modifiersData.arrow != null) {
616
+ state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
617
+ offsets: state.modifiersData.arrow,
618
+ position: 'absolute',
619
+ adaptive: false,
620
+ roundOffsets: roundOffsets
621
+ })));
622
+ }
623
+
624
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
625
+ 'data-popper-placement': state.placement
626
+ });
627
+ } // eslint-disable-next-line import/no-unused-modules
628
+
629
+
630
+ var computeStyles$1 = {
631
+ name: 'computeStyles',
632
+ enabled: true,
633
+ phase: 'beforeWrite',
634
+ fn: computeStyles,
635
+ data: {}
636
+ };
637
+
638
+ var passive = {
639
+ passive: true
640
+ };
641
+
642
+ function effect(_ref) {
643
+ var state = _ref.state,
644
+ instance = _ref.instance,
645
+ options = _ref.options;
646
+ var _options$scroll = options.scroll,
647
+ scroll = _options$scroll === void 0 ? true : _options$scroll,
648
+ _options$resize = options.resize,
649
+ resize = _options$resize === void 0 ? true : _options$resize;
650
+ var window = getWindow(state.elements.popper);
651
+ var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
652
+
653
+ if (scroll) {
654
+ scrollParents.forEach(function (scrollParent) {
655
+ scrollParent.addEventListener('scroll', instance.update, passive);
656
+ });
657
+ }
658
+
659
+ if (resize) {
660
+ window.addEventListener('resize', instance.update, passive);
661
+ }
662
+
663
+ return function () {
664
+ if (scroll) {
665
+ scrollParents.forEach(function (scrollParent) {
666
+ scrollParent.removeEventListener('scroll', instance.update, passive);
667
+ });
668
+ }
669
+
670
+ if (resize) {
671
+ window.removeEventListener('resize', instance.update, passive);
672
+ }
673
+ };
674
+ } // eslint-disable-next-line import/no-unused-modules
675
+
676
+
677
+ var eventListeners = {
678
+ name: 'eventListeners',
679
+ enabled: true,
680
+ phase: 'write',
681
+ fn: function fn() {},
682
+ effect: effect,
683
+ data: {}
684
+ };
685
+
686
+ var hash$1 = {
687
+ left: 'right',
688
+ right: 'left',
689
+ bottom: 'top',
690
+ top: 'bottom'
691
+ };
692
+ function getOppositePlacement(placement) {
693
+ return placement.replace(/left|right|bottom|top/g, function (matched) {
694
+ return hash$1[matched];
695
+ });
696
+ }
697
+
698
+ var hash = {
699
+ start: 'end',
700
+ end: 'start'
701
+ };
702
+ function getOppositeVariationPlacement(placement) {
703
+ return placement.replace(/start|end/g, function (matched) {
704
+ return hash[matched];
705
+ });
706
+ }
707
+
708
+ function getWindowScroll(node) {
709
+ var win = getWindow(node);
710
+ var scrollLeft = win.pageXOffset;
711
+ var scrollTop = win.pageYOffset;
712
+ return {
713
+ scrollLeft: scrollLeft,
714
+ scrollTop: scrollTop
715
+ };
716
+ }
717
+
718
+ function getWindowScrollBarX(element) {
719
+ // If <html> has a CSS width greater than the viewport, then this will be
720
+ // incorrect for RTL.
721
+ // Popper 1 is broken in this case and never had a bug report so let's assume
722
+ // it's not an issue. I don't think anyone ever specifies width on <html>
723
+ // anyway.
724
+ // Browsers where the left scrollbar doesn't cause an issue report `0` for
725
+ // this (e.g. Edge 2019, IE11, Safari)
726
+ return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
727
+ }
728
+
729
+ function getViewportRect(element, strategy) {
730
+ var win = getWindow(element);
731
+ var html = getDocumentElement(element);
732
+ var visualViewport = win.visualViewport;
733
+ var width = html.clientWidth;
734
+ var height = html.clientHeight;
735
+ var x = 0;
736
+ var y = 0;
737
+
738
+ if (visualViewport) {
739
+ width = visualViewport.width;
740
+ height = visualViewport.height;
741
+ var layoutViewport = isLayoutViewport();
742
+
743
+ if (layoutViewport || !layoutViewport && strategy === 'fixed') {
744
+ x = visualViewport.offsetLeft;
745
+ y = visualViewport.offsetTop;
746
+ }
747
+ }
748
+
749
+ return {
750
+ width: width,
751
+ height: height,
752
+ x: x + getWindowScrollBarX(element),
753
+ y: y
754
+ };
755
+ }
756
+
757
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable
758
+
759
+ function getDocumentRect(element) {
760
+ var _element$ownerDocumen;
761
+
762
+ var html = getDocumentElement(element);
763
+ var winScroll = getWindowScroll(element);
764
+ var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
765
+ var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
766
+ var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
767
+ var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
768
+ var y = -winScroll.scrollTop;
769
+
770
+ if (getComputedStyle(body || html).direction === 'rtl') {
771
+ x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
772
+ }
773
+
774
+ return {
775
+ width: width,
776
+ height: height,
777
+ x: x,
778
+ y: y
779
+ };
780
+ }
781
+
782
+ function isScrollParent(element) {
783
+ // Firefox wants us to check `-x` and `-y` variations as well
784
+ var _getComputedStyle = getComputedStyle(element),
785
+ overflow = _getComputedStyle.overflow,
786
+ overflowX = _getComputedStyle.overflowX,
787
+ overflowY = _getComputedStyle.overflowY;
788
+
789
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
790
+ }
791
+
792
+ function getScrollParent(node) {
793
+ if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
794
+ // $FlowFixMe[incompatible-return]: assume body is always available
795
+ return node.ownerDocument.body;
796
+ }
797
+
798
+ if (isHTMLElement(node) && isScrollParent(node)) {
799
+ return node;
800
+ }
801
+
802
+ return getScrollParent(getParentNode(node));
803
+ }
804
+
805
+ /*
806
+ given a DOM element, return the list of all scroll parents, up the list of ancesors
807
+ until we get to the top window object. This list is what we attach scroll listeners
808
+ to, because if any of these parent elements scroll, we'll need to re-calculate the
809
+ reference element's position.
810
+ */
811
+
812
+ function listScrollParents(element, list) {
813
+ var _element$ownerDocumen;
814
+
815
+ if (list === void 0) {
816
+ list = [];
817
+ }
818
+
819
+ var scrollParent = getScrollParent(element);
820
+ var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
821
+ var win = getWindow(scrollParent);
822
+ var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
823
+ var updatedList = list.concat(target);
824
+ return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
825
+ updatedList.concat(listScrollParents(getParentNode(target)));
826
+ }
827
+
828
+ function rectToClientRect(rect) {
829
+ return Object.assign({}, rect, {
830
+ left: rect.x,
831
+ top: rect.y,
832
+ right: rect.x + rect.width,
833
+ bottom: rect.y + rect.height
834
+ });
835
+ }
836
+
837
+ function getInnerBoundingClientRect(element, strategy) {
838
+ var rect = getBoundingClientRect(element, false, strategy === 'fixed');
839
+ rect.top = rect.top + element.clientTop;
840
+ rect.left = rect.left + element.clientLeft;
841
+ rect.bottom = rect.top + element.clientHeight;
842
+ rect.right = rect.left + element.clientWidth;
843
+ rect.width = element.clientWidth;
844
+ rect.height = element.clientHeight;
845
+ rect.x = rect.left;
846
+ rect.y = rect.top;
847
+ return rect;
848
+ }
849
+
850
+ function getClientRectFromMixedType(element, clippingParent, strategy) {
851
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
852
+ } // A "clipping parent" is an overflowable container with the characteristic of
853
+ // clipping (or hiding) overflowing elements with a position different from
854
+ // `initial`
855
+
856
+
857
+ function getClippingParents(element) {
858
+ var clippingParents = listScrollParents(getParentNode(element));
859
+ var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
860
+ var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
861
+
862
+ if (!isElement(clipperElement)) {
863
+ return [];
864
+ } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
865
+
866
+
867
+ return clippingParents.filter(function (clippingParent) {
868
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
869
+ });
870
+ } // Gets the maximum area that the element is visible in due to any number of
871
+ // clipping parents
872
+
873
+
874
+ function getClippingRect(element, boundary, rootBoundary, strategy) {
875
+ var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
876
+ var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
877
+ var firstClippingParent = clippingParents[0];
878
+ var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
879
+ var rect = getClientRectFromMixedType(element, clippingParent, strategy);
880
+ accRect.top = max(rect.top, accRect.top);
881
+ accRect.right = min(rect.right, accRect.right);
882
+ accRect.bottom = min(rect.bottom, accRect.bottom);
883
+ accRect.left = max(rect.left, accRect.left);
884
+ return accRect;
885
+ }, getClientRectFromMixedType(element, firstClippingParent, strategy));
886
+ clippingRect.width = clippingRect.right - clippingRect.left;
887
+ clippingRect.height = clippingRect.bottom - clippingRect.top;
888
+ clippingRect.x = clippingRect.left;
889
+ clippingRect.y = clippingRect.top;
890
+ return clippingRect;
891
+ }
892
+
893
+ function computeOffsets(_ref) {
894
+ var reference = _ref.reference,
895
+ element = _ref.element,
896
+ placement = _ref.placement;
897
+ var basePlacement = placement ? getBasePlacement(placement) : null;
898
+ var variation = placement ? getVariation(placement) : null;
899
+ var commonX = reference.x + reference.width / 2 - element.width / 2;
900
+ var commonY = reference.y + reference.height / 2 - element.height / 2;
901
+ var offsets;
902
+
903
+ switch (basePlacement) {
904
+ case top:
905
+ offsets = {
906
+ x: commonX,
907
+ y: reference.y - element.height
908
+ };
909
+ break;
910
+
911
+ case bottom:
912
+ offsets = {
913
+ x: commonX,
914
+ y: reference.y + reference.height
915
+ };
916
+ break;
917
+
918
+ case right:
919
+ offsets = {
920
+ x: reference.x + reference.width,
921
+ y: commonY
922
+ };
923
+ break;
924
+
925
+ case left:
926
+ offsets = {
927
+ x: reference.x - element.width,
928
+ y: commonY
929
+ };
930
+ break;
931
+
932
+ default:
933
+ offsets = {
934
+ x: reference.x,
935
+ y: reference.y
936
+ };
937
+ }
938
+
939
+ var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
940
+
941
+ if (mainAxis != null) {
942
+ var len = mainAxis === 'y' ? 'height' : 'width';
943
+
944
+ switch (variation) {
945
+ case start:
946
+ offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
947
+ break;
948
+
949
+ case end:
950
+ offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
951
+ break;
952
+ }
953
+ }
954
+
955
+ return offsets;
956
+ }
957
+
958
+ function detectOverflow(state, options) {
959
+ if (options === void 0) {
960
+ options = {};
961
+ }
962
+
963
+ var _options = options,
964
+ _options$placement = _options.placement,
965
+ placement = _options$placement === void 0 ? state.placement : _options$placement,
966
+ _options$strategy = _options.strategy,
967
+ strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
968
+ _options$boundary = _options.boundary,
969
+ boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
970
+ _options$rootBoundary = _options.rootBoundary,
971
+ rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
972
+ _options$elementConte = _options.elementContext,
973
+ elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
974
+ _options$altBoundary = _options.altBoundary,
975
+ altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
976
+ _options$padding = _options.padding,
977
+ padding = _options$padding === void 0 ? 0 : _options$padding;
978
+ var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
979
+ var altContext = elementContext === popper ? reference : popper;
980
+ var popperRect = state.rects.popper;
981
+ var element = state.elements[altBoundary ? altContext : elementContext];
982
+ var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
983
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
984
+ var popperOffsets = computeOffsets({
985
+ reference: referenceClientRect,
986
+ element: popperRect,
987
+ placement: placement
988
+ });
989
+ var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
990
+ var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
991
+ // 0 or negative = within the clipping rect
992
+
993
+ var overflowOffsets = {
994
+ top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
995
+ bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
996
+ left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
997
+ right: elementClientRect.right - clippingClientRect.right + paddingObject.right
998
+ };
999
+ var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
1000
+
1001
+ if (elementContext === popper && offsetData) {
1002
+ var offset = offsetData[placement];
1003
+ Object.keys(overflowOffsets).forEach(function (key) {
1004
+ var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
1005
+ var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
1006
+ overflowOffsets[key] += offset[axis] * multiply;
1007
+ });
1008
+ }
1009
+
1010
+ return overflowOffsets;
1011
+ }
1012
+
1013
+ function computeAutoPlacement(state, options) {
1014
+ if (options === void 0) {
1015
+ options = {};
1016
+ }
1017
+
1018
+ var _options = options,
1019
+ placement = _options.placement,
1020
+ boundary = _options.boundary,
1021
+ rootBoundary = _options.rootBoundary,
1022
+ padding = _options.padding,
1023
+ flipVariations = _options.flipVariations,
1024
+ _options$allowedAutoP = _options.allowedAutoPlacements,
1025
+ allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
1026
+ var variation = getVariation(placement);
1027
+ var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
1028
+ return getVariation(placement) === variation;
1029
+ }) : basePlacements;
1030
+ var allowedPlacements = placements$1.filter(function (placement) {
1031
+ return allowedAutoPlacements.indexOf(placement) >= 0;
1032
+ });
1033
+
1034
+ if (allowedPlacements.length === 0) {
1035
+ allowedPlacements = placements$1;
1036
+ } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
1037
+
1038
+
1039
+ var overflows = allowedPlacements.reduce(function (acc, placement) {
1040
+ acc[placement] = detectOverflow(state, {
1041
+ placement: placement,
1042
+ boundary: boundary,
1043
+ rootBoundary: rootBoundary,
1044
+ padding: padding
1045
+ })[getBasePlacement(placement)];
1046
+ return acc;
1047
+ }, {});
1048
+ return Object.keys(overflows).sort(function (a, b) {
1049
+ return overflows[a] - overflows[b];
1050
+ });
1051
+ }
1052
+
1053
+ function getExpandedFallbackPlacements(placement) {
1054
+ if (getBasePlacement(placement) === auto) {
1055
+ return [];
1056
+ }
1057
+
1058
+ var oppositePlacement = getOppositePlacement(placement);
1059
+ return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
1060
+ }
1061
+
1062
+ function flip(_ref) {
1063
+ var state = _ref.state,
1064
+ options = _ref.options,
1065
+ name = _ref.name;
1066
+
1067
+ if (state.modifiersData[name]._skip) {
1068
+ return;
1069
+ }
1070
+
1071
+ var _options$mainAxis = options.mainAxis,
1072
+ checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
1073
+ _options$altAxis = options.altAxis,
1074
+ checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
1075
+ specifiedFallbackPlacements = options.fallbackPlacements,
1076
+ padding = options.padding,
1077
+ boundary = options.boundary,
1078
+ rootBoundary = options.rootBoundary,
1079
+ altBoundary = options.altBoundary,
1080
+ _options$flipVariatio = options.flipVariations,
1081
+ flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
1082
+ allowedAutoPlacements = options.allowedAutoPlacements;
1083
+ var preferredPlacement = state.options.placement;
1084
+ var basePlacement = getBasePlacement(preferredPlacement);
1085
+ var isBasePlacement = basePlacement === preferredPlacement;
1086
+ var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
1087
+ var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
1088
+ return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
1089
+ placement: placement,
1090
+ boundary: boundary,
1091
+ rootBoundary: rootBoundary,
1092
+ padding: padding,
1093
+ flipVariations: flipVariations,
1094
+ allowedAutoPlacements: allowedAutoPlacements
1095
+ }) : placement);
1096
+ }, []);
1097
+ var referenceRect = state.rects.reference;
1098
+ var popperRect = state.rects.popper;
1099
+ var checksMap = new Map();
1100
+ var makeFallbackChecks = true;
1101
+ var firstFittingPlacement = placements[0];
1102
+
1103
+ for (var i = 0; i < placements.length; i++) {
1104
+ var placement = placements[i];
1105
+
1106
+ var _basePlacement = getBasePlacement(placement);
1107
+
1108
+ var isStartVariation = getVariation(placement) === start;
1109
+ var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;
1110
+ var len = isVertical ? 'width' : 'height';
1111
+ var overflow = detectOverflow(state, {
1112
+ placement: placement,
1113
+ boundary: boundary,
1114
+ rootBoundary: rootBoundary,
1115
+ altBoundary: altBoundary,
1116
+ padding: padding
1117
+ });
1118
+ var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
1119
+
1120
+ if (referenceRect[len] > popperRect[len]) {
1121
+ mainVariationSide = getOppositePlacement(mainVariationSide);
1122
+ }
1123
+
1124
+ var altVariationSide = getOppositePlacement(mainVariationSide);
1125
+ var checks = [];
1126
+
1127
+ if (checkMainAxis) {
1128
+ checks.push(overflow[_basePlacement] <= 0);
1129
+ }
1130
+
1131
+ if (checkAltAxis) {
1132
+ checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
1133
+ }
1134
+
1135
+ if (checks.every(function (check) {
1136
+ return check;
1137
+ })) {
1138
+ firstFittingPlacement = placement;
1139
+ makeFallbackChecks = false;
1140
+ break;
1141
+ }
1142
+
1143
+ checksMap.set(placement, checks);
1144
+ }
1145
+
1146
+ if (makeFallbackChecks) {
1147
+ // `2` may be desired in some cases – research later
1148
+ var numberOfChecks = flipVariations ? 3 : 1;
1149
+
1150
+ var _loop = function _loop(_i) {
1151
+ var fittingPlacement = placements.find(function (placement) {
1152
+ var checks = checksMap.get(placement);
1153
+
1154
+ if (checks) {
1155
+ return checks.slice(0, _i).every(function (check) {
1156
+ return check;
1157
+ });
1158
+ }
1159
+ });
1160
+
1161
+ if (fittingPlacement) {
1162
+ firstFittingPlacement = fittingPlacement;
1163
+ return "break";
1164
+ }
1165
+ };
1166
+
1167
+ for (var _i = numberOfChecks; _i > 0; _i--) {
1168
+ var _ret = _loop(_i);
1169
+
1170
+ if (_ret === "break") break;
1171
+ }
1172
+ }
1173
+
1174
+ if (state.placement !== firstFittingPlacement) {
1175
+ state.modifiersData[name]._skip = true;
1176
+ state.placement = firstFittingPlacement;
1177
+ state.reset = true;
1178
+ }
1179
+ } // eslint-disable-next-line import/no-unused-modules
1180
+
1181
+
1182
+ var flip$1 = {
1183
+ name: 'flip',
1184
+ enabled: true,
1185
+ phase: 'main',
1186
+ fn: flip,
1187
+ requiresIfExists: ['offset'],
1188
+ data: {
1189
+ _skip: false
1190
+ }
1191
+ };
1192
+
1193
+ function getSideOffsets(overflow, rect, preventedOffsets) {
1194
+ if (preventedOffsets === void 0) {
1195
+ preventedOffsets = {
1196
+ x: 0,
1197
+ y: 0
1198
+ };
1199
+ }
1200
+
1201
+ return {
1202
+ top: overflow.top - rect.height - preventedOffsets.y,
1203
+ right: overflow.right - rect.width + preventedOffsets.x,
1204
+ bottom: overflow.bottom - rect.height + preventedOffsets.y,
1205
+ left: overflow.left - rect.width - preventedOffsets.x
1206
+ };
1207
+ }
1208
+
1209
+ function isAnySideFullyClipped(overflow) {
1210
+ return [top, right, bottom, left].some(function (side) {
1211
+ return overflow[side] >= 0;
1212
+ });
1213
+ }
1214
+
1215
+ function hide(_ref) {
1216
+ var state = _ref.state,
1217
+ name = _ref.name;
1218
+ var referenceRect = state.rects.reference;
1219
+ var popperRect = state.rects.popper;
1220
+ var preventedOffsets = state.modifiersData.preventOverflow;
1221
+ var referenceOverflow = detectOverflow(state, {
1222
+ elementContext: 'reference'
1223
+ });
1224
+ var popperAltOverflow = detectOverflow(state, {
1225
+ altBoundary: true
1226
+ });
1227
+ var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
1228
+ var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
1229
+ var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
1230
+ var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
1231
+ state.modifiersData[name] = {
1232
+ referenceClippingOffsets: referenceClippingOffsets,
1233
+ popperEscapeOffsets: popperEscapeOffsets,
1234
+ isReferenceHidden: isReferenceHidden,
1235
+ hasPopperEscaped: hasPopperEscaped
1236
+ };
1237
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
1238
+ 'data-popper-reference-hidden': isReferenceHidden,
1239
+ 'data-popper-escaped': hasPopperEscaped
1240
+ });
1241
+ } // eslint-disable-next-line import/no-unused-modules
1242
+
1243
+
1244
+ var hide$1 = {
1245
+ name: 'hide',
1246
+ enabled: true,
1247
+ phase: 'main',
1248
+ requiresIfExists: ['preventOverflow'],
1249
+ fn: hide
1250
+ };
1251
+
1252
+ function distanceAndSkiddingToXY(placement, rects, offset) {
1253
+ var basePlacement = getBasePlacement(placement);
1254
+ var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
1255
+
1256
+ var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
1257
+ placement: placement
1258
+ })) : offset,
1259
+ skidding = _ref[0],
1260
+ distance = _ref[1];
1261
+
1262
+ skidding = skidding || 0;
1263
+ distance = (distance || 0) * invertDistance;
1264
+ return [left, right].indexOf(basePlacement) >= 0 ? {
1265
+ x: distance,
1266
+ y: skidding
1267
+ } : {
1268
+ x: skidding,
1269
+ y: distance
1270
+ };
1271
+ }
1272
+
1273
+ function offset(_ref2) {
1274
+ var state = _ref2.state,
1275
+ options = _ref2.options,
1276
+ name = _ref2.name;
1277
+ var _options$offset = options.offset,
1278
+ offset = _options$offset === void 0 ? [0, 0] : _options$offset;
1279
+ var data = placements.reduce(function (acc, placement) {
1280
+ acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
1281
+ return acc;
1282
+ }, {});
1283
+ var _data$state$placement = data[state.placement],
1284
+ x = _data$state$placement.x,
1285
+ y = _data$state$placement.y;
1286
+
1287
+ if (state.modifiersData.popperOffsets != null) {
1288
+ state.modifiersData.popperOffsets.x += x;
1289
+ state.modifiersData.popperOffsets.y += y;
1290
+ }
1291
+
1292
+ state.modifiersData[name] = data;
1293
+ } // eslint-disable-next-line import/no-unused-modules
1294
+
1295
+
1296
+ var offset$1 = {
1297
+ name: 'offset',
1298
+ enabled: true,
1299
+ phase: 'main',
1300
+ requires: ['popperOffsets'],
1301
+ fn: offset
1302
+ };
1303
+
1304
+ function popperOffsets(_ref) {
1305
+ var state = _ref.state,
1306
+ name = _ref.name;
1307
+ // Offsets are the actual position the popper needs to have to be
1308
+ // properly positioned near its reference element
1309
+ // This is the most basic placement, and will be adjusted by
1310
+ // the modifiers in the next step
1311
+ state.modifiersData[name] = computeOffsets({
1312
+ reference: state.rects.reference,
1313
+ element: state.rects.popper,
1314
+ placement: state.placement
1315
+ });
1316
+ } // eslint-disable-next-line import/no-unused-modules
1317
+
1318
+
1319
+ var popperOffsets$1 = {
1320
+ name: 'popperOffsets',
1321
+ enabled: true,
1322
+ phase: 'read',
1323
+ fn: popperOffsets,
1324
+ data: {}
1325
+ };
1326
+
1327
+ function getAltAxis(axis) {
1328
+ return axis === 'x' ? 'y' : 'x';
1329
+ }
1330
+
1331
+ function preventOverflow(_ref) {
1332
+ var state = _ref.state,
1333
+ options = _ref.options,
1334
+ name = _ref.name;
1335
+ var _options$mainAxis = options.mainAxis,
1336
+ checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
1337
+ _options$altAxis = options.altAxis,
1338
+ checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
1339
+ boundary = options.boundary,
1340
+ rootBoundary = options.rootBoundary,
1341
+ altBoundary = options.altBoundary,
1342
+ padding = options.padding,
1343
+ _options$tether = options.tether,
1344
+ tether = _options$tether === void 0 ? true : _options$tether,
1345
+ _options$tetherOffset = options.tetherOffset,
1346
+ tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
1347
+ var overflow = detectOverflow(state, {
1348
+ boundary: boundary,
1349
+ rootBoundary: rootBoundary,
1350
+ padding: padding,
1351
+ altBoundary: altBoundary
1352
+ });
1353
+ var basePlacement = getBasePlacement(state.placement);
1354
+ var variation = getVariation(state.placement);
1355
+ var isBasePlacement = !variation;
1356
+ var mainAxis = getMainAxisFromPlacement(basePlacement);
1357
+ var altAxis = getAltAxis(mainAxis);
1358
+ var popperOffsets = state.modifiersData.popperOffsets;
1359
+ var referenceRect = state.rects.reference;
1360
+ var popperRect = state.rects.popper;
1361
+ var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
1362
+ placement: state.placement
1363
+ })) : tetherOffset;
1364
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
1365
+ mainAxis: tetherOffsetValue,
1366
+ altAxis: tetherOffsetValue
1367
+ } : Object.assign({
1368
+ mainAxis: 0,
1369
+ altAxis: 0
1370
+ }, tetherOffsetValue);
1371
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
1372
+ var data = {
1373
+ x: 0,
1374
+ y: 0
1375
+ };
1376
+
1377
+ if (!popperOffsets) {
1378
+ return;
1379
+ }
1380
+
1381
+ if (checkMainAxis) {
1382
+ var _offsetModifierState$;
1383
+
1384
+ var mainSide = mainAxis === 'y' ? top : left;
1385
+ var altSide = mainAxis === 'y' ? bottom : right;
1386
+ var len = mainAxis === 'y' ? 'height' : 'width';
1387
+ var offset = popperOffsets[mainAxis];
1388
+ var min$1 = offset + overflow[mainSide];
1389
+ var max$1 = offset - overflow[altSide];
1390
+ var additive = tether ? -popperRect[len] / 2 : 0;
1391
+ var minLen = variation === start ? referenceRect[len] : popperRect[len];
1392
+ var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
1393
+ // outside the reference bounds
1394
+
1395
+ var arrowElement = state.elements.arrow;
1396
+ var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
1397
+ width: 0,
1398
+ height: 0
1399
+ };
1400
+ var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
1401
+ var arrowPaddingMin = arrowPaddingObject[mainSide];
1402
+ var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
1403
+ // to include its full size in the calculation. If the reference is small
1404
+ // and near the edge of a boundary, the popper can overflow even if the
1405
+ // reference is not overflowing as well (e.g. virtual elements with no
1406
+ // width or height)
1407
+
1408
+ var arrowLen = within(0, referenceRect[len], arrowRect[len]);
1409
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
1410
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
1411
+ var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
1412
+ var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
1413
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
1414
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
1415
+ var tetherMax = offset + maxOffset - offsetModifierValue;
1416
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
1417
+ popperOffsets[mainAxis] = preventedOffset;
1418
+ data[mainAxis] = preventedOffset - offset;
1419
+ }
1420
+
1421
+ if (checkAltAxis) {
1422
+ var _offsetModifierState$2;
1423
+
1424
+ var _mainSide = mainAxis === 'x' ? top : left;
1425
+
1426
+ var _altSide = mainAxis === 'x' ? bottom : right;
1427
+
1428
+ var _offset = popperOffsets[altAxis];
1429
+
1430
+ var _len = altAxis === 'y' ? 'height' : 'width';
1431
+
1432
+ var _min = _offset + overflow[_mainSide];
1433
+
1434
+ var _max = _offset - overflow[_altSide];
1435
+
1436
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
1437
+
1438
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
1439
+
1440
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
1441
+
1442
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
1443
+
1444
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
1445
+
1446
+ popperOffsets[altAxis] = _preventedOffset;
1447
+ data[altAxis] = _preventedOffset - _offset;
1448
+ }
1449
+
1450
+ state.modifiersData[name] = data;
1451
+ } // eslint-disable-next-line import/no-unused-modules
1452
+
1453
+
1454
+ var preventOverflow$1 = {
1455
+ name: 'preventOverflow',
1456
+ enabled: true,
1457
+ phase: 'main',
1458
+ fn: preventOverflow,
1459
+ requiresIfExists: ['offset']
1460
+ };
1461
+
1462
+ function getHTMLElementScroll(element) {
1463
+ return {
1464
+ scrollLeft: element.scrollLeft,
1465
+ scrollTop: element.scrollTop
1466
+ };
1467
+ }
1468
+
1469
+ function getNodeScroll(node) {
1470
+ if (node === getWindow(node) || !isHTMLElement(node)) {
1471
+ return getWindowScroll(node);
1472
+ } else {
1473
+ return getHTMLElementScroll(node);
1474
+ }
1475
+ }
1476
+
1477
+ function isElementScaled(element) {
1478
+ var rect = element.getBoundingClientRect();
1479
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
1480
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
1481
+ return scaleX !== 1 || scaleY !== 1;
1482
+ } // Returns the composite rect of an element relative to its offsetParent.
1483
+ // Composite means it takes into account transforms as well as layout.
1484
+
1485
+
1486
+ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
1487
+ if (isFixed === void 0) {
1488
+ isFixed = false;
1489
+ }
1490
+
1491
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
1492
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
1493
+ var documentElement = getDocumentElement(offsetParent);
1494
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
1495
+ var scroll = {
1496
+ scrollLeft: 0,
1497
+ scrollTop: 0
1498
+ };
1499
+ var offsets = {
1500
+ x: 0,
1501
+ y: 0
1502
+ };
1503
+
1504
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1505
+ if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
1506
+ isScrollParent(documentElement)) {
1507
+ scroll = getNodeScroll(offsetParent);
1508
+ }
1509
+
1510
+ if (isHTMLElement(offsetParent)) {
1511
+ offsets = getBoundingClientRect(offsetParent, true);
1512
+ offsets.x += offsetParent.clientLeft;
1513
+ offsets.y += offsetParent.clientTop;
1514
+ } else if (documentElement) {
1515
+ offsets.x = getWindowScrollBarX(documentElement);
1516
+ }
1517
+ }
1518
+
1519
+ return {
1520
+ x: rect.left + scroll.scrollLeft - offsets.x,
1521
+ y: rect.top + scroll.scrollTop - offsets.y,
1522
+ width: rect.width,
1523
+ height: rect.height
1524
+ };
1525
+ }
1526
+
1527
+ function order(modifiers) {
1528
+ var map = new Map();
1529
+ var visited = new Set();
1530
+ var result = [];
1531
+ modifiers.forEach(function (modifier) {
1532
+ map.set(modifier.name, modifier);
1533
+ }); // On visiting object, check for its dependencies and visit them recursively
1534
+
1535
+ function sort(modifier) {
1536
+ visited.add(modifier.name);
1537
+ var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
1538
+ requires.forEach(function (dep) {
1539
+ if (!visited.has(dep)) {
1540
+ var depModifier = map.get(dep);
1541
+
1542
+ if (depModifier) {
1543
+ sort(depModifier);
1544
+ }
1545
+ }
1546
+ });
1547
+ result.push(modifier);
1548
+ }
1549
+
1550
+ modifiers.forEach(function (modifier) {
1551
+ if (!visited.has(modifier.name)) {
1552
+ // check for visited object
1553
+ sort(modifier);
1554
+ }
1555
+ });
1556
+ return result;
1557
+ }
1558
+
1559
+ function orderModifiers(modifiers) {
1560
+ // order based on dependencies
1561
+ var orderedModifiers = order(modifiers); // order based on phase
1562
+
1563
+ return modifierPhases.reduce(function (acc, phase) {
1564
+ return acc.concat(orderedModifiers.filter(function (modifier) {
1565
+ return modifier.phase === phase;
1566
+ }));
1567
+ }, []);
1568
+ }
1569
+
1570
+ function debounce(fn) {
1571
+ var pending;
1572
+ return function () {
1573
+ if (!pending) {
1574
+ pending = new Promise(function (resolve) {
1575
+ Promise.resolve().then(function () {
1576
+ pending = undefined;
1577
+ resolve(fn());
1578
+ });
1579
+ });
1580
+ }
1581
+
1582
+ return pending;
1583
+ };
1584
+ }
1585
+
1586
+ function mergeByName(modifiers) {
1587
+ var merged = modifiers.reduce(function (merged, current) {
1588
+ var existing = merged[current.name];
1589
+ merged[current.name] = existing ? Object.assign({}, existing, current, {
1590
+ options: Object.assign({}, existing.options, current.options),
1591
+ data: Object.assign({}, existing.data, current.data)
1592
+ }) : current;
1593
+ return merged;
1594
+ }, {}); // IE11 does not support Object.values
1595
+
1596
+ return Object.keys(merged).map(function (key) {
1597
+ return merged[key];
1598
+ });
1599
+ }
1600
+
1601
+ var DEFAULT_OPTIONS = {
1602
+ placement: 'bottom',
1603
+ modifiers: [],
1604
+ strategy: 'absolute'
1605
+ };
1606
+
1607
+ function areValidElements() {
1608
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1609
+ args[_key] = arguments[_key];
1610
+ }
1611
+
1612
+ return !args.some(function (element) {
1613
+ return !(element && typeof element.getBoundingClientRect === 'function');
1614
+ });
1615
+ }
1616
+
1617
+ function popperGenerator(generatorOptions) {
1618
+ if (generatorOptions === void 0) {
1619
+ generatorOptions = {};
1620
+ }
1621
+
1622
+ var _generatorOptions = generatorOptions,
1623
+ _generatorOptions$def = _generatorOptions.defaultModifiers,
1624
+ defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
1625
+ _generatorOptions$def2 = _generatorOptions.defaultOptions,
1626
+ defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
1627
+ return function createPopper(reference, popper, options) {
1628
+ if (options === void 0) {
1629
+ options = defaultOptions;
1630
+ }
1631
+
1632
+ var state = {
1633
+ placement: 'bottom',
1634
+ orderedModifiers: [],
1635
+ options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
1636
+ modifiersData: {},
1637
+ elements: {
1638
+ reference: reference,
1639
+ popper: popper
1640
+ },
1641
+ attributes: {},
1642
+ styles: {}
1643
+ };
1644
+ var effectCleanupFns = [];
1645
+ var isDestroyed = false;
1646
+ var instance = {
1647
+ state: state,
1648
+ setOptions: function setOptions(setOptionsAction) {
1649
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
1650
+ cleanupModifierEffects();
1651
+ state.options = Object.assign({}, defaultOptions, state.options, options);
1652
+ state.scrollParents = {
1653
+ reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
1654
+ popper: listScrollParents(popper)
1655
+ }; // Orders the modifiers based on their dependencies and `phase`
1656
+ // properties
1657
+
1658
+ var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
1659
+
1660
+ state.orderedModifiers = orderedModifiers.filter(function (m) {
1661
+ return m.enabled;
1662
+ });
1663
+ runModifierEffects();
1664
+ return instance.update();
1665
+ },
1666
+ // Sync update – it will always be executed, even if not necessary. This
1667
+ // is useful for low frequency updates where sync behavior simplifies the
1668
+ // logic.
1669
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
1670
+ // prefer the async Popper#update method
1671
+ forceUpdate: function forceUpdate() {
1672
+ if (isDestroyed) {
1673
+ return;
1674
+ }
1675
+
1676
+ var _state$elements = state.elements,
1677
+ reference = _state$elements.reference,
1678
+ popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
1679
+ // anymore
1680
+
1681
+ if (!areValidElements(reference, popper)) {
1682
+ return;
1683
+ } // Store the reference and popper rects to be read by modifiers
1684
+
1685
+
1686
+ state.rects = {
1687
+ reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
1688
+ popper: getLayoutRect(popper)
1689
+ }; // Modifiers have the ability to reset the current update cycle. The
1690
+ // most common use case for this is the `flip` modifier changing the
1691
+ // placement, which then needs to re-run all the modifiers, because the
1692
+ // logic was previously ran for the previous placement and is therefore
1693
+ // stale/incorrect
1694
+
1695
+ state.reset = false;
1696
+ state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
1697
+ // is filled with the initial data specified by the modifier. This means
1698
+ // it doesn't persist and is fresh on each update.
1699
+ // To ensure persistent data, use `${name}#persistent`
1700
+
1701
+ state.orderedModifiers.forEach(function (modifier) {
1702
+ return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
1703
+ });
1704
+
1705
+ for (var index = 0; index < state.orderedModifiers.length; index++) {
1706
+ if (state.reset === true) {
1707
+ state.reset = false;
1708
+ index = -1;
1709
+ continue;
1710
+ }
1711
+
1712
+ var _state$orderedModifie = state.orderedModifiers[index],
1713
+ fn = _state$orderedModifie.fn,
1714
+ _state$orderedModifie2 = _state$orderedModifie.options,
1715
+ _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
1716
+ name = _state$orderedModifie.name;
1717
+
1718
+ if (typeof fn === 'function') {
1719
+ state = fn({
1720
+ state: state,
1721
+ options: _options,
1722
+ name: name,
1723
+ instance: instance
1724
+ }) || state;
1725
+ }
1726
+ }
1727
+ },
1728
+ // Async and optimistically optimized update – it will not be executed if
1729
+ // not necessary (debounced to run at most once-per-tick)
1730
+ update: debounce(function () {
1731
+ return new Promise(function (resolve) {
1732
+ instance.forceUpdate();
1733
+ resolve(state);
1734
+ });
1735
+ }),
1736
+ destroy: function destroy() {
1737
+ cleanupModifierEffects();
1738
+ isDestroyed = true;
1739
+ }
1740
+ };
1741
+
1742
+ if (!areValidElements(reference, popper)) {
1743
+ return instance;
1744
+ }
1745
+
1746
+ instance.setOptions(options).then(function (state) {
1747
+ if (!isDestroyed && options.onFirstUpdate) {
1748
+ options.onFirstUpdate(state);
1749
+ }
1750
+ }); // Modifiers have the ability to execute arbitrary code before the first
1751
+ // update cycle runs. They will be executed in the same order as the update
1752
+ // cycle. This is useful when a modifier adds some persistent data that
1753
+ // other modifiers need to use, but the modifier is run after the dependent
1754
+ // one.
1755
+
1756
+ function runModifierEffects() {
1757
+ state.orderedModifiers.forEach(function (_ref) {
1758
+ var name = _ref.name,
1759
+ _ref$options = _ref.options,
1760
+ options = _ref$options === void 0 ? {} : _ref$options,
1761
+ effect = _ref.effect;
1762
+
1763
+ if (typeof effect === 'function') {
1764
+ var cleanupFn = effect({
1765
+ state: state,
1766
+ name: name,
1767
+ instance: instance,
1768
+ options: options
1769
+ });
1770
+
1771
+ var noopFn = function noopFn() {};
1772
+
1773
+ effectCleanupFns.push(cleanupFn || noopFn);
1774
+ }
1775
+ });
1776
+ }
1777
+
1778
+ function cleanupModifierEffects() {
1779
+ effectCleanupFns.forEach(function (fn) {
1780
+ return fn();
1781
+ });
1782
+ effectCleanupFns = [];
1783
+ }
1784
+
1785
+ return instance;
1786
+ };
1787
+ }
1788
+
1789
+ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
1790
+ var createPopper = /*#__PURE__*/popperGenerator({
1791
+ defaultModifiers: defaultModifiers
1792
+ }); // eslint-disable-next-line import/no-unused-modules
5
1793
 
6
1794
  var maxSize = {
7
1795
  name: 'maxSize',
@@ -37,6 +1825,14 @@ var maxSize = {
37
1825
  }
38
1826
  };
39
1827
 
1828
+ function hasOverflow(el) {
1829
+ const style = window.getComputedStyle(el);
1830
+ const overflowX = style.getPropertyValue("overflow-x");
1831
+ const overflowY = style.getPropertyValue("overflow-y");
1832
+ const overflowValues = ["hidden", "clip"];
1833
+ return overflowValues.indexOf(overflowX) !== -1 || overflowValues.indexOf(overflowY) !== -1;
1834
+ }
1835
+
40
1836
  const tooltipCss = "@charset \"UTF-8\";:host(.hidden){visibility:hidden}*,*::after,*::before{box-sizing:border-box}.tooltip{font-family:Asap, sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;overflow-wrap:anywhere;word-spacing:normal;word-wrap:normal;white-space:normal;--link-color:#39870c;display:block;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));font-size:14px;opacity:0;position:absolute;transition:opacity 0.15s linear;z-index:410}.tooltip.in{opacity:1}.tooltip.in .tooltip-inner{max-block-size:200vh;overflow:auto;visibility:visible;padding-block:8px;padding-inline:16px}.tooltip:not(.in) .tooltip-inner{max-block-size:0;overflow:hidden;visibility:hidden;transition:all 0s linear 0.15s}.tooltip .tooltip-inner{background-color:#fff;border-radius:4px;color:#191919;display:inline-block;font-size:1rem;max-inline-size:640px;position:relative}.tooltip .tooltip-inner.dso-small{max-inline-size:320px}.tooltip .tooltip-arrow{border-color:transparent;border-style:solid;block-size:0;inline-size:0}.tooltip[data-popper-placement=top]{margin-block-start:-3px;padding-inline:0}.tooltip[data-popper-placement=top] .tooltip-arrow{inset-block-end:0;border-block-start-color:#fff;border-width:6px;border-block-end-width:0;margin-inline-start:var(--tooltip-margin-inline-start, -3px)}.tooltip[data-popper-placement=right]{margin-inline-start:3px;padding-inline-start:6px}.tooltip[data-popper-placement=right] .tooltip-arrow{inset-inline-start:0;border-inline-end-color:#fff;border-width:6px;border-inline-start-width:0;margin-block-start:var(--tooltip-margin-block-start, -3px)}.tooltip[data-popper-placement=bottom]{margin-block-start:3px;padding-block-start:6px;padding-inline:0}.tooltip[data-popper-placement=bottom] .tooltip-arrow{inset-block-start:0;border-block-end-color:#fff;border-width:6px;border-block-start-width:0;margin-inline-start:var(--tooltip-margin-inline-start, -3px)}.tooltip[data-popper-placement=left]{margin-inline-start:-3px;margin-inline-end:var(--tooltip-margin-inline-end, unset);padding-block:0;padding-inline-end:6px}.tooltip[data-popper-placement=left] .tooltip-arrow{inset-inline-end:0;border-inline-start-color:#fff;border-width:6px;border-inline-end-width:0;margin-block-start:var(--tooltip-margin-block-start, -3px)}";
41
1837
 
42
1838
  var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
@@ -71,7 +1867,7 @@ const applyMaxSize = {
71
1867
  state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), { maxWidth: `${width}px` });
72
1868
  },
73
1869
  };
74
- const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLElement {
1870
+ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLElement$1 {
75
1871
  constructor() {
76
1872
  super();
77
1873
  this.__registerHost();
@@ -120,7 +1916,7 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
120
1916
  this.deactivate();
121
1917
  }
122
1918
  };
123
- this.deactivatePopper = debounce(() => {
1919
+ this.deactivatePopper = debounce$1(() => {
124
1920
  var _a;
125
1921
  this.hidden = true;
126
1922
  (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
@@ -199,7 +1995,7 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
199
1995
  componentDidLoad() {
200
1996
  var _a;
201
1997
  const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
202
- if (!(tooltip instanceof HTMLElement)) {
1998
+ if (!(tooltip instanceof HTMLElement$1)) {
203
1999
  throw new Error("tooltip element is not instanceof HTMLElement");
204
2000
  }
205
2001
  if (!this.stateless && this.target) {
@@ -227,7 +2023,7 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
227
2023
  }
228
2024
  }
229
2025
  render() {
230
- return (h(Host, { key: '0c73017a99cbaafe7d8c8b99271c0ae4a5135da3', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: '1837a24db1eb6e93441f294c9651537e8110407d', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: 'b66b69c104309a7813da6251f2153fb69d306de0', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: 'a8ea2a6a7bfdbb296a3171a53af1165681d6a109', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: '25dcff111e7bf9377757a38d868fcee2d2941e8f' })))));
2026
+ return (h(Host, { key: 'eff3b2b70b8a7dcf3a0cf044b455493eb150bb56', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: 'f01664821ef0389bb10e30a5029e9e0d01dd4718', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: 'fd4b1942cf719a4df49049cd07383ae16f485d9f', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: 'ad7b70bd41618de9b834cd8259f3485ac1b4670c', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: 'f3a11c6f3fa1c575295d7efeaa0992355245b59c' })))));
231
2027
  }
232
2028
  activatePopper() {
233
2029
  var _a;
@@ -236,7 +2032,7 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
236
2032
  return;
237
2033
  }
238
2034
  const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
239
- if (this.target && tooltip instanceof HTMLElement) {
2035
+ if (this.target && tooltip instanceof HTMLElement$1) {
240
2036
  this.popper = createPopper(this.target, tooltip, {
241
2037
  placement: this.position,
242
2038
  modifiers: [maxSize, applyMaxSize, { name: "eventListeners", enabled: false }],