@devtron-labs/devtron-fe-common-lib 0.0.58-beta-12 → 0.0.58-beta-14

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 (562) hide show
  1. package/dist/CodeEditor-57d766d0.js +103695 -0
  2. package/dist/Common/AddCDButton/AddCDButton.d.ts +3 -3
  3. package/dist/Common/AddCDButton/AddCDButton.js +59 -0
  4. package/dist/Common/AddCDButton/index.d.ts +2 -2
  5. package/dist/Common/AddCDButton/index.js +6 -0
  6. package/dist/Common/AddCDButton/types.d.ts +26 -26
  7. package/dist/Common/AddCDButton/types.js +1 -0
  8. package/dist/Common/AddCDButton/utils.d.ts +2 -2
  9. package/dist/Common/AddCDButton/utils.js +19 -0
  10. package/dist/Common/Api.d.ts +5 -14
  11. package/dist/Common/Api.js +169 -0
  12. package/dist/Common/AppStatus/AppStatus.d.ts +3 -3
  13. package/dist/Common/AppStatus/AppStatus.js +37 -0
  14. package/dist/Common/AppStatus/constants.d.ts +51 -51
  15. package/dist/Common/AppStatus/constants.js +37 -0
  16. package/dist/Common/AppStatus/index.d.ts +1 -1
  17. package/dist/Common/AppStatus/index.js +4 -0
  18. package/dist/Common/AppStatus/types.d.ts +12 -12
  19. package/dist/Common/AppStatus/types.js +1 -0
  20. package/dist/Common/AppStatus/utils.d.ts +1 -1
  21. package/dist/Common/AppStatus/utils.js +8 -0
  22. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +5 -5
  23. package/dist/Common/BreadCrumb/BreadCrumb.js +73 -0
  24. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +17 -17
  25. package/dist/Common/BreadCrumb/BreadcrumbStore.js +22 -0
  26. package/dist/Common/BreadCrumb/Types.d.ts +28 -28
  27. package/dist/Common/BreadCrumb/Types.js +1 -0
  28. package/dist/Common/CIPipeline.Types.d.ts +265 -265
  29. package/dist/Common/CIPipeline.Types.js +10 -0
  30. package/dist/Common/ChartVersionAndTypeSelector.d.ts +3 -4
  31. package/dist/Common/ChartVersionAndTypeSelector.js +61 -0
  32. package/dist/Common/Checkbox.d.ts +5 -5
  33. package/dist/Common/Checkbox.js +28 -0
  34. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +10 -10
  35. package/dist/Common/ClipboardButton/ClipboardButton.js +40 -0
  36. package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.js +27 -0
  37. package/dist/Common/ClipboardButton/types.d.ts +8 -8
  38. package/dist/Common/ClipboardButton/types.js +1 -0
  39. package/dist/Common/CodeEditor/CodeEditor.d.ts +47 -0
  40. package/dist/Common/CodeEditor/CodeEditor.js +15 -0
  41. package/dist/Common/Common.service.d.ts +20 -20
  42. package/dist/Common/Common.service.js +196 -0
  43. package/dist/Common/Constants.d.ts +81 -89
  44. package/dist/Common/Constants.js +239 -0
  45. package/dist/Common/CustomInput/CustomInput.d.ts +2 -3
  46. package/dist/Common/CustomInput/CustomInput.js +81 -0
  47. package/dist/Common/CustomInput/Types.d.ts +30 -30
  48. package/dist/Common/CustomInput/Types.js +1 -0
  49. package/dist/Common/CustomInput/index.d.ts +2 -2
  50. package/dist/Common/CustomInput/index.js +4 -0
  51. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +4 -4
  52. package/dist/Common/CustomTagSelector/PropagateTagInfo.js +43 -0
  53. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +2 -3
  54. package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +58 -0
  55. package/dist/Common/CustomTagSelector/TagDetails.d.ts +2 -3
  56. package/dist/Common/CustomTagSelector/TagDetails.js +73 -0
  57. package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +2 -3
  58. package/dist/Common/CustomTagSelector/TagLabelSelect.js +53 -0
  59. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +2 -3
  60. package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +121 -0
  61. package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +12 -12
  62. package/dist/Common/CustomTagSelector/TagSelector.utils.js +61 -0
  63. package/dist/Common/CustomTagSelector/Types.d.ts +68 -68
  64. package/dist/Common/CustomTagSelector/Types.js +1 -0
  65. package/dist/Common/CustomTagSelector/ValidationRules.d.ts +10 -10
  66. package/dist/Common/CustomTagSelector/ValidationRules.js +35 -0
  67. package/dist/Common/CustomTagSelector/index.d.ts +6 -6
  68. package/dist/Common/CustomTagSelector/index.js +12 -0
  69. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +17 -17
  70. package/dist/Common/DebouncedSearch/DebouncedSearch.js +56 -0
  71. package/dist/Common/DebouncedSearch/Types.d.ts +14 -14
  72. package/dist/Common/DebouncedSearch/Types.js +1 -0
  73. package/dist/Common/DebouncedSearch/Utils.d.ts +1 -1
  74. package/dist/Common/DebouncedSearch/Utils.js +19 -0
  75. package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.js +34 -0
  76. package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +3 -4
  77. package/dist/Common/DeleteComponentModal/DeleteComponent.js +63 -0
  78. package/dist/Common/DeleteComponentModal/types.d.ts +15 -15
  79. package/dist/Common/DeleteComponentModal/types.js +1 -0
  80. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +2 -3
  81. package/dist/Common/DevtronProgressing/DevtronProgressing.js +95 -0
  82. package/dist/Common/DevtronProgressing/index.d.ts +1 -1
  83. package/dist/Common/DevtronProgressing/index.js +4 -0
  84. package/dist/Common/DevtronProgressing/types.d.ts +4 -4
  85. package/dist/Common/DevtronProgressing/types.js +1 -0
  86. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +8 -9
  87. package/dist/Common/Dialogs/ConfirmationDialog.js +13 -0
  88. package/dist/Common/Dialogs/DeleteDialog.d.ts +5 -5
  89. package/dist/Common/Dialogs/DeleteDialog.js +46 -0
  90. package/dist/Common/Dialogs/DialogForm.d.ts +14 -14
  91. package/dist/Common/Dialogs/DialogForm.js +63 -0
  92. package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +3 -3
  93. package/dist/Common/Dialogs/ForceDeleteDialog.js +28 -0
  94. package/dist/Common/Dialogs/Types.d.ts +45 -45
  95. package/dist/Common/Dialogs/Types.js +1 -0
  96. package/dist/Common/Dialogs/index.d.ts +4 -4
  97. package/dist/Common/Dialogs/index.js +11 -0
  98. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +3 -3
  99. package/dist/Common/DraggableWrapper/DraggableButton.js +16 -0
  100. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +9 -9
  101. package/dist/Common/DraggableWrapper/DraggableWrapper.js +73 -0
  102. package/dist/Common/DraggableWrapper/index.d.ts +3 -3
  103. package/dist/Common/DraggableWrapper/index.js +8 -0
  104. package/dist/Common/DraggableWrapper/types.d.ts +23 -23
  105. package/dist/Common/DraggableWrapper/types.js +4 -0
  106. package/dist/Common/Drawer/Drawer.d.ts +14 -16
  107. package/dist/Common/Drawer/Drawer.js +22 -0
  108. package/dist/Common/EmptyState/EmptyState.d.ts +31 -25
  109. package/dist/Common/EmptyState/EmptyState.js +25 -0
  110. package/dist/Common/EmptyState/GenericEmptyState.d.ts +3 -5
  111. package/dist/Common/EmptyState/GenericEmptyState.js +79 -0
  112. package/dist/Common/Error.d.ts +17 -17
  113. package/dist/Common/Error.js +49 -0
  114. package/dist/Common/ErrorScreenNotFound.d.ts +2 -3
  115. package/dist/Common/ErrorScreenNotFound.js +22 -0
  116. package/dist/Common/Grid/Grid.d.ts +3 -3
  117. package/dist/Common/Grid/Grid.js +31 -0
  118. package/dist/Common/Grid/types.d.ts +10 -10
  119. package/dist/Common/Grid/types.js +1 -0
  120. package/dist/Common/Helper.d.ts +65 -64
  121. package/dist/Common/Helper.js +39 -0
  122. package/dist/Common/Hooks/UseClickOutside/UseClickOutside.d.ts +1 -1
  123. package/dist/Common/Hooks/UseClickOutside/UseClickOutside.js +14 -0
  124. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +6 -6
  125. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +16 -0
  126. package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +3 -3
  127. package/dist/Common/Hooks/UseSuperAdmin/types.js +1 -0
  128. package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +4 -4
  129. package/dist/Common/Hooks/UseWindowSize/UseWindowSize.js +17 -0
  130. package/dist/Common/Hooks/index.d.ts +3 -4
  131. package/dist/Common/Hooks/index.js +8 -0
  132. package/dist/Common/ImageTags.Types.d.ts +40 -40
  133. package/dist/Common/ImageTags.Types.js +1 -0
  134. package/dist/Common/ImageTags.d.ts +3 -4
  135. package/dist/Common/ImageTags.js +382 -0
  136. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +3 -5
  137. package/dist/Common/InfoColorBar/InfoColourbar.js +67 -0
  138. package/dist/Common/Modals/Modal.d.ts +3 -3
  139. package/dist/Common/Modals/Modal.js +48 -0
  140. package/dist/Common/Modals/OpaqueModal.d.ts +12 -12
  141. package/dist/Common/Modals/OpaqueModal.js +40 -0
  142. package/dist/Common/Modals/VisibleModal.d.ts +15 -15
  143. package/dist/Common/Modals/VisibleModal.js +39 -0
  144. package/dist/Common/Modals/VisibleModal2.d.ts +12 -12
  145. package/dist/Common/Modals/VisibleModal2.js +39 -0
  146. package/dist/Common/MultiSelectCustomization.d.ts +37 -37
  147. package/dist/Common/MultiSelectCustomization.js +97 -0
  148. package/dist/Common/Pagination/PageSizeSelector.d.ts +3 -4
  149. package/dist/Common/Pagination/PageSizeSelector.js +51 -0
  150. package/dist/Common/Pagination/Pagination.d.ts +3 -5
  151. package/dist/Common/Pagination/Pagination.js +98 -0
  152. package/dist/Common/Pagination/constants.d.ts +5 -5
  153. package/dist/Common/Pagination/constants.js +9 -0
  154. package/dist/Common/Pagination/index.d.ts +1 -1
  155. package/dist/Common/Pagination/index.js +4 -0
  156. package/dist/Common/Pagination/types.d.ts +51 -51
  157. package/dist/Common/Pagination/types.js +1 -0
  158. package/dist/Common/Pagination/utils.d.ts +6 -6
  159. package/dist/Common/Pagination/utils.js +15 -0
  160. package/dist/Common/Policy.Types.d.ts +56 -56
  161. package/dist/Common/Policy.Types.js +6 -0
  162. package/dist/Common/PopupMenu.d.ts +7 -8
  163. package/dist/Common/PopupMenu.js +146 -0
  164. package/dist/Common/Progressing.d.ts +3 -4
  165. package/dist/Common/Progressing.js +49 -0
  166. package/dist/Common/RJSF/Form.d.ts +2 -4
  167. package/dist/Common/RJSF/Form.js +25 -0
  168. package/dist/Common/RJSF/common/FieldRow.d.ts +5 -6
  169. package/dist/Common/RJSF/common/FieldRow.js +25 -0
  170. package/dist/Common/RJSF/common/types.d.ts +8 -8
  171. package/dist/Common/RJSF/common/types.js +1 -0
  172. package/dist/Common/RJSF/config.d.ts +4 -4
  173. package/dist/Common/RJSF/config.js +33 -0
  174. package/dist/Common/RJSF/constants.d.ts +7 -7
  175. package/dist/Common/RJSF/constants.js +10 -0
  176. package/dist/Common/RJSF/index.d.ts +3 -3
  177. package/dist/Common/RJSF/index.js +7 -0
  178. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -3
  179. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.js +30 -0
  180. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +2 -3
  181. package/dist/Common/RJSF/templates/ArrayFieldTemplate.js +60 -0
  182. package/dist/Common/RJSF/templates/BaseInput.d.ts +2 -3
  183. package/dist/Common/RJSF/templates/BaseInput.js +16 -0
  184. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +2 -3
  185. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.js +18 -0
  186. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +2 -3
  187. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.js +6 -0
  188. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +2 -3
  189. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.js +9 -0
  190. package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +3 -3
  191. package/dist/Common/RJSF/templates/ButtonTemplates/index.js +8 -0
  192. package/dist/Common/RJSF/templates/Description.d.ts +2 -3
  193. package/dist/Common/RJSF/templates/Description.js +9 -0
  194. package/dist/Common/RJSF/templates/Field.d.ts +2 -3
  195. package/dist/Common/RJSF/templates/Field.js +31 -0
  196. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +2 -3
  197. package/dist/Common/RJSF/templates/FieldErrorTemplate.js +13 -0
  198. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +2 -3
  199. package/dist/Common/RJSF/templates/ObjectFieldTemplate.js +71 -0
  200. package/dist/Common/RJSF/templates/TitleField.d.ts +2 -3
  201. package/dist/Common/RJSF/templates/TitleField.js +8 -0
  202. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +2 -3
  203. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.js +43 -0
  204. package/dist/Common/RJSF/templates/index.d.ts +10 -10
  205. package/dist/Common/RJSF/templates/index.js +26 -0
  206. package/dist/Common/RJSF/types.d.ts +3 -3
  207. package/dist/Common/RJSF/types.js +1 -0
  208. package/dist/Common/RJSF/utils.d.ts +25 -26
  209. package/dist/Common/RJSF/utils.js +95 -0
  210. package/dist/Common/RJSF/widgets/Checkbox.d.ts +2 -3
  211. package/dist/Common/RJSF/widgets/Checkbox.js +39 -0
  212. package/dist/Common/RJSF/widgets/Select.d.ts +2 -3
  213. package/dist/Common/RJSF/widgets/Select.js +625 -0
  214. package/dist/Common/RJSF/widgets/index.d.ts +2 -2
  215. package/dist/Common/RJSF/widgets/index.js +6 -0
  216. package/dist/Common/RadioGroup/RadioGroup.d.ts +16 -17
  217. package/dist/Common/RadioGroup/RadioGroup.js +69 -0
  218. package/dist/Common/RadioGroup.d.ts +8 -8
  219. package/dist/Common/RadioGroup.js +53 -0
  220. package/dist/Common/Reload.d.ts +3 -3
  221. package/dist/Common/Reload.js +16 -0
  222. package/dist/Common/ResizableTextarea.d.ts +3 -3
  223. package/dist/Common/ResizableTextarea.js +60 -0
  224. package/dist/Common/SearchBar/SearchBar.component.d.ts +37 -39
  225. package/dist/Common/SearchBar/SearchBar.component.js +66 -0
  226. package/dist/Common/SearchBar/index.d.ts +2 -2
  227. package/dist/Common/SearchBar/index.js +4 -0
  228. package/dist/Common/SearchBar/types.d.ts +35 -35
  229. package/dist/Common/SearchBar/types.js +1 -0
  230. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +3 -4
  231. package/dist/Common/Security/ScanVulnerabilitiesTable.js +49 -0
  232. package/dist/Common/Select/Select.d.ts +4 -0
  233. package/dist/Common/Select/Select.js +193 -0
  234. package/dist/Common/Select/types.d.ts +29 -0
  235. package/dist/Common/Select/types.js +1 -0
  236. package/dist/Common/ServerError.d.ts +15 -15
  237. package/dist/Common/ServerError.js +26 -0
  238. package/dist/Common/TippyCustomized.d.ts +2 -4
  239. package/dist/Common/TippyCustomized.js +10 -0
  240. package/dist/Common/ToastBody.d.ts +23 -23
  241. package/dist/Common/ToastBody.js +41 -0
  242. package/dist/Common/Toggle/Toggle.d.ts +12 -14
  243. package/dist/Common/Toggle/Toggle.js +40 -0
  244. package/dist/Common/Types.d.ts +691 -703
  245. package/dist/Common/Types.js +24 -0
  246. package/dist/Common/index.d.ts +51 -51
  247. package/dist/Common/index.js +226 -0
  248. package/dist/Helper-6e21d971.js +10200 -0
  249. package/dist/TippyCustomized-a8eee994.js +124 -0
  250. package/dist/_commonjsHelpers-aeeeeb92.js +30 -0
  251. package/dist/abap-9f67f57a.js +1314 -0
  252. package/dist/apex-ff62e532.js +315 -0
  253. package/dist/assets/CodeEditor.css +1 -0
  254. package/dist/assets/Drawer.css +1 -0
  255. package/dist/assets/Form.css +1 -0
  256. package/dist/assets/GenericEmptyState.css +1 -0
  257. package/dist/assets/InfoColourbar.css +1 -0
  258. package/dist/assets/Pagination.css +1 -0
  259. package/dist/assets/RadioGroup.css +1 -0
  260. package/dist/assets/ScanVulnerabilitiesTable.css +1 -0
  261. package/dist/assets/SearchBar.component.css +1 -0
  262. package/dist/assets/Select.css +1 -0
  263. package/dist/assets/TippyCustomized.css +1 -0
  264. package/dist/assets/Toggle.css +1 -0
  265. package/dist/assets/editor.worker-d26000ef.js +9 -0
  266. package/dist/assets/json.worker-f23a4654.js +40 -0
  267. package/dist/assets/yaml.worker-35ea3f9a.js +467 -0
  268. package/dist/azcli-31e64a7f.js +74 -0
  269. package/dist/bat-0ffe897e.js +95 -0
  270. package/dist/bicep-3414a2b1.js +108 -0
  271. package/dist/cameligo-df1f3f25.js +168 -0
  272. package/dist/clojure-65b0f010.js +754 -0
  273. package/dist/coffee-437f0fba.js +228 -0
  274. package/dist/cpp-66843dd5.js +390 -0
  275. package/dist/csharp-621d9a49.js +320 -0
  276. package/dist/csp-de0d5244.js +57 -0
  277. package/dist/css-7cd5ed4c.js +186 -0
  278. package/dist/cssMode-51109c72.js +1446 -0
  279. package/dist/cypher-70ad96fe.js +262 -0
  280. package/dist/dart-33ae3739.js +270 -0
  281. package/dist/dockerfile-f2274a50.js +132 -0
  282. package/dist/ecl-3b8294a3.js +454 -0
  283. package/dist/elixir-b9dcc73a.js +489 -0
  284. package/dist/extends-70f3d2a3.js +13 -0
  285. package/dist/flow9-bdde8316.js +141 -0
  286. package/dist/freemarker2-56c268e7.js +643 -0
  287. package/dist/fsharp-eac2e449.js +210 -0
  288. package/dist/go-d12ed8d4.js +208 -0
  289. package/dist/graphql-c7356b69.js +141 -0
  290. package/dist/handlebars-14160245.js +391 -0
  291. package/dist/hcl-e883a0d4.js +177 -0
  292. package/dist/html-b5f7d4c2.js +281 -0
  293. package/dist/htmlMode-b802d066.js +1456 -0
  294. package/dist/ic-add-4787ded5.js +5 -0
  295. package/dist/ic-chevron-down-eb7fd953.js +6 -0
  296. package/dist/ic-copy-118b83dc.js +5 -0
  297. package/dist/ic-cross-0e71861d.js +6 -0
  298. package/dist/ic-error-cross-2760059a.js +5 -0
  299. package/dist/ic-error-exclamation-5f9af461.js +5 -0
  300. package/dist/ic-info-filled-31a15add.js +6 -0
  301. package/dist/ic-info-outlined-8fa45e87.js +5 -0
  302. package/dist/ic-warning-42534af1.js +5 -0
  303. package/dist/index.d.ts +1 -2
  304. package/dist/index.js +225 -29102
  305. package/dist/ini-425ab711.js +68 -0
  306. package/dist/inject-tag-824bf92c.js +5 -0
  307. package/dist/java-2bc0fd68.js +221 -0
  308. package/dist/javascript-1c1abf89.js +75 -0
  309. package/dist/jsonMode-f9cd720a.js +1867 -0
  310. package/dist/jsx-runtime-0dcb030c.js +667 -0
  311. package/dist/julia-1c932615.js +496 -0
  312. package/dist/kotlin-1ab839c8.js +245 -0
  313. package/dist/less-6fe856f5.js +168 -0
  314. package/dist/lexon-4955ac52.js +151 -0
  315. package/dist/liquid-a38c622a.js +238 -0
  316. package/dist/lua-3cca0047.js +157 -0
  317. package/dist/m3-132e9cb6.js +210 -0
  318. package/dist/markdown-ea59a0c1.js +202 -0
  319. package/dist/mips-19811f4b.js +194 -0
  320. package/dist/msdax-69954a10.js +377 -0
  321. package/dist/mysql-82088e5d.js +876 -0
  322. package/dist/objective-c-1976eccc.js +188 -0
  323. package/dist/pascal-8ef177cb.js +245 -0
  324. package/dist/pascaligo-bc517b9e.js +158 -0
  325. package/dist/perl-8b93582c.js +599 -0
  326. package/dist/pgsql-00c11a6d.js +847 -0
  327. package/dist/php-4c8c276f.js +471 -0
  328. package/dist/pla-e9b4ffb1.js +131 -0
  329. package/dist/postiats-2071af8c.js +544 -0
  330. package/dist/powerquery-8e388ceb.js +890 -0
  331. package/dist/powershell-e35db398.js +233 -0
  332. package/dist/protobuf-a24b9176.js +422 -0
  333. package/dist/pug-2c94d9b8.js +393 -0
  334. package/dist/python-966fee14.js +259 -0
  335. package/dist/qsharp-d730d7fe.js +282 -0
  336. package/dist/r-be193556.js +245 -0
  337. package/dist/razor-d300ce4c.js +512 -0
  338. package/dist/react-select.esm-3ab5c599.js +4174 -0
  339. package/dist/react-toastify.esm-1042de65.js +792 -0
  340. package/dist/react.esm-d9d3bd77.js +13727 -0
  341. package/dist/redis-9690c6ac.js +298 -0
  342. package/dist/redshift-6bdcdeaa.js +806 -0
  343. package/dist/restructuredtext-a08c1d20.js +162 -0
  344. package/dist/ruby-2247692b.js +444 -0
  345. package/dist/rust-1dffb4d5.js +337 -0
  346. package/dist/sb-136598e9.js +110 -0
  347. package/dist/scala-b1100fed.js +353 -0
  348. package/dist/scheme-038c8094.js +114 -0
  349. package/dist/scss-700d1b52.js +244 -0
  350. package/dist/shell-86c16e0f.js +224 -0
  351. package/dist/solidity-c05fdf3c.js +1351 -0
  352. package/dist/sophia-cd645d71.js +190 -0
  353. package/dist/sparql-01d9ec9c.js +193 -0
  354. package/dist/sql-4c33df41.js +818 -0
  355. package/dist/st-52cf1408.js +414 -0
  356. package/dist/swift-13c792ba.js +315 -0
  357. package/dist/systemverilog-0bd8b730.js +556 -0
  358. package/dist/tcl-463d7c75.js +232 -0
  359. package/dist/tippy-react.esm-7f62ad0a.js +1919 -0
  360. package/dist/tsMode-c3995c03.js +811 -0
  361. package/dist/twig-0d98f5ec.js +323 -0
  362. package/dist/typescript-18b20a48.js +328 -0
  363. package/dist/vb-3a2b0a51.js +364 -0
  364. package/dist/wgsl-b2ddb3e4.js +420 -0
  365. package/dist/xml-82b60f64.js +95 -0
  366. package/dist/yaml-229aea3c.js +184 -0
  367. package/package.json +34 -23
  368. package/.eslintignore +0 -96
  369. package/.eslintrc.js +0 -109
  370. package/.github/pull_request_template.md +0 -25
  371. package/.github/workflows/ci.yml +0 -31
  372. package/.github/workflows/release-package.yml +0 -48
  373. package/.husky/pre-commit +0 -5
  374. package/.lintstagedrc +0 -3
  375. package/.nvmrc +0 -1
  376. package/.prettierrc.js +0 -7
  377. package/dist/Common/Hooks/useUrlFilters/constants.d.ts +0 -8
  378. package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -2
  379. package/dist/Common/Hooks/useUrlFilters/types.d.ts +0 -6
  380. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +0 -32
  381. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +0 -18
  382. package/dist/Common/SortableTableHeaderCell/index.d.ts +0 -2
  383. package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -25
  384. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +0 -15
  385. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +0 -1
  386. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  387. package/dist/Pages/index.d.ts +0 -1
  388. package/rollup.config.js +0 -31
  389. package/src/Assets/Icon/ic-add.svg +0 -3
  390. package/src/Assets/Icon/ic-appstatus-cancelled.svg +0 -6
  391. package/src/Assets/Icon/ic-arrow-counter-clockwise.svg +0 -5
  392. package/src/Assets/Icon/ic-arrow-up-down.svg +0 -3
  393. package/src/Assets/Icon/ic-check.svg +0 -5
  394. package/src/Assets/Icon/ic-chevron-down.svg +0 -5
  395. package/src/Assets/Icon/ic-copy.svg +0 -3
  396. package/src/Assets/Icon/ic-cross.svg +0 -3
  397. package/src/Assets/Icon/ic-drag.svg +0 -8
  398. package/src/Assets/Icon/ic-enter.svg +0 -3
  399. package/src/Assets/Icon/ic-error-cross.svg +0 -8
  400. package/src/Assets/Icon/ic-error-exclamation.svg +0 -6
  401. package/src/Assets/Icon/ic-error-medium.svg +0 -6
  402. package/src/Assets/Icon/ic-help-outline.svg +0 -3
  403. package/src/Assets/Icon/ic-help.svg +0 -3
  404. package/src/Assets/Icon/ic-info-filled.svg +0 -7
  405. package/src/Assets/Icon/ic-info-outlined.svg +0 -13
  406. package/src/Assets/Icon/ic-minus.svg +0 -3
  407. package/src/Assets/Icon/ic-pencil.svg +0 -3
  408. package/src/Assets/Icon/ic-progressing.svg +0 -6
  409. package/src/Assets/Icon/ic-rotate-devtron.svg +0 -103
  410. package/src/Assets/Icon/ic-search.svg +0 -6
  411. package/src/Assets/Icon/ic-sort-arrow-down.svg +0 -3
  412. package/src/Assets/Icon/ic-warning.svg +0 -7
  413. package/src/Assets/Icon/inject-tag.svg +0 -5
  414. package/src/Assets/Img/app-not-deployed.png +0 -0
  415. package/src/Assets/Img/delete-medium.svg +0 -15
  416. package/src/Assets/Img/ic-empty-error@2x.png +0 -0
  417. package/src/Assets/Img/ic-loading-failure.png +0 -0
  418. package/src/Assets/Img/ic-not-authorized.svg +0 -62
  419. package/src/Common/AddCDButton/AddCDButton.tsx +0 -68
  420. package/src/Common/AddCDButton/index.ts +0 -2
  421. package/src/Common/AddCDButton/types.ts +0 -38
  422. package/src/Common/AddCDButton/utils.tsx +0 -35
  423. package/src/Common/Api.ts +0 -251
  424. package/src/Common/AppStatus/AppStatus.tsx +0 -64
  425. package/src/Common/AppStatus/constants.ts +0 -53
  426. package/src/Common/AppStatus/index.ts +0 -1
  427. package/src/Common/AppStatus/types.ts +0 -12
  428. package/src/Common/AppStatus/utils.ts +0 -14
  429. package/src/Common/BreadCrumb/BreadCrumb.tsx +0 -105
  430. package/src/Common/BreadCrumb/BreadcrumbStore.tsx +0 -25
  431. package/src/Common/BreadCrumb/Types.ts +0 -30
  432. package/src/Common/CIPipeline.Types.ts +0 -277
  433. package/src/Common/ChartVersionAndTypeSelector.tsx +0 -78
  434. package/src/Common/Checkbox.tsx +0 -36
  435. package/src/Common/ClipboardButton/ClipboardButton.tsx +0 -61
  436. package/src/Common/ClipboardButton/__tests__/ClipboardButton.test.tsx +0 -43
  437. package/src/Common/ClipboardButton/types.ts +0 -7
  438. package/src/Common/Common.service.ts +0 -315
  439. package/src/Common/Constants.ts +0 -270
  440. package/src/Common/CustomInput/CustomInput.tsx +0 -131
  441. package/src/Common/CustomInput/Types.ts +0 -31
  442. package/src/Common/CustomInput/index.ts +0 -2
  443. package/src/Common/CustomTagSelector/PropagateTagInfo.tsx +0 -46
  444. package/src/Common/CustomTagSelector/ResizableTagTextArea.tsx +0 -84
  445. package/src/Common/CustomTagSelector/TagDetails.tsx +0 -76
  446. package/src/Common/CustomTagSelector/TagLabelSelect.tsx +0 -61
  447. package/src/Common/CustomTagSelector/TagLabelValueSelector.tsx +0 -198
  448. package/src/Common/CustomTagSelector/TagSelector.utils.ts +0 -71
  449. package/src/Common/CustomTagSelector/Types.ts +0 -72
  450. package/src/Common/CustomTagSelector/ValidationRules.ts +0 -58
  451. package/src/Common/CustomTagSelector/index.ts +0 -6
  452. package/src/Common/DebouncedSearch/DebouncedSearch.tsx +0 -78
  453. package/src/Common/DebouncedSearch/Types.ts +0 -13
  454. package/src/Common/DebouncedSearch/Utils.ts +0 -19
  455. package/src/Common/DebouncedSearch/__tests__/DebouncedSearch.test.tsx +0 -61
  456. package/src/Common/DeleteComponentModal/DeleteComponent.tsx +0 -95
  457. package/src/Common/DeleteComponentModal/types.ts +0 -15
  458. package/src/Common/DevtronProgressing/DevtronProgressing.tsx +0 -11
  459. package/src/Common/DevtronProgressing/index.ts +0 -1
  460. package/src/Common/DevtronProgressing/types.ts +0 -4
  461. package/src/Common/Dialogs/ConfirmationDialog.tsx +0 -34
  462. package/src/Common/Dialogs/DeleteDialog.tsx +0 -69
  463. package/src/Common/Dialogs/DialogForm.tsx +0 -86
  464. package/src/Common/Dialogs/ForceDeleteDialog.tsx +0 -19
  465. package/src/Common/Dialogs/Types.ts +0 -47
  466. package/src/Common/Dialogs/index.ts +0 -4
  467. package/src/Common/DraggableWrapper/DraggableButton.tsx +0 -14
  468. package/src/Common/DraggableWrapper/DraggableWrapper.tsx +0 -116
  469. package/src/Common/DraggableWrapper/index.ts +0 -3
  470. package/src/Common/DraggableWrapper/types.ts +0 -27
  471. package/src/Common/Drawer/Drawer.scss +0 -40
  472. package/src/Common/Drawer/Drawer.tsx +0 -49
  473. package/src/Common/EmptyState/EmptyState.tsx +0 -42
  474. package/src/Common/EmptyState/GenericEmptyState.tsx +0 -81
  475. package/src/Common/EmptyState/emptyState.scss +0 -74
  476. package/src/Common/Error.tsx +0 -61
  477. package/src/Common/ErrorScreenNotFound.tsx +0 -31
  478. package/src/Common/Grid/Grid.tsx +0 -44
  479. package/src/Common/Grid/types.ts +0 -11
  480. package/src/Common/Helper.tsx +0 -576
  481. package/src/Common/Hooks/UseClickOutside/UseClickOutside.tsx +0 -15
  482. package/src/Common/Hooks/UseSuperAdmin/UseSuperAdmin.tsx +0 -24
  483. package/src/Common/Hooks/UseSuperAdmin/types.ts +0 -3
  484. package/src/Common/Hooks/UseWindowSize/UseWindowSize.tsx +0 -31
  485. package/src/Common/Hooks/index.ts +0 -4
  486. package/src/Common/Hooks/useUrlFilters/constants.ts +0 -9
  487. package/src/Common/Hooks/useUrlFilters/index.ts +0 -2
  488. package/src/Common/Hooks/useUrlFilters/types.ts +0 -6
  489. package/src/Common/Hooks/useUrlFilters/useUrlFilters.ts +0 -121
  490. package/src/Common/ImageTags.Types.ts +0 -44
  491. package/src/Common/ImageTags.tsx +0 -586
  492. package/src/Common/InfoColorBar/InfoColourbar.tsx +0 -80
  493. package/src/Common/InfoColorBar/infoColourBar.scss +0 -28
  494. package/src/Common/Modals/Modal.tsx +0 -68
  495. package/src/Common/Modals/OpaqueModal.tsx +0 -36
  496. package/src/Common/Modals/VisibleModal.tsx +0 -55
  497. package/src/Common/Modals/VisibleModal2.tsx +0 -35
  498. package/src/Common/MultiSelectCustomization.tsx +0 -148
  499. package/src/Common/Pagination/PageSizeSelector.tsx +0 -78
  500. package/src/Common/Pagination/Pagination.tsx +0 -127
  501. package/src/Common/Pagination/constants.ts +0 -6
  502. package/src/Common/Pagination/index.tsx +0 -3
  503. package/src/Common/Pagination/pagination.scss +0 -123
  504. package/src/Common/Pagination/types.ts +0 -55
  505. package/src/Common/Pagination/utils.tsx +0 -24
  506. package/src/Common/Policy.Types.ts +0 -63
  507. package/src/Common/PopupMenu.tsx +0 -199
  508. package/src/Common/Progressing.tsx +0 -53
  509. package/src/Common/RJSF/Form.tsx +0 -29
  510. package/src/Common/RJSF/common/FieldRow.tsx +0 -35
  511. package/src/Common/RJSF/common/types.ts +0 -9
  512. package/src/Common/RJSF/config.ts +0 -37
  513. package/src/Common/RJSF/constants.ts +0 -10
  514. package/src/Common/RJSF/index.ts +0 -3
  515. package/src/Common/RJSF/rjsfForm.scss +0 -18
  516. package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -31
  517. package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -78
  518. package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
  519. package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
  520. package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
  521. package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
  522. package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
  523. package/src/Common/RJSF/templates/Description.tsx +0 -12
  524. package/src/Common/RJSF/templates/Field.tsx +0 -30
  525. package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
  526. package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -105
  527. package/src/Common/RJSF/templates/TitleField.tsx +0 -9
  528. package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
  529. package/src/Common/RJSF/templates/index.ts +0 -10
  530. package/src/Common/RJSF/types.ts +0 -4
  531. package/src/Common/RJSF/utils.ts +0 -123
  532. package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
  533. package/src/Common/RJSF/widgets/Select.tsx +0 -77
  534. package/src/Common/RJSF/widgets/index.ts +0 -2
  535. package/src/Common/RadioGroup/RadioGroup.tsx +0 -105
  536. package/src/Common/RadioGroup/radioGroup.scss +0 -46
  537. package/src/Common/RadioGroup.tsx +0 -53
  538. package/src/Common/Reload.tsx +0 -23
  539. package/src/Common/ResizableTextarea.tsx +0 -73
  540. package/src/Common/SearchBar/SearchBar.component.tsx +0 -120
  541. package/src/Common/SearchBar/index.ts +0 -2
  542. package/src/Common/SearchBar/searchBar.scss +0 -31
  543. package/src/Common/SearchBar/types.ts +0 -36
  544. package/src/Common/Security/ScanVulnerabilitiesTable.tsx +0 -55
  545. package/src/Common/Security/scanVulnerabilities.css +0 -69
  546. package/src/Common/ServerError.ts +0 -31
  547. package/src/Common/SortableTableHeaderCell/SortableTableHeaderCell.tsx +0 -44
  548. package/src/Common/SortableTableHeaderCell/index.ts +0 -2
  549. package/src/Common/SortableTableHeaderCell/types.ts +0 -26
  550. package/src/Common/TippyCustomized.tsx +0 -172
  551. package/src/Common/ToastBody.tsx +0 -62
  552. package/src/Common/Toggle/Toggle.scss +0 -78
  553. package/src/Common/Toggle/Toggle.tsx +0 -50
  554. package/src/Common/Types.ts +0 -776
  555. package/src/Common/index.ts +0 -51
  556. package/src/Pages/GlobalConfigurations/Authorization/constants.ts +0 -16
  557. package/src/Pages/GlobalConfigurations/Authorization/index.ts +0 -1
  558. package/src/Pages/GlobalConfigurations/index.ts +0 -1
  559. package/src/Pages/index.ts +0 -1
  560. package/src/custom.d.ts +0 -13
  561. package/src/index.ts +0 -2
  562. package/tsconfig.json +0 -40
@@ -0,0 +1,1919 @@
1
+ import ht, { forwardRef as Pn, cloneElement as Zt, useState as pt, useLayoutEffect as Nn, useEffect as Rn, useRef as Mn } from "react";
2
+ import { createPortal as $n } from "react-dom";
3
+ var F = "top", G = "bottom", K = "right", _ = "left", xt = "auto", Ue = [F, G, K, _], Te = "start", Ve = "end", Bn = "clippingParents", en = "viewport", Me = "popper", kn = "reference", Nt = /* @__PURE__ */ Ue.reduce(function(e, t) {
4
+ return e.concat([t + "-" + Te, t + "-" + Ve]);
5
+ }, []), tn = /* @__PURE__ */ [].concat(Ue, [xt]).reduce(function(e, t) {
6
+ return e.concat([t, t + "-" + Te, t + "-" + Ve]);
7
+ }, []), Vn = "beforeRead", In = "read", Hn = "afterRead", Wn = "beforeMain", Un = "main", Fn = "afterMain", _n = "beforeWrite", qn = "write", zn = "afterWrite", Yn = [Vn, In, Hn, Wn, Un, Fn, _n, qn, zn];
8
+ function te(e) {
9
+ return e ? (e.nodeName || "").toLowerCase() : null;
10
+ }
11
+ function z(e) {
12
+ if (e == null)
13
+ return window;
14
+ if (e.toString() !== "[object Window]") {
15
+ var t = e.ownerDocument;
16
+ return t && t.defaultView || window;
17
+ }
18
+ return e;
19
+ }
20
+ function ge(e) {
21
+ var t = z(e).Element;
22
+ return e instanceof t || e instanceof Element;
23
+ }
24
+ function X(e) {
25
+ var t = z(e).HTMLElement;
26
+ return e instanceof t || e instanceof HTMLElement;
27
+ }
28
+ function At(e) {
29
+ if (typeof ShadowRoot > "u")
30
+ return !1;
31
+ var t = z(e).ShadowRoot;
32
+ return e instanceof t || e instanceof ShadowRoot;
33
+ }
34
+ function Xn(e) {
35
+ var t = e.state;
36
+ Object.keys(t.elements).forEach(function(n) {
37
+ var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
38
+ !X(a) || !te(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(c) {
39
+ var p = o[c];
40
+ p === !1 ? a.removeAttribute(c) : a.setAttribute(c, p === !0 ? "" : p);
41
+ }));
42
+ });
43
+ }
44
+ function Gn(e) {
45
+ var t = e.state, n = {
46
+ popper: {
47
+ position: t.options.strategy,
48
+ left: "0",
49
+ top: "0",
50
+ margin: "0"
51
+ },
52
+ arrow: {
53
+ position: "absolute"
54
+ },
55
+ reference: {}
56
+ };
57
+ return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
58
+ Object.keys(t.elements).forEach(function(r) {
59
+ var o = t.elements[r], a = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), p = c.reduce(function(u, l) {
60
+ return u[l] = "", u;
61
+ }, {});
62
+ !X(o) || !te(o) || (Object.assign(o.style, p), Object.keys(a).forEach(function(u) {
63
+ o.removeAttribute(u);
64
+ }));
65
+ });
66
+ };
67
+ }
68
+ const nn = {
69
+ name: "applyStyles",
70
+ enabled: !0,
71
+ phase: "write",
72
+ fn: Xn,
73
+ effect: Gn,
74
+ requires: ["computeStyles"]
75
+ };
76
+ function ee(e) {
77
+ return e.split("-")[0];
78
+ }
79
+ var he = Math.max, ot = Math.min, De = Math.round;
80
+ function gt() {
81
+ var e = navigator.userAgentData;
82
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
83
+ return t.brand + "/" + t.version;
84
+ }).join(" ") : navigator.userAgent;
85
+ }
86
+ function rn() {
87
+ return !/^((?!chrome|android).)*safari/i.test(gt());
88
+ }
89
+ function Ce(e, t, n) {
90
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
91
+ var r = e.getBoundingClientRect(), o = 1, a = 1;
92
+ t && X(e) && (o = e.offsetWidth > 0 && De(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && De(r.height) / e.offsetHeight || 1);
93
+ var c = ge(e) ? z(e) : window, p = c.visualViewport, u = !rn() && n, l = (r.left + (u && p ? p.offsetLeft : 0)) / o, f = (r.top + (u && p ? p.offsetTop : 0)) / a, b = r.width / o, E = r.height / a;
94
+ return {
95
+ width: b,
96
+ height: E,
97
+ top: f,
98
+ right: l + b,
99
+ bottom: f + E,
100
+ left: l,
101
+ x: l,
102
+ y: f
103
+ };
104
+ }
105
+ function Tt(e) {
106
+ var t = Ce(e), n = e.offsetWidth, r = e.offsetHeight;
107
+ return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
108
+ x: e.offsetLeft,
109
+ y: e.offsetTop,
110
+ width: n,
111
+ height: r
112
+ };
113
+ }
114
+ function on(e, t) {
115
+ var n = t.getRootNode && t.getRootNode();
116
+ if (e.contains(t))
117
+ return !0;
118
+ if (n && At(n)) {
119
+ var r = t;
120
+ do {
121
+ if (r && e.isSameNode(r))
122
+ return !0;
123
+ r = r.parentNode || r.host;
124
+ } while (r);
125
+ }
126
+ return !1;
127
+ }
128
+ function se(e) {
129
+ return z(e).getComputedStyle(e);
130
+ }
131
+ function Kn(e) {
132
+ return ["table", "td", "th"].indexOf(te(e)) >= 0;
133
+ }
134
+ function pe(e) {
135
+ return ((ge(e) ? e.ownerDocument : (
136
+ // $FlowFixMe[prop-missing]
137
+ e.document
138
+ )) || window.document).documentElement;
139
+ }
140
+ function st(e) {
141
+ return te(e) === "html" ? e : (
142
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
143
+ // $FlowFixMe[incompatible-return]
144
+ // $FlowFixMe[prop-missing]
145
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
146
+ e.parentNode || // DOM Element detected
147
+ (At(e) ? e.host : null) || // ShadowRoot detected
148
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
149
+ pe(e)
150
+ );
151
+ }
152
+ function Rt(e) {
153
+ return !X(e) || // https://github.com/popperjs/popper-core/issues/837
154
+ se(e).position === "fixed" ? null : e.offsetParent;
155
+ }
156
+ function Jn(e) {
157
+ var t = /firefox/i.test(gt()), n = /Trident/i.test(gt());
158
+ if (n && X(e)) {
159
+ var r = se(e);
160
+ if (r.position === "fixed")
161
+ return null;
162
+ }
163
+ var o = st(e);
164
+ for (At(o) && (o = o.host); X(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
165
+ var a = se(o);
166
+ if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
167
+ return o;
168
+ o = o.parentNode;
169
+ }
170
+ return null;
171
+ }
172
+ function Fe(e) {
173
+ for (var t = z(e), n = Rt(e); n && Kn(n) && se(n).position === "static"; )
174
+ n = Rt(n);
175
+ return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Jn(e) || t;
176
+ }
177
+ function Dt(e) {
178
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
179
+ }
180
+ function $e(e, t, n) {
181
+ return he(e, ot(t, n));
182
+ }
183
+ function Qn(e, t, n) {
184
+ var r = $e(e, t, n);
185
+ return r > n ? n : r;
186
+ }
187
+ function an() {
188
+ return {
189
+ top: 0,
190
+ right: 0,
191
+ bottom: 0,
192
+ left: 0
193
+ };
194
+ }
195
+ function sn(e) {
196
+ return Object.assign({}, an(), e);
197
+ }
198
+ function un(e, t) {
199
+ return t.reduce(function(n, r) {
200
+ return n[r] = e, n;
201
+ }, {});
202
+ }
203
+ var Zn = function(t, n) {
204
+ return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
205
+ placement: n.placement
206
+ })) : t, sn(typeof t != "number" ? t : un(t, Ue));
207
+ };
208
+ function er(e) {
209
+ var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, c = n.modifiersData.popperOffsets, p = ee(n.placement), u = Dt(p), l = [_, K].indexOf(p) >= 0, f = l ? "height" : "width";
210
+ if (!(!a || !c)) {
211
+ var b = Zn(o.padding, n), E = Tt(a), m = u === "y" ? F : _, w = u === "y" ? G : K, g = n.rects.reference[f] + n.rects.reference[u] - c[u] - n.rects.popper[f], y = c[u] - n.rects.reference[u], D = Fe(a), j = D ? u === "y" ? D.clientHeight || 0 : D.clientWidth || 0 : 0, N = g / 2 - y / 2, i = b[m], x = j - E[f] - b[w], d = j / 2 - E[f] / 2 + N, P = $e(i, d, x), B = u;
212
+ n.modifiersData[r] = (t = {}, t[B] = P, t.centerOffset = P - d, t);
213
+ }
214
+ }
215
+ function tr(e) {
216
+ var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
217
+ o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || on(t.elements.popper, o) && (t.elements.arrow = o));
218
+ }
219
+ const nr = {
220
+ name: "arrow",
221
+ enabled: !0,
222
+ phase: "main",
223
+ fn: er,
224
+ effect: tr,
225
+ requires: ["popperOffsets"],
226
+ requiresIfExists: ["preventOverflow"]
227
+ };
228
+ function Se(e) {
229
+ return e.split("-")[1];
230
+ }
231
+ var rr = {
232
+ top: "auto",
233
+ right: "auto",
234
+ bottom: "auto",
235
+ left: "auto"
236
+ };
237
+ function ir(e, t) {
238
+ var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
239
+ return {
240
+ x: De(n * o) / o || 0,
241
+ y: De(r * o) / o || 0
242
+ };
243
+ }
244
+ function Mt(e) {
245
+ var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, c = e.offsets, p = e.position, u = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, b = e.isFixed, E = c.x, m = E === void 0 ? 0 : E, w = c.y, g = w === void 0 ? 0 : w, y = typeof f == "function" ? f({
246
+ x: m,
247
+ y: g
248
+ }) : {
249
+ x: m,
250
+ y: g
251
+ };
252
+ m = y.x, g = y.y;
253
+ var D = c.hasOwnProperty("x"), j = c.hasOwnProperty("y"), N = _, i = F, x = window;
254
+ if (l) {
255
+ var d = Fe(n), P = "clientHeight", B = "clientWidth";
256
+ if (d === z(n) && (d = pe(n), se(d).position !== "static" && p === "absolute" && (P = "scrollHeight", B = "scrollWidth")), d = d, o === F || (o === _ || o === K) && a === Ve) {
257
+ i = G;
258
+ var T = b && d === x && x.visualViewport ? x.visualViewport.height : (
259
+ // $FlowFixMe[prop-missing]
260
+ d[P]
261
+ );
262
+ g -= T - r.height, g *= u ? 1 : -1;
263
+ }
264
+ if (o === _ || (o === F || o === G) && a === Ve) {
265
+ N = K;
266
+ var C = b && d === x && x.visualViewport ? x.visualViewport.width : (
267
+ // $FlowFixMe[prop-missing]
268
+ d[B]
269
+ );
270
+ m -= C - r.width, m *= u ? 1 : -1;
271
+ }
272
+ }
273
+ var M = Object.assign({
274
+ position: p
275
+ }, l && rr), $ = f === !0 ? ir({
276
+ x: m,
277
+ y: g
278
+ }, z(n)) : {
279
+ x: m,
280
+ y: g
281
+ };
282
+ if (m = $.x, g = $.y, u) {
283
+ var R;
284
+ return Object.assign({}, M, (R = {}, R[i] = j ? "0" : "", R[N] = D ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", R));
285
+ }
286
+ return Object.assign({}, M, (t = {}, t[i] = j ? g + "px" : "", t[N] = D ? m + "px" : "", t.transform = "", t));
287
+ }
288
+ function or(e) {
289
+ var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, c = a === void 0 ? !0 : a, p = n.roundOffsets, u = p === void 0 ? !0 : p, l = {
290
+ placement: ee(t.placement),
291
+ variation: Se(t.placement),
292
+ popper: t.elements.popper,
293
+ popperRect: t.rects.popper,
294
+ gpuAcceleration: o,
295
+ isFixed: t.options.strategy === "fixed"
296
+ };
297
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Mt(Object.assign({}, l, {
298
+ offsets: t.modifiersData.popperOffsets,
299
+ position: t.options.strategy,
300
+ adaptive: c,
301
+ roundOffsets: u
302
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Mt(Object.assign({}, l, {
303
+ offsets: t.modifiersData.arrow,
304
+ position: "absolute",
305
+ adaptive: !1,
306
+ roundOffsets: u
307
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
308
+ "data-popper-placement": t.placement
309
+ });
310
+ }
311
+ const ar = {
312
+ name: "computeStyles",
313
+ enabled: !0,
314
+ phase: "beforeWrite",
315
+ fn: or,
316
+ data: {}
317
+ };
318
+ var nt = {
319
+ passive: !0
320
+ };
321
+ function sr(e) {
322
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, c = r.resize, p = c === void 0 ? !0 : c, u = z(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
323
+ return a && l.forEach(function(f) {
324
+ f.addEventListener("scroll", n.update, nt);
325
+ }), p && u.addEventListener("resize", n.update, nt), function() {
326
+ a && l.forEach(function(f) {
327
+ f.removeEventListener("scroll", n.update, nt);
328
+ }), p && u.removeEventListener("resize", n.update, nt);
329
+ };
330
+ }
331
+ const ur = {
332
+ name: "eventListeners",
333
+ enabled: !0,
334
+ phase: "write",
335
+ fn: function() {
336
+ },
337
+ effect: sr,
338
+ data: {}
339
+ };
340
+ var cr = {
341
+ left: "right",
342
+ right: "left",
343
+ bottom: "top",
344
+ top: "bottom"
345
+ };
346
+ function it(e) {
347
+ return e.replace(/left|right|bottom|top/g, function(t) {
348
+ return cr[t];
349
+ });
350
+ }
351
+ var pr = {
352
+ start: "end",
353
+ end: "start"
354
+ };
355
+ function $t(e) {
356
+ return e.replace(/start|end/g, function(t) {
357
+ return pr[t];
358
+ });
359
+ }
360
+ function Ct(e) {
361
+ var t = z(e), n = t.pageXOffset, r = t.pageYOffset;
362
+ return {
363
+ scrollLeft: n,
364
+ scrollTop: r
365
+ };
366
+ }
367
+ function St(e) {
368
+ return Ce(pe(e)).left + Ct(e).scrollLeft;
369
+ }
370
+ function fr(e, t) {
371
+ var n = z(e), r = pe(e), o = n.visualViewport, a = r.clientWidth, c = r.clientHeight, p = 0, u = 0;
372
+ if (o) {
373
+ a = o.width, c = o.height;
374
+ var l = rn();
375
+ (l || !l && t === "fixed") && (p = o.offsetLeft, u = o.offsetTop);
376
+ }
377
+ return {
378
+ width: a,
379
+ height: c,
380
+ x: p + St(e),
381
+ y: u
382
+ };
383
+ }
384
+ function lr(e) {
385
+ var t, n = pe(e), r = Ct(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = he(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = he(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), p = -r.scrollLeft + St(e), u = -r.scrollTop;
386
+ return se(o || n).direction === "rtl" && (p += he(n.clientWidth, o ? o.clientWidth : 0) - a), {
387
+ width: a,
388
+ height: c,
389
+ x: p,
390
+ y: u
391
+ };
392
+ }
393
+ function jt(e) {
394
+ var t = se(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
395
+ return /auto|scroll|overlay|hidden/.test(n + o + r);
396
+ }
397
+ function cn(e) {
398
+ return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : X(e) && jt(e) ? e : cn(st(e));
399
+ }
400
+ function Be(e, t) {
401
+ var n;
402
+ t === void 0 && (t = []);
403
+ var r = cn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = z(r), c = o ? [a].concat(a.visualViewport || [], jt(r) ? r : []) : r, p = t.concat(c);
404
+ return o ? p : (
405
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
406
+ p.concat(Be(st(c)))
407
+ );
408
+ }
409
+ function yt(e) {
410
+ return Object.assign({}, e, {
411
+ left: e.x,
412
+ top: e.y,
413
+ right: e.x + e.width,
414
+ bottom: e.y + e.height
415
+ });
416
+ }
417
+ function dr(e, t) {
418
+ var n = Ce(e, !1, t === "fixed");
419
+ return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
420
+ }
421
+ function Bt(e, t, n) {
422
+ return t === en ? yt(fr(e, n)) : ge(t) ? dr(t, n) : yt(lr(pe(e)));
423
+ }
424
+ function vr(e) {
425
+ var t = Be(st(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && X(e) ? Fe(e) : e;
426
+ return ge(r) ? t.filter(function(o) {
427
+ return ge(o) && on(o, r) && te(o) !== "body";
428
+ }) : [];
429
+ }
430
+ function mr(e, t, n, r) {
431
+ var o = t === "clippingParents" ? vr(e) : [].concat(t), a = [].concat(o, [n]), c = a[0], p = a.reduce(function(u, l) {
432
+ var f = Bt(e, l, r);
433
+ return u.top = he(f.top, u.top), u.right = ot(f.right, u.right), u.bottom = ot(f.bottom, u.bottom), u.left = he(f.left, u.left), u;
434
+ }, Bt(e, c, r));
435
+ return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
436
+ }
437
+ function pn(e) {
438
+ var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, a = r ? Se(r) : null, c = t.x + t.width / 2 - n.width / 2, p = t.y + t.height / 2 - n.height / 2, u;
439
+ switch (o) {
440
+ case F:
441
+ u = {
442
+ x: c,
443
+ y: t.y - n.height
444
+ };
445
+ break;
446
+ case G:
447
+ u = {
448
+ x: c,
449
+ y: t.y + t.height
450
+ };
451
+ break;
452
+ case K:
453
+ u = {
454
+ x: t.x + t.width,
455
+ y: p
456
+ };
457
+ break;
458
+ case _:
459
+ u = {
460
+ x: t.x - n.width,
461
+ y: p
462
+ };
463
+ break;
464
+ default:
465
+ u = {
466
+ x: t.x,
467
+ y: t.y
468
+ };
469
+ }
470
+ var l = o ? Dt(o) : null;
471
+ if (l != null) {
472
+ var f = l === "y" ? "height" : "width";
473
+ switch (a) {
474
+ case Te:
475
+ u[l] = u[l] - (t[f] / 2 - n[f] / 2);
476
+ break;
477
+ case Ve:
478
+ u[l] = u[l] + (t[f] / 2 - n[f] / 2);
479
+ break;
480
+ }
481
+ }
482
+ return u;
483
+ }
484
+ function Ie(e, t) {
485
+ t === void 0 && (t = {});
486
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, c = a === void 0 ? e.strategy : a, p = n.boundary, u = p === void 0 ? Bn : p, l = n.rootBoundary, f = l === void 0 ? en : l, b = n.elementContext, E = b === void 0 ? Me : b, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, y = g === void 0 ? 0 : g, D = sn(typeof y != "number" ? y : un(y, Ue)), j = E === Me ? kn : Me, N = e.rects.popper, i = e.elements[w ? j : E], x = mr(ge(i) ? i : i.contextElement || pe(e.elements.popper), u, f, c), d = Ce(e.elements.reference), P = pn({
487
+ reference: d,
488
+ element: N,
489
+ strategy: "absolute",
490
+ placement: o
491
+ }), B = yt(Object.assign({}, N, P)), T = E === Me ? B : d, C = {
492
+ top: x.top - T.top + D.top,
493
+ bottom: T.bottom - x.bottom + D.bottom,
494
+ left: x.left - T.left + D.left,
495
+ right: T.right - x.right + D.right
496
+ }, M = e.modifiersData.offset;
497
+ if (E === Me && M) {
498
+ var $ = M[o];
499
+ Object.keys(C).forEach(function(R) {
500
+ var L = [K, G].indexOf(R) >= 0 ? 1 : -1, O = [F, G].indexOf(R) >= 0 ? "y" : "x";
501
+ C[R] += $[O] * L;
502
+ });
503
+ }
504
+ return C;
505
+ }
506
+ function hr(e, t) {
507
+ t === void 0 && (t = {});
508
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, c = n.padding, p = n.flipVariations, u = n.allowedAutoPlacements, l = u === void 0 ? tn : u, f = Se(r), b = f ? p ? Nt : Nt.filter(function(w) {
509
+ return Se(w) === f;
510
+ }) : Ue, E = b.filter(function(w) {
511
+ return l.indexOf(w) >= 0;
512
+ });
513
+ E.length === 0 && (E = b);
514
+ var m = E.reduce(function(w, g) {
515
+ return w[g] = Ie(e, {
516
+ placement: g,
517
+ boundary: o,
518
+ rootBoundary: a,
519
+ padding: c
520
+ })[ee(g)], w;
521
+ }, {});
522
+ return Object.keys(m).sort(function(w, g) {
523
+ return m[w] - m[g];
524
+ });
525
+ }
526
+ function gr(e) {
527
+ if (ee(e) === xt)
528
+ return [];
529
+ var t = it(e);
530
+ return [$t(e), t, $t(t)];
531
+ }
532
+ function yr(e) {
533
+ var t = e.state, n = e.options, r = e.name;
534
+ if (!t.modifiersData[r]._skip) {
535
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, u = n.fallbackPlacements, l = n.padding, f = n.boundary, b = n.rootBoundary, E = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, D = ee(y), j = D === y, N = u || (j || !w ? [it(y)] : gr(y)), i = [y].concat(N).reduce(function(ne, J) {
536
+ return ne.concat(ee(J) === xt ? hr(t, {
537
+ placement: J,
538
+ boundary: f,
539
+ rootBoundary: b,
540
+ padding: l,
541
+ flipVariations: w,
542
+ allowedAutoPlacements: g
543
+ }) : J);
544
+ }, []), x = t.rects.reference, d = t.rects.popper, P = /* @__PURE__ */ new Map(), B = !0, T = i[0], C = 0; C < i.length; C++) {
545
+ var M = i[C], $ = ee(M), R = Se(M) === Te, L = [F, G].indexOf($) >= 0, O = L ? "width" : "height", I = Ie(t, {
546
+ placement: M,
547
+ boundary: f,
548
+ rootBoundary: b,
549
+ altBoundary: E,
550
+ padding: l
551
+ }), V = L ? R ? K : _ : R ? G : F;
552
+ x[O] > d[O] && (V = it(V));
553
+ var k = it(V), W = [];
554
+ if (a && W.push(I[$] <= 0), p && W.push(I[V] <= 0, I[k] <= 0), W.every(function(ne) {
555
+ return ne;
556
+ })) {
557
+ T = M, B = !1;
558
+ break;
559
+ }
560
+ P.set(M, W);
561
+ }
562
+ if (B)
563
+ for (var H = w ? 3 : 1, fe = function(J) {
564
+ var re = i.find(function(ye) {
565
+ var ie = P.get(ye);
566
+ if (ie)
567
+ return ie.slice(0, J).every(function(be) {
568
+ return be;
569
+ });
570
+ });
571
+ if (re)
572
+ return T = re, "break";
573
+ }, Q = H; Q > 0; Q--) {
574
+ var le = fe(Q);
575
+ if (le === "break")
576
+ break;
577
+ }
578
+ t.placement !== T && (t.modifiersData[r]._skip = !0, t.placement = T, t.reset = !0);
579
+ }
580
+ }
581
+ const br = {
582
+ name: "flip",
583
+ enabled: !0,
584
+ phase: "main",
585
+ fn: yr,
586
+ requiresIfExists: ["offset"],
587
+ data: {
588
+ _skip: !1
589
+ }
590
+ };
591
+ function kt(e, t, n) {
592
+ return n === void 0 && (n = {
593
+ x: 0,
594
+ y: 0
595
+ }), {
596
+ top: e.top - t.height - n.y,
597
+ right: e.right - t.width + n.x,
598
+ bottom: e.bottom - t.height + n.y,
599
+ left: e.left - t.width - n.x
600
+ };
601
+ }
602
+ function Vt(e) {
603
+ return [F, K, G, _].some(function(t) {
604
+ return e[t] >= 0;
605
+ });
606
+ }
607
+ function wr(e) {
608
+ var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, c = Ie(t, {
609
+ elementContext: "reference"
610
+ }), p = Ie(t, {
611
+ altBoundary: !0
612
+ }), u = kt(c, r), l = kt(p, o, a), f = Vt(u), b = Vt(l);
613
+ t.modifiersData[n] = {
614
+ referenceClippingOffsets: u,
615
+ popperEscapeOffsets: l,
616
+ isReferenceHidden: f,
617
+ hasPopperEscaped: b
618
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
619
+ "data-popper-reference-hidden": f,
620
+ "data-popper-escaped": b
621
+ });
622
+ }
623
+ const Or = {
624
+ name: "hide",
625
+ enabled: !0,
626
+ phase: "main",
627
+ requiresIfExists: ["preventOverflow"],
628
+ fn: wr
629
+ };
630
+ function Er(e, t, n) {
631
+ var r = ee(e), o = [_, F].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
632
+ placement: e
633
+ })) : n, c = a[0], p = a[1];
634
+ return c = c || 0, p = (p || 0) * o, [_, K].indexOf(r) >= 0 ? {
635
+ x: p,
636
+ y: c
637
+ } : {
638
+ x: c,
639
+ y: p
640
+ };
641
+ }
642
+ function xr(e) {
643
+ var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, c = tn.reduce(function(f, b) {
644
+ return f[b] = Er(b, t.rects, a), f;
645
+ }, {}), p = c[t.placement], u = p.x, l = p.y;
646
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += l), t.modifiersData[r] = c;
647
+ }
648
+ const Ar = {
649
+ name: "offset",
650
+ enabled: !0,
651
+ phase: "main",
652
+ requires: ["popperOffsets"],
653
+ fn: xr
654
+ };
655
+ function Tr(e) {
656
+ var t = e.state, n = e.name;
657
+ t.modifiersData[n] = pn({
658
+ reference: t.rects.reference,
659
+ element: t.rects.popper,
660
+ strategy: "absolute",
661
+ placement: t.placement
662
+ });
663
+ }
664
+ const Dr = {
665
+ name: "popperOffsets",
666
+ enabled: !0,
667
+ phase: "read",
668
+ fn: Tr,
669
+ data: {}
670
+ };
671
+ function Cr(e) {
672
+ return e === "x" ? "y" : "x";
673
+ }
674
+ function Sr(e) {
675
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !1 : c, u = n.boundary, l = n.rootBoundary, f = n.altBoundary, b = n.padding, E = n.tether, m = E === void 0 ? !0 : E, w = n.tetherOffset, g = w === void 0 ? 0 : w, y = Ie(t, {
676
+ boundary: u,
677
+ rootBoundary: l,
678
+ padding: b,
679
+ altBoundary: f
680
+ }), D = ee(t.placement), j = Se(t.placement), N = !j, i = Dt(D), x = Cr(i), d = t.modifiersData.popperOffsets, P = t.rects.reference, B = t.rects.popper, T = typeof g == "function" ? g(Object.assign({}, t.rects, {
681
+ placement: t.placement
682
+ })) : g, C = typeof T == "number" ? {
683
+ mainAxis: T,
684
+ altAxis: T
685
+ } : Object.assign({
686
+ mainAxis: 0,
687
+ altAxis: 0
688
+ }, T), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, $ = {
689
+ x: 0,
690
+ y: 0
691
+ };
692
+ if (d) {
693
+ if (a) {
694
+ var R, L = i === "y" ? F : _, O = i === "y" ? G : K, I = i === "y" ? "height" : "width", V = d[i], k = V + y[L], W = V - y[O], H = m ? -B[I] / 2 : 0, fe = j === Te ? P[I] : B[I], Q = j === Te ? -B[I] : -P[I], le = t.elements.arrow, ne = m && le ? Tt(le) : {
695
+ width: 0,
696
+ height: 0
697
+ }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : an(), re = J[L], ye = J[O], ie = $e(0, P[I], ne[I]), be = N ? P[I] / 2 - H - ie - re - C.mainAxis : fe - ie - re - C.mainAxis, ue = N ? -P[I] / 2 + H + ie + ye + C.mainAxis : Q + ie + ye + C.mainAxis, we = t.elements.arrow && Fe(t.elements.arrow), qe = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, je = (R = M?.[i]) != null ? R : 0, ze = V + be - je - qe, Ye = V + ue - je, Le = $e(m ? ot(k, ze) : k, V, m ? he(W, Ye) : W);
698
+ d[i] = Le, $[i] = Le - V;
699
+ }
700
+ if (p) {
701
+ var Pe, Xe = i === "x" ? F : _, Ge = i === "x" ? G : K, oe = d[x], ce = x === "y" ? "height" : "width", Ne = oe + y[Xe], de = oe - y[Ge], Re = [F, _].indexOf(D) !== -1, Ke = (Pe = M?.[x]) != null ? Pe : 0, Je = Re ? Ne : oe - P[ce] - B[ce] - Ke + C.altAxis, Qe = Re ? oe + P[ce] + B[ce] - Ke - C.altAxis : de, Ze = m && Re ? Qn(Je, oe, Qe) : $e(m ? Je : Ne, oe, m ? Qe : de);
702
+ d[x] = Ze, $[x] = Ze - oe;
703
+ }
704
+ t.modifiersData[r] = $;
705
+ }
706
+ }
707
+ const jr = {
708
+ name: "preventOverflow",
709
+ enabled: !0,
710
+ phase: "main",
711
+ fn: Sr,
712
+ requiresIfExists: ["offset"]
713
+ };
714
+ function Lr(e) {
715
+ return {
716
+ scrollLeft: e.scrollLeft,
717
+ scrollTop: e.scrollTop
718
+ };
719
+ }
720
+ function Pr(e) {
721
+ return e === z(e) || !X(e) ? Ct(e) : Lr(e);
722
+ }
723
+ function Nr(e) {
724
+ var t = e.getBoundingClientRect(), n = De(t.width) / e.offsetWidth || 1, r = De(t.height) / e.offsetHeight || 1;
725
+ return n !== 1 || r !== 1;
726
+ }
727
+ function Rr(e, t, n) {
728
+ n === void 0 && (n = !1);
729
+ var r = X(t), o = X(t) && Nr(t), a = pe(t), c = Ce(e, o, n), p = {
730
+ scrollLeft: 0,
731
+ scrollTop: 0
732
+ }, u = {
733
+ x: 0,
734
+ y: 0
735
+ };
736
+ return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
737
+ jt(a)) && (p = Pr(t)), X(t) ? (u = Ce(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = St(a))), {
738
+ x: c.left + p.scrollLeft - u.x,
739
+ y: c.top + p.scrollTop - u.y,
740
+ width: c.width,
741
+ height: c.height
742
+ };
743
+ }
744
+ function Mr(e) {
745
+ var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
746
+ e.forEach(function(a) {
747
+ t.set(a.name, a);
748
+ });
749
+ function o(a) {
750
+ n.add(a.name);
751
+ var c = [].concat(a.requires || [], a.requiresIfExists || []);
752
+ c.forEach(function(p) {
753
+ if (!n.has(p)) {
754
+ var u = t.get(p);
755
+ u && o(u);
756
+ }
757
+ }), r.push(a);
758
+ }
759
+ return e.forEach(function(a) {
760
+ n.has(a.name) || o(a);
761
+ }), r;
762
+ }
763
+ function $r(e) {
764
+ var t = Mr(e);
765
+ return Yn.reduce(function(n, r) {
766
+ return n.concat(t.filter(function(o) {
767
+ return o.phase === r;
768
+ }));
769
+ }, []);
770
+ }
771
+ function Br(e) {
772
+ var t;
773
+ return function() {
774
+ return t || (t = new Promise(function(n) {
775
+ Promise.resolve().then(function() {
776
+ t = void 0, n(e());
777
+ });
778
+ })), t;
779
+ };
780
+ }
781
+ function kr(e) {
782
+ var t = e.reduce(function(n, r) {
783
+ var o = n[r.name];
784
+ return n[r.name] = o ? Object.assign({}, o, r, {
785
+ options: Object.assign({}, o.options, r.options),
786
+ data: Object.assign({}, o.data, r.data)
787
+ }) : r, n;
788
+ }, {});
789
+ return Object.keys(t).map(function(n) {
790
+ return t[n];
791
+ });
792
+ }
793
+ var It = {
794
+ placement: "bottom",
795
+ modifiers: [],
796
+ strategy: "absolute"
797
+ };
798
+ function Ht() {
799
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
800
+ t[n] = arguments[n];
801
+ return !t.some(function(r) {
802
+ return !(r && typeof r.getBoundingClientRect == "function");
803
+ });
804
+ }
805
+ function Vr(e) {
806
+ e === void 0 && (e = {});
807
+ var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? It : o;
808
+ return function(p, u, l) {
809
+ l === void 0 && (l = a);
810
+ var f = {
811
+ placement: "bottom",
812
+ orderedModifiers: [],
813
+ options: Object.assign({}, It, a),
814
+ modifiersData: {},
815
+ elements: {
816
+ reference: p,
817
+ popper: u
818
+ },
819
+ attributes: {},
820
+ styles: {}
821
+ }, b = [], E = !1, m = {
822
+ state: f,
823
+ setOptions: function(D) {
824
+ var j = typeof D == "function" ? D(f.options) : D;
825
+ g(), f.options = Object.assign({}, a, f.options, j), f.scrollParents = {
826
+ reference: ge(p) ? Be(p) : p.contextElement ? Be(p.contextElement) : [],
827
+ popper: Be(u)
828
+ };
829
+ var N = $r(kr([].concat(r, f.options.modifiers)));
830
+ return f.orderedModifiers = N.filter(function(i) {
831
+ return i.enabled;
832
+ }), w(), m.update();
833
+ },
834
+ // Sync update – it will always be executed, even if not necessary. This
835
+ // is useful for low frequency updates where sync behavior simplifies the
836
+ // logic.
837
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
838
+ // prefer the async Popper#update method
839
+ forceUpdate: function() {
840
+ if (!E) {
841
+ var D = f.elements, j = D.reference, N = D.popper;
842
+ if (Ht(j, N)) {
843
+ f.rects = {
844
+ reference: Rr(j, Fe(N), f.options.strategy === "fixed"),
845
+ popper: Tt(N)
846
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(C) {
847
+ return f.modifiersData[C.name] = Object.assign({}, C.data);
848
+ });
849
+ for (var i = 0; i < f.orderedModifiers.length; i++) {
850
+ if (f.reset === !0) {
851
+ f.reset = !1, i = -1;
852
+ continue;
853
+ }
854
+ var x = f.orderedModifiers[i], d = x.fn, P = x.options, B = P === void 0 ? {} : P, T = x.name;
855
+ typeof d == "function" && (f = d({
856
+ state: f,
857
+ options: B,
858
+ name: T,
859
+ instance: m
860
+ }) || f);
861
+ }
862
+ }
863
+ }
864
+ },
865
+ // Async and optimistically optimized update – it will not be executed if
866
+ // not necessary (debounced to run at most once-per-tick)
867
+ update: Br(function() {
868
+ return new Promise(function(y) {
869
+ m.forceUpdate(), y(f);
870
+ });
871
+ }),
872
+ destroy: function() {
873
+ g(), E = !0;
874
+ }
875
+ };
876
+ if (!Ht(p, u))
877
+ return m;
878
+ m.setOptions(l).then(function(y) {
879
+ !E && l.onFirstUpdate && l.onFirstUpdate(y);
880
+ });
881
+ function w() {
882
+ f.orderedModifiers.forEach(function(y) {
883
+ var D = y.name, j = y.options, N = j === void 0 ? {} : j, i = y.effect;
884
+ if (typeof i == "function") {
885
+ var x = i({
886
+ state: f,
887
+ name: D,
888
+ instance: m,
889
+ options: N
890
+ }), d = function() {
891
+ };
892
+ b.push(x || d);
893
+ }
894
+ });
895
+ }
896
+ function g() {
897
+ b.forEach(function(y) {
898
+ return y();
899
+ }), b = [];
900
+ }
901
+ return m;
902
+ };
903
+ }
904
+ var Ir = [ur, Dr, ar, nn, Ar, br, jr, nr, Or], Hr = /* @__PURE__ */ Vr({
905
+ defaultModifiers: Ir
906
+ }), Wr = "tippy-box", fn = "tippy-content", Ur = "tippy-backdrop", ln = "tippy-arrow", dn = "tippy-svg-arrow", me = {
907
+ passive: !0,
908
+ capture: !0
909
+ }, vn = function() {
910
+ return document.body;
911
+ };
912
+ function Fr(e, t) {
913
+ return {}.hasOwnProperty.call(e, t);
914
+ }
915
+ function ft(e, t, n) {
916
+ if (Array.isArray(e)) {
917
+ var r = e[t];
918
+ return r ?? (Array.isArray(n) ? n[t] : n);
919
+ }
920
+ return e;
921
+ }
922
+ function Lt(e, t) {
923
+ var n = {}.toString.call(e);
924
+ return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
925
+ }
926
+ function mn(e, t) {
927
+ return typeof e == "function" ? e.apply(void 0, t) : e;
928
+ }
929
+ function Wt(e, t) {
930
+ if (t === 0)
931
+ return e;
932
+ var n;
933
+ return function(r) {
934
+ clearTimeout(n), n = setTimeout(function() {
935
+ e(r);
936
+ }, t);
937
+ };
938
+ }
939
+ function _r(e, t) {
940
+ var n = Object.assign({}, e);
941
+ return t.forEach(function(r) {
942
+ delete n[r];
943
+ }), n;
944
+ }
945
+ function qr(e) {
946
+ return e.split(/\s+/).filter(Boolean);
947
+ }
948
+ function Ae(e) {
949
+ return [].concat(e);
950
+ }
951
+ function Ut(e, t) {
952
+ e.indexOf(t) === -1 && e.push(t);
953
+ }
954
+ function zr(e) {
955
+ return e.filter(function(t, n) {
956
+ return e.indexOf(t) === n;
957
+ });
958
+ }
959
+ function Yr(e) {
960
+ return e.split("-")[0];
961
+ }
962
+ function at(e) {
963
+ return [].slice.call(e);
964
+ }
965
+ function Ft(e) {
966
+ return Object.keys(e).reduce(function(t, n) {
967
+ return e[n] !== void 0 && (t[n] = e[n]), t;
968
+ }, {});
969
+ }
970
+ function ke() {
971
+ return document.createElement("div");
972
+ }
973
+ function He(e) {
974
+ return ["Element", "Fragment"].some(function(t) {
975
+ return Lt(e, t);
976
+ });
977
+ }
978
+ function Xr(e) {
979
+ return Lt(e, "NodeList");
980
+ }
981
+ function Gr(e) {
982
+ return Lt(e, "MouseEvent");
983
+ }
984
+ function Kr(e) {
985
+ return !!(e && e._tippy && e._tippy.reference === e);
986
+ }
987
+ function Jr(e) {
988
+ return He(e) ? [e] : Xr(e) ? at(e) : Array.isArray(e) ? e : at(document.querySelectorAll(e));
989
+ }
990
+ function lt(e, t) {
991
+ e.forEach(function(n) {
992
+ n && (n.style.transitionDuration = t + "ms");
993
+ });
994
+ }
995
+ function _t(e, t) {
996
+ e.forEach(function(n) {
997
+ n && n.setAttribute("data-state", t);
998
+ });
999
+ }
1000
+ function Qr(e) {
1001
+ var t, n = Ae(e), r = n[0];
1002
+ return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
1003
+ }
1004
+ function Zr(e, t) {
1005
+ var n = t.clientX, r = t.clientY;
1006
+ return e.every(function(o) {
1007
+ var a = o.popperRect, c = o.popperState, p = o.props, u = p.interactiveBorder, l = Yr(c.placement), f = c.modifiersData.offset;
1008
+ if (!f)
1009
+ return !0;
1010
+ var b = l === "bottom" ? f.top.y : 0, E = l === "top" ? f.bottom.y : 0, m = l === "right" ? f.left.x : 0, w = l === "left" ? f.right.x : 0, g = a.top - r + b > u, y = r - a.bottom - E > u, D = a.left - n + m > u, j = n - a.right - w > u;
1011
+ return g || y || D || j;
1012
+ });
1013
+ }
1014
+ function dt(e, t, n) {
1015
+ var r = t + "EventListener";
1016
+ ["transitionend", "webkitTransitionEnd"].forEach(function(o) {
1017
+ e[r](o, n);
1018
+ });
1019
+ }
1020
+ function qt(e, t) {
1021
+ for (var n = t; n; ) {
1022
+ var r;
1023
+ if (e.contains(n))
1024
+ return !0;
1025
+ n = n.getRootNode == null || (r = n.getRootNode()) == null ? void 0 : r.host;
1026
+ }
1027
+ return !1;
1028
+ }
1029
+ var Z = {
1030
+ isTouch: !1
1031
+ }, zt = 0;
1032
+ function ei() {
1033
+ Z.isTouch || (Z.isTouch = !0, window.performance && document.addEventListener("mousemove", hn));
1034
+ }
1035
+ function hn() {
1036
+ var e = performance.now();
1037
+ e - zt < 20 && (Z.isTouch = !1, document.removeEventListener("mousemove", hn)), zt = e;
1038
+ }
1039
+ function ti() {
1040
+ var e = document.activeElement;
1041
+ if (Kr(e)) {
1042
+ var t = e._tippy;
1043
+ e.blur && !t.state.isVisible && e.blur();
1044
+ }
1045
+ }
1046
+ function ni() {
1047
+ document.addEventListener("touchstart", ei, me), window.addEventListener("blur", ti);
1048
+ }
1049
+ var ri = typeof window < "u" && typeof document < "u", ii = ri ? (
1050
+ // @ts-ignore
1051
+ !!window.msCrypto
1052
+ ) : !1;
1053
+ function xe(e) {
1054
+ var t = e === "destroy" ? "n already-" : " ";
1055
+ return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1056
+ }
1057
+ function Yt(e) {
1058
+ var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
1059
+ return e.replace(t, " ").replace(n, "").trim();
1060
+ }
1061
+ function oi(e) {
1062
+ return Yt(`
1063
+ %ctippy.js
1064
+
1065
+ %c` + Yt(e) + `
1066
+
1067
+ %c👷‍ This is a development-only message. It will be removed in production.
1068
+ `);
1069
+ }
1070
+ function gn(e) {
1071
+ return [
1072
+ oi(e),
1073
+ // title
1074
+ "color: #00C584; font-size: 1.3em; font-weight: bold;",
1075
+ // message
1076
+ "line-height: 1.5",
1077
+ // footer
1078
+ "color: #a6a095;"
1079
+ ];
1080
+ }
1081
+ var We;
1082
+ process.env.NODE_ENV !== "production" && ai();
1083
+ function ai() {
1084
+ We = /* @__PURE__ */ new Set();
1085
+ }
1086
+ function ae(e, t) {
1087
+ if (e && !We.has(t)) {
1088
+ var n;
1089
+ We.add(t), (n = console).warn.apply(n, gn(t));
1090
+ }
1091
+ }
1092
+ function bt(e, t) {
1093
+ if (e && !We.has(t)) {
1094
+ var n;
1095
+ We.add(t), (n = console).error.apply(n, gn(t));
1096
+ }
1097
+ }
1098
+ function si(e) {
1099
+ var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1100
+ bt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), bt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1101
+ }
1102
+ var yn = {
1103
+ animateFill: !1,
1104
+ followCursor: !1,
1105
+ inlinePositioning: !1,
1106
+ sticky: !1
1107
+ }, ui = {
1108
+ allowHTML: !1,
1109
+ animation: "fade",
1110
+ arrow: !0,
1111
+ content: "",
1112
+ inertia: !1,
1113
+ maxWidth: 350,
1114
+ role: "tooltip",
1115
+ theme: "",
1116
+ zIndex: 9999
1117
+ }, q = Object.assign({
1118
+ appendTo: vn,
1119
+ aria: {
1120
+ content: "auto",
1121
+ expanded: "auto"
1122
+ },
1123
+ delay: 0,
1124
+ duration: [300, 250],
1125
+ getReferenceClientRect: null,
1126
+ hideOnClick: !0,
1127
+ ignoreAttributes: !1,
1128
+ interactive: !1,
1129
+ interactiveBorder: 2,
1130
+ interactiveDebounce: 0,
1131
+ moveTransition: "",
1132
+ offset: [0, 10],
1133
+ onAfterUpdate: function() {
1134
+ },
1135
+ onBeforeUpdate: function() {
1136
+ },
1137
+ onCreate: function() {
1138
+ },
1139
+ onDestroy: function() {
1140
+ },
1141
+ onHidden: function() {
1142
+ },
1143
+ onHide: function() {
1144
+ },
1145
+ onMount: function() {
1146
+ },
1147
+ onShow: function() {
1148
+ },
1149
+ onShown: function() {
1150
+ },
1151
+ onTrigger: function() {
1152
+ },
1153
+ onUntrigger: function() {
1154
+ },
1155
+ onClickOutside: function() {
1156
+ },
1157
+ placement: "top",
1158
+ plugins: [],
1159
+ popperOptions: {},
1160
+ render: null,
1161
+ showOnCreate: !1,
1162
+ touch: !0,
1163
+ trigger: "mouseenter focus",
1164
+ triggerTarget: null
1165
+ }, yn, ui), ci = Object.keys(q), pi = function(t) {
1166
+ process.env.NODE_ENV !== "production" && wn(t, []);
1167
+ var n = Object.keys(t);
1168
+ n.forEach(function(r) {
1169
+ q[r] = t[r];
1170
+ });
1171
+ };
1172
+ function bn(e) {
1173
+ var t = e.plugins || [], n = t.reduce(function(r, o) {
1174
+ var a = o.name, c = o.defaultValue;
1175
+ if (a) {
1176
+ var p;
1177
+ r[a] = e[a] !== void 0 ? e[a] : (p = q[a]) != null ? p : c;
1178
+ }
1179
+ return r;
1180
+ }, {});
1181
+ return Object.assign({}, e, n);
1182
+ }
1183
+ function fi(e, t) {
1184
+ var n = t ? Object.keys(bn(Object.assign({}, q, {
1185
+ plugins: t
1186
+ }))) : ci, r = n.reduce(function(o, a) {
1187
+ var c = (e.getAttribute("data-tippy-" + a) || "").trim();
1188
+ if (!c)
1189
+ return o;
1190
+ if (a === "content")
1191
+ o[a] = c;
1192
+ else
1193
+ try {
1194
+ o[a] = JSON.parse(c);
1195
+ } catch {
1196
+ o[a] = c;
1197
+ }
1198
+ return o;
1199
+ }, {});
1200
+ return r;
1201
+ }
1202
+ function Xt(e, t) {
1203
+ var n = Object.assign({}, t, {
1204
+ content: mn(t.content, [e])
1205
+ }, t.ignoreAttributes ? {} : fi(e, t.plugins));
1206
+ return n.aria = Object.assign({}, q.aria, n.aria), n.aria = {
1207
+ expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
1208
+ content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
1209
+ }, n;
1210
+ }
1211
+ function wn(e, t) {
1212
+ e === void 0 && (e = {}), t === void 0 && (t = []);
1213
+ var n = Object.keys(e);
1214
+ n.forEach(function(r) {
1215
+ var o = _r(q, Object.keys(yn)), a = !Fr(o, r);
1216
+ a && (a = t.filter(function(c) {
1217
+ return c.name === r;
1218
+ }).length === 0), ae(a, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1219
+
1220
+ `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1221
+ `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1222
+ });
1223
+ }
1224
+ var li = function() {
1225
+ return "innerHTML";
1226
+ };
1227
+ function wt(e, t) {
1228
+ e[li()] = t;
1229
+ }
1230
+ function Gt(e) {
1231
+ var t = ke();
1232
+ return e === !0 ? t.className = ln : (t.className = dn, He(e) ? t.appendChild(e) : wt(t, e)), t;
1233
+ }
1234
+ function Kt(e, t) {
1235
+ He(t.content) ? (wt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? wt(e, t.content) : e.textContent = t.content);
1236
+ }
1237
+ function Ot(e) {
1238
+ var t = e.firstElementChild, n = at(t.children);
1239
+ return {
1240
+ box: t,
1241
+ content: n.find(function(r) {
1242
+ return r.classList.contains(fn);
1243
+ }),
1244
+ arrow: n.find(function(r) {
1245
+ return r.classList.contains(ln) || r.classList.contains(dn);
1246
+ }),
1247
+ backdrop: n.find(function(r) {
1248
+ return r.classList.contains(Ur);
1249
+ })
1250
+ };
1251
+ }
1252
+ function On(e) {
1253
+ var t = ke(), n = ke();
1254
+ n.className = Wr, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1255
+ var r = ke();
1256
+ r.className = fn, r.setAttribute("data-state", "hidden"), Kt(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1257
+ function o(a, c) {
1258
+ var p = Ot(t), u = p.box, l = p.content, f = p.arrow;
1259
+ c.theme ? u.setAttribute("data-theme", c.theme) : u.removeAttribute("data-theme"), typeof c.animation == "string" ? u.setAttribute("data-animation", c.animation) : u.removeAttribute("data-animation"), c.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? u.setAttribute("role", c.role) : u.removeAttribute("role"), (a.content !== c.content || a.allowHTML !== c.allowHTML) && Kt(l, e.props), c.arrow ? f ? a.arrow !== c.arrow && (u.removeChild(f), u.appendChild(Gt(c.arrow))) : u.appendChild(Gt(c.arrow)) : f && u.removeChild(f);
1260
+ }
1261
+ return {
1262
+ popper: t,
1263
+ onUpdate: o
1264
+ };
1265
+ }
1266
+ On.$$tippy = !0;
1267
+ var di = 1, rt = [], vt = [];
1268
+ function vi(e, t) {
1269
+ var n = Xt(e, Object.assign({}, q, bn(Ft(t)))), r, o, a, c = !1, p = !1, u = !1, l = !1, f, b, E, m = [], w = Wt(ze, n.interactiveDebounce), g, y = di++, D = null, j = zr(n.plugins), N = {
1270
+ // Is the instance currently enabled?
1271
+ isEnabled: !0,
1272
+ // Is the tippy currently showing and not transitioning out?
1273
+ isVisible: !1,
1274
+ // Has the instance been destroyed?
1275
+ isDestroyed: !1,
1276
+ // Is the tippy currently mounted to the DOM?
1277
+ isMounted: !1,
1278
+ // Has the tippy finished transitioning in?
1279
+ isShown: !1
1280
+ }, i = {
1281
+ // properties
1282
+ id: y,
1283
+ reference: e,
1284
+ popper: ke(),
1285
+ popperInstance: D,
1286
+ props: n,
1287
+ state: N,
1288
+ plugins: j,
1289
+ // methods
1290
+ clearDelayTimeouts: Je,
1291
+ setProps: Qe,
1292
+ setContent: Ze,
1293
+ show: Tn,
1294
+ hide: Dn,
1295
+ hideWithInteractivity: Cn,
1296
+ enable: Re,
1297
+ disable: Ke,
1298
+ unmount: Sn,
1299
+ destroy: jn
1300
+ };
1301
+ if (!n.render)
1302
+ return process.env.NODE_ENV !== "production" && bt(!0, "render() function has not been supplied."), i;
1303
+ var x = n.render(i), d = x.popper, P = x.onUpdate;
1304
+ d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1305
+ var B = j.map(function(s) {
1306
+ return s.fn(i);
1307
+ }), T = e.hasAttribute("aria-expanded");
1308
+ return we(), H(), V(), k("onCreate", [i]), n.showOnCreate && Ne(), d.addEventListener("mouseenter", function() {
1309
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1310
+ }), d.addEventListener("mouseleave", function() {
1311
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && L().addEventListener("mousemove", w);
1312
+ }), i;
1313
+ function C() {
1314
+ var s = i.props.touch;
1315
+ return Array.isArray(s) ? s : [s, 0];
1316
+ }
1317
+ function M() {
1318
+ return C()[0] === "hold";
1319
+ }
1320
+ function $() {
1321
+ var s;
1322
+ return !!((s = i.props.render) != null && s.$$tippy);
1323
+ }
1324
+ function R() {
1325
+ return g || e;
1326
+ }
1327
+ function L() {
1328
+ var s = R().parentNode;
1329
+ return s ? Qr(s) : document;
1330
+ }
1331
+ function O() {
1332
+ return Ot(d);
1333
+ }
1334
+ function I(s) {
1335
+ return i.state.isMounted && !i.state.isVisible || Z.isTouch || f && f.type === "focus" ? 0 : ft(i.props.delay, s ? 0 : 1, q.delay);
1336
+ }
1337
+ function V(s) {
1338
+ s === void 0 && (s = !1), d.style.pointerEvents = i.props.interactive && !s ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
1339
+ }
1340
+ function k(s, v, h) {
1341
+ if (h === void 0 && (h = !0), B.forEach(function(A) {
1342
+ A[s] && A[s].apply(A, v);
1343
+ }), h) {
1344
+ var S;
1345
+ (S = i.props)[s].apply(S, v);
1346
+ }
1347
+ }
1348
+ function W() {
1349
+ var s = i.props.aria;
1350
+ if (s.content) {
1351
+ var v = "aria-" + s.content, h = d.id, S = Ae(i.props.triggerTarget || e);
1352
+ S.forEach(function(A) {
1353
+ var U = A.getAttribute(v);
1354
+ if (i.state.isVisible)
1355
+ A.setAttribute(v, U ? U + " " + h : h);
1356
+ else {
1357
+ var Y = U && U.replace(h, "").trim();
1358
+ Y ? A.setAttribute(v, Y) : A.removeAttribute(v);
1359
+ }
1360
+ });
1361
+ }
1362
+ }
1363
+ function H() {
1364
+ if (!(T || !i.props.aria.expanded)) {
1365
+ var s = Ae(i.props.triggerTarget || e);
1366
+ s.forEach(function(v) {
1367
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === R() ? "true" : "false") : v.removeAttribute("aria-expanded");
1368
+ });
1369
+ }
1370
+ }
1371
+ function fe() {
1372
+ L().removeEventListener("mousemove", w), rt = rt.filter(function(s) {
1373
+ return s !== w;
1374
+ });
1375
+ }
1376
+ function Q(s) {
1377
+ if (!(Z.isTouch && (u || s.type === "mousedown"))) {
1378
+ var v = s.composedPath && s.composedPath()[0] || s.target;
1379
+ if (!(i.props.interactive && qt(d, v))) {
1380
+ if (Ae(i.props.triggerTarget || e).some(function(h) {
1381
+ return qt(h, v);
1382
+ })) {
1383
+ if (Z.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1384
+ return;
1385
+ } else
1386
+ k("onClickOutside", [i, s]);
1387
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), p = !0, setTimeout(function() {
1388
+ p = !1;
1389
+ }), i.state.isMounted || re());
1390
+ }
1391
+ }
1392
+ }
1393
+ function le() {
1394
+ u = !0;
1395
+ }
1396
+ function ne() {
1397
+ u = !1;
1398
+ }
1399
+ function J() {
1400
+ var s = L();
1401
+ s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, me), s.addEventListener("touchstart", ne, me), s.addEventListener("touchmove", le, me);
1402
+ }
1403
+ function re() {
1404
+ var s = L();
1405
+ s.removeEventListener("mousedown", Q, !0), s.removeEventListener("touchend", Q, me), s.removeEventListener("touchstart", ne, me), s.removeEventListener("touchmove", le, me);
1406
+ }
1407
+ function ye(s, v) {
1408
+ be(s, function() {
1409
+ !i.state.isVisible && d.parentNode && d.parentNode.contains(d) && v();
1410
+ });
1411
+ }
1412
+ function ie(s, v) {
1413
+ be(s, v);
1414
+ }
1415
+ function be(s, v) {
1416
+ var h = O().box;
1417
+ function S(A) {
1418
+ A.target === h && (dt(h, "remove", S), v());
1419
+ }
1420
+ if (s === 0)
1421
+ return v();
1422
+ dt(h, "remove", b), dt(h, "add", S), b = S;
1423
+ }
1424
+ function ue(s, v, h) {
1425
+ h === void 0 && (h = !1);
1426
+ var S = Ae(i.props.triggerTarget || e);
1427
+ S.forEach(function(A) {
1428
+ A.addEventListener(s, v, h), m.push({
1429
+ node: A,
1430
+ eventType: s,
1431
+ handler: v,
1432
+ options: h
1433
+ });
1434
+ });
1435
+ }
1436
+ function we() {
1437
+ M() && (ue("touchstart", je, {
1438
+ passive: !0
1439
+ }), ue("touchend", Ye, {
1440
+ passive: !0
1441
+ })), qr(i.props.trigger).forEach(function(s) {
1442
+ if (s !== "manual")
1443
+ switch (ue(s, je), s) {
1444
+ case "mouseenter":
1445
+ ue("mouseleave", Ye);
1446
+ break;
1447
+ case "focus":
1448
+ ue(ii ? "focusout" : "blur", Le);
1449
+ break;
1450
+ case "focusin":
1451
+ ue("focusout", Le);
1452
+ break;
1453
+ }
1454
+ });
1455
+ }
1456
+ function qe() {
1457
+ m.forEach(function(s) {
1458
+ var v = s.node, h = s.eventType, S = s.handler, A = s.options;
1459
+ v.removeEventListener(h, S, A);
1460
+ }), m = [];
1461
+ }
1462
+ function je(s) {
1463
+ var v, h = !1;
1464
+ if (!(!i.state.isEnabled || Pe(s) || p)) {
1465
+ var S = ((v = f) == null ? void 0 : v.type) === "focus";
1466
+ f = s, g = s.currentTarget, H(), !i.state.isVisible && Gr(s) && rt.forEach(function(A) {
1467
+ return A(s);
1468
+ }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Ne(s), s.type === "click" && (c = !h), h && !S && de(s);
1469
+ }
1470
+ }
1471
+ function ze(s) {
1472
+ var v = s.target, h = R().contains(v) || d.contains(v);
1473
+ if (!(s.type === "mousemove" && h)) {
1474
+ var S = ce().concat(d).map(function(A) {
1475
+ var U, Y = A._tippy, Oe = (U = Y.popperInstance) == null ? void 0 : U.state;
1476
+ return Oe ? {
1477
+ popperRect: A.getBoundingClientRect(),
1478
+ popperState: Oe,
1479
+ props: n
1480
+ } : null;
1481
+ }).filter(Boolean);
1482
+ Zr(S, s) && (fe(), de(s));
1483
+ }
1484
+ }
1485
+ function Ye(s) {
1486
+ var v = Pe(s) || i.props.trigger.indexOf("click") >= 0 && c;
1487
+ if (!v) {
1488
+ if (i.props.interactive) {
1489
+ i.hideWithInteractivity(s);
1490
+ return;
1491
+ }
1492
+ de(s);
1493
+ }
1494
+ }
1495
+ function Le(s) {
1496
+ i.props.trigger.indexOf("focusin") < 0 && s.target !== R() || i.props.interactive && s.relatedTarget && d.contains(s.relatedTarget) || de(s);
1497
+ }
1498
+ function Pe(s) {
1499
+ return Z.isTouch ? M() !== s.type.indexOf("touch") >= 0 : !1;
1500
+ }
1501
+ function Xe() {
1502
+ Ge();
1503
+ var s = i.props, v = s.popperOptions, h = s.placement, S = s.offset, A = s.getReferenceClientRect, U = s.moveTransition, Y = $() ? Ot(d).arrow : null, Oe = A ? {
1504
+ getBoundingClientRect: A,
1505
+ contextElement: A.contextElement || R()
1506
+ } : e, Pt = {
1507
+ name: "$$tippy",
1508
+ enabled: !0,
1509
+ phase: "beforeWrite",
1510
+ requires: ["computeStyles"],
1511
+ fn: function(et) {
1512
+ var Ee = et.state;
1513
+ if ($()) {
1514
+ var Ln = O(), ct = Ln.box;
1515
+ ["placement", "reference-hidden", "escaped"].forEach(function(tt) {
1516
+ tt === "placement" ? ct.setAttribute("data-placement", Ee.placement) : Ee.attributes.popper["data-popper-" + tt] ? ct.setAttribute("data-" + tt, "") : ct.removeAttribute("data-" + tt);
1517
+ }), Ee.attributes.popper = {};
1518
+ }
1519
+ }
1520
+ }, ve = [{
1521
+ name: "offset",
1522
+ options: {
1523
+ offset: S
1524
+ }
1525
+ }, {
1526
+ name: "preventOverflow",
1527
+ options: {
1528
+ padding: {
1529
+ top: 2,
1530
+ bottom: 2,
1531
+ left: 5,
1532
+ right: 5
1533
+ }
1534
+ }
1535
+ }, {
1536
+ name: "flip",
1537
+ options: {
1538
+ padding: 5
1539
+ }
1540
+ }, {
1541
+ name: "computeStyles",
1542
+ options: {
1543
+ adaptive: !U
1544
+ }
1545
+ }, Pt];
1546
+ $() && Y && ve.push({
1547
+ name: "arrow",
1548
+ options: {
1549
+ element: Y,
1550
+ padding: 3
1551
+ }
1552
+ }), ve.push.apply(ve, v?.modifiers || []), i.popperInstance = Hr(Oe, d, Object.assign({}, v, {
1553
+ placement: h,
1554
+ onFirstUpdate: E,
1555
+ modifiers: ve
1556
+ }));
1557
+ }
1558
+ function Ge() {
1559
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1560
+ }
1561
+ function oe() {
1562
+ var s = i.props.appendTo, v, h = R();
1563
+ i.props.interactive && s === vn || s === "parent" ? v = h.parentNode : v = mn(s, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Xe(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && s === q.appendTo && h.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1564
+
1565
+ `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1566
+
1567
+ `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
1568
+
1569
+ `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1570
+ }
1571
+ function ce() {
1572
+ return at(d.querySelectorAll("[data-tippy-root]"));
1573
+ }
1574
+ function Ne(s) {
1575
+ i.clearDelayTimeouts(), s && k("onTrigger", [i, s]), J();
1576
+ var v = I(!0), h = C(), S = h[0], A = h[1];
1577
+ Z.isTouch && S === "hold" && A && (v = A), v ? r = setTimeout(function() {
1578
+ i.show();
1579
+ }, v) : i.show();
1580
+ }
1581
+ function de(s) {
1582
+ if (i.clearDelayTimeouts(), k("onUntrigger", [i, s]), !i.state.isVisible) {
1583
+ re();
1584
+ return;
1585
+ }
1586
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && c)) {
1587
+ var v = I(!1);
1588
+ v ? o = setTimeout(function() {
1589
+ i.state.isVisible && i.hide();
1590
+ }, v) : a = requestAnimationFrame(function() {
1591
+ i.hide();
1592
+ });
1593
+ }
1594
+ }
1595
+ function Re() {
1596
+ i.state.isEnabled = !0;
1597
+ }
1598
+ function Ke() {
1599
+ i.hide(), i.state.isEnabled = !1;
1600
+ }
1601
+ function Je() {
1602
+ clearTimeout(r), clearTimeout(o), cancelAnimationFrame(a);
1603
+ }
1604
+ function Qe(s) {
1605
+ if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("setProps")), !i.state.isDestroyed) {
1606
+ k("onBeforeUpdate", [i, s]), qe();
1607
+ var v = i.props, h = Xt(e, Object.assign({}, v, Ft(s), {
1608
+ ignoreAttributes: !0
1609
+ }));
1610
+ i.props = h, we(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), w = Wt(ze, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Ae(v.triggerTarget).forEach(function(S) {
1611
+ S.removeAttribute("aria-expanded");
1612
+ }) : h.triggerTarget && e.removeAttribute("aria-expanded"), H(), V(), P && P(v, h), i.popperInstance && (Xe(), ce().forEach(function(S) {
1613
+ requestAnimationFrame(S._tippy.popperInstance.forceUpdate);
1614
+ })), k("onAfterUpdate", [i, s]);
1615
+ }
1616
+ }
1617
+ function Ze(s) {
1618
+ i.setProps({
1619
+ content: s
1620
+ });
1621
+ }
1622
+ function Tn() {
1623
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("show"));
1624
+ var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = Z.isTouch && !i.props.touch, A = ft(i.props.duration, 0, q.duration);
1625
+ if (!(s || v || h || S) && !R().hasAttribute("disabled") && (k("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1626
+ if (i.state.isVisible = !0, $() && (d.style.visibility = "visible"), V(), J(), i.state.isMounted || (d.style.transition = "none"), $()) {
1627
+ var U = O(), Y = U.box, Oe = U.content;
1628
+ lt([Y, Oe], 0);
1629
+ }
1630
+ E = function() {
1631
+ var ve;
1632
+ if (!(!i.state.isVisible || l)) {
1633
+ if (l = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, $() && i.props.animation) {
1634
+ var ut = O(), et = ut.box, Ee = ut.content;
1635
+ lt([et, Ee], A), _t([et, Ee], "visible");
1636
+ }
1637
+ W(), H(), Ut(vt, i), (ve = i.popperInstance) == null || ve.forceUpdate(), k("onMount", [i]), i.props.animation && $() && ie(A, function() {
1638
+ i.state.isShown = !0, k("onShown", [i]);
1639
+ });
1640
+ }
1641
+ }, oe();
1642
+ }
1643
+ }
1644
+ function Dn() {
1645
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("hide"));
1646
+ var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = ft(i.props.duration, 1, q.duration);
1647
+ if (!(s || v || h) && (k("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1648
+ if (i.state.isVisible = !1, i.state.isShown = !1, l = !1, c = !1, $() && (d.style.visibility = "hidden"), fe(), re(), V(!0), $()) {
1649
+ var A = O(), U = A.box, Y = A.content;
1650
+ i.props.animation && (lt([U, Y], S), _t([U, Y], "hidden"));
1651
+ }
1652
+ W(), H(), i.props.animation ? $() && ye(S, i.unmount) : i.unmount();
1653
+ }
1654
+ }
1655
+ function Cn(s) {
1656
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("hideWithInteractivity")), L().addEventListener("mousemove", w), Ut(rt, w), w(s);
1657
+ }
1658
+ function Sn() {
1659
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ge(), ce().forEach(function(s) {
1660
+ s._tippy.unmount();
1661
+ }), d.parentNode && d.parentNode.removeChild(d), vt = vt.filter(function(s) {
1662
+ return s !== i;
1663
+ }), i.state.isMounted = !1, k("onHidden", [i]));
1664
+ }
1665
+ function jn() {
1666
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), qe(), delete e._tippy, i.state.isDestroyed = !0, k("onDestroy", [i]));
1667
+ }
1668
+ }
1669
+ function _e(e, t) {
1670
+ t === void 0 && (t = {});
1671
+ var n = q.plugins.concat(t.plugins || []);
1672
+ process.env.NODE_ENV !== "production" && (si(e), wn(t, n)), ni();
1673
+ var r = Object.assign({}, t, {
1674
+ plugins: n
1675
+ }), o = Jr(e);
1676
+ if (process.env.NODE_ENV !== "production") {
1677
+ var a = He(r.content), c = o.length > 1;
1678
+ ae(a && c, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1679
+
1680
+ `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
1681
+
1682
+ `, `1) content: element.innerHTML
1683
+ `, "2) content: () => element.cloneNode(true)"].join(" "));
1684
+ }
1685
+ var p = o.reduce(function(u, l) {
1686
+ var f = l && vi(l, r);
1687
+ return f && u.push(f), u;
1688
+ }, []);
1689
+ return He(e) ? p[0] : p;
1690
+ }
1691
+ _e.defaultProps = q;
1692
+ _e.setDefaultProps = pi;
1693
+ _e.currentInput = Z;
1694
+ Object.assign({}, nn, {
1695
+ effect: function(t) {
1696
+ var n = t.state, r = {
1697
+ popper: {
1698
+ position: n.options.strategy,
1699
+ left: "0",
1700
+ top: "0",
1701
+ margin: "0"
1702
+ },
1703
+ arrow: {
1704
+ position: "absolute"
1705
+ },
1706
+ reference: {}
1707
+ };
1708
+ Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
1709
+ }
1710
+ });
1711
+ _e.setDefaultProps({
1712
+ render: On
1713
+ });
1714
+ function En(e, t) {
1715
+ if (e == null)
1716
+ return {};
1717
+ var n = {}, r = Object.keys(e), o, a;
1718
+ for (a = 0; a < r.length; a++)
1719
+ o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
1720
+ return n;
1721
+ }
1722
+ var xn = typeof window < "u" && typeof document < "u";
1723
+ function Et(e, t) {
1724
+ e && (typeof e == "function" && e(t), {}.hasOwnProperty.call(e, "current") && (e.current = t));
1725
+ }
1726
+ function Jt() {
1727
+ return xn && document.createElement("div");
1728
+ }
1729
+ function mi(e) {
1730
+ var t = {
1731
+ "data-placement": e.placement
1732
+ };
1733
+ return e.referenceHidden && (t["data-reference-hidden"] = ""), e.escaped && (t["data-escaped"] = ""), t;
1734
+ }
1735
+ function An(e, t) {
1736
+ if (e === t)
1737
+ return !0;
1738
+ if (typeof e == "object" && e != null && typeof t == "object" && t != null) {
1739
+ if (Object.keys(e).length !== Object.keys(t).length)
1740
+ return !1;
1741
+ for (var n in e)
1742
+ if (t.hasOwnProperty(n)) {
1743
+ if (!An(e[n], t[n]))
1744
+ return !1;
1745
+ } else
1746
+ return !1;
1747
+ return !0;
1748
+ } else
1749
+ return !1;
1750
+ }
1751
+ function hi(e) {
1752
+ var t = [];
1753
+ return e.forEach(function(n) {
1754
+ t.find(function(r) {
1755
+ return An(n, r);
1756
+ }) || t.push(n);
1757
+ }), t;
1758
+ }
1759
+ function gi(e, t) {
1760
+ var n, r;
1761
+ return Object.assign({}, t, {
1762
+ popperOptions: Object.assign({}, e.popperOptions, t.popperOptions, {
1763
+ modifiers: hi([].concat(((n = e.popperOptions) == null ? void 0 : n.modifiers) || [], ((r = t.popperOptions) == null ? void 0 : r.modifiers) || []))
1764
+ })
1765
+ });
1766
+ }
1767
+ var mt = xn ? Nn : Rn;
1768
+ function yi(e) {
1769
+ var t = Mn();
1770
+ return t.current || (t.current = typeof e == "function" ? e() : e), t.current;
1771
+ }
1772
+ function Qt(e, t, n) {
1773
+ n.split(/\s+/).forEach(function(r) {
1774
+ r && e.classList[t](r);
1775
+ });
1776
+ }
1777
+ var bi = {
1778
+ name: "className",
1779
+ defaultValue: "",
1780
+ fn: function(t) {
1781
+ var n = t.popper.firstElementChild, r = function() {
1782
+ var p;
1783
+ return !!((p = t.props.render) != null && p.$$tippy);
1784
+ };
1785
+ function o() {
1786
+ if (t.props.className && !r()) {
1787
+ process.env.NODE_ENV !== "production" && console.warn(["@tippyjs/react: Cannot use `className` prop in conjunction with", "`render` prop. Place the className on the element you are", "rendering."].join(" "));
1788
+ return;
1789
+ }
1790
+ Qt(n, "add", t.props.className);
1791
+ }
1792
+ function a() {
1793
+ r() && Qt(n, "remove", t.props.className);
1794
+ }
1795
+ return {
1796
+ onCreate: o,
1797
+ onBeforeUpdate: a,
1798
+ onAfterUpdate: o
1799
+ };
1800
+ }
1801
+ };
1802
+ function wi(e) {
1803
+ function t(n) {
1804
+ var r = n.children, o = n.content, a = n.visible, c = n.singleton, p = n.render, u = n.reference, l = n.disabled, f = l === void 0 ? !1 : l, b = n.ignoreAttributes, E = b === void 0 ? !0 : b;
1805
+ n.__source, n.__self;
1806
+ var m = En(n, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]), w = a !== void 0, g = c !== void 0, y = pt(!1), D = y[0], j = y[1], N = pt({}), i = N[0], x = N[1], d = pt(), P = d[0], B = d[1], T = yi(function() {
1807
+ return {
1808
+ container: Jt(),
1809
+ renders: 1
1810
+ };
1811
+ }), C = Object.assign({
1812
+ ignoreAttributes: E
1813
+ }, m, {
1814
+ content: T.container
1815
+ });
1816
+ w && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(L) {
1817
+ C[L] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + L + "` prop in", "controlled mode (`visible` prop)"].join(" "));
1818
+ }), C.trigger = "manual", C.hideOnClick = !1), g && (f = !0);
1819
+ var M = C, $ = C.plugins || [];
1820
+ p && (M = Object.assign({}, C, {
1821
+ plugins: g && c.data != null ? [].concat($, [{
1822
+ fn: function() {
1823
+ return {
1824
+ onTrigger: function(I, V) {
1825
+ var k = c.data.children.find(function(W) {
1826
+ var H = W.instance;
1827
+ return H.reference === V.currentTarget;
1828
+ });
1829
+ I.state.$$activeSingletonInstance = k.instance, B(k.content);
1830
+ }
1831
+ };
1832
+ }
1833
+ }]) : $,
1834
+ render: function() {
1835
+ return {
1836
+ popper: T.container
1837
+ };
1838
+ }
1839
+ }));
1840
+ var R = [u].concat(r ? [r.type] : []);
1841
+ return mt(function() {
1842
+ var L = u;
1843
+ u && u.hasOwnProperty("current") && (L = u.current);
1844
+ var O = e(L || T.ref || Jt(), Object.assign({}, M, {
1845
+ plugins: [bi].concat(C.plugins || [])
1846
+ }));
1847
+ return T.instance = O, f && O.disable(), a && O.show(), g && c.hook({
1848
+ instance: O,
1849
+ content: o,
1850
+ props: M,
1851
+ setSingletonContent: B
1852
+ }), j(!0), function() {
1853
+ O.destroy(), c?.cleanup(O);
1854
+ };
1855
+ }, R), mt(function() {
1856
+ var L;
1857
+ if (T.renders === 1) {
1858
+ T.renders++;
1859
+ return;
1860
+ }
1861
+ var O = T.instance;
1862
+ O.setProps(gi(O.props, M)), (L = O.popperInstance) == null || L.forceUpdate(), f ? O.disable() : O.enable(), w && (a ? O.show() : O.hide()), g && c.hook({
1863
+ instance: O,
1864
+ content: o,
1865
+ props: M,
1866
+ setSingletonContent: B
1867
+ });
1868
+ }), mt(function() {
1869
+ var L;
1870
+ if (p) {
1871
+ var O = T.instance;
1872
+ O.setProps({
1873
+ popperOptions: Object.assign({}, O.props.popperOptions, {
1874
+ modifiers: [].concat((((L = O.props.popperOptions) == null ? void 0 : L.modifiers) || []).filter(function(I) {
1875
+ var V = I.name;
1876
+ return V !== "$$tippyReact";
1877
+ }), [{
1878
+ name: "$$tippyReact",
1879
+ enabled: !0,
1880
+ phase: "beforeWrite",
1881
+ requires: ["computeStyles"],
1882
+ fn: function(V) {
1883
+ var k, W = V.state, H = (k = W.modifiersData) == null ? void 0 : k.hide;
1884
+ (i.placement !== W.placement || i.referenceHidden !== H?.isReferenceHidden || i.escaped !== H?.hasPopperEscaped) && x({
1885
+ placement: W.placement,
1886
+ referenceHidden: H?.isReferenceHidden,
1887
+ escaped: H?.hasPopperEscaped
1888
+ }), W.attributes.popper = {};
1889
+ }
1890
+ }])
1891
+ })
1892
+ });
1893
+ }
1894
+ }, [i.placement, i.referenceHidden, i.escaped].concat(R)), /* @__PURE__ */ ht.createElement(ht.Fragment, null, r ? /* @__PURE__ */ Zt(r, {
1895
+ ref: function(O) {
1896
+ T.ref = O, Et(r.ref, O);
1897
+ }
1898
+ }) : null, D && /* @__PURE__ */ $n(p ? p(mi(i), P, T.instance) : o, T.container));
1899
+ }
1900
+ return t;
1901
+ }
1902
+ var Oi = function(e, t) {
1903
+ return /* @__PURE__ */ Pn(function(r, o) {
1904
+ var a = r.children, c = En(r, ["children"]);
1905
+ return (
1906
+ // If I spread them separately here, Babel adds the _extends ponyfill for
1907
+ // some reason
1908
+ /* @__PURE__ */ ht.createElement(e, Object.assign({}, t, c), a ? /* @__PURE__ */ Zt(a, {
1909
+ ref: function(u) {
1910
+ Et(o, u), Et(a.ref, u);
1911
+ }
1912
+ }) : null)
1913
+ );
1914
+ });
1915
+ }, Ei = /* @__PURE__ */ Oi(/* @__PURE__ */ wi(_e));
1916
+ const Ti = Ei;
1917
+ export {
1918
+ Ti as T
1919
+ };