@aussieljk/forkbook 0.0.1-3 → 0.0.1-5

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 (252) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +35 -53
  3. package/dist/_browser-chunks/{Color-PSH7RHPM.js → Color-GTF4GM7L.js} +4 -4
  4. package/dist/_browser-chunks/{WithTooltip-JLXUJSYD.js → WithTooltip-V55S6YCY.js} +2 -2
  5. package/dist/_browser-chunks/{chunk-PPZ2HCWJ.js → chunk-6ELMKWKX.js} +1 -1
  6. package/dist/_browser-chunks/{chunk-EE42XVSP.js → chunk-HOSBMS2F.js} +6 -6
  7. package/dist/_browser-chunks/{chunk-DCZTO4JJ.js → chunk-MJY6ITYT.js} +43 -43
  8. package/dist/_node-chunks/{attached-runtime-KZYKMMDD.js → attached-runtime-IOE3BXIY.js} +29 -29
  9. package/dist/_node-chunks/{builder-manager-337QQEZ6.js → builder-manager-GDFEGD72.js} +170 -215
  10. package/dist/_node-chunks/{chunk-AKF2FB7S.js → chunk-2GY2FKLH.js} +7 -7
  11. package/dist/_node-chunks/{chunk-6RQIIUDQ.js → chunk-3DCJB2D4.js} +6 -6
  12. package/dist/_node-chunks/{chunk-AJ3YH5VH.js → chunk-3DX6THMV.js} +8 -8
  13. package/dist/_node-chunks/{chunk-27KGUS37.js → chunk-45LRLOYO.js} +23 -23
  14. package/dist/_node-chunks/{chunk-HC2QE2VI.js → chunk-4WO3GNZQ.js} +6 -6
  15. package/dist/_node-chunks/{chunk-GURMTBQH.js → chunk-5KAJVK4E.js} +7 -7
  16. package/dist/_node-chunks/{chunk-HOROZKYE.js → chunk-5LE7GXEC.js} +6 -6
  17. package/dist/_node-chunks/{chunk-IGAYUOMN.js → chunk-6DOJKR3V.js} +10 -10
  18. package/dist/_node-chunks/{chunk-U2C4SK3A.js → chunk-6QQTZT3Z.js} +6 -6
  19. package/dist/_node-chunks/{chunk-OGQBLJGR.js → chunk-7TUSIVWS.js} +6 -6
  20. package/dist/_node-chunks/{chunk-DSHYY7ZB.js → chunk-7XUQM6SR.js} +14 -14
  21. package/dist/_node-chunks/{chunk-7QGX7Z6B.js → chunk-A4XRNDN4.js} +7 -7
  22. package/dist/_node-chunks/{chunk-WALLDPES.js → chunk-AAAUVDWT.js} +10 -10
  23. package/dist/_node-chunks/{chunk-KSOJ65P3.js → chunk-AX2ALHBK.js} +6 -6
  24. package/dist/_node-chunks/{chunk-WK5562IZ.js → chunk-AXG3EMKS.js} +6 -6
  25. package/dist/_node-chunks/{chunk-LMMUUQFW.js → chunk-AXJJB2K6.js} +8 -8
  26. package/dist/_node-chunks/{chunk-CHOJKLHP.js → chunk-AXQ6LLSE.js} +8 -8
  27. package/dist/_node-chunks/{chunk-LJ5HNC36.js → chunk-B2IOB2V3.js} +7 -7
  28. package/dist/_node-chunks/{chunk-S73KB2DE.js → chunk-BBD2KUV4.js} +19 -19
  29. package/dist/_node-chunks/{chunk-CVQGQ2MI.js → chunk-BFZG4UTW.js} +7 -7
  30. package/dist/_node-chunks/{chunk-SPN2VCN7.js → chunk-BRD332PB.js} +8 -8
  31. package/dist/_node-chunks/{chunk-DG3DK4ZH.js → chunk-BTFSFATC.js} +7 -7
  32. package/dist/_node-chunks/{chunk-R2ZIMVYL.js → chunk-BV3QRFE6.js} +6 -6
  33. package/dist/_node-chunks/{chunk-4ZHC3GG3.js → chunk-CGXW2HFE.js} +6 -6
  34. package/dist/_node-chunks/{chunk-MMMIVLRV.js → chunk-CK4EHW3K.js} +23 -23
  35. package/dist/_node-chunks/{chunk-CE66ARL5.js → chunk-D6B2DRQZ.js} +8 -8
  36. package/dist/_node-chunks/{chunk-4ZGNL77M.js → chunk-E2XKJLXK.js} +7 -7
  37. package/dist/_node-chunks/{chunk-LNOZLCJT.js → chunk-E4C2H45J.js} +6 -6
  38. package/dist/_node-chunks/{chunk-A6EXJJZU.js → chunk-E4TBS4MV.js} +8 -8
  39. package/dist/_node-chunks/{chunk-LEUTSNSA.js → chunk-E6KXSYWR.js} +6 -6
  40. package/dist/_node-chunks/{chunk-RKUAUXH6.js → chunk-ES5QZBSB.js} +6 -6
  41. package/dist/_node-chunks/{chunk-AKBNFQKK.js → chunk-EWAGCBER.js} +8 -8
  42. package/dist/_node-chunks/{chunk-MY7DHPSK.js → chunk-F2LQJXAB.js} +6 -6
  43. package/dist/_node-chunks/{chunk-SFPEJYWG.js → chunk-F4Q7OCCN.js} +8 -8
  44. package/dist/_node-chunks/{chunk-MZ4CONV4.js → chunk-FA36CEN4.js} +6 -6
  45. package/dist/_node-chunks/{chunk-7VZYI3NI.js → chunk-GR65OLAH.js} +7 -7
  46. package/dist/_node-chunks/{chunk-AQSROIPB.js → chunk-GS4VNNSS.js} +6 -6
  47. package/dist/_node-chunks/{chunk-EM3MZKXS.js → chunk-HCX5R46Q.js} +7 -7
  48. package/dist/_node-chunks/{chunk-OSE2FYQP.js → chunk-HWY2CAUH.js} +6 -6
  49. package/dist/_node-chunks/{chunk-U736OTI6.js → chunk-I3DKGHVD.js} +9 -9
  50. package/dist/_node-chunks/{chunk-APM5SEWT.js → chunk-J64XMUPF.js} +10 -10
  51. package/dist/_node-chunks/{chunk-T5D7JJMY.js → chunk-JJNO3SFI.js} +9 -9
  52. package/dist/_node-chunks/{chunk-QTRP6K2A.js → chunk-KCAPE7OJ.js} +6 -6
  53. package/dist/_node-chunks/{chunk-27HJO5MV.js → chunk-KQFHT7SW.js} +6 -6
  54. package/dist/_node-chunks/{chunk-26MVQWHR.js → chunk-L5CY6HKG.js} +7 -7
  55. package/dist/_node-chunks/{chunk-W6ZSSLD7.js → chunk-LCXIUTOU.js} +7 -7
  56. package/dist/_node-chunks/{chunk-UWLMMCBV.js → chunk-LSP54OYM.js} +8 -8
  57. package/dist/_node-chunks/{chunk-DI76R3EI.js → chunk-M2QB5ALN.js} +6 -6
  58. package/dist/_node-chunks/{chunk-PRXD2EYH.js → chunk-MCZZMBPA.js} +6 -6
  59. package/dist/_node-chunks/{chunk-TY2RQWQ7.js → chunk-MDGNN3FJ.js} +6 -6
  60. package/dist/_node-chunks/{chunk-YM5GSNOW.js → chunk-MHDKWHOA.js} +6 -6
  61. package/dist/_node-chunks/{chunk-HLT3PHJN.js → chunk-MMFUHYSU.js} +6 -6
  62. package/dist/_node-chunks/{chunk-US5P4ZWN.js → chunk-N4FLP7AO.js} +7 -7
  63. package/dist/_node-chunks/{chunk-XPSQ3CGZ.js → chunk-NDGTNFUN.js} +12 -12
  64. package/dist/_node-chunks/{chunk-2OI3EZE2.js → chunk-NYWD5LYM.js} +6 -6
  65. package/dist/_node-chunks/{chunk-2D7P5VUJ.js → chunk-OB2XHL53.js} +27 -27
  66. package/dist/_node-chunks/{chunk-QDZFSC26.js → chunk-OSJFTZ5N.js} +6 -6
  67. package/dist/_node-chunks/{chunk-EJ6XL2KN.js → chunk-OTFIQXHR.js} +12 -11
  68. package/dist/_node-chunks/{chunk-HS3YKDIQ.js → chunk-PHXCOTMO.js} +10 -10
  69. package/dist/_node-chunks/{chunk-J4WM6PLB.js → chunk-Q33BYVLY.js} +7 -7
  70. package/dist/_node-chunks/{chunk-SVRE646L.js → chunk-QQXFB4YA.js} +9 -9
  71. package/dist/_node-chunks/{chunk-4RSOZZZV.js → chunk-QZVFIEOM.js} +6 -6
  72. package/dist/_node-chunks/{chunk-WEQUS77K.js → chunk-RCPKLP3X.js} +7 -7
  73. package/dist/_node-chunks/{chunk-OMFATFOJ.js → chunk-RECGEABN.js} +7 -7
  74. package/dist/_node-chunks/{chunk-GTM64XRQ.js → chunk-SAAQFJL4.js} +6 -6
  75. package/dist/_node-chunks/{chunk-MCPP73WS.js → chunk-SDXU22OH.js} +6 -6
  76. package/dist/_node-chunks/{chunk-TZKXP2KS.js → chunk-SJZQ44OR.js} +6 -6
  77. package/dist/_node-chunks/{chunk-NF3GSBMC.js → chunk-SR3BCYEH.js} +6 -6
  78. package/dist/_node-chunks/{chunk-ANOZDFMW.js → chunk-SUJXQU74.js} +8 -8
  79. package/dist/_node-chunks/{chunk-ZZJRM4VQ.js → chunk-T2I453AJ.js} +7 -7
  80. package/dist/_node-chunks/{chunk-URBTH3SB.js → chunk-TYCDPVIH.js} +6 -6
  81. package/dist/_node-chunks/{chunk-CYPEPQSM.js → chunk-TZ2TZW2K.js} +6 -6
  82. package/dist/_node-chunks/{chunk-EYKTEH7V.js → chunk-U47PBQZ3.js} +10 -10
  83. package/dist/_node-chunks/chunk-UGFY5LEG.js +18 -0
  84. package/dist/_node-chunks/{chunk-D44WSSIU.js → chunk-UKEJISQU.js} +7 -7
  85. package/dist/_node-chunks/{chunk-OA6BPTG5.js → chunk-UM5G27IC.js} +7 -7
  86. package/dist/_node-chunks/{chunk-224FM5GP.js → chunk-UO5ZOCSQ.js} +8 -8
  87. package/dist/_node-chunks/{chunk-I7BJLOF5.js → chunk-UW35FCXF.js} +6 -6
  88. package/dist/_node-chunks/{chunk-CC4WWASR.js → chunk-V45RRBTK.js} +8 -8
  89. package/dist/_node-chunks/{chunk-JD5NDU6F.js → chunk-VBSVLIXU.js} +6 -6
  90. package/dist/_node-chunks/{chunk-HNCTPOQK.js → chunk-VJSOHPVD.js} +6 -6
  91. package/dist/_node-chunks/{chunk-RNZL535Q.js → chunk-VMUXW2E2.js} +12 -12
  92. package/dist/_node-chunks/{chunk-U3ZISTY3.js → chunk-VN3A5CEH.js} +7 -7
  93. package/dist/_node-chunks/{chunk-PT7NX73C.js → chunk-VNXE7UJL.js} +6 -6
  94. package/dist/_node-chunks/chunk-VRJJ43P2.js +11 -0
  95. package/dist/_node-chunks/{chunk-COJPWKDE.js → chunk-WCJUS7OC.js} +7 -7
  96. package/dist/_node-chunks/{chunk-TVYJB2XE.js → chunk-WHDCECIV.js} +7 -7
  97. package/dist/_node-chunks/{chunk-JQDKICKC.js → chunk-WMBMSNB7.js} +6 -6
  98. package/dist/_node-chunks/{chunk-V3WMH7C4.js → chunk-WMQ2VCTF.js} +7 -7
  99. package/dist/_node-chunks/{chunk-KGJPHNM7.js → chunk-XUHEL63G.js} +6 -6
  100. package/dist/_node-chunks/{chunk-N4DKR3HN.js → chunk-YLKS7U3M.js} +8 -8
  101. package/dist/_node-chunks/{chunk-RGAJGDCU.js → chunk-YTBTCM22.js} +6 -6
  102. package/dist/_node-chunks/{chunk-HG3U5FMZ.js → chunk-YV2QBXU6.js} +11 -25
  103. package/dist/_node-chunks/{chunk-34YSGPI4.js → chunk-ZPPVG262.js} +6 -6
  104. package/dist/_node-chunks/{chunk-TM4SF5U2.js → chunk-ZZNBVMBU.js} +7 -7
  105. package/dist/_node-chunks/dist-VFUGPNLK.js +16 -0
  106. package/dist/_node-chunks/{globby-7JAOKACZ.js → globby-N7LO32D3.js} +10 -10
  107. package/dist/_node-chunks/{jiti-NTDVBCL3.js → jiti-SJDZ7LQB.js} +7 -7
  108. package/dist/_node-chunks/{lib-GO6OUNCW.js → lib-4HD6QL5R.js} +7 -7
  109. package/dist/_node-chunks/{local-runtime-75CNASLU.js → local-runtime-RW6AAWSX.js} +20 -20
  110. package/dist/_node-chunks/{mdx-plugin-CC54EOSI.js → mdx-plugin-BKWCT6CB.js} +14 -14
  111. package/dist/_node-chunks/{monorepo-YQLAQDZJ.js → monorepo-ZFJ6HM34.js} +11 -11
  112. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js} +11 -11
  113. package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +22 -0
  114. package/dist/_node-chunks/{pattern-copy-play-IMDJHSAD.js → pattern-copy-play-2ZMJNCBS.js} +9 -9
  115. package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +20 -0
  116. package/dist/_node-chunks/{rehype-external-links-EZO7JZTZ.js → rehype-external-links-RT5Z62RV.js} +9 -9
  117. package/dist/_node-chunks/{rehype-slug-MECGIEGM.js → rehype-slug-H5TWHJ6G.js} +9 -9
  118. package/dist/_node-chunks/{relaxed-limits-4UOQIT3N.js → relaxed-limits-DYLWZGE4.js} +11 -11
  119. package/dist/_node-chunks/{run-LTXOQNKP.js → run-65LLGSVR.js} +13 -13
  120. package/dist/_node-chunks/{run-3YFS3YCP.js → run-BQQLK454.js} +17 -17
  121. package/dist/_node-chunks/session-id-6Z2RXBTG.js +23 -0
  122. package/dist/_node-chunks/{setup-2CNFOQBB.js → setup-NEO7XX66.js} +8 -8
  123. package/dist/_node-chunks/{vitest.config.4.template-MAPM7IJT.js → vitest.config.4.template-6P3FZQTY.js} +7 -7
  124. package/dist/addon-a11y/manager.js +28 -22
  125. package/dist/addon-a11y/preset.js +7 -7
  126. package/dist/addon-docs/blocks.js +41 -34
  127. package/dist/addon-docs/manager.js +3 -3
  128. package/dist/addon-docs/preset.js +10 -10
  129. package/dist/addon-links/preview.d.ts +1 -1
  130. package/dist/addon-mcp/preset.js +8 -8
  131. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +6 -5
  132. package/dist/addon-pseudo-states/manager.js +2 -2
  133. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  134. package/dist/addon-themes/manager.js +1 -1
  135. package/dist/addon-themes/postinstall.js +7 -7
  136. package/dist/addon-vitest/constants.js +8 -8
  137. package/dist/addon-vitest/manager.js +12 -12
  138. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  139. package/dist/addon-vitest/node/vitest.js +16 -16
  140. package/dist/addon-vitest/postinstall.js +10 -10
  141. package/dist/addon-vitest/preset.js +14 -14
  142. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  143. package/dist/addon-vitest/vitest-plugin/index.js +13 -13
  144. package/dist/babel/index.js +12 -12
  145. package/dist/bin/core.js +58 -58
  146. package/dist/bin/dispatcher.js +10 -10
  147. package/dist/bin/loader.js +8 -8
  148. package/dist/builder-vite/index.js +15 -15
  149. package/dist/builder-vite/preset.js +13 -13
  150. package/dist/{chunk-BYnH2sbb.d.ts → chunk-CZHsX9Zo.d.ts} +1 -1
  151. package/dist/{chunk-DvufcbCc.d.ts → chunk-Ce6uhJuR.d.ts} +1 -1
  152. package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
  153. package/dist/{chunk-DIz17UEJ.d.ts → chunk-DpljNJTz.d.ts} +1 -1
  154. package/dist/{chunk-DF6btpT3.d.ts → chunk-Jf7j2Ot0.d.ts} +1 -1
  155. package/dist/cli/index.d.ts +1 -1
  156. package/dist/cli/index.js +24 -24
  157. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  158. package/dist/cli/tools/sdk/child-host.js +17 -17
  159. package/dist/cli/tools/sdk/index.d.ts +1 -1
  160. package/dist/cli/tools/sdk/index.js +18 -18
  161. package/dist/cli-commands/bin/index.js +7 -7
  162. package/dist/common/index.d.ts +2 -2
  163. package/dist/common/index.js +37 -37
  164. package/dist/components/index.js +102 -102
  165. package/dist/core-events/index.d.ts +1 -1
  166. package/dist/core-server/index.d.ts +2 -2
  167. package/dist/core-server/index.js +71 -71
  168. package/dist/core-server/presets/common-manager.js +56 -50
  169. package/dist/core-server/presets/common-override-preset.js +9 -9
  170. package/dist/core-server/presets/common-preset.js +40 -40
  171. package/dist/create/bin/index.js +7 -7
  172. package/dist/create/index.js +15 -15
  173. package/dist/csf/index.d.ts +2 -2
  174. package/dist/csf-tools/index.js +12 -12
  175. package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-ALpzCL93.js} +2 -2
  176. package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
  177. package/dist/manager/_manager-chunks/globals-runtime-BcNHymiF.js +1960 -0
  178. package/dist/manager/_manager-chunks/globals-runtime-BgVwdR45.js +1396 -0
  179. package/dist/manager/_manager-chunks/globals-runtime-Bke4A4DG.js +2093 -0
  180. package/dist/manager/_manager-chunks/{globals-runtime-DkAPXCvc.js → globals-runtime-Bon7UvQk.js} +1 -1
  181. package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-CF4o9_wT.js} +1 -1
  182. package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-CTB3rhS1.js} +4 -4
  183. package/dist/manager/_manager-chunks/globals-runtime-CUBVmgcG.js +3414 -0
  184. package/dist/manager/_manager-chunks/{globals-runtime-CejY7Ueo.js → globals-runtime-CXKb33hg.js} +10 -10
  185. package/dist/manager/_manager-chunks/globals-runtime-CiLcg4q9.js +41 -0
  186. package/dist/manager/_manager-chunks/{globals-runtime-DGHmnlvz.js → globals-runtime-Cr3nYYcT.js} +241 -16
  187. package/dist/manager/_manager-chunks/globals-runtime-DCOX9nD5.js +462 -0
  188. package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +1584 -0
  189. package/dist/manager/_manager-chunks/{globals-runtime-C9lYPobZ.js → globals-runtime-DMvB3-IM.js} +90 -89
  190. package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-DW1HVuLt.js} +4 -4
  191. package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-D_YKR9nf.js} +3 -3
  192. package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-DqNrRmOM.js} +4 -4
  193. package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-m07udJ_K.js} +2 -2
  194. package/dist/manager/_manager-chunks/{globals-runtime-DH1Y5Kk_.js → globals-runtime-zVfMhZAt.js} +1 -1
  195. package/dist/manager/_manager-chunks/runtime-B-eSQdxk.js +691 -0
  196. package/dist/manager/_manager-chunks/{runtime-CcCplmkX.js → runtime-Bldwclun.js} +8 -8
  197. package/dist/manager/_manager-chunks/{runtime-B6gJfDvO.js → runtime-Cdz2BHhM.js} +33 -33
  198. package/dist/manager/_manager-chunks/{runtime-BzYARKgi.js → runtime-Cmu7D8A0.js} +219 -244
  199. package/dist/manager/_manager-chunks/{runtime-CaVSkVCV.js → runtime-CuJiHYCp.js} +1 -1
  200. package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +456 -0
  201. package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DGHNKNQl.js} +2 -2
  202. package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-DrjpEyLM.js} +3 -3
  203. package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-a5zd7km2.js} +3 -3
  204. package/dist/manager/globals-runtime.js +1 -1
  205. package/dist/manager/globals.d.ts +1 -1
  206. package/dist/manager/globals.js +1 -1
  207. package/dist/manager/runtime.js +1 -1
  208. package/dist/manager-api/index.d.ts +1 -1
  209. package/dist/manager-api/index.js +2 -2
  210. package/dist/manager-errors.d.ts +1 -1
  211. package/dist/mcp/index.js +8 -8
  212. package/dist/mocking-utils/index.js +9 -9
  213. package/dist/nextjs-vite/node/index.js +7 -7
  214. package/dist/nextjs-vite/preset.js +11 -11
  215. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  216. package/dist/nextjs-vite-plugin/index.js +8 -8
  217. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  218. package/dist/node-logger/index.js +9 -9
  219. package/dist/oxc-parser/index.js +10 -10
  220. package/dist/oxc-parser/worker.js +10 -10
  221. package/dist/preview-api/index.d.ts +1 -1
  222. package/dist/preview-errors.d.ts +1 -1
  223. package/dist/react/docgen/docgen-worker.js +12 -12
  224. package/dist/react/preset.js +14 -14
  225. package/dist/react-native/bin/get-stories.js +8 -8
  226. package/dist/react-native/metro/node.js +9 -9
  227. package/dist/react-native/metro/withStorybook.js +10 -10
  228. package/dist/react-native/scripts/generate.js +8 -8
  229. package/dist/react-native-theming/index.d.ts +2 -58
  230. package/dist/react-native-theming/index.js +6 -2276
  231. package/dist/react-native-ui/index.d.ts +6 -7
  232. package/dist/react-native-ui-common/index.d.ts +2 -3
  233. package/dist/react-vite/node/index.js +7 -7
  234. package/dist/react-vite/preset.js +7 -7
  235. package/dist/server-errors.d.ts +1 -1
  236. package/dist/server-errors.js +9 -9
  237. package/dist/shared/open-service/index.d.ts +1 -1
  238. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  239. package/dist/telemetry/index.js +45 -45
  240. package/dist/types/index.d.ts +1 -1
  241. package/package.json +6 -5
  242. package/dist/_node-chunks/chunk-22OJYYPD.js +0 -18
  243. package/dist/_node-chunks/chunk-U7MSJ3A6.js +0 -11
  244. package/dist/_node-chunks/dist-PLKLDZ2U.js +0 -16
  245. package/dist/_node-chunks/optimized-tests-L75JY37J.js +0 -22
  246. package/dist/_node-chunks/postinstallAddon-PSVXEIZJ.js +0 -20
  247. package/dist/_node-chunks/session-id-PEDFG544.js +0 -23
  248. package/dist/chunk-BxWufQms.d.ts +0 -142
  249. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
  250. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
  251. package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
  252. package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
@@ -0,0 +1,1584 @@
1
+ import { n as __esmMin } from "./globals-runtime-BdGkqNEt.js";
2
+ //#region ../../node_modules/@popperjs/core/lib/enums.js
3
+ var bottom, right, left, auto, basePlacements, start, clippingParents, viewport, popper, reference, variationPlacements, placements, beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite, modifierPhases;
4
+ function init_enums() {
5
+ return (init_enums = __esmMin((() => {
6
+ bottom = "bottom";
7
+ right = "right";
8
+ left = "left";
9
+ auto = "auto";
10
+ basePlacements = [
11
+ "top",
12
+ bottom,
13
+ right,
14
+ left
15
+ ];
16
+ start = "start";
17
+ clippingParents = "clippingParents";
18
+ viewport = "viewport";
19
+ popper = "popper";
20
+ reference = "reference";
21
+ variationPlacements = /*#__PURE__*/ basePlacements.reduce(function(acc, placement) {
22
+ return acc.concat([placement + "-" + start, placement + "-end"]);
23
+ }, []);
24
+ placements = /*#__PURE__*/ [].concat(basePlacements, [auto]).reduce(function(acc, placement) {
25
+ return acc.concat([
26
+ placement,
27
+ placement + "-" + start,
28
+ placement + "-end"
29
+ ]);
30
+ }, []);
31
+ beforeRead = "beforeRead";
32
+ read = "read";
33
+ afterRead = "afterRead";
34
+ beforeMain = "beforeMain";
35
+ main = "main";
36
+ afterMain = "afterMain";
37
+ beforeWrite = "beforeWrite";
38
+ write = "write";
39
+ afterWrite = "afterWrite";
40
+ modifierPhases = [
41
+ beforeRead,
42
+ read,
43
+ afterRead,
44
+ beforeMain,
45
+ main,
46
+ afterMain,
47
+ beforeWrite,
48
+ write,
49
+ afterWrite
50
+ ];
51
+ })))();
52
+ }
53
+ //#endregion
54
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
55
+ function getNodeName(element) {
56
+ return element ? (element.nodeName || "").toLowerCase() : null;
57
+ }
58
+ //#endregion
59
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js
60
+ function getWindow(node) {
61
+ if (node == null) return window;
62
+ if (node.toString() !== "[object Window]") {
63
+ var ownerDocument = node.ownerDocument;
64
+ return ownerDocument ? ownerDocument.defaultView || window : window;
65
+ }
66
+ return node;
67
+ }
68
+ //#endregion
69
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
70
+ function isElement(node) {
71
+ return node instanceof getWindow(node).Element || node instanceof Element;
72
+ }
73
+ function isHTMLElement(node) {
74
+ return node instanceof getWindow(node).HTMLElement || node instanceof HTMLElement;
75
+ }
76
+ function isShadowRoot(node) {
77
+ if (typeof ShadowRoot === "undefined") return false;
78
+ return node instanceof getWindow(node).ShadowRoot || node instanceof ShadowRoot;
79
+ }
80
+ function init_instanceOf() {
81
+ return (init_instanceOf = __esmMin((() => {})))();
82
+ }
83
+ //#endregion
84
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js
85
+ function applyStyles(_ref) {
86
+ var state = _ref.state;
87
+ Object.keys(state.elements).forEach(function(name) {
88
+ var style = state.styles[name] || {};
89
+ var attributes = state.attributes[name] || {};
90
+ var element = state.elements[name];
91
+ if (!isHTMLElement(element) || !getNodeName(element)) return;
92
+ Object.assign(element.style, style);
93
+ Object.keys(attributes).forEach(function(name) {
94
+ var value = attributes[name];
95
+ if (value === false) element.removeAttribute(name);
96
+ else element.setAttribute(name, value === true ? "" : value);
97
+ });
98
+ });
99
+ }
100
+ function effect$2(_ref2) {
101
+ var state = _ref2.state;
102
+ var initialStyles = {
103
+ popper: {
104
+ position: state.options.strategy,
105
+ left: "0",
106
+ top: "0",
107
+ margin: "0"
108
+ },
109
+ arrow: { position: "absolute" },
110
+ reference: {}
111
+ };
112
+ Object.assign(state.elements.popper.style, initialStyles.popper);
113
+ state.styles = initialStyles;
114
+ if (state.elements.arrow) Object.assign(state.elements.arrow.style, initialStyles.arrow);
115
+ return function() {
116
+ Object.keys(state.elements).forEach(function(name) {
117
+ var element = state.elements[name];
118
+ var attributes = state.attributes[name] || {};
119
+ var style = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]).reduce(function(style, property) {
120
+ style[property] = "";
121
+ return style;
122
+ }, {});
123
+ if (!isHTMLElement(element) || !getNodeName(element)) return;
124
+ Object.assign(element.style, style);
125
+ Object.keys(attributes).forEach(function(attribute) {
126
+ element.removeAttribute(attribute);
127
+ });
128
+ });
129
+ };
130
+ }
131
+ var applyStyles_default;
132
+ function init_applyStyles() {
133
+ return (init_applyStyles = __esmMin((() => {
134
+ init_instanceOf();
135
+ applyStyles_default = {
136
+ name: "applyStyles",
137
+ enabled: true,
138
+ phase: "write",
139
+ fn: applyStyles,
140
+ effect: effect$2,
141
+ requires: ["computeStyles"]
142
+ };
143
+ })))();
144
+ }
145
+ //#endregion
146
+ //#region ../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js
147
+ function getBasePlacement(placement) {
148
+ return placement.split("-")[0];
149
+ }
150
+ //#endregion
151
+ //#region ../../node_modules/@popperjs/core/lib/utils/math.js
152
+ var max, min, round;
153
+ function init_math() {
154
+ return (init_math = __esmMin((() => {
155
+ max = Math.max;
156
+ min = Math.min;
157
+ round = Math.round;
158
+ })))();
159
+ }
160
+ //#endregion
161
+ //#region ../../node_modules/@popperjs/core/lib/utils/userAgent.js
162
+ function getUAString() {
163
+ var uaData = navigator.userAgentData;
164
+ if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) return uaData.brands.map(function(item) {
165
+ return item.brand + "/" + item.version;
166
+ }).join(" ");
167
+ return navigator.userAgent;
168
+ }
169
+ //#endregion
170
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js
171
+ function isLayoutViewport() {
172
+ return !/^((?!chrome|android).)*safari/i.test(getUAString());
173
+ }
174
+ function init_isLayoutViewport() {
175
+ return (init_isLayoutViewport = __esmMin((() => {})))();
176
+ }
177
+ //#endregion
178
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
179
+ function getBoundingClientRect(element, includeScale, isFixedStrategy) {
180
+ if (includeScale === void 0) includeScale = false;
181
+ if (isFixedStrategy === void 0) isFixedStrategy = false;
182
+ var clientRect = element.getBoundingClientRect();
183
+ var scaleX = 1;
184
+ var scaleY = 1;
185
+ if (includeScale && isHTMLElement(element)) {
186
+ scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
187
+ scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
188
+ }
189
+ var visualViewport = (isElement(element) ? getWindow(element) : window).visualViewport;
190
+ var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
191
+ var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
192
+ var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
193
+ var width = clientRect.width / scaleX;
194
+ var height = clientRect.height / scaleY;
195
+ return {
196
+ width,
197
+ height,
198
+ top: y,
199
+ right: x + width,
200
+ bottom: y + height,
201
+ left: x,
202
+ x,
203
+ y
204
+ };
205
+ }
206
+ function init_getBoundingClientRect() {
207
+ return (init_getBoundingClientRect = __esmMin((() => {
208
+ init_instanceOf();
209
+ init_math();
210
+ init_isLayoutViewport();
211
+ })))();
212
+ }
213
+ //#endregion
214
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
215
+ function getLayoutRect(element) {
216
+ var clientRect = getBoundingClientRect(element);
217
+ var width = element.offsetWidth;
218
+ var height = element.offsetHeight;
219
+ if (Math.abs(clientRect.width - width) <= 1) width = clientRect.width;
220
+ if (Math.abs(clientRect.height - height) <= 1) height = clientRect.height;
221
+ return {
222
+ x: element.offsetLeft,
223
+ y: element.offsetTop,
224
+ width,
225
+ height
226
+ };
227
+ }
228
+ function init_getLayoutRect() {
229
+ return (init_getLayoutRect = __esmMin((() => {
230
+ init_getBoundingClientRect();
231
+ })))();
232
+ }
233
+ //#endregion
234
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/contains.js
235
+ function contains(parent, child) {
236
+ var rootNode = child.getRootNode && child.getRootNode();
237
+ if (parent.contains(child)) return true;
238
+ else if (rootNode && isShadowRoot(rootNode)) {
239
+ var next = child;
240
+ do {
241
+ if (next && parent.isSameNode(next)) return true;
242
+ next = next.parentNode || next.host;
243
+ } while (next);
244
+ }
245
+ return false;
246
+ }
247
+ function init_contains() {
248
+ return (init_contains = __esmMin((() => {
249
+ init_instanceOf();
250
+ })))();
251
+ }
252
+ //#endregion
253
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
254
+ function getComputedStyle(element) {
255
+ return getWindow(element).getComputedStyle(element);
256
+ }
257
+ function init_getComputedStyle() {
258
+ return (init_getComputedStyle = __esmMin((() => {})))();
259
+ }
260
+ //#endregion
261
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
262
+ function isTableElement(element) {
263
+ return [
264
+ "table",
265
+ "td",
266
+ "th"
267
+ ].indexOf(getNodeName(element)) >= 0;
268
+ }
269
+ function init_isTableElement() {
270
+ return (init_isTableElement = __esmMin((() => {})))();
271
+ }
272
+ //#endregion
273
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
274
+ function getDocumentElement(element) {
275
+ return ((isElement(element) ? element.ownerDocument : element.document) || window.document).documentElement;
276
+ }
277
+ function init_getDocumentElement() {
278
+ return (init_getDocumentElement = __esmMin((() => {
279
+ init_instanceOf();
280
+ })))();
281
+ }
282
+ //#endregion
283
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
284
+ function getParentNode(element) {
285
+ if (getNodeName(element) === "html") return element;
286
+ return element.assignedSlot || element.parentNode || (isShadowRoot(element) ? element.host : null) || getDocumentElement(element);
287
+ }
288
+ function init_getParentNode() {
289
+ return (init_getParentNode = __esmMin((() => {
290
+ init_getDocumentElement();
291
+ init_instanceOf();
292
+ })))();
293
+ }
294
+ //#endregion
295
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
296
+ function getTrueOffsetParent(element) {
297
+ if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") return null;
298
+ return element.offsetParent;
299
+ }
300
+ function getContainingBlock(element) {
301
+ var isFirefox = /firefox/i.test(getUAString());
302
+ if (/Trident/i.test(getUAString()) && isHTMLElement(element)) {
303
+ if (getComputedStyle(element).position === "fixed") return null;
304
+ }
305
+ var currentNode = getParentNode(element);
306
+ if (isShadowRoot(currentNode)) currentNode = currentNode.host;
307
+ while (isHTMLElement(currentNode) && ["html", "body"].indexOf(getNodeName(currentNode)) < 0) {
308
+ var css = getComputedStyle(currentNode);
309
+ if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") return currentNode;
310
+ else currentNode = currentNode.parentNode;
311
+ }
312
+ return null;
313
+ }
314
+ function getOffsetParent(element) {
315
+ var window = getWindow(element);
316
+ var offsetParent = getTrueOffsetParent(element);
317
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === "static") offsetParent = getTrueOffsetParent(offsetParent);
318
+ if (offsetParent && (getNodeName(offsetParent) === "html" || getNodeName(offsetParent) === "body" && getComputedStyle(offsetParent).position === "static")) return window;
319
+ return offsetParent || getContainingBlock(element) || window;
320
+ }
321
+ function init_getOffsetParent() {
322
+ return (init_getOffsetParent = __esmMin((() => {
323
+ init_getComputedStyle();
324
+ init_instanceOf();
325
+ init_isTableElement();
326
+ init_getParentNode();
327
+ })))();
328
+ }
329
+ //#endregion
330
+ //#region ../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
331
+ function getMainAxisFromPlacement(placement) {
332
+ return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
333
+ }
334
+ //#endregion
335
+ //#region ../../node_modules/@popperjs/core/lib/utils/within.js
336
+ function within(min$2, value, max$2) {
337
+ return max(min$2, min(value, max$2));
338
+ }
339
+ function withinMaxClamp(min, value, max) {
340
+ var v = within(min, value, max);
341
+ return v > max ? max : v;
342
+ }
343
+ function init_within() {
344
+ return (init_within = __esmMin((() => {
345
+ init_math();
346
+ })))();
347
+ }
348
+ //#endregion
349
+ //#region ../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
350
+ function getFreshSideObject() {
351
+ return {
352
+ top: 0,
353
+ right: 0,
354
+ bottom: 0,
355
+ left: 0
356
+ };
357
+ }
358
+ //#endregion
359
+ //#region ../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
360
+ function mergePaddingObject(paddingObject) {
361
+ return Object.assign({}, getFreshSideObject(), paddingObject);
362
+ }
363
+ function init_mergePaddingObject() {
364
+ return (init_mergePaddingObject = __esmMin((() => {})))();
365
+ }
366
+ //#endregion
367
+ //#region ../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js
368
+ function expandToHashMap(value, keys) {
369
+ return keys.reduce(function(hashMap, key) {
370
+ hashMap[key] = value;
371
+ return hashMap;
372
+ }, {});
373
+ }
374
+ //#endregion
375
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/arrow.js
376
+ function arrow(_ref) {
377
+ var _state$modifiersData$;
378
+ var state = _ref.state, name = _ref.name, options = _ref.options;
379
+ var arrowElement = state.elements.arrow;
380
+ var popperOffsets = state.modifiersData.popperOffsets;
381
+ var basePlacement = getBasePlacement(state.placement);
382
+ var axis = getMainAxisFromPlacement(basePlacement);
383
+ var len = ["left", "right"].indexOf(basePlacement) >= 0 ? "height" : "width";
384
+ if (!arrowElement || !popperOffsets) return;
385
+ var paddingObject = toPaddingObject(options.padding, state);
386
+ var arrowRect = getLayoutRect(arrowElement);
387
+ var minProp = axis === "y" ? "top" : left;
388
+ var maxProp = axis === "y" ? bottom : right;
389
+ var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
390
+ var startDiff = popperOffsets[axis] - state.rects.reference[axis];
391
+ var arrowOffsetParent = getOffsetParent(arrowElement);
392
+ var clientSize = arrowOffsetParent ? axis === "y" ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
393
+ var centerToReference = endDiff / 2 - startDiff / 2;
394
+ var min = paddingObject[minProp];
395
+ var max = clientSize - arrowRect[len] - paddingObject[maxProp];
396
+ var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
397
+ var offset = within(min, center, max);
398
+ var axisProp = axis;
399
+ state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
400
+ }
401
+ function effect$1(_ref2) {
402
+ var state = _ref2.state;
403
+ var _options$element = _ref2.options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
404
+ if (arrowElement == null) return;
405
+ if (typeof arrowElement === "string") {
406
+ arrowElement = state.elements.popper.querySelector(arrowElement);
407
+ if (!arrowElement) return;
408
+ }
409
+ if (!contains(state.elements.popper, arrowElement)) return;
410
+ state.elements.arrow = arrowElement;
411
+ }
412
+ var toPaddingObject, arrow_default;
413
+ function init_arrow() {
414
+ return (init_arrow = __esmMin((() => {
415
+ init_getLayoutRect();
416
+ init_contains();
417
+ init_getOffsetParent();
418
+ init_within();
419
+ init_mergePaddingObject();
420
+ init_enums();
421
+ toPaddingObject = function toPaddingObject(padding, state) {
422
+ padding = typeof padding === "function" ? padding(Object.assign({}, state.rects, { placement: state.placement })) : padding;
423
+ return mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
424
+ };
425
+ arrow_default = {
426
+ name: "arrow",
427
+ enabled: true,
428
+ phase: "main",
429
+ fn: arrow,
430
+ effect: effect$1,
431
+ requires: ["popperOffsets"],
432
+ requiresIfExists: ["preventOverflow"]
433
+ };
434
+ })))();
435
+ }
436
+ //#endregion
437
+ //#region ../../node_modules/@popperjs/core/lib/utils/getVariation.js
438
+ function getVariation(placement) {
439
+ return placement.split("-")[1];
440
+ }
441
+ //#endregion
442
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js
443
+ function roundOffsetsByDPR(_ref, win) {
444
+ var x = _ref.x, y = _ref.y;
445
+ var dpr = win.devicePixelRatio || 1;
446
+ return {
447
+ x: round(x * dpr) / dpr || 0,
448
+ y: round(y * dpr) / dpr || 0
449
+ };
450
+ }
451
+ function mapToStyles(_ref2) {
452
+ var _Object$assign2;
453
+ var popper = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
454
+ var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
455
+ var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
456
+ x,
457
+ y
458
+ }) : {
459
+ x,
460
+ y
461
+ };
462
+ x = _ref3.x;
463
+ y = _ref3.y;
464
+ var hasX = offsets.hasOwnProperty("x");
465
+ var hasY = offsets.hasOwnProperty("y");
466
+ var sideX = left;
467
+ var sideY = "top";
468
+ var win = window;
469
+ if (adaptive) {
470
+ var offsetParent = getOffsetParent(popper);
471
+ var heightProp = "clientHeight";
472
+ var widthProp = "clientWidth";
473
+ if (offsetParent === getWindow(popper)) {
474
+ offsetParent = getDocumentElement(popper);
475
+ if (getComputedStyle(offsetParent).position !== "static" && position === "absolute") {
476
+ heightProp = "scrollHeight";
477
+ widthProp = "scrollWidth";
478
+ }
479
+ }
480
+ offsetParent = offsetParent;
481
+ if (placement === "top" || (placement === "left" || placement === "right") && variation === "end") {
482
+ sideY = bottom;
483
+ var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : offsetParent[heightProp];
484
+ y -= offsetY - popperRect.height;
485
+ y *= gpuAcceleration ? 1 : -1;
486
+ }
487
+ if (placement === "left" || (placement === "top" || placement === "bottom") && variation === "end") {
488
+ sideX = right;
489
+ var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : offsetParent[widthProp];
490
+ x -= offsetX - popperRect.width;
491
+ x *= gpuAcceleration ? 1 : -1;
492
+ }
493
+ }
494
+ var commonStyles = Object.assign({ position }, adaptive && unsetSides);
495
+ var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
496
+ x,
497
+ y
498
+ }, getWindow(popper)) : {
499
+ x,
500
+ y
501
+ };
502
+ x = _ref4.x;
503
+ y = _ref4.y;
504
+ if (gpuAcceleration) {
505
+ var _Object$assign;
506
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
507
+ }
508
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
509
+ }
510
+ function computeStyles(_ref5) {
511
+ var state = _ref5.state, options = _ref5.options;
512
+ var _options$gpuAccelerat = options.gpuAcceleration, gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, _options$adaptive = options.adaptive, adaptive = _options$adaptive === void 0 ? true : _options$adaptive, _options$roundOffsets = options.roundOffsets, roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
513
+ var commonStyles = {
514
+ placement: getBasePlacement(state.placement),
515
+ variation: getVariation(state.placement),
516
+ popper: state.elements.popper,
517
+ popperRect: state.rects.popper,
518
+ gpuAcceleration,
519
+ isFixed: state.options.strategy === "fixed"
520
+ };
521
+ if (state.modifiersData.popperOffsets != null) state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
522
+ offsets: state.modifiersData.popperOffsets,
523
+ position: state.options.strategy,
524
+ adaptive,
525
+ roundOffsets
526
+ })));
527
+ if (state.modifiersData.arrow != null) state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
528
+ offsets: state.modifiersData.arrow,
529
+ position: "absolute",
530
+ adaptive: false,
531
+ roundOffsets
532
+ })));
533
+ state.attributes.popper = Object.assign({}, state.attributes.popper, { "data-popper-placement": state.placement });
534
+ }
535
+ var unsetSides, computeStyles_default;
536
+ function init_computeStyles() {
537
+ return (init_computeStyles = __esmMin((() => {
538
+ init_enums();
539
+ init_getOffsetParent();
540
+ init_getDocumentElement();
541
+ init_getComputedStyle();
542
+ init_math();
543
+ unsetSides = {
544
+ top: "auto",
545
+ right: "auto",
546
+ bottom: "auto",
547
+ left: "auto"
548
+ };
549
+ computeStyles_default = {
550
+ name: "computeStyles",
551
+ enabled: true,
552
+ phase: "beforeWrite",
553
+ fn: computeStyles,
554
+ data: {}
555
+ };
556
+ })))();
557
+ }
558
+ //#endregion
559
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js
560
+ function effect(_ref) {
561
+ var state = _ref.state, instance = _ref.instance, options = _ref.options;
562
+ var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize;
563
+ var window = getWindow(state.elements.popper);
564
+ var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
565
+ if (scroll) scrollParents.forEach(function(scrollParent) {
566
+ scrollParent.addEventListener("scroll", instance.update, passive);
567
+ });
568
+ if (resize) window.addEventListener("resize", instance.update, passive);
569
+ return function() {
570
+ if (scroll) scrollParents.forEach(function(scrollParent) {
571
+ scrollParent.removeEventListener("scroll", instance.update, passive);
572
+ });
573
+ if (resize) window.removeEventListener("resize", instance.update, passive);
574
+ };
575
+ }
576
+ var passive, eventListeners_default;
577
+ function init_eventListeners() {
578
+ return (init_eventListeners = __esmMin((() => {
579
+ passive = { passive: true };
580
+ eventListeners_default = {
581
+ name: "eventListeners",
582
+ enabled: true,
583
+ phase: "write",
584
+ fn: function fn() {},
585
+ effect,
586
+ data: {}
587
+ };
588
+ })))();
589
+ }
590
+ //#endregion
591
+ //#region ../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
592
+ function getOppositePlacement(placement) {
593
+ return placement.replace(/left|right|bottom|top/g, function(matched) {
594
+ return hash$1[matched];
595
+ });
596
+ }
597
+ var hash$1;
598
+ function init_getOppositePlacement() {
599
+ return (init_getOppositePlacement = __esmMin((() => {
600
+ hash$1 = {
601
+ left: "right",
602
+ right: "left",
603
+ bottom: "top",
604
+ top: "bottom"
605
+ };
606
+ })))();
607
+ }
608
+ //#endregion
609
+ //#region ../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
610
+ function getOppositeVariationPlacement(placement) {
611
+ return placement.replace(/start|end/g, function(matched) {
612
+ return hash[matched];
613
+ });
614
+ }
615
+ var hash;
616
+ function init_getOppositeVariationPlacement() {
617
+ return (init_getOppositeVariationPlacement = __esmMin((() => {
618
+ hash = {
619
+ start: "end",
620
+ end: "start"
621
+ };
622
+ })))();
623
+ }
624
+ //#endregion
625
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
626
+ function getWindowScroll(node) {
627
+ var win = getWindow(node);
628
+ return {
629
+ scrollLeft: win.pageXOffset,
630
+ scrollTop: win.pageYOffset
631
+ };
632
+ }
633
+ function init_getWindowScroll() {
634
+ return (init_getWindowScroll = __esmMin((() => {})))();
635
+ }
636
+ //#endregion
637
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
638
+ function getWindowScrollBarX(element) {
639
+ return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
640
+ }
641
+ function init_getWindowScrollBarX() {
642
+ return (init_getWindowScrollBarX = __esmMin((() => {
643
+ init_getBoundingClientRect();
644
+ init_getDocumentElement();
645
+ init_getWindowScroll();
646
+ })))();
647
+ }
648
+ //#endregion
649
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
650
+ function getViewportRect(element, strategy) {
651
+ var win = getWindow(element);
652
+ var html = getDocumentElement(element);
653
+ var visualViewport = win.visualViewport;
654
+ var width = html.clientWidth;
655
+ var height = html.clientHeight;
656
+ var x = 0;
657
+ var y = 0;
658
+ if (visualViewport) {
659
+ width = visualViewport.width;
660
+ height = visualViewport.height;
661
+ var layoutViewport = isLayoutViewport();
662
+ if (layoutViewport || !layoutViewport && strategy === "fixed") {
663
+ x = visualViewport.offsetLeft;
664
+ y = visualViewport.offsetTop;
665
+ }
666
+ }
667
+ return {
668
+ width,
669
+ height,
670
+ x: x + getWindowScrollBarX(element),
671
+ y
672
+ };
673
+ }
674
+ function init_getViewportRect() {
675
+ return (init_getViewportRect = __esmMin((() => {
676
+ init_getDocumentElement();
677
+ init_getWindowScrollBarX();
678
+ init_isLayoutViewport();
679
+ })))();
680
+ }
681
+ //#endregion
682
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
683
+ function getDocumentRect(element) {
684
+ var _element$ownerDocumen;
685
+ var html = getDocumentElement(element);
686
+ var winScroll = getWindowScroll(element);
687
+ var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
688
+ var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
689
+ var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
690
+ var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
691
+ var y = -winScroll.scrollTop;
692
+ if (getComputedStyle(body || html).direction === "rtl") x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
693
+ return {
694
+ width,
695
+ height,
696
+ x,
697
+ y
698
+ };
699
+ }
700
+ function init_getDocumentRect() {
701
+ return (init_getDocumentRect = __esmMin((() => {
702
+ init_getDocumentElement();
703
+ init_getComputedStyle();
704
+ init_getWindowScrollBarX();
705
+ init_getWindowScroll();
706
+ init_math();
707
+ })))();
708
+ }
709
+ //#endregion
710
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
711
+ function isScrollParent(element) {
712
+ var _getComputedStyle = getComputedStyle(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY;
713
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
714
+ }
715
+ function init_isScrollParent() {
716
+ return (init_isScrollParent = __esmMin((() => {
717
+ init_getComputedStyle();
718
+ })))();
719
+ }
720
+ //#endregion
721
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
722
+ function getScrollParent(node) {
723
+ if ([
724
+ "html",
725
+ "body",
726
+ "#document"
727
+ ].indexOf(getNodeName(node)) >= 0) return node.ownerDocument.body;
728
+ if (isHTMLElement(node) && isScrollParent(node)) return node;
729
+ return getScrollParent(getParentNode(node));
730
+ }
731
+ function init_getScrollParent() {
732
+ return (init_getScrollParent = __esmMin((() => {
733
+ init_getParentNode();
734
+ init_isScrollParent();
735
+ init_instanceOf();
736
+ })))();
737
+ }
738
+ //#endregion
739
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
740
+ function listScrollParents(element, list) {
741
+ var _element$ownerDocumen;
742
+ if (list === void 0) list = [];
743
+ var scrollParent = getScrollParent(element);
744
+ var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
745
+ var win = getWindow(scrollParent);
746
+ var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
747
+ var updatedList = list.concat(target);
748
+ return isBody ? updatedList : updatedList.concat(listScrollParents(getParentNode(target)));
749
+ }
750
+ function init_listScrollParents() {
751
+ return (init_listScrollParents = __esmMin((() => {
752
+ init_getScrollParent();
753
+ init_getParentNode();
754
+ init_isScrollParent();
755
+ })))();
756
+ }
757
+ //#endregion
758
+ //#region ../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js
759
+ function rectToClientRect(rect) {
760
+ return Object.assign({}, rect, {
761
+ left: rect.x,
762
+ top: rect.y,
763
+ right: rect.x + rect.width,
764
+ bottom: rect.y + rect.height
765
+ });
766
+ }
767
+ //#endregion
768
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
769
+ function getInnerBoundingClientRect(element, strategy) {
770
+ var rect = getBoundingClientRect(element, false, strategy === "fixed");
771
+ rect.top = rect.top + element.clientTop;
772
+ rect.left = rect.left + element.clientLeft;
773
+ rect.bottom = rect.top + element.clientHeight;
774
+ rect.right = rect.left + element.clientWidth;
775
+ rect.width = element.clientWidth;
776
+ rect.height = element.clientHeight;
777
+ rect.x = rect.left;
778
+ rect.y = rect.top;
779
+ return rect;
780
+ }
781
+ function getClientRectFromMixedType(element, clippingParent, strategy) {
782
+ return clippingParent === "viewport" ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
783
+ }
784
+ function getClippingParents(element) {
785
+ var clippingParents = listScrollParents(getParentNode(element));
786
+ var clipperElement = ["absolute", "fixed"].indexOf(getComputedStyle(element).position) >= 0 && isHTMLElement(element) ? getOffsetParent(element) : element;
787
+ if (!isElement(clipperElement)) return [];
788
+ return clippingParents.filter(function(clippingParent) {
789
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== "body";
790
+ });
791
+ }
792
+ function getClippingRect(element, boundary, rootBoundary, strategy) {
793
+ var mainClippingParents = boundary === "clippingParents" ? getClippingParents(element) : [].concat(boundary);
794
+ var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
795
+ var firstClippingParent = clippingParents[0];
796
+ var clippingRect = clippingParents.reduce(function(accRect, clippingParent) {
797
+ var rect = getClientRectFromMixedType(element, clippingParent, strategy);
798
+ accRect.top = max(rect.top, accRect.top);
799
+ accRect.right = min(rect.right, accRect.right);
800
+ accRect.bottom = min(rect.bottom, accRect.bottom);
801
+ accRect.left = max(rect.left, accRect.left);
802
+ return accRect;
803
+ }, getClientRectFromMixedType(element, firstClippingParent, strategy));
804
+ clippingRect.width = clippingRect.right - clippingRect.left;
805
+ clippingRect.height = clippingRect.bottom - clippingRect.top;
806
+ clippingRect.x = clippingRect.left;
807
+ clippingRect.y = clippingRect.top;
808
+ return clippingRect;
809
+ }
810
+ function init_getClippingRect() {
811
+ return (init_getClippingRect = __esmMin((() => {
812
+ init_enums();
813
+ init_getViewportRect();
814
+ init_getDocumentRect();
815
+ init_listScrollParents();
816
+ init_getOffsetParent();
817
+ init_getDocumentElement();
818
+ init_getComputedStyle();
819
+ init_instanceOf();
820
+ init_getBoundingClientRect();
821
+ init_getParentNode();
822
+ init_contains();
823
+ init_math();
824
+ })))();
825
+ }
826
+ //#endregion
827
+ //#region ../../node_modules/@popperjs/core/lib/utils/computeOffsets.js
828
+ function computeOffsets(_ref) {
829
+ var reference = _ref.reference, element = _ref.element, placement = _ref.placement;
830
+ var basePlacement = placement ? getBasePlacement(placement) : null;
831
+ var variation = placement ? getVariation(placement) : null;
832
+ var commonX = reference.x + reference.width / 2 - element.width / 2;
833
+ var commonY = reference.y + reference.height / 2 - element.height / 2;
834
+ var offsets;
835
+ switch (basePlacement) {
836
+ case "top":
837
+ offsets = {
838
+ x: commonX,
839
+ y: reference.y - element.height
840
+ };
841
+ break;
842
+ case bottom:
843
+ offsets = {
844
+ x: commonX,
845
+ y: reference.y + reference.height
846
+ };
847
+ break;
848
+ case right:
849
+ offsets = {
850
+ x: reference.x + reference.width,
851
+ y: commonY
852
+ };
853
+ break;
854
+ case left:
855
+ offsets = {
856
+ x: reference.x - element.width,
857
+ y: commonY
858
+ };
859
+ break;
860
+ default: offsets = {
861
+ x: reference.x,
862
+ y: reference.y
863
+ };
864
+ }
865
+ var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
866
+ if (mainAxis != null) {
867
+ var len = mainAxis === "y" ? "height" : "width";
868
+ switch (variation) {
869
+ case start:
870
+ offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
871
+ break;
872
+ case "end": offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
873
+ }
874
+ }
875
+ return offsets;
876
+ }
877
+ function init_computeOffsets() {
878
+ return (init_computeOffsets = __esmMin((() => {
879
+ init_enums();
880
+ })))();
881
+ }
882
+ //#endregion
883
+ //#region ../../node_modules/@popperjs/core/lib/utils/detectOverflow.js
884
+ function detectOverflow(state, options) {
885
+ if (options === void 0) options = {};
886
+ var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$strategy = _options.strategy, strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
887
+ var paddingObject = mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
888
+ var altContext = elementContext === "popper" ? reference : popper;
889
+ var popperRect = state.rects.popper;
890
+ var element = state.elements[altBoundary ? altContext : elementContext];
891
+ var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
892
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
893
+ var popperOffsets = computeOffsets({
894
+ reference: referenceClientRect,
895
+ element: popperRect,
896
+ strategy: "absolute",
897
+ placement
898
+ });
899
+ var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
900
+ var elementClientRect = elementContext === "popper" ? popperClientRect : referenceClientRect;
901
+ var overflowOffsets = {
902
+ top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
903
+ bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
904
+ left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
905
+ right: elementClientRect.right - clippingClientRect.right + paddingObject.right
906
+ };
907
+ var offsetData = state.modifiersData.offset;
908
+ if (elementContext === "popper" && offsetData) {
909
+ var offset = offsetData[placement];
910
+ Object.keys(overflowOffsets).forEach(function(key) {
911
+ var multiply = ["right", "bottom"].indexOf(key) >= 0 ? 1 : -1;
912
+ var axis = ["top", "bottom"].indexOf(key) >= 0 ? "y" : "x";
913
+ overflowOffsets[key] += offset[axis] * multiply;
914
+ });
915
+ }
916
+ return overflowOffsets;
917
+ }
918
+ function init_detectOverflow() {
919
+ return (init_detectOverflow = __esmMin((() => {
920
+ init_getClippingRect();
921
+ init_getDocumentElement();
922
+ init_getBoundingClientRect();
923
+ init_computeOffsets();
924
+ init_enums();
925
+ init_instanceOf();
926
+ init_mergePaddingObject();
927
+ })))();
928
+ }
929
+ //#endregion
930
+ //#region ../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
931
+ function computeAutoPlacement(state, options) {
932
+ if (options === void 0) options = {};
933
+ var _options = options, placement = _options.placement, boundary = _options.boundary, rootBoundary = _options.rootBoundary, padding = _options.padding, flipVariations = _options.flipVariations, _options$allowedAutoP = _options.allowedAutoPlacements, allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
934
+ var variation = getVariation(placement);
935
+ var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function(placement) {
936
+ return getVariation(placement) === variation;
937
+ }) : basePlacements;
938
+ var allowedPlacements = placements$1.filter(function(placement) {
939
+ return allowedAutoPlacements.indexOf(placement) >= 0;
940
+ });
941
+ if (allowedPlacements.length === 0) allowedPlacements = placements$1;
942
+ var overflows = allowedPlacements.reduce(function(acc, placement) {
943
+ acc[placement] = detectOverflow(state, {
944
+ placement,
945
+ boundary,
946
+ rootBoundary,
947
+ padding
948
+ })[getBasePlacement(placement)];
949
+ return acc;
950
+ }, {});
951
+ return Object.keys(overflows).sort(function(a, b) {
952
+ return overflows[a] - overflows[b];
953
+ });
954
+ }
955
+ function init_computeAutoPlacement() {
956
+ return (init_computeAutoPlacement = __esmMin((() => {
957
+ init_enums();
958
+ init_detectOverflow();
959
+ })))();
960
+ }
961
+ //#endregion
962
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/flip.js
963
+ function getExpandedFallbackPlacements(placement) {
964
+ if (getBasePlacement(placement) === "auto") return [];
965
+ var oppositePlacement = getOppositePlacement(placement);
966
+ return [
967
+ getOppositeVariationPlacement(placement),
968
+ oppositePlacement,
969
+ getOppositeVariationPlacement(oppositePlacement)
970
+ ];
971
+ }
972
+ function flip(_ref) {
973
+ var state = _ref.state, options = _ref.options, name = _ref.name;
974
+ if (state.modifiersData[name]._skip) return;
975
+ var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, specifiedFallbackPlacements = options.fallbackPlacements, padding = options.padding, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, _options$flipVariatio = options.flipVariations, flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, allowedAutoPlacements = options.allowedAutoPlacements;
976
+ var preferredPlacement = state.options.placement;
977
+ var isBasePlacement = getBasePlacement(preferredPlacement) === preferredPlacement;
978
+ var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
979
+ var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function(acc, placement) {
980
+ return acc.concat(getBasePlacement(placement) === "auto" ? computeAutoPlacement(state, {
981
+ placement,
982
+ boundary,
983
+ rootBoundary,
984
+ padding,
985
+ flipVariations,
986
+ allowedAutoPlacements
987
+ }) : placement);
988
+ }, []);
989
+ var referenceRect = state.rects.reference;
990
+ var popperRect = state.rects.popper;
991
+ var checksMap = /* @__PURE__ */ new Map();
992
+ var makeFallbackChecks = true;
993
+ var firstFittingPlacement = placements[0];
994
+ for (var i = 0; i < placements.length; i++) {
995
+ var placement = placements[i];
996
+ var _basePlacement = getBasePlacement(placement);
997
+ var isStartVariation = getVariation(placement) === start;
998
+ var isVertical = ["top", bottom].indexOf(_basePlacement) >= 0;
999
+ var len = isVertical ? "width" : "height";
1000
+ var overflow = detectOverflow(state, {
1001
+ placement,
1002
+ boundary,
1003
+ rootBoundary,
1004
+ altBoundary,
1005
+ padding
1006
+ });
1007
+ var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : "top";
1008
+ if (referenceRect[len] > popperRect[len]) mainVariationSide = getOppositePlacement(mainVariationSide);
1009
+ var altVariationSide = getOppositePlacement(mainVariationSide);
1010
+ var checks = [];
1011
+ if (checkMainAxis) checks.push(overflow[_basePlacement] <= 0);
1012
+ if (checkAltAxis) checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
1013
+ if (checks.every(function(check) {
1014
+ return check;
1015
+ })) {
1016
+ firstFittingPlacement = placement;
1017
+ makeFallbackChecks = false;
1018
+ break;
1019
+ }
1020
+ checksMap.set(placement, checks);
1021
+ }
1022
+ if (makeFallbackChecks) {
1023
+ var numberOfChecks = flipVariations ? 3 : 1;
1024
+ var _loop = function _loop(_i) {
1025
+ var fittingPlacement = placements.find(function(placement) {
1026
+ var checks = checksMap.get(placement);
1027
+ if (checks) return checks.slice(0, _i).every(function(check) {
1028
+ return check;
1029
+ });
1030
+ });
1031
+ if (fittingPlacement) {
1032
+ firstFittingPlacement = fittingPlacement;
1033
+ return "break";
1034
+ }
1035
+ };
1036
+ for (var _i = numberOfChecks; _i > 0; _i--) if (_loop(_i) === "break") break;
1037
+ }
1038
+ if (state.placement !== firstFittingPlacement) {
1039
+ state.modifiersData[name]._skip = true;
1040
+ state.placement = firstFittingPlacement;
1041
+ state.reset = true;
1042
+ }
1043
+ }
1044
+ var flip_default;
1045
+ function init_flip() {
1046
+ return (init_flip = __esmMin((() => {
1047
+ init_getOppositePlacement();
1048
+ init_getOppositeVariationPlacement();
1049
+ init_detectOverflow();
1050
+ init_computeAutoPlacement();
1051
+ init_enums();
1052
+ flip_default = {
1053
+ name: "flip",
1054
+ enabled: true,
1055
+ phase: "main",
1056
+ fn: flip,
1057
+ requiresIfExists: ["offset"],
1058
+ data: { _skip: false }
1059
+ };
1060
+ })))();
1061
+ }
1062
+ //#endregion
1063
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/hide.js
1064
+ function getSideOffsets(overflow, rect, preventedOffsets) {
1065
+ if (preventedOffsets === void 0) preventedOffsets = {
1066
+ x: 0,
1067
+ y: 0
1068
+ };
1069
+ return {
1070
+ top: overflow.top - rect.height - preventedOffsets.y,
1071
+ right: overflow.right - rect.width + preventedOffsets.x,
1072
+ bottom: overflow.bottom - rect.height + preventedOffsets.y,
1073
+ left: overflow.left - rect.width - preventedOffsets.x
1074
+ };
1075
+ }
1076
+ function isAnySideFullyClipped(overflow) {
1077
+ return [
1078
+ "top",
1079
+ right,
1080
+ bottom,
1081
+ left
1082
+ ].some(function(side) {
1083
+ return overflow[side] >= 0;
1084
+ });
1085
+ }
1086
+ function hide(_ref) {
1087
+ var state = _ref.state, name = _ref.name;
1088
+ var referenceRect = state.rects.reference;
1089
+ var popperRect = state.rects.popper;
1090
+ var preventedOffsets = state.modifiersData.preventOverflow;
1091
+ var referenceOverflow = detectOverflow(state, { elementContext: "reference" });
1092
+ var popperAltOverflow = detectOverflow(state, { altBoundary: true });
1093
+ var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
1094
+ var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
1095
+ var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
1096
+ var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
1097
+ state.modifiersData[name] = {
1098
+ referenceClippingOffsets,
1099
+ popperEscapeOffsets,
1100
+ isReferenceHidden,
1101
+ hasPopperEscaped
1102
+ };
1103
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
1104
+ "data-popper-reference-hidden": isReferenceHidden,
1105
+ "data-popper-escaped": hasPopperEscaped
1106
+ });
1107
+ }
1108
+ var hide_default;
1109
+ function init_hide() {
1110
+ return (init_hide = __esmMin((() => {
1111
+ init_enums();
1112
+ init_detectOverflow();
1113
+ hide_default = {
1114
+ name: "hide",
1115
+ enabled: true,
1116
+ phase: "main",
1117
+ requiresIfExists: ["preventOverflow"],
1118
+ fn: hide
1119
+ };
1120
+ })))();
1121
+ }
1122
+ //#endregion
1123
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/offset.js
1124
+ function distanceAndSkiddingToXY(placement, rects, offset) {
1125
+ var basePlacement = getBasePlacement(placement);
1126
+ var invertDistance = ["left", "top"].indexOf(basePlacement) >= 0 ? -1 : 1;
1127
+ var _ref = typeof offset === "function" ? offset(Object.assign({}, rects, { placement })) : offset, skidding = _ref[0], distance = _ref[1];
1128
+ skidding = skidding || 0;
1129
+ distance = (distance || 0) * invertDistance;
1130
+ return ["left", "right"].indexOf(basePlacement) >= 0 ? {
1131
+ x: distance,
1132
+ y: skidding
1133
+ } : {
1134
+ x: skidding,
1135
+ y: distance
1136
+ };
1137
+ }
1138
+ function offset(_ref2) {
1139
+ var state = _ref2.state, options = _ref2.options, name = _ref2.name;
1140
+ var _options$offset = options.offset, offset = _options$offset === void 0 ? [0, 0] : _options$offset;
1141
+ var data = placements.reduce(function(acc, placement) {
1142
+ acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
1143
+ return acc;
1144
+ }, {});
1145
+ var _data$state$placement = data[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
1146
+ if (state.modifiersData.popperOffsets != null) {
1147
+ state.modifiersData.popperOffsets.x += x;
1148
+ state.modifiersData.popperOffsets.y += y;
1149
+ }
1150
+ state.modifiersData[name] = data;
1151
+ }
1152
+ var offset_default;
1153
+ function init_offset() {
1154
+ return (init_offset = __esmMin((() => {
1155
+ init_enums();
1156
+ offset_default = {
1157
+ name: "offset",
1158
+ enabled: true,
1159
+ phase: "main",
1160
+ requires: ["popperOffsets"],
1161
+ fn: offset
1162
+ };
1163
+ })))();
1164
+ }
1165
+ //#endregion
1166
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
1167
+ function popperOffsets(_ref) {
1168
+ var state = _ref.state, name = _ref.name;
1169
+ state.modifiersData[name] = computeOffsets({
1170
+ reference: state.rects.reference,
1171
+ element: state.rects.popper,
1172
+ strategy: "absolute",
1173
+ placement: state.placement
1174
+ });
1175
+ }
1176
+ var popperOffsets_default;
1177
+ function init_popperOffsets() {
1178
+ return (init_popperOffsets = __esmMin((() => {
1179
+ init_computeOffsets();
1180
+ popperOffsets_default = {
1181
+ name: "popperOffsets",
1182
+ enabled: true,
1183
+ phase: "read",
1184
+ fn: popperOffsets,
1185
+ data: {}
1186
+ };
1187
+ })))();
1188
+ }
1189
+ //#endregion
1190
+ //#region ../../node_modules/@popperjs/core/lib/utils/getAltAxis.js
1191
+ function getAltAxis(axis) {
1192
+ return axis === "x" ? "y" : "x";
1193
+ }
1194
+ //#endregion
1195
+ //#region ../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
1196
+ function preventOverflow(_ref) {
1197
+ var state = _ref.state, options = _ref.options, name = _ref.name;
1198
+ var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
1199
+ var overflow = detectOverflow(state, {
1200
+ boundary,
1201
+ rootBoundary,
1202
+ padding,
1203
+ altBoundary
1204
+ });
1205
+ var basePlacement = getBasePlacement(state.placement);
1206
+ var variation = getVariation(state.placement);
1207
+ var isBasePlacement = !variation;
1208
+ var mainAxis = getMainAxisFromPlacement(basePlacement);
1209
+ var altAxis = getAltAxis(mainAxis);
1210
+ var popperOffsets = state.modifiersData.popperOffsets;
1211
+ var referenceRect = state.rects.reference;
1212
+ var popperRect = state.rects.popper;
1213
+ var tetherOffsetValue = typeof tetherOffset === "function" ? tetherOffset(Object.assign({}, state.rects, { placement: state.placement })) : tetherOffset;
1214
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === "number" ? {
1215
+ mainAxis: tetherOffsetValue,
1216
+ altAxis: tetherOffsetValue
1217
+ } : Object.assign({
1218
+ mainAxis: 0,
1219
+ altAxis: 0
1220
+ }, tetherOffsetValue);
1221
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
1222
+ var data = {
1223
+ x: 0,
1224
+ y: 0
1225
+ };
1226
+ if (!popperOffsets) return;
1227
+ if (checkMainAxis) {
1228
+ var _offsetModifierState$;
1229
+ var mainSide = mainAxis === "y" ? "top" : left;
1230
+ var altSide = mainAxis === "y" ? bottom : right;
1231
+ var len = mainAxis === "y" ? "height" : "width";
1232
+ var offset = popperOffsets[mainAxis];
1233
+ var min$1 = offset + overflow[mainSide];
1234
+ var max$1 = offset - overflow[altSide];
1235
+ var additive = tether ? -popperRect[len] / 2 : 0;
1236
+ var minLen = variation === "start" ? referenceRect[len] : popperRect[len];
1237
+ var maxLen = variation === "start" ? -popperRect[len] : -referenceRect[len];
1238
+ var arrowElement = state.elements.arrow;
1239
+ var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
1240
+ width: 0,
1241
+ height: 0
1242
+ };
1243
+ var arrowPaddingObject = state.modifiersData["arrow#persistent"] ? state.modifiersData["arrow#persistent"].padding : getFreshSideObject();
1244
+ var arrowPaddingMin = arrowPaddingObject[mainSide];
1245
+ var arrowPaddingMax = arrowPaddingObject[altSide];
1246
+ var arrowLen = within(0, referenceRect[len], arrowRect[len]);
1247
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
1248
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
1249
+ var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
1250
+ var clientOffset = arrowOffsetParent ? mainAxis === "y" ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
1251
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
1252
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
1253
+ var tetherMax = offset + maxOffset - offsetModifierValue;
1254
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
1255
+ popperOffsets[mainAxis] = preventedOffset;
1256
+ data[mainAxis] = preventedOffset - offset;
1257
+ }
1258
+ if (checkAltAxis) {
1259
+ var _offsetModifierState$2;
1260
+ var _mainSide = mainAxis === "x" ? "top" : left;
1261
+ var _altSide = mainAxis === "x" ? bottom : right;
1262
+ var _offset = popperOffsets[altAxis];
1263
+ var _len = altAxis === "y" ? "height" : "width";
1264
+ var _min = _offset + overflow[_mainSide];
1265
+ var _max = _offset - overflow[_altSide];
1266
+ var isOriginSide = ["top", left].indexOf(basePlacement) !== -1;
1267
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
1268
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
1269
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
1270
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
1271
+ popperOffsets[altAxis] = _preventedOffset;
1272
+ data[altAxis] = _preventedOffset - _offset;
1273
+ }
1274
+ state.modifiersData[name] = data;
1275
+ }
1276
+ var preventOverflow_default;
1277
+ function init_preventOverflow() {
1278
+ return (init_preventOverflow = __esmMin((() => {
1279
+ init_enums();
1280
+ init_within();
1281
+ init_getLayoutRect();
1282
+ init_getOffsetParent();
1283
+ init_detectOverflow();
1284
+ init_math();
1285
+ preventOverflow_default = {
1286
+ name: "preventOverflow",
1287
+ enabled: true,
1288
+ phase: "main",
1289
+ fn: preventOverflow,
1290
+ requiresIfExists: ["offset"]
1291
+ };
1292
+ })))();
1293
+ }
1294
+ //#endregion
1295
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
1296
+ function getHTMLElementScroll(element) {
1297
+ return {
1298
+ scrollLeft: element.scrollLeft,
1299
+ scrollTop: element.scrollTop
1300
+ };
1301
+ }
1302
+ //#endregion
1303
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
1304
+ function getNodeScroll(node) {
1305
+ if (node === getWindow(node) || !isHTMLElement(node)) return getWindowScroll(node);
1306
+ else return getHTMLElementScroll(node);
1307
+ }
1308
+ function init_getNodeScroll() {
1309
+ return (init_getNodeScroll = __esmMin((() => {
1310
+ init_getWindowScroll();
1311
+ init_instanceOf();
1312
+ })))();
1313
+ }
1314
+ //#endregion
1315
+ //#region ../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
1316
+ function isElementScaled(element) {
1317
+ var rect = element.getBoundingClientRect();
1318
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
1319
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
1320
+ return scaleX !== 1 || scaleY !== 1;
1321
+ }
1322
+ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
1323
+ if (isFixed === void 0) isFixed = false;
1324
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
1325
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
1326
+ var documentElement = getDocumentElement(offsetParent);
1327
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
1328
+ var scroll = {
1329
+ scrollLeft: 0,
1330
+ scrollTop: 0
1331
+ };
1332
+ var offsets = {
1333
+ x: 0,
1334
+ y: 0
1335
+ };
1336
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1337
+ if (getNodeName(offsetParent) !== "body" || isScrollParent(documentElement)) scroll = getNodeScroll(offsetParent);
1338
+ if (isHTMLElement(offsetParent)) {
1339
+ offsets = getBoundingClientRect(offsetParent, true);
1340
+ offsets.x += offsetParent.clientLeft;
1341
+ offsets.y += offsetParent.clientTop;
1342
+ } else if (documentElement) offsets.x = getWindowScrollBarX(documentElement);
1343
+ }
1344
+ return {
1345
+ x: rect.left + scroll.scrollLeft - offsets.x,
1346
+ y: rect.top + scroll.scrollTop - offsets.y,
1347
+ width: rect.width,
1348
+ height: rect.height
1349
+ };
1350
+ }
1351
+ function init_getCompositeRect() {
1352
+ return (init_getCompositeRect = __esmMin((() => {
1353
+ init_getBoundingClientRect();
1354
+ init_getNodeScroll();
1355
+ init_instanceOf();
1356
+ init_getWindowScrollBarX();
1357
+ init_getDocumentElement();
1358
+ init_isScrollParent();
1359
+ init_math();
1360
+ })))();
1361
+ }
1362
+ //#endregion
1363
+ //#region ../../node_modules/@popperjs/core/lib/utils/orderModifiers.js
1364
+ function order(modifiers) {
1365
+ var map = /* @__PURE__ */ new Map();
1366
+ var visited = /* @__PURE__ */ new Set();
1367
+ var result = [];
1368
+ modifiers.forEach(function(modifier) {
1369
+ map.set(modifier.name, modifier);
1370
+ });
1371
+ function sort(modifier) {
1372
+ visited.add(modifier.name);
1373
+ [].concat(modifier.requires || [], modifier.requiresIfExists || []).forEach(function(dep) {
1374
+ if (!visited.has(dep)) {
1375
+ var depModifier = map.get(dep);
1376
+ if (depModifier) sort(depModifier);
1377
+ }
1378
+ });
1379
+ result.push(modifier);
1380
+ }
1381
+ modifiers.forEach(function(modifier) {
1382
+ if (!visited.has(modifier.name)) sort(modifier);
1383
+ });
1384
+ return result;
1385
+ }
1386
+ function orderModifiers(modifiers) {
1387
+ var orderedModifiers = order(modifiers);
1388
+ return modifierPhases.reduce(function(acc, phase) {
1389
+ return acc.concat(orderedModifiers.filter(function(modifier) {
1390
+ return modifier.phase === phase;
1391
+ }));
1392
+ }, []);
1393
+ }
1394
+ function init_orderModifiers() {
1395
+ return (init_orderModifiers = __esmMin((() => {
1396
+ init_enums();
1397
+ })))();
1398
+ }
1399
+ //#endregion
1400
+ //#region ../../node_modules/@popperjs/core/lib/utils/debounce.js
1401
+ function debounce(fn) {
1402
+ var pending;
1403
+ return function() {
1404
+ if (!pending) pending = new Promise(function(resolve) {
1405
+ Promise.resolve().then(function() {
1406
+ pending = void 0;
1407
+ resolve(fn());
1408
+ });
1409
+ });
1410
+ return pending;
1411
+ };
1412
+ }
1413
+ //#endregion
1414
+ //#region ../../node_modules/@popperjs/core/lib/utils/mergeByName.js
1415
+ function mergeByName(modifiers) {
1416
+ var merged = modifiers.reduce(function(merged, current) {
1417
+ var existing = merged[current.name];
1418
+ merged[current.name] = existing ? Object.assign({}, existing, current, {
1419
+ options: Object.assign({}, existing.options, current.options),
1420
+ data: Object.assign({}, existing.data, current.data)
1421
+ }) : current;
1422
+ return merged;
1423
+ }, {});
1424
+ return Object.keys(merged).map(function(key) {
1425
+ return merged[key];
1426
+ });
1427
+ }
1428
+ //#endregion
1429
+ //#region ../../node_modules/@popperjs/core/lib/createPopper.js
1430
+ function areValidElements() {
1431
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
1432
+ return !args.some(function(element) {
1433
+ return !(element && typeof element.getBoundingClientRect === "function");
1434
+ });
1435
+ }
1436
+ function popperGenerator(generatorOptions) {
1437
+ if (generatorOptions === void 0) generatorOptions = {};
1438
+ var _generatorOptions = generatorOptions, _generatorOptions$def = _generatorOptions.defaultModifiers, defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, _generatorOptions$def2 = _generatorOptions.defaultOptions, defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
1439
+ return function createPopper(reference, popper, options) {
1440
+ if (options === void 0) options = defaultOptions;
1441
+ var state = {
1442
+ placement: "bottom",
1443
+ orderedModifiers: [],
1444
+ options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
1445
+ modifiersData: {},
1446
+ elements: {
1447
+ reference,
1448
+ popper
1449
+ },
1450
+ attributes: {},
1451
+ styles: {}
1452
+ };
1453
+ var effectCleanupFns = [];
1454
+ var isDestroyed = false;
1455
+ var instance = {
1456
+ state,
1457
+ setOptions: function setOptions(setOptionsAction) {
1458
+ var options = typeof setOptionsAction === "function" ? setOptionsAction(state.options) : setOptionsAction;
1459
+ cleanupModifierEffects();
1460
+ state.options = Object.assign({}, defaultOptions, state.options, options);
1461
+ state.scrollParents = {
1462
+ reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
1463
+ popper: listScrollParents(popper)
1464
+ };
1465
+ var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers)));
1466
+ state.orderedModifiers = orderedModifiers.filter(function(m) {
1467
+ return m.enabled;
1468
+ });
1469
+ runModifierEffects();
1470
+ return instance.update();
1471
+ },
1472
+ forceUpdate: function forceUpdate() {
1473
+ if (isDestroyed) return;
1474
+ var _state$elements = state.elements, reference = _state$elements.reference, popper = _state$elements.popper;
1475
+ if (!areValidElements(reference, popper)) return;
1476
+ state.rects = {
1477
+ reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === "fixed"),
1478
+ popper: getLayoutRect(popper)
1479
+ };
1480
+ state.reset = false;
1481
+ state.placement = state.options.placement;
1482
+ state.orderedModifiers.forEach(function(modifier) {
1483
+ return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
1484
+ });
1485
+ for (var index = 0; index < state.orderedModifiers.length; index++) {
1486
+ if (state.reset === true) {
1487
+ state.reset = false;
1488
+ index = -1;
1489
+ continue;
1490
+ }
1491
+ var _state$orderedModifie = state.orderedModifiers[index], fn = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
1492
+ if (typeof fn === "function") state = fn({
1493
+ state,
1494
+ options: _options,
1495
+ name,
1496
+ instance
1497
+ }) || state;
1498
+ }
1499
+ },
1500
+ update: debounce(function() {
1501
+ return new Promise(function(resolve) {
1502
+ instance.forceUpdate();
1503
+ resolve(state);
1504
+ });
1505
+ }),
1506
+ destroy: function destroy() {
1507
+ cleanupModifierEffects();
1508
+ isDestroyed = true;
1509
+ }
1510
+ };
1511
+ if (!areValidElements(reference, popper)) return instance;
1512
+ instance.setOptions(options).then(function(state) {
1513
+ if (!isDestroyed && options.onFirstUpdate) options.onFirstUpdate(state);
1514
+ });
1515
+ function runModifierEffects() {
1516
+ state.orderedModifiers.forEach(function(_ref) {
1517
+ var name = _ref.name, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, effect = _ref.effect;
1518
+ if (typeof effect === "function") {
1519
+ var cleanupFn = effect({
1520
+ state,
1521
+ name,
1522
+ instance,
1523
+ options
1524
+ });
1525
+ effectCleanupFns.push(cleanupFn || function noopFn() {});
1526
+ }
1527
+ });
1528
+ }
1529
+ function cleanupModifierEffects() {
1530
+ effectCleanupFns.forEach(function(fn) {
1531
+ return fn();
1532
+ });
1533
+ effectCleanupFns = [];
1534
+ }
1535
+ return instance;
1536
+ };
1537
+ }
1538
+ var DEFAULT_OPTIONS;
1539
+ function init_createPopper() {
1540
+ return (init_createPopper = __esmMin((() => {
1541
+ init_getCompositeRect();
1542
+ init_getLayoutRect();
1543
+ init_listScrollParents();
1544
+ init_getOffsetParent();
1545
+ init_orderModifiers();
1546
+ init_instanceOf();
1547
+ DEFAULT_OPTIONS = {
1548
+ placement: "bottom",
1549
+ modifiers: [],
1550
+ strategy: "absolute"
1551
+ };
1552
+ })))();
1553
+ }
1554
+ //#endregion
1555
+ //#region ../../node_modules/@popperjs/core/lib/popper.js
1556
+ var defaultModifiers, createPopper;
1557
+ function init_popper() {
1558
+ return (init_popper = __esmMin((() => {
1559
+ init_createPopper();
1560
+ init_eventListeners();
1561
+ init_popperOffsets();
1562
+ init_computeStyles();
1563
+ init_applyStyles();
1564
+ init_offset();
1565
+ init_flip();
1566
+ init_preventOverflow();
1567
+ init_arrow();
1568
+ init_hide();
1569
+ defaultModifiers = [
1570
+ eventListeners_default,
1571
+ popperOffsets_default,
1572
+ computeStyles_default,
1573
+ applyStyles_default,
1574
+ offset_default,
1575
+ flip_default,
1576
+ preventOverflow_default,
1577
+ arrow_default,
1578
+ hide_default
1579
+ ];
1580
+ createPopper = /*#__PURE__*/ popperGenerator({ defaultModifiers });
1581
+ })))();
1582
+ }
1583
+ //#endregion
1584
+ export { init_popper as n, createPopper as t };