@vtx/components 4.0.0-beta.2 → 4.0.0-beta.4

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 (685) hide show
  1. package/package.json +31 -19
  2. package/dist/1077.66b69576.async.js +0 -1
  3. package/dist/1572.2b90c634.async.js +0 -1
  4. package/dist/1632.03c8f7ad.async.js +0 -2
  5. package/dist/2267.aeefe75c.async.js +0 -137
  6. package/dist/2791.54c703a9.async.js +0 -5
  7. package/dist/2952.348f2c3f.async.js +0 -654
  8. package/dist/3421.4387ba14.async.js +0 -1264
  9. package/dist/3500.29895123.async.js +0 -1
  10. package/dist/404.html +0 -17
  11. package/dist/4195.93b9d34d.async.js +0 -1
  12. package/dist/4680.bca43384.async.js +0 -1
  13. package/dist/7965.a57e8f9a.async.js +0 -1
  14. package/dist/8300.66a39b1b.async.js +0 -1
  15. package/dist/8982.8e38e68e.async.js +0 -1
  16. package/dist/9877.87ec0c28.async.js +0 -11
  17. package/dist/VtxColorPicker__demos.60d61929.async.js +0 -1
  18. package/dist/VtxCombogrid__demos.8c798bc7.async.js +0 -1
  19. package/dist/VtxDatagrid__demos.e07857d0.async.js +0 -1
  20. package/dist/VtxEllipsisText__demos.2e269d20.async.js +0 -1
  21. package/dist/VtxExportAsync__demos.13e3bb1c.async.js +0 -1
  22. package/dist/VtxExport__demos.1cce5217.async.js +0 -1
  23. package/dist/VtxFormLayout__demos.b8bb038a.async.js +0 -1
  24. package/dist/VtxImage__demos.774c697e.async.js +0 -1
  25. package/dist/VtxImport2__demos.8182b8d2.async.js +0 -1
  26. package/dist/VtxImport__demos.3865c4e9.async.js +0 -1
  27. package/dist/VtxInput__demos.5fd77ccb.async.js +0 -1
  28. package/dist/VtxModal__demos.e0aae505.async.js +0 -1
  29. package/dist/VtxPageLayout__demos.b1cd7624.async.js +0 -1
  30. package/dist/VtxRpsFrame__demos.07c3fb5e.async.js +0 -1
  31. package/dist/VtxScrollableRow__demos.eeb18c3c.async.js +0 -1
  32. package/dist/VtxSearch__demos.f6b048ae.async.js +0 -1
  33. package/dist/VtxSelect__demos.0e8f1c52.async.js +0 -1
  34. package/dist/VtxSignature__demos.d0c4bcac.async.js +0 -1
  35. package/dist/VtxSplitPane__demos.6dda4f09.async.js +0 -1
  36. package/dist/VtxStatisticsColumn__demos.b2be3e4b.async.js +0 -1
  37. package/dist/VtxTimePicker__demos.ced305a6.async.js +0 -1
  38. package/dist/VtxTreeSelect__demos.daab9057.async.js +0 -1
  39. package/dist/VtxTree__demos.15550a80.async.js +0 -1
  40. package/dist/VtxUpload__demos.794c746a.async.js +0 -1
  41. package/dist/VtxWangEditor__demos.92b4daf1.async.js +0 -1
  42. package/dist/changelog/index.html +0 -17
  43. package/dist/components/index.html +0 -17
  44. package/dist/components/vtx-color-picker/index.html +0 -17
  45. package/dist/components/vtx-combogrid/index.html +0 -17
  46. package/dist/components/vtx-datagrid/index.html +0 -17
  47. package/dist/components/vtx-date-picker/index.html +0 -17
  48. package/dist/components/vtx-ellipsis-text/index.html +0 -17
  49. package/dist/components/vtx-export/index.html +0 -17
  50. package/dist/components/vtx-export-async/index.html +0 -17
  51. package/dist/components/vtx-form-layout/index.html +0 -17
  52. package/dist/components/vtx-image/index.html +0 -17
  53. package/dist/components/vtx-import/index.html +0 -17
  54. package/dist/components/vtx-import2/index.html +0 -17
  55. package/dist/components/vtx-input/index.html +0 -17
  56. package/dist/components/vtx-modal/index.html +0 -17
  57. package/dist/components/vtx-page-layout/index.html +0 -17
  58. package/dist/components/vtx-rps-frame/index.html +0 -17
  59. package/dist/components/vtx-scrollable-row/index.html +0 -17
  60. package/dist/components/vtx-search/index.html +0 -17
  61. package/dist/components/vtx-select/index.html +0 -17
  62. package/dist/components/vtx-signature/index.html +0 -17
  63. package/dist/components/vtx-split-pane/index.html +0 -17
  64. package/dist/components/vtx-statistics-column/index.html +0 -17
  65. package/dist/components/vtx-time-picker/index.html +0 -17
  66. package/dist/components/vtx-tree/index.html +0 -17
  67. package/dist/components/vtx-tree-select/index.html +0 -17
  68. package/dist/components/vtx-upload/index.html +0 -17
  69. package/dist/components/vtx-wang-editor/index.html +0 -17
  70. package/dist/demos.f6817f69.async.js +0 -1
  71. package/dist/docs/api-changes/index.html +0 -17
  72. package/dist/docs/index.html +0 -17
  73. package/dist/docs/migration-guide/index.html +0 -17
  74. package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.aca58684.async.js +0 -1
  75. package/dist/favicon.ico +0 -0
  76. package/dist/icon.png +0 -0
  77. package/dist/index.html +0 -17
  78. package/dist/meta__site.2e323023.async.js +0 -5392
  79. package/dist/meta__site.51651769.chunk.css +0 -9
  80. package/dist/meta__vtx-search.5ddbd36b.async.js +0 -5
  81. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.7cea644e.async.js +0 -1
  82. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +0 -1
  83. package/dist/nm__dumi__dist__client__pages__404.0d35bb9e.async.js +0 -1
  84. package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +0 -1
  85. package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +0 -1
  86. package/dist/nm__dumi__dist__client__pages__Demo__index.88d92ec7.async.js +0 -1
  87. package/dist/preload_helper.214f203a.js +0 -1
  88. package/dist/site__changelog.md.33be0665.chunk.css +0 -1
  89. package/dist/site__changelog.md.ca6f70d0.async.js +0 -1
  90. package/dist/site__components__index.md.1c0dd566.async.js +0 -1
  91. package/dist/site__components__index.md.33be0665.chunk.css +0 -1
  92. package/dist/site__components__vtx-color-picker__index.md.0b5f09f9.async.js +0 -1
  93. package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +0 -1
  94. package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +0 -1
  95. package/dist/site__components__vtx-combogrid__index.md.5c184a19.async.js +0 -19
  96. package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +0 -1
  97. package/dist/site__components__vtx-datagrid__index.md.3b6b11a0.async.js +0 -58
  98. package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +0 -1
  99. package/dist/site__components__vtx-date-picker__index.md.e498db68.async.js +0 -1
  100. package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +0 -1
  101. package/dist/site__components__vtx-ellipsis-text__index.md.3df8b85b.async.js +0 -1
  102. package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +0 -1
  103. package/dist/site__components__vtx-export-async__index.md.7ad10351.async.js +0 -50
  104. package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +0 -1
  105. package/dist/site__components__vtx-export__index.md.ae512624.async.js +0 -6
  106. package/dist/site__components__vtx-form-layout__index.md.26ce0de4.async.js +0 -1
  107. package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +0 -1
  108. package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +0 -1
  109. package/dist/site__components__vtx-image__index.md.51d7fede.async.js +0 -7
  110. package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +0 -1
  111. package/dist/site__components__vtx-import2__index.md.3d03da86.async.js +0 -22
  112. package/dist/site__components__vtx-import__index.md.2706afc2.async.js +0 -1
  113. package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +0 -1
  114. package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +0 -1
  115. package/dist/site__components__vtx-input__index.md.dbe2e571.async.js +0 -1
  116. package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +0 -1
  117. package/dist/site__components__vtx-modal__index.md.6a9b2eda.async.js +0 -9
  118. package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +0 -1
  119. package/dist/site__components__vtx-page-layout__index.md.46cefa9b.async.js +0 -1
  120. package/dist/site__components__vtx-rps-frame__index.md.0126d79c.async.js +0 -1
  121. package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +0 -1
  122. package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +0 -1
  123. package/dist/site__components__vtx-scrollable-row__index.md.83c9c112.async.js +0 -1
  124. package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +0 -1
  125. package/dist/site__components__vtx-search__index.md.a36329f4.async.js +0 -5
  126. package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +0 -1
  127. package/dist/site__components__vtx-select__index.md.d4b9a187.async.js +0 -6
  128. package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +0 -1
  129. package/dist/site__components__vtx-signature__index.md.e502b176.async.js +0 -1
  130. package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +0 -1
  131. package/dist/site__components__vtx-split-pane__index.md.744d87da.async.js +0 -1
  132. package/dist/site__components__vtx-statistics-column__index.md.106749e3.async.js +0 -1
  133. package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +0 -1
  134. package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +0 -1
  135. package/dist/site__components__vtx-time-picker__index.md.c9f4700c.async.js +0 -1
  136. package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +0 -1
  137. package/dist/site__components__vtx-tree-select__index.md.49b56c10.async.js +0 -1
  138. package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +0 -1
  139. package/dist/site__components__vtx-tree__index.md.4c124fad.async.js +0 -1
  140. package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +0 -1
  141. package/dist/site__components__vtx-upload__index.md.57969550.async.js +0 -6
  142. package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +0 -1
  143. package/dist/site__components__vtx-wang-editor__index.md.b98b12a6.async.js +0 -7
  144. package/dist/site__docs__api-changes.md.33be0665.chunk.css +0 -1
  145. package/dist/site__docs__api-changes.md.aaa38736.async.js +0 -6
  146. package/dist/site__docs__index.md.33be0665.chunk.css +0 -1
  147. package/dist/site__docs__index.md.586150c4.async.js +0 -53
  148. package/dist/site__docs__migration-guide.md.02f5996d.async.js +0 -194
  149. package/dist/site__docs__migration-guide.md.33be0665.chunk.css +0 -1
  150. package/dist/site__index.md.33be0665.chunk.css +0 -1
  151. package/dist/site__index.md.634bf57a.async.js +0 -1
  152. package/dist/sitemap.xml +0 -1
  153. package/dist/umi.f49a7748.css +0 -1
  154. package/dist/umi.f610424c.js +0 -877
  155. package/dist/vtx-search__index.md.33be0665.chunk.css +0 -1
  156. package/dist/vtx-search__index.md.37a39d66.async.js +0 -5
  157. package/dist/~demos/:id/index.html +0 -17
  158. package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +0 -17
  159. package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +0 -17
  160. package/dist/~demos/vtxcolorpicker-demo-base/index.html +0 -17
  161. package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +0 -17
  162. package/dist/~demos/vtxcombogrid-demo-demo1/index.html +0 -17
  163. package/dist/~demos/vtxcombogrid-demo-demo2/index.html +0 -17
  164. package/dist/~demos/vtxcombogrid-demo-demo3/index.html +0 -17
  165. package/dist/~demos/vtxcombogrid-demo-demo4/index.html +0 -17
  166. package/dist/~demos/vtxcombogrid-demo-demo5/index.html +0 -17
  167. package/dist/~demos/vtxdatagrid-demo-demo1/index.html +0 -17
  168. package/dist/~demos/vtxdatagrid-demo-demo10/index.html +0 -17
  169. package/dist/~demos/vtxdatagrid-demo-demo2/index.html +0 -17
  170. package/dist/~demos/vtxdatagrid-demo-demo3/index.html +0 -17
  171. package/dist/~demos/vtxdatagrid-demo-demo4/index.html +0 -17
  172. package/dist/~demos/vtxdatagrid-demo-demo5/index.html +0 -17
  173. package/dist/~demos/vtxdatagrid-demo-demo6/index.html +0 -17
  174. package/dist/~demos/vtxdatagrid-demo-demo7/index.html +0 -17
  175. package/dist/~demos/vtxdatagrid-demo-demo8/index.html +0 -17
  176. package/dist/~demos/vtxdatagrid-demo-demo9/index.html +0 -17
  177. package/dist/~demos/vtxellipsistext-demo-demo1/index.html +0 -17
  178. package/dist/~demos/vtxexport-demo-demo1/index.html +0 -17
  179. package/dist/~demos/vtxexportasync-demo-demo1/index.html +0 -17
  180. package/dist/~demos/vtxformlayout-demo-demo1/index.html +0 -17
  181. package/dist/~demos/vtxformlayout-demo-demo10/index.html +0 -17
  182. package/dist/~demos/vtxformlayout-demo-demo2/index.html +0 -17
  183. package/dist/~demos/vtxformlayout-demo-demo3/index.html +0 -17
  184. package/dist/~demos/vtxformlayout-demo-demo4/index.html +0 -17
  185. package/dist/~demos/vtxformlayout-demo-demo5/index.html +0 -17
  186. package/dist/~demos/vtxformlayout-demo-demo6/index.html +0 -17
  187. package/dist/~demos/vtxformlayout-demo-demo7/index.html +0 -17
  188. package/dist/~demos/vtxformlayout-demo-demo8/index.html +0 -17
  189. package/dist/~demos/vtxformlayout-demo-demo9/index.html +0 -17
  190. package/dist/~demos/vtximage-demo-demo1/index.html +0 -17
  191. package/dist/~demos/vtximage-demo-demo2/index.html +0 -17
  192. package/dist/~demos/vtximage-demo-demo3/index.html +0 -17
  193. package/dist/~demos/vtximage-demo-demo4/index.html +0 -17
  194. package/dist/~demos/vtximport-demo-base/index.html +0 -17
  195. package/dist/~demos/vtximport2-demo-base/index.html +0 -17
  196. package/dist/~demos/vtxinput-demo-demo1/index.html +0 -17
  197. package/dist/~demos/vtxinput-demo-demo2/index.html +0 -17
  198. package/dist/~demos/vtxinput-demo-demo3/index.html +0 -17
  199. package/dist/~demos/vtxmodal-demo-demo1/index.html +0 -17
  200. package/dist/~demos/vtxmodal-demo-demo2/index.html +0 -17
  201. package/dist/~demos/vtxmodal-demo-demo3/index.html +0 -17
  202. package/dist/~demos/vtxpagelayout-demo-demo1/index.html +0 -17
  203. package/dist/~demos/vtxpagelayout-demo-demo2/index.html +0 -17
  204. package/dist/~demos/vtxpagelayout-demo-demo3/index.html +0 -17
  205. package/dist/~demos/vtxpagelayout-demo-demo4/index.html +0 -17
  206. package/dist/~demos/vtxrpsframe-demo-base/index.html +0 -17
  207. package/dist/~demos/vtxscrollablerow-demo-demo/index.html +0 -17
  208. package/dist/~demos/vtxsearch-demo-demo1/index.html +0 -17
  209. package/dist/~demos/vtxsearch-demo-demo2/index.html +0 -17
  210. package/dist/~demos/vtxsearch-demo-demo3/index.html +0 -17
  211. package/dist/~demos/vtxsearch-demo-demo4/index.html +0 -17
  212. package/dist/~demos/vtxselect-demo-base/index.html +0 -17
  213. package/dist/~demos/vtxselect-demo-base-multiple/index.html +0 -17
  214. package/dist/~demos/vtxsignature-demo-demo/index.html +0 -17
  215. package/dist/~demos/vtxsignature-demo-demo1/index.html +0 -17
  216. package/dist/~demos/vtxsplitpane-demo-demo1/index.html +0 -17
  217. package/dist/~demos/vtxsplitpane-demo-demo2/index.html +0 -17
  218. package/dist/~demos/vtxsplitpane-demo-demo3/index.html +0 -17
  219. package/dist/~demos/vtxsplitpane-demo-demo4/index.html +0 -17
  220. package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +0 -17
  221. package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +0 -17
  222. package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +0 -17
  223. package/dist/~demos/vtxtimepicker-demo-base/index.html +0 -17
  224. package/dist/~demos/vtxtree-demo-demo1/index.html +0 -17
  225. package/dist/~demos/vtxtree-demo-demo2/index.html +0 -17
  226. package/dist/~demos/vtxtree-demo-demo3/index.html +0 -17
  227. package/dist/~demos/vtxtreeselect-demo-demo1/index.html +0 -17
  228. package/dist/~demos/vtxtreeselect-demo-demo2/index.html +0 -17
  229. package/dist/~demos/vtxtreeselect-demo-demo3/index.html +0 -17
  230. package/dist/~demos/vtxupload-demo-demo1/index.html +0 -17
  231. package/dist/~demos/vtxupload-demo-demo2/index.html +0 -17
  232. package/dist/~demos/vtxupload-demo-demo3/index.html +0 -17
  233. package/dist/~demos/vtxwangeditor-demo-demo1/index.html +0 -17
  234. package/es/index.js +0 -74
  235. package/es/utils/columnSort.js +0 -23
  236. package/es/utils/components/DropdownFooter/index.js +0 -53
  237. package/es/utils/components/DropdownFooter/style.js +0 -25
  238. package/es/utils/components/ErrorBoundary/index.js +0 -53
  239. package/es/utils/components/FieldLabel/index.js +0 -144
  240. package/es/utils/components/FieldLabel/style.js +0 -93
  241. package/es/utils/components/FilterDropdown/index.js +0 -62
  242. package/es/utils/components/FilterDropdown/style.js +0 -26
  243. package/es/utils/components/InlineErrorFormItem/index.js +0 -156
  244. package/es/utils/components/InlineErrorFormItem/style.js +0 -47
  245. package/es/utils/components/LabelIconTip/index.js +0 -68
  246. package/es/utils/components/LabelIconTip/style.js +0 -47
  247. package/es/utils/components/ProFormContext/index.js +0 -41
  248. package/es/utils/conversionMomentValue/index.js +0 -163
  249. package/es/utils/dateArrayFormatter/index.js +0 -36
  250. package/es/utils/filterSpecialCharacters.js +0 -82
  251. package/es/utils/genColumnKey.js +0 -6
  252. package/es/utils/genCopyable/index.js +0 -59
  253. package/es/utils/getComponentProps.js +0 -7
  254. package/es/utils/getFieldPropsOrFormItemProps/index.js +0 -16
  255. package/es/utils/getPlaceholder.js +0 -5
  256. package/es/utils/getToken.js +0 -6
  257. package/es/utils/hooks/useDebounceFn/index.js +0 -71
  258. package/es/utils/hooks/useDebounceValue/index.js +0 -40
  259. package/es/utils/hooks/useDeepCompareEffect/index.js +0 -24
  260. package/es/utils/hooks/useDeepCompareMemo/index.js +0 -15
  261. package/es/utils/hooks/useDocumentTitle/index.js +0 -10
  262. package/es/utils/hooks/useFetchData/index.js +0 -82
  263. package/es/utils/hooks/useForceRender/index.js +0 -18
  264. package/es/utils/hooks/useLatest/index.js +0 -10
  265. package/es/utils/hooks/usePrevious/index.js +0 -8
  266. package/es/utils/hooks/useReactiveRef/index.js +0 -7
  267. package/es/utils/hooks/useRefCallback/index.js +0 -26
  268. package/es/utils/hooks/useRefFunction/index.js +0 -13
  269. package/es/utils/index.js +0 -73
  270. package/es/utils/isBrowser/index.d.ts +0 -9
  271. package/es/utils/isBrowser/index.js +0 -16
  272. package/es/utils/isDeepEqualReact/index.js +0 -95
  273. package/es/utils/isDropdownValueType/index.js +0 -7
  274. package/es/utils/isFunction.js +0 -3
  275. package/es/utils/isImg/index.js +0 -4
  276. package/es/utils/isNil/index.js +0 -3
  277. package/es/utils/isObject/index.js +0 -3
  278. package/es/utils/isObject.js +0 -3
  279. package/es/utils/isUrl/index.js +0 -17
  280. package/es/utils/merge/index.js +0 -36
  281. package/es/utils/nanoid/index.js +0 -29
  282. package/es/utils/omitBoolean/index.js +0 -11
  283. package/es/utils/omitUndefined/index.js +0 -12
  284. package/es/utils/omitUndefinedAndEmptyArr/index.js +0 -14
  285. package/es/utils/parseValueToMoment/index.js +0 -28
  286. package/es/utils/pickProFormItemProps/index.js +0 -15
  287. package/es/utils/pickProProps/index.js +0 -15
  288. package/es/utils/proFieldParsingText/index.js +0 -161
  289. package/es/utils/runFunction/index.js +0 -10
  290. package/es/utils/sortByGivenOrder.js +0 -36
  291. package/es/utils/sortByKeyArrayExtract.js +0 -38
  292. package/es/utils/stringify/index.js +0 -10
  293. package/es/utils/transformKeySubmitValue/index.js +0 -330
  294. package/es/utils/useColSize.js +0 -20
  295. package/es/utils/useEditableArray/index.js +0 -906
  296. package/es/utils/useEditableMap/index.js +0 -214
  297. package/es/utils/useInterval.js +0 -12
  298. package/es/utils/useMediaQuery/index.js +0 -106
  299. package/es/utils/useMediaQuery/query.js +0 -30
  300. package/es/utils/useMountMergeState/index.js +0 -2
  301. package/es/utils/useSet.js +0 -38
  302. package/es/version.js +0 -3
  303. package/es/vtx-color-picker/index.js +0 -164
  304. package/es/vtx-color-picker/style/index.js +0 -54
  305. package/es/vtx-combogrid/Combogrid.js +0 -247
  306. package/es/vtx-combogrid/index.js +0 -121
  307. package/es/vtx-combogrid/style/index.js +0 -42
  308. package/es/vtx-datagrid/Alert/index.js +0 -49
  309. package/es/vtx-datagrid/Alert/style.js +0 -44
  310. package/es/vtx-datagrid/Store/Provide.js +0 -441
  311. package/es/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +0 -526
  312. package/es/vtx-datagrid/ToolBar/components/ColumnSetting/style.js +0 -86
  313. package/es/vtx-datagrid/ToolBar/components/Density/index.js +0 -48
  314. package/es/vtx-datagrid/ToolBar/components/Fullscreen/index.js +0 -77
  315. package/es/vtx-datagrid/ToolBar/components/TableStyle/index.js +0 -71
  316. package/es/vtx-datagrid/ToolBar/index.js +0 -88
  317. package/es/vtx-datagrid/ToolBar/style.js +0 -59
  318. package/es/vtx-datagrid/index.js +0 -363
  319. package/es/vtx-datagrid/renderColumnButtons.js +0 -98
  320. package/es/vtx-datagrid/style/index.js +0 -80
  321. package/es/vtx-datagrid/style/index.less +0 -242
  322. package/es/vtx-date-picker/QdatePicker.js +0 -152
  323. package/es/vtx-date-picker/generatePicker.js +0 -104
  324. package/es/vtx-date-picker/index.js +0 -49
  325. package/es/vtx-date-picker/style/index.js +0 -39
  326. package/es/vtx-date-picker/style/index.less +0 -39
  327. package/es/vtx-ellipsis-text/index.js +0 -52
  328. package/es/vtx-ellipsis-text/style/index.js +0 -29
  329. package/es/vtx-export/index.js +0 -197
  330. package/es/vtx-export/style/index.js +0 -24
  331. package/es/vtx-export-async/ColumnsSelect.js +0 -63
  332. package/es/vtx-export-async/History.js +0 -256
  333. package/es/vtx-export-async/index.js +0 -402
  334. package/es/vtx-export-async/style/index.js +0 -49
  335. package/es/vtx-export-async/util.js +0 -51
  336. package/es/vtx-form-layout/Card.js +0 -74
  337. package/es/vtx-form-layout/Divider.js +0 -22
  338. package/es/vtx-form-layout/FormItem.js +0 -136
  339. package/es/vtx-form-layout/Pane.js +0 -41
  340. package/es/vtx-form-layout/Row.js +0 -19
  341. package/es/vtx-form-layout/context.js +0 -2
  342. package/es/vtx-form-layout/index.js +0 -80
  343. package/es/vtx-form-layout/style/index.js +0 -262
  344. package/es/vtx-icon/index.js +0 -78
  345. package/es/vtx-icon/svg/alignRightOutlined.js +0 -29
  346. package/es/vtx-icon/svg/columnHeightOutlined.js +0 -25
  347. package/es/vtx-icon/svg/downOutlined.js +0 -24
  348. package/es/vtx-icon/svg/fullscreen.js +0 -25
  349. package/es/vtx-icon/svg/redoOutlined.js +0 -29
  350. package/es/vtx-icon/svg/rightOutlined.js +0 -24
  351. package/es/vtx-icon/svg/settingOutlined.js +0 -29
  352. package/es/vtx-image/Image.js +0 -257
  353. package/es/vtx-image/Preview.js +0 -140
  354. package/es/vtx-image/PreviewGroup.js +0 -81
  355. package/es/vtx-image/index.js +0 -4
  356. package/es/vtx-image/style/index.js +0 -91
  357. package/es/vtx-import/index.js +0 -416
  358. package/es/vtx-import/result.js +0 -81
  359. package/es/vtx-import/style/index.js +0 -19
  360. package/es/vtx-import2/CheckResult.js +0 -45
  361. package/es/vtx-import2/Content.js +0 -103
  362. package/es/vtx-import2/DownloadSvg.js +0 -41
  363. package/es/vtx-import2/ImportResult.js +0 -57
  364. package/es/vtx-import2/UploadSvg.js +0 -41
  365. package/es/vtx-import2/index.js +0 -453
  366. package/es/vtx-import2/style/index.js +0 -99
  367. package/es/vtx-input/TextArea/index.js +0 -61
  368. package/es/vtx-input/TextArea/style.js +0 -30
  369. package/es/vtx-input/index.js +0 -92
  370. package/es/vtx-input/style/index.js +0 -24
  371. package/es/vtx-input/useLength.js +0 -21
  372. package/es/vtx-modal/Title.js +0 -34
  373. package/es/vtx-modal/index.js +0 -243
  374. package/es/vtx-modal/style/index.js +0 -109
  375. package/es/vtx-page-layout/Basic.js +0 -28
  376. package/es/vtx-page-layout/Content.js +0 -43
  377. package/es/vtx-page-layout/Pane.js +0 -40
  378. package/es/vtx-page-layout/TabLayout.js +0 -65
  379. package/es/vtx-page-layout/TableLayout.js +0 -163
  380. package/es/vtx-page-layout/TableWrap.js +0 -36
  381. package/es/vtx-page-layout/TreeLayout.js +0 -79
  382. package/es/vtx-page-layout/container.js +0 -68
  383. package/es/vtx-page-layout/index.js +0 -26
  384. package/es/vtx-page-layout/style/index.js +0 -129
  385. package/es/vtx-provider/index.js +0 -317
  386. package/es/vtx-provider/intl.js +0 -140
  387. package/es/vtx-provider/locale/ar_EG.js +0 -71
  388. package/es/vtx-provider/locale/ca_ES.js +0 -71
  389. package/es/vtx-provider/locale/cs_CZ.js +0 -74
  390. package/es/vtx-provider/locale/de_DE.js +0 -71
  391. package/es/vtx-provider/locale/en_GB.js +0 -73
  392. package/es/vtx-provider/locale/en_US.js +0 -181
  393. package/es/vtx-provider/locale/es_ES.js +0 -71
  394. package/es/vtx-provider/locale/fa_IR.js +0 -71
  395. package/es/vtx-provider/locale/fr_FR.js +0 -71
  396. package/es/vtx-provider/locale/he_IL.js +0 -74
  397. package/es/vtx-provider/locale/hr_HR.js +0 -71
  398. package/es/vtx-provider/locale/id_ID.js +0 -71
  399. package/es/vtx-provider/locale/it_IT.js +0 -71
  400. package/es/vtx-provider/locale/ja_JP.js +0 -71
  401. package/es/vtx-provider/locale/ko_KR.js +0 -71
  402. package/es/vtx-provider/locale/mn_MN.js +0 -71
  403. package/es/vtx-provider/locale/ms_MY.js +0 -71
  404. package/es/vtx-provider/locale/nl_NL.js +0 -74
  405. package/es/vtx-provider/locale/pl_PL.js +0 -71
  406. package/es/vtx-provider/locale/pt_BR.js +0 -71
  407. package/es/vtx-provider/locale/ro_RO.js +0 -74
  408. package/es/vtx-provider/locale/ru_RU.js +0 -71
  409. package/es/vtx-provider/locale/sk_SK.js +0 -74
  410. package/es/vtx-provider/locale/sr_RS.js +0 -71
  411. package/es/vtx-provider/locale/sv_SE.js +0 -74
  412. package/es/vtx-provider/locale/th_TH.js +0 -74
  413. package/es/vtx-provider/locale/tr_TR.js +0 -71
  414. package/es/vtx-provider/locale/uk_UA.js +0 -74
  415. package/es/vtx-provider/locale/uz_UZ.js +0 -71
  416. package/es/vtx-provider/locale/vi_VN.js +0 -71
  417. package/es/vtx-provider/locale/zh_CN.js +0 -183
  418. package/es/vtx-provider/locale/zh_HK.js +0 -83
  419. package/es/vtx-provider/locale/zh_TW.js +0 -74
  420. package/es/vtx-provider/typing/layoutToken.js +0 -60
  421. package/es/vtx-provider/useStyle/index.js +0 -110
  422. package/es/vtx-provider/utils/merge.js +0 -27
  423. package/es/vtx-rps-frame/index.js +0 -164
  424. package/es/vtx-rps-frame/style/index.js +0 -26
  425. package/es/vtx-scrollable-row/index.js +0 -183
  426. package/es/vtx-scrollable-row/style/index.js +0 -108
  427. package/es/vtx-search/index.js +0 -350
  428. package/es/vtx-search/style/index.js +0 -94
  429. package/es/vtx-select/index.js +0 -252
  430. package/es/vtx-select/style/index.js +0 -75
  431. package/es/vtx-signature/index.js +0 -119
  432. package/es/vtx-signature/style/index.js +0 -47
  433. package/es/vtx-split-pane/Resizer.js +0 -47
  434. package/es/vtx-split-pane/SplitPane.js +0 -60
  435. package/es/vtx-split-pane/index.js +0 -3
  436. package/es/vtx-split-pane/style/index.js +0 -133
  437. package/es/vtx-statistics-column/Back.js +0 -27
  438. package/es/vtx-statistics-column/Item.js +0 -54
  439. package/es/vtx-statistics-column/Total.js +0 -54
  440. package/es/vtx-statistics-column/context.js +0 -2
  441. package/es/vtx-statistics-column/index.js +0 -54
  442. package/es/vtx-statistics-column/style/index.js +0 -72
  443. package/es/vtx-time-picker/index.js +0 -37
  444. package/es/vtx-time-picker/style/index.js +0 -0
  445. package/es/vtx-transfer/Transfer.js +0 -247
  446. package/es/vtx-transfer/index.js +0 -3
  447. package/es/vtx-transfer/style/index.js +0 -42
  448. package/es/vtx-tree/index.js +0 -341
  449. package/es/vtx-tree/style/index.js +0 -50
  450. package/es/vtx-tree/utils.js +0 -73
  451. package/es/vtx-tree-select/index.js +0 -290
  452. package/es/vtx-tree-select/style/index.js +0 -72
  453. package/es/vtx-upload/FilePreview.js +0 -111
  454. package/es/vtx-upload/index.js +0 -468
  455. package/es/vtx-upload/style/index.js +0 -83
  456. package/es/vtx-wang-editor/index.js +0 -245
  457. package/es/vtx-wang-editor/style/index.js +0 -33
  458. package/es/vtx-wang-editor/style/index.less +0 -12
  459. package/es/vtx-wang-editor/wangEditorUtil.js +0 -226
  460. package/lib/index.js +0 -375
  461. package/lib/utils/columnSort.js +0 -29
  462. package/lib/utils/components/DropdownFooter/index.js +0 -62
  463. package/lib/utils/components/DropdownFooter/style.js +0 -31
  464. package/lib/utils/components/ErrorBoundary/index.js +0 -59
  465. package/lib/utils/components/FieldLabel/index.js +0 -152
  466. package/lib/utils/components/FieldLabel/style.js +0 -99
  467. package/lib/utils/components/FilterDropdown/index.js +0 -70
  468. package/lib/utils/components/FilterDropdown/style.js +0 -32
  469. package/lib/utils/components/InlineErrorFormItem/index.js +0 -162
  470. package/lib/utils/components/InlineErrorFormItem/style.js +0 -53
  471. package/lib/utils/components/LabelIconTip/index.js +0 -73
  472. package/lib/utils/components/LabelIconTip/style.js +0 -53
  473. package/lib/utils/components/ProFormContext/index.js +0 -48
  474. package/lib/utils/conversionMomentValue/index.js +0 -170
  475. package/lib/utils/dateArrayFormatter/index.js +0 -43
  476. package/lib/utils/filterSpecialCharacters.js +0 -89
  477. package/lib/utils/genColumnKey.js +0 -12
  478. package/lib/utils/genCopyable/index.js +0 -66
  479. package/lib/utils/getComponentProps.js +0 -13
  480. package/lib/utils/getFieldPropsOrFormItemProps/index.js +0 -21
  481. package/lib/utils/getPlaceholder.js +0 -11
  482. package/lib/utils/getToken.js +0 -12
  483. package/lib/utils/hooks/useDebounceFn/index.js +0 -77
  484. package/lib/utils/hooks/useDebounceValue/index.js +0 -45
  485. package/lib/utils/hooks/useDeepCompareEffect/index.js +0 -33
  486. package/lib/utils/hooks/useDeepCompareMemo/index.js +0 -21
  487. package/lib/utils/hooks/useDocumentTitle/index.js +0 -16
  488. package/lib/utils/hooks/useFetchData/index.js +0 -89
  489. package/lib/utils/hooks/useForceRender/index.js +0 -24
  490. package/lib/utils/hooks/useLatest/index.js +0 -15
  491. package/lib/utils/hooks/usePrevious/index.js +0 -14
  492. package/lib/utils/hooks/useReactiveRef/index.js +0 -14
  493. package/lib/utils/hooks/useRefCallback/index.js +0 -31
  494. package/lib/utils/hooks/useRefFunction/index.js +0 -18
  495. package/lib/utils/index.js +0 -436
  496. package/lib/utils/isBrowser/index.d.ts +0 -9
  497. package/lib/utils/isBrowser/index.js +0 -22
  498. package/lib/utils/isDeepEqualReact/index.js +0 -101
  499. package/lib/utils/isDropdownValueType/index.js +0 -13
  500. package/lib/utils/isFunction.js +0 -9
  501. package/lib/utils/isImg/index.js +0 -10
  502. package/lib/utils/isNil/index.js +0 -9
  503. package/lib/utils/isObject/index.js +0 -9
  504. package/lib/utils/isObject.js +0 -9
  505. package/lib/utils/isUrl/index.js +0 -23
  506. package/lib/utils/merge/index.js +0 -41
  507. package/lib/utils/nanoid/index.js +0 -35
  508. package/lib/utils/omitBoolean/index.js +0 -17
  509. package/lib/utils/omitUndefined/index.js +0 -18
  510. package/lib/utils/omitUndefinedAndEmptyArr/index.js +0 -20
  511. package/lib/utils/parseValueToMoment/index.js +0 -35
  512. package/lib/utils/pickProFormItemProps/index.js +0 -21
  513. package/lib/utils/pickProProps/index.js +0 -21
  514. package/lib/utils/proFieldParsingText/index.js +0 -166
  515. package/lib/utils/runFunction/index.js +0 -16
  516. package/lib/utils/sortByGivenOrder.js +0 -42
  517. package/lib/utils/sortByKeyArrayExtract.js +0 -44
  518. package/lib/utils/stringify/index.js +0 -21
  519. package/lib/utils/transformKeySubmitValue/index.js +0 -337
  520. package/lib/utils/useColSize.js +0 -26
  521. package/lib/utils/useEditableArray/index.js +0 -918
  522. package/lib/utils/useEditableMap/index.js +0 -219
  523. package/lib/utils/useInterval.js +0 -18
  524. package/lib/utils/useMediaQuery/index.js +0 -112
  525. package/lib/utils/useMediaQuery/query.js +0 -36
  526. package/lib/utils/useMountMergeState/index.js +0 -12
  527. package/lib/utils/useSet.js +0 -43
  528. package/lib/version.js +0 -9
  529. package/lib/vtx-color-picker/index.js +0 -171
  530. package/lib/vtx-color-picker/style/index.js +0 -60
  531. package/lib/vtx-combogrid/Combogrid.js +0 -255
  532. package/lib/vtx-combogrid/index.js +0 -129
  533. package/lib/vtx-combogrid/style/index.js +0 -48
  534. package/lib/vtx-datagrid/Alert/index.js +0 -57
  535. package/lib/vtx-datagrid/Alert/style.js +0 -50
  536. package/lib/vtx-datagrid/Store/Provide.js +0 -446
  537. package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +0 -531
  538. package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/style.js +0 -92
  539. package/lib/vtx-datagrid/ToolBar/components/Density/index.js +0 -54
  540. package/lib/vtx-datagrid/ToolBar/components/Fullscreen/index.js +0 -83
  541. package/lib/vtx-datagrid/ToolBar/components/TableStyle/index.js +0 -77
  542. package/lib/vtx-datagrid/ToolBar/index.js +0 -96
  543. package/lib/vtx-datagrid/ToolBar/style.js +0 -65
  544. package/lib/vtx-datagrid/index.js +0 -371
  545. package/lib/vtx-datagrid/renderColumnButtons.js +0 -104
  546. package/lib/vtx-datagrid/style/index.js +0 -86
  547. package/lib/vtx-datagrid/style/index.less +0 -242
  548. package/lib/vtx-date-picker/QdatePicker.js +0 -157
  549. package/lib/vtx-date-picker/generatePicker.js +0 -111
  550. package/lib/vtx-date-picker/index.js +0 -55
  551. package/lib/vtx-date-picker/style/index.js +0 -45
  552. package/lib/vtx-date-picker/style/index.less +0 -39
  553. package/lib/vtx-ellipsis-text/index.js +0 -60
  554. package/lib/vtx-ellipsis-text/style/index.js +0 -35
  555. package/lib/vtx-export/index.js +0 -203
  556. package/lib/vtx-export/style/index.js +0 -30
  557. package/lib/vtx-export-async/ColumnsSelect.js +0 -69
  558. package/lib/vtx-export-async/History.js +0 -264
  559. package/lib/vtx-export-async/index.js +0 -409
  560. package/lib/vtx-export-async/style/index.js +0 -55
  561. package/lib/vtx-export-async/util.js +0 -57
  562. package/lib/vtx-form-layout/Card.js +0 -83
  563. package/lib/vtx-form-layout/Divider.js +0 -31
  564. package/lib/vtx-form-layout/FormItem.js +0 -142
  565. package/lib/vtx-form-layout/Pane.js +0 -50
  566. package/lib/vtx-form-layout/Row.js +0 -26
  567. package/lib/vtx-form-layout/context.js +0 -8
  568. package/lib/vtx-form-layout/index.js +0 -89
  569. package/lib/vtx-form-layout/style/index.js +0 -268
  570. package/lib/vtx-icon/index.js +0 -90
  571. package/lib/vtx-icon/svg/alignRightOutlined.js +0 -34
  572. package/lib/vtx-icon/svg/columnHeightOutlined.js +0 -31
  573. package/lib/vtx-icon/svg/downOutlined.js +0 -30
  574. package/lib/vtx-icon/svg/fullscreen.js +0 -31
  575. package/lib/vtx-icon/svg/redoOutlined.js +0 -34
  576. package/lib/vtx-icon/svg/rightOutlined.js +0 -30
  577. package/lib/vtx-icon/svg/settingOutlined.js +0 -34
  578. package/lib/vtx-image/Image.js +0 -264
  579. package/lib/vtx-image/Preview.js +0 -146
  580. package/lib/vtx-image/PreviewGroup.js +0 -91
  581. package/lib/vtx-image/index.js +0 -31
  582. package/lib/vtx-image/style/index.js +0 -97
  583. package/lib/vtx-import/index.js +0 -424
  584. package/lib/vtx-import/result.js +0 -88
  585. package/lib/vtx-import/style/index.js +0 -25
  586. package/lib/vtx-import2/CheckResult.js +0 -50
  587. package/lib/vtx-import2/Content.js +0 -112
  588. package/lib/vtx-import2/DownloadSvg.js +0 -47
  589. package/lib/vtx-import2/ImportResult.js +0 -62
  590. package/lib/vtx-import2/UploadSvg.js +0 -47
  591. package/lib/vtx-import2/index.js +0 -458
  592. package/lib/vtx-import2/style/index.js +0 -105
  593. package/lib/vtx-input/TextArea/index.js +0 -70
  594. package/lib/vtx-input/TextArea/style.js +0 -36
  595. package/lib/vtx-input/index.js +0 -100
  596. package/lib/vtx-input/style/index.js +0 -30
  597. package/lib/vtx-input/useLength.js +0 -27
  598. package/lib/vtx-modal/Title.js +0 -42
  599. package/lib/vtx-modal/index.js +0 -249
  600. package/lib/vtx-modal/style/index.js +0 -115
  601. package/lib/vtx-page-layout/Basic.js +0 -36
  602. package/lib/vtx-page-layout/Content.js +0 -50
  603. package/lib/vtx-page-layout/Pane.js +0 -47
  604. package/lib/vtx-page-layout/TabLayout.js +0 -70
  605. package/lib/vtx-page-layout/TableLayout.js +0 -172
  606. package/lib/vtx-page-layout/TableWrap.js +0 -43
  607. package/lib/vtx-page-layout/TreeLayout.js +0 -84
  608. package/lib/vtx-page-layout/container.js +0 -74
  609. package/lib/vtx-page-layout/index.js +0 -32
  610. package/lib/vtx-page-layout/style/index.js +0 -136
  611. package/lib/vtx-provider/index.js +0 -352
  612. package/lib/vtx-provider/intl.js +0 -145
  613. package/lib/vtx-provider/locale/ar_EG.js +0 -77
  614. package/lib/vtx-provider/locale/ca_ES.js +0 -77
  615. package/lib/vtx-provider/locale/cs_CZ.js +0 -80
  616. package/lib/vtx-provider/locale/de_DE.js +0 -77
  617. package/lib/vtx-provider/locale/en_GB.js +0 -79
  618. package/lib/vtx-provider/locale/en_US.js +0 -187
  619. package/lib/vtx-provider/locale/es_ES.js +0 -77
  620. package/lib/vtx-provider/locale/fa_IR.js +0 -77
  621. package/lib/vtx-provider/locale/fr_FR.js +0 -77
  622. package/lib/vtx-provider/locale/he_IL.js +0 -80
  623. package/lib/vtx-provider/locale/hr_HR.js +0 -77
  624. package/lib/vtx-provider/locale/id_ID.js +0 -77
  625. package/lib/vtx-provider/locale/it_IT.js +0 -77
  626. package/lib/vtx-provider/locale/ja_JP.js +0 -77
  627. package/lib/vtx-provider/locale/ko_KR.js +0 -77
  628. package/lib/vtx-provider/locale/mn_MN.js +0 -77
  629. package/lib/vtx-provider/locale/ms_MY.js +0 -77
  630. package/lib/vtx-provider/locale/nl_NL.js +0 -80
  631. package/lib/vtx-provider/locale/pl_PL.js +0 -77
  632. package/lib/vtx-provider/locale/pt_BR.js +0 -77
  633. package/lib/vtx-provider/locale/ro_RO.js +0 -80
  634. package/lib/vtx-provider/locale/ru_RU.js +0 -77
  635. package/lib/vtx-provider/locale/sk_SK.js +0 -80
  636. package/lib/vtx-provider/locale/sr_RS.js +0 -77
  637. package/lib/vtx-provider/locale/sv_SE.js +0 -80
  638. package/lib/vtx-provider/locale/th_TH.js +0 -80
  639. package/lib/vtx-provider/locale/tr_TR.js +0 -77
  640. package/lib/vtx-provider/locale/uk_UA.js +0 -80
  641. package/lib/vtx-provider/locale/uz_UZ.js +0 -77
  642. package/lib/vtx-provider/locale/vi_VN.js +0 -77
  643. package/lib/vtx-provider/locale/zh_CN.js +0 -189
  644. package/lib/vtx-provider/locale/zh_HK.js +0 -89
  645. package/lib/vtx-provider/locale/zh_TW.js +0 -80
  646. package/lib/vtx-provider/typing/layoutToken.js +0 -66
  647. package/lib/vtx-provider/useStyle/index.js +0 -116
  648. package/lib/vtx-provider/utils/merge.js +0 -33
  649. package/lib/vtx-rps-frame/index.js +0 -173
  650. package/lib/vtx-rps-frame/style/index.js +0 -32
  651. package/lib/vtx-scrollable-row/index.js +0 -193
  652. package/lib/vtx-scrollable-row/style/index.js +0 -114
  653. package/lib/vtx-search/index.js +0 -355
  654. package/lib/vtx-search/style/index.js +0 -101
  655. package/lib/vtx-select/index.js +0 -259
  656. package/lib/vtx-select/style/index.js +0 -81
  657. package/lib/vtx-signature/index.js +0 -127
  658. package/lib/vtx-signature/style/index.js +0 -53
  659. package/lib/vtx-split-pane/Resizer.js +0 -52
  660. package/lib/vtx-split-pane/SplitPane.js +0 -68
  661. package/lib/vtx-split-pane/index.js +0 -15
  662. package/lib/vtx-split-pane/style/index.js +0 -139
  663. package/lib/vtx-statistics-column/Back.js +0 -36
  664. package/lib/vtx-statistics-column/Item.js +0 -62
  665. package/lib/vtx-statistics-column/Total.js +0 -62
  666. package/lib/vtx-statistics-column/context.js +0 -8
  667. package/lib/vtx-statistics-column/index.js +0 -63
  668. package/lib/vtx-statistics-column/style/index.js +0 -78
  669. package/lib/vtx-time-picker/index.js +0 -45
  670. package/lib/vtx-time-picker/style/index.js +0 -1
  671. package/lib/vtx-transfer/Transfer.js +0 -255
  672. package/lib/vtx-transfer/index.js +0 -15
  673. package/lib/vtx-transfer/style/index.js +0 -48
  674. package/lib/vtx-tree/index.js +0 -348
  675. package/lib/vtx-tree/style/index.js +0 -56
  676. package/lib/vtx-tree/utils.js +0 -80
  677. package/lib/vtx-tree-select/index.js +0 -296
  678. package/lib/vtx-tree-select/style/index.js +0 -78
  679. package/lib/vtx-upload/FilePreview.js +0 -116
  680. package/lib/vtx-upload/index.js +0 -474
  681. package/lib/vtx-upload/style/index.js +0 -89
  682. package/lib/vtx-wang-editor/index.js +0 -251
  683. package/lib/vtx-wang-editor/style/index.js +0 -39
  684. package/lib/vtx-wang-editor/style/index.less +0 -12
  685. package/lib/vtx-wang-editor/wangEditorUtil.js +0 -236
@@ -1,1264 +0,0 @@
1
- "use strict";(self.webpackChunk_vtx_components=self.webpackChunk_vtx_components||[]).push([[3421],{83421:function(cc,ft,C){C.r(ft),C.d(ft,{default:function(){return sc}});var M=C(8063),gt=C(82424),pr=function(e){return e.compat!==!0&&(e.compat=!0),function(n){for(var o=new RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),r={html:n,ids:[],css:""},a,i={};(a=o.exec(n))!==null;)i[a[1]]===void 0&&(i[a[1]]=!0);return r.ids=Object.keys(e.inserted).filter(function(s){return(i[s]!==void 0||e.registered[e.key+"-"+s]===void 0)&&e.inserted[s]!==!0?(r.css+=e.inserted[s],!0):!1}),r}},d=C(31549),fr=function(e){return{ids:Object.keys(e.inserted),css:Object.values(e.inserted).filter(function(n){return typeof n=="string"}).join("")}},vt=(0,M.Df)(),et=function(e,n){var o,r=typeof(n==null?void 0:n.includeAntd)!="undefined"?n.includeAntd:!0,a=(o=n==null?void 0:n.antdCache)!==null&&o!==void 0?o:vt,i=(0,M.EN)(a),s=i.replace(/<style\s[^>]*>/g,"").replace(/<\/style>/g,""),c={style:(0,d.jsx)("style",{"data-antd-version":gt.Z,"data-rc-order":"prepend","data-rc-priority":"-9999",dangerouslySetInnerHTML:{__html:s}},"antd"),ids:Array.from(a.cache.keys()),key:"antd",css:s,tag:'<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="'.concat(gt.Z,'">').concat(s,"</style>")},u=C.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__.getCacheList().map(function(m){var f=pr(m),p=e?f(e):fr(m);if(!p.css)return null;var v=p.css,g=p.ids;return{key:m.key,style:(0,d.jsx)("style",{"data-emotion":"".concat(m.key," ").concat(g.join(" ")),dangerouslySetInnerHTML:{__html:v}},m.key),css:v,ids:g,tag:'<style data-emotion="'.concat(m.key," ").concat(p.ids.join(" "),'">').concat(p.css,"</style>")}});return s&&r&&u.unshift(c),u.filter(Boolean)};et.cache=vt;var D=C(96244),gr=C(44204),ye=C.n(gr),l=C(44194),ae=C(1206),Oe=C(38956),vr=C(51865),T=C.n(vr),hr=C(8193),ce=C(58504),xr=C(84142),br=C(1023),yr=C(21513),Re=C(70791),Ce=C(88492);const Cr=t=>{const{componentCls:e,colorText:n,fontSize:o,lineHeight:r,fontFamily:a}=t;return{[e]:{color:n,fontSize:o,lineHeight:r,fontFamily:a,[`&${e}-rtl`]:{direction:"rtl"}}}},Sr=()=>({});var wr=(0,Ce.I$)("App",Cr,Sr),$r=t=>{const{prefixCls:e,children:n,className:o,rootClassName:r,message:a,notification:i,style:s,component:c="div"}=t,{direction:u,getPrefixCls:m}=(0,l.useContext)(ce.E_),f=m("app",e),[p,v,g]=wr(f),h=T()(v,f,o,r,g,{[`${f}-rtl`]:u==="rtl"}),x=(0,l.useContext)(Re.J),b=l.useMemo(()=>({message:Object.assign(Object.assign({},x.message),a),notification:Object.assign(Object.assign({},x.notification),i)}),[a,i,x.message,x.notification]),[y,j]=(0,xr.Z)(b.message),[S,I]=(0,yr.Z)(b.notification),[O,k]=(0,br.Z)(),w=l.useMemo(()=>({message:y,notification:S,modal:O}),[y,S,O]);(0,hr.ln)("App")(!(g&&c===!1),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");const $=c===!1?l.Fragment:c,N={className:h,style:s};return p(l.createElement(Re.Z.Provider,{value:w},l.createElement(Re.J.Provider,{value:b},l.createElement($,Object.assign({},c===!1?void 0:N),k,j,I,n))))},jr=()=>l.useContext(Re.Z);const ht=$r;ht.useApp=jr;var Ir=ht,Or=C(71093),kr=["children"];function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function bt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xt(Object(n),!0).forEach(function(o){(0,ae.Z)(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var Er=function(t){var e=t.children,n=(0,Oe.Z)(t,kr);return(0,d.jsx)(Or.f,bt(bt({},n),{},{children:(0,d.jsx)(Ir,{children:e})}))},Le=C(28548),Nr=C(52855),R=C(45550),Mr=C(19764),yt={frontmatter:{},toc:[],texts:[]},Tr=function(){var e=(0,R.AC)(),n=(0,D.MZ)(),o=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yt;return n.meta&&Object.keys(n.meta).forEach(function(i){var s,c;(c=(s=a)[i])!==null&&c!==void 0||(s[i]=n.meta[i])}),a};(0,Mr.ZP)(n.id,D.lZ,{fallback:yt,onSuccess:function(a){e.setState({routeMeta:o(a)})}})},Pr=["setLoading"],Br=["setLoading"],Dr=typeof window!="undefined",Ct={},Hr=function(e,n){(0,l.useEffect)(function(){l.startTransition(function(){e()})},n)},zr=function(e,n){(0,Nr.Z)(function(){e()},n,{wait:32,maxWait:96})},Lr=typeof l.startTransition=="function"?Hr:zr,Me=function(e,n,o){var r=(0,R.AC)(),a=o||function(i,s){return r.setState((0,ae.Z)({},i,s))};!Dr&&!Ct[e]&&(a(e,n),Ct[e]=!0),Lr(function(){a(e,n)},[n])},Ar={"zh-CN":"\u9996\u9875","en-US":"Home"},Zr=function(e){return{title:Ar[e],link:"/",activePath:"/"}},Rr=(0,l.memo)(function(){var t=(0,D.WF)(),e=(0,D.tx)(),n=(0,D.zh)(),o=(0,D.OK)(),r=(0,D.TH)(),a=(0,D.bU)(),i=(0,R.AC)();return Tr(),Me("siteData",t,function(){var s=t.setLoading,c=(0,Oe.Z)(t,Pr),u=i.getState(),m=u.siteData,f=m.setLoading,p=(0,Oe.Z)(m,Br);ye()(c,p)||i.setState({siteData:t})}),Me("sidebar",e),Me("location",r),Me("tabMeta",n),Me("locale",a),Me("navData",o,function(){var s=t.themeConfig.hideHomeNav?o:[Zr(a.id)].concat((0,Le.Z)(o));i.setState({navData:s})}),null}),Wr=C(13537),tt=C(99047);const Fr=()=>l.useReducer(t=>t+1,0);var Xr=C(38248);const Vr=(t,e)=>{typeof(t==null?void 0:t.addEventListener)!="undefined"?t.addEventListener("change",e):typeof(t==null?void 0:t.addListener)!="undefined"&&t.addListener(e)},Ur=(t,e)=>{typeof(t==null?void 0:t.removeEventListener)!="undefined"?t.removeEventListener("change",e):typeof(t==null?void 0:t.removeListener)!="undefined"&&t.removeListener(e)},St=["xxl","xl","lg","md","sm","xs"],Kr=t=>({xs:`(max-width: ${t.screenXSMax}px)`,sm:`(min-width: ${t.screenSM}px)`,md:`(min-width: ${t.screenMD}px)`,lg:`(min-width: ${t.screenLG}px)`,xl:`(min-width: ${t.screenXL}px)`,xxl:`(min-width: ${t.screenXXL}px)`}),Gr=t=>{const e=t,n=[].concat(St).reverse();return n.forEach((o,r)=>{const a=o.toUpperCase(),i=`screen${a}Min`,s=`screen${a}`;if(!(e[i]<=e[s]))throw new Error(`${i}<=${s} fails : !(${e[i]}<=${e[s]})`);if(r<n.length-1){const c=`screen${a}Max`;if(!(e[s]<=e[c]))throw new Error(`${s}<=${c} fails : !(${e[s]}<=${e[c]})`);const m=`screen${n[r+1].toUpperCase()}Min`;if(!(e[c]<=e[m]))throw new Error(`${c}<=${m} fails : !(${e[c]}<=${e[m]})`)}}),t},mc=(t,e)=>{if(e){for(const n of St)if(t[n]&&(e==null?void 0:e[n])!==void 0)return e[n]}};var Yr=()=>{const[,t]=(0,Xr.ZP)(),e=Kr(Gr(t));return l.useMemo(()=>{const n=new Map;let o=-1,r={};return{responsiveMap:e,matchHandlers:{},dispatch(a){return r=a,n.forEach(i=>i(r)),n.size>=1},subscribe(a){return n.size||this.register(),o+=1,n.set(o,a),a(r),o},unsubscribe(a){n.delete(a),n.size||this.unregister()},register(){Object.entries(e).forEach(([a,i])=>{const s=({matches:u})=>{this.dispatch(Object.assign(Object.assign({},r),{[a]:u}))},c=window.matchMedia(i);Vr(c,s),this.matchHandlers[i]={mql:c,listener:s},s(c)})},unregister(){Object.values(e).forEach(a=>{const i=this.matchHandlers[a];Ur(i==null?void 0:i.mql,i==null?void 0:i.listener)}),n.clear()}}},[e])};function Qr(t=!0,e={}){const n=(0,l.useRef)(e),[,o]=Fr(),r=Yr();return(0,tt.Z)(()=>{const a=r.subscribe(i=>{n.current=i,t&&o()});return()=>r.unsubscribe(a)},[]),n.current}var Jr=Qr;function _r(){return Jr()}var qr={useBreakpoint:_r},ke=function(){var e=qr.useBreakpoint();return(0,l.useMemo)(function(){return(0,Wr.f)(e)},[e])},q=C(75527),je=C(84719),wt=C(77813);function $t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function jt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$t(Object(n),!0).forEach(function(o){(0,ae.Z)(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var It=function(e){if(e.location.pathname==="/")return"/";var n=e.navData.filter(function(o){return o.link!=="/"}).find(function(o){return e.location.pathname.startsWith(o.activePath||o.link)});return(n==null?void 0:n.activePath)||(n==null?void 0:n.link)||""},Ot=function(e){var n,o,r=e.routeMeta,a=r.toc,i=r.frontmatter;return(n=e.tabMeta)!==null&&n!==void 0&&n.toc&&(a=e.tabMeta.toc),(o=e.tabMeta)!==null&&o!==void 0&&o.frontmatter&&(i=e.tabMeta.frontmatter),a.reduce(function(s,c){var u=function(p){if(!i.tocDepth||typeof i.tocDepth=="number"&&i.tocDepth>p-1)return!0};if(c.depth===2&&u(2))s.push(jt({},c));else if(c.depth===3&&u(3)){var m=s[s.length-1];m&&(m.children=m.children||[],m.children.push(jt({},c)))}return s},[])},kt=function(e){var n;return((n=e.sidebar)===null||n===void 0?void 0:n.map(function(o){return o.children}).flat())||[]},ea=function(e){var n=kt(e),o=e.location.pathname,r=n.findIndex(function(a){return a.link===o});return{prev:n[r-1],currentIndex:r,next:n[r+1]}},ta=C(47712),Et=C(5651),E=C(57631),ne=C(98310),Nt,Mt,Tt,Pt,na=(0,ne.kc)(function(t){var e=t.token,n=t.css;return{container:n(Nt||(Nt=(0,E.Z)([`
2
- background: `,`;
3
- padding: 16px 24px;
4
- border-radius: 8px;
5
- cursor: pointer;
6
-
7
- min-width: 250px;
8
- &:hover {
9
- background: `,`;
10
- }
11
- `])),e.colorBgContainer,e.colorFillTertiary),nav:n(Mt||(Mt=(0,E.Z)([`
12
- color: `,`;
13
- font-size: 12px;
14
- `])),e.colorTextTertiary),title:n(Tt||(Tt=(0,E.Z)([`
15
- font-size: 16px;
16
- `]))),alignmentEnd:n(Pt||(Pt=(0,E.Z)([`
17
- justify-content: flex-end;
18
- `])))}}),oa=function(e){var n=e.title,o=e.link,r=e.type,a=na(),i=a.styles,s=a.cx,c=(0,D.YB)(),u=(0,l.useMemo)(function(){switch(r){case"prev":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ta.Z,{})," ",c.formatMessage({id:"content.footer.actions.previous"})]});case"next":return(0,d.jsxs)(d.Fragment,{children:[c.formatMessage({id:"content.footer.actions.next"})," ",(0,d.jsx)(Et.Z,{})]})}},[r]);return(0,d.jsx)(D.rU,{to:o,children:(0,d.jsxs)(q.D,{className:i.container,gap:8,children:[(0,d.jsx)(q.D,{horizontal:!0,gap:4,className:s(i.nav,r==="next"&&i.alignmentEnd),children:u}),(0,d.jsx)(q.D,{horizontal:!0,className:s(i.title,r==="next"&&i.alignmentEnd),children:n})]})})},Bt=(0,l.memo)(oa);function Dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Ht(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Dt(Object(n),!0).forEach(function(o){(0,ae.Z)(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var ra=function(){var e=(0,R.HX)(ea,ye()),n=e.prev,o=e.next,r=ke(),a=r.mobile;return(0,d.jsxs)(q.D,{horizontal:!a,gap:a?12:0,distribution:"space-between",style:{margin:a?12:0},children:[n?(0,d.jsx)(Bt,Ht({type:"prev"},n)):(0,d.jsx)("div",{}),o?(0,d.jsx)(Bt,Ht({type:"next"},o)):(0,d.jsx)("div",{})]})},aa=(0,l.memo)(ra),zt,ia=(0,ne.kc)(function(t){var e=t.token,n=t.responsive,o=t.isDarkMode,r=t.css;return{content:r(zt||(zt=(0,E.Z)([`
19
- min-height: 400px;
20
- flex: 1;
21
- width: 100%;
22
- box-sizing: border-box;
23
-
24
- padding: 24px 48px;
25
- border-radius: 10px;
26
- background-color: `,`;
27
- box-shadow: `,`;
28
-
29
- &:has([data-page-tabs='true']) {
30
- padding-top: 8px;
31
- }
32
-
33
- `,` {
34
- padding: 8px 16px;
35
- border-radius: 0;
36
- }
37
-
38
- .markdown {
39
- color: `,`;
40
-
41
- h1,
42
- h2,
43
- h3 {
44
- color: `,`;
45
- }
46
- p {
47
- line-height: 1.8;
48
- }
49
-
50
- // hyperlink
51
- a {
52
- color: `,`;
53
-
54
- &:hover {
55
- color: `,`;
56
- }
57
-
58
- &:active {
59
- color: `,`;
60
- }
61
- }
62
-
63
- img {
64
- max-width: 100%;
65
-
66
- opacity: `,`;
67
- }
68
-
69
- > [data-code-type='highlighter'] {
70
- pre {
71
- margin: 8px 0 !important;
72
- }
73
- }
74
- // inline code
75
- > :not([data-code-type='highlighter']) code {
76
- padding: 2px 6px;
77
-
78
- //FIXME: \u7B49\u4E0B\u4E00\u7248 token \u4F18\u5316\u5347\u7EA7
79
- color: `,`;
80
- background: `,`;
81
- border-radius: 4px;
82
- }
83
-
84
- // pre tag
85
- pre {
86
- font-size: 14px;
87
- padding-left: 24px;
88
- padding-right: 24px;
89
- }
90
-
91
- // table
92
- table {
93
- width: 100%;
94
- border-spacing: 1px;
95
- }
96
-
97
- th {
98
- background: `,`;
99
- }
100
-
101
- tr {
102
- }
103
- th,
104
- td {
105
- padding-block-start: 10px;
106
- padding-block-end: 10px;
107
- padding-inline-start: 16px;
108
- padding-inline-end: 16px;
109
- border-bottom: 1px solid `,`;
110
- }
111
-
112
- // blockquote
113
- blockquote {
114
- font-style: italic;
115
-
116
- margin: 16px 0;
117
- padding: 0 12px;
118
- color: `,`;
119
- border-left: 3px solid `,`;
120
- }
121
-
122
- // list
123
- ul li {
124
- line-height: 1.8;
125
- }
126
-
127
- // anchor of headings
128
- h1,
129
- h2,
130
- h3,
131
- h4,
132
- h5,
133
- h6 {
134
- > a[aria-hidden]:first-child {
135
- float: left;
136
- width: 20px;
137
- padding-inline-end: 4px;
138
- margin-inline-start: -24px;
139
- color: `,`;
140
- // hide phantom blank node
141
- font-size: 0;
142
- text-align: right;
143
- line-height: inherit;
144
-
145
- &:hover {
146
- border: 0;
147
- }
148
-
149
- > .icon-link::before {
150
- content: '#';
151
- color: `,`;
152
- font-size: 20px;
153
- }
154
- }
155
-
156
- &:not(:hover) > a[aria-hidden]:first-child > .icon-link {
157
- visibility: hidden;
158
- }
159
- }
160
- }
161
- `])),e.colorBgContainer,e.boxShadowTertiary,n.mobile,o?e.colorTextSecondary:e.colorText,e.colorText,e.colorLink,e.colorLinkHover,e.colorLinkActive,o?.8:1,o?e["cyan-7"]:e.colorPrimaryText,o?e["cyan-1"]:e.colorPrimaryBg,e.colorFillTertiary,e.colorBorderSecondary,e.colorTextDescription,e.colorBorder,e.colorText,e.colorTextTertiary)}}),la=function(e){var n=e.children,o=(0,R.HX)(function(u){return u.siteData.loading}),r=ia(),a=r.styles,i=r.cx,s=ke(),c=s.mobile;return(0,d.jsxs)(q.D,{width:"100%",gap:c?0:24,children:[(0,d.jsxs)("div",{className:i("dumi-antd-style-content",a.content),children:[(0,d.jsx)(wt.Z,{active:!0,paragraph:!0,loading:o}),(0,d.jsx)("div",{style:{display:o?"none":void 0},children:n})]}),(0,d.jsx)(aa,{})]})},sa=(0,l.memo)(la),Lt=C(13795),ue=C(54965),Ee=C(77167);const ca=t=>{const{componentCls:e}=t;return{[e]:{"&-horizontal":{[`&${e}`]:{"&-sm":{marginBlock:t.marginXS},"&-md":{marginBlock:t.margin}}}}}},da=t=>{const{componentCls:e,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=t;return{[e]:Object.assign(Object.assign({},(0,ue.Wf)(t)),{borderBlockStart:`${(0,M.bf)(r)} solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,M.bf)(r)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,M.bf)(t.marginLG)} 0`},[`&-horizontal${e}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,M.bf)(t.dividerHorizontalWithTextGutterMargin)} 0`,color:t.colorTextHeading,fontWeight:500,fontSize:t.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,M.bf)(r)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e}-with-text-start`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${e}-with-text-end`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${e}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${(0,M.bf)(r)} 0 0`},[`&-horizontal${e}-with-text${e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${(0,M.bf)(r)} 0 0`},[`&-horizontal${e}-with-text${e}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${e}-dotted`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e}-with-text`]:{color:t.colorText,fontWeight:"normal",fontSize:t.fontSize},[`&-horizontal${e}-with-text-start${e}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${e}-with-text-end${e}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e}-inner-text`]:{paddingInlineEnd:n}}})}},ua=t=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:t.marginXS});var ma=(0,Ce.I$)("Divider",t=>{const e=(0,Ee.IX)(t,{dividerHorizontalWithTextGutterMargin:t.margin,sizePaddingEdgeHorizontal:0});return[da(e),ca(e)]},ua,{unitless:{orientationMargin:!0}}),pa=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const fa={small:"sm",middle:"md"};var ga=t=>{const{getPrefixCls:e,direction:n,className:o,style:r}=(0,ce.dj)("divider"),{prefixCls:a,type:i="horizontal",orientation:s="center",orientationMargin:c,className:u,rootClassName:m,children:f,dashed:p,variant:v="solid",plain:g,style:h,size:x}=t,b=pa(t,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),y=e("divider",a),[j,S,I]=ma(y),O=(0,Lt.Z)(x),k=fa[O],w=!!f,$=l.useMemo(()=>s==="left"?n==="rtl"?"end":"start":s==="right"?n==="rtl"?"start":"end":s,[n,s]),N=$==="start"&&c!=null,A=$==="end"&&c!=null,H=T()(y,o,S,I,`${y}-${i}`,{[`${y}-with-text`]:w,[`${y}-with-text-${$}`]:w,[`${y}-dashed`]:!!p,[`${y}-${v}`]:v!=="solid",[`${y}-plain`]:!!g,[`${y}-rtl`]:n==="rtl",[`${y}-no-default-orientation-margin-start`]:N,[`${y}-no-default-orientation-margin-end`]:A,[`${y}-${k}`]:!!k},u,m),L=l.useMemo(()=>typeof c=="number"?c:/^\d+$/.test(c)?Number(c):c,[c]),z={marginInlineStart:N?L:void 0,marginInlineEnd:A?L:void 0};return j(l.createElement("div",Object.assign({className:H,style:Object.assign(Object.assign({},r),h)},b,{role:"separator"}),f&&i!=="vertical"&&l.createElement("span",{className:`${y}-inner-text`,style:z},f)))},ie=C(94433),va=function(e){var n=e.prefixCls,o=e.icon,r=e.title,a=e.items,i=a===void 0?[]:a,s=e.style,c=e.className;return l.createElement("div",{className:T()("".concat(n,"-column"),c),style:s},(r||o)&&l.createElement("h2",null,o&&l.createElement("span",{className:"".concat(n,"-column-icon")},o),r),i.map(function(u,m){var f=u.LinkComponent||"a";return l.createElement("div",{className:T()("".concat(n,"-item"),u.className),style:u.style,key:m},l.createElement(f,{href:u.url,to:typeof f!="string"?u.url:void 0,target:u.openExternal?"_blank":void 0,rel:u.openExternal?"noopener noreferrer":void 0},u.icon&&l.createElement("span",{className:"".concat(n,"-item-icon")},u.icon),u.title),u.description&&l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(n,"-item-separator")},"-"),l.createElement("span",{className:"".concat(n,"-item-description")},u.description)))}))},ha=va,xa=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],ba=function(e){var n=e.prefixCls,o=n===void 0?"rc-footer":n,r=e.className,a=e.style,i=e.bottom,s=e.columns,c=e.maxColumnsPerRow,u=e.backgroundColor,m=e.columnLayout,f=e.theme,p=f===void 0?"dark":f,v=(0,Oe.Z)(e,xa),g=T()("".concat(o),r,(0,ae.Z)({},"".concat(o,"-").concat(p),!!p)),h=typeof c=="number"&&c>0;return l.createElement("footer",(0,ie.Z)((0,ie.Z)({},v),{},{className:g,style:(0,ie.Z)((0,ie.Z)({},a),{},{backgroundColor:u})}),l.createElement("section",{className:"".concat(o,"-container")},s&&s.length>0&&l.createElement("section",{className:"".concat(o,"-columns"),style:{justifyContent:m,flexWrap:h?"wrap":void 0}},s.map(function(x,b){var y=x.title,j=x.icon,S=x.style,I=x.className,O=x.items,k=O===void 0?[]:O,w=(0,ie.Z)({},S);return h&&(w.flex="0 0 ".concat(100/(c+1)+.1,"%")),l.createElement(ha,{key:b,prefixCls:o,title:y,icon:j,items:k,style:w,className:I})}))),i&&l.createElement("section",{className:"".concat(o,"-bottom")},l.createElement("div",{className:"".concat(o,"-bottom-container")},i)))},ya=ba,At,Zt,Ca=(0,ne.kc)(function(t,e){var n=t.css,o=t.responsive,r=t.token,a="rc-footer";return{container:n(At||(At=(0,E.Z)([`
162
- grid-area: footer;
163
- border-top: 1px solid `,`;
164
- color: `,`;
165
- text-align: center;
166
- align-self: stretch;
167
-
168
- `,` {
169
- border: none;
170
- flex-direction: column;
171
- }
172
- `])),r.colorSplit,r.colorTextDescription,o.mobile),footer:n(Zt||(Zt=(0,E.Z)([`
173
- color: `,`;
174
- font-size: 14px;
175
- line-height: 1.5;
176
- background-color: `,`;
177
-
178
- &.`,` {
179
- a {
180
- color: `,`;
181
- text-decoration: none;
182
- transition: all 0.3s;
183
-
184
- &:hover {
185
- color: `,`;
186
- }
187
- }
188
- }
189
-
190
- .`,` {
191
- &-container {
192
- width: 100%;
193
- max-width: `,`px;
194
- margin: auto;
195
- padding: `,`;
196
- }
197
-
198
- &-columns {
199
- display: flex;
200
- justify-content: space-around;
201
- }
202
-
203
- &-column {
204
- h2 {
205
- position: relative;
206
- margin: 0 auto;
207
- color: `,`;
208
- font-weight: 500;
209
- font-size: 16px;
210
- }
211
-
212
- &-icon {
213
- position: relative;
214
- top: -1px;
215
- display: inline-block;
216
- width: 22px;
217
- text-align: center;
218
- vertical-align: middle;
219
- margin-inline-end: 0.5em;
220
-
221
- > span,
222
- > svg,
223
- img {
224
- display: block;
225
- width: 100%;
226
- }
227
- }
228
- }
229
-
230
- &-item {
231
- margin: 12px 0;
232
-
233
- &-icon {
234
- position: relative;
235
- top: -1px;
236
- display: inline-block;
237
- width: 16px;
238
- text-align: center;
239
- vertical-align: middle;
240
- margin-inline-end: 0.4em;
241
-
242
- > span,
243
- > svg,
244
- img {
245
- display: block;
246
- width: 100%;
247
- }
248
- }
249
-
250
- &-separator {
251
- margin: 0 0.3em;
252
- }
253
- }
254
-
255
- &-bottom {
256
- &-container {
257
- width: 100%;
258
- max-width: 1200px;
259
- margin: 0 auto;
260
- padding: 16px 0;
261
- font-size: 16px;
262
- line-height: 32px;
263
- text-align: center;
264
- border-top: 1px solid `,`;
265
- }
266
- }
267
-
268
- &-light {
269
- color: rgba(0, 0, 0, 0.85);
270
- background-color: transparent;
271
-
272
- h2,
273
- a {
274
- color: rgba(0, 0, 0, 0.85);
275
- }
276
- }
277
-
278
- &-light &-bottom-container {
279
- border-top-color: #e8e8e8;
280
- }
281
-
282
- &-light &-item-separator,
283
- &-light &-item-description {
284
- color: rgba(0, 0, 0, 0.45);
285
- }
286
- }
287
-
288
- `,` {
289
- .`,` {
290
- text-align: center;
291
-
292
- &-container {
293
- padding: 40px 0;
294
- }
295
-
296
- &-columns {
297
- display: block;
298
- }
299
-
300
- &-column {
301
- display: block;
302
- margin-bottom: 40px;
303
-
304
- &:last-child {
305
- margin-bottom: 0;
306
- }
307
- }
308
- }
309
- }
310
- `])),r.colorTextSecondary,r.colorBgLayout,a,r.colorTextTertiary,r.colorLinkHover,a,r.contentMaxWidth,e?"0":"60px 0 20px",r.colorText,e?"transparent":r.colorBorderSecondary,o.mobile,a)}}),Sa=function(e){var n=e.columns,o=e.bottom,r=e.theme,a=!n||(n==null?void 0:n.length)===0,i=Ca(a),s=i.styles;return(0,d.jsx)("div",{className:s.container,children:(0,d.jsx)(ya,{theme:r,className:s.footer,columns:n,bottom:o})})},wa=Sa,Rt=function(e){return e.siteData.themeConfig.name},nt=function(e){var n,o;return((n=e.siteData.themeConfig)===null||n===void 0||(n=n.socialLinks)===null||n===void 0?void 0:n.github)||((o=e.siteData.themeConfig)===null||o===void 0?void 0:o.github)},$a=function(e){var n=e.siteData.themeConfig.logo;return n?(n.startsWith("http"),n):n||""},ja=C(57828),Ia=C(35648),Wt=C(3956),Oa=C(69079),ka=C(54437),Ea=C(60262),Na=function(e){var n=e.github,o={title:"\u76F8\u5173\u8D44\u6E90",items:[{title:"Ant Design",url:"https://ant.design",openExternal:!0},{title:"Ant Design Pro",url:"https://pro.ant.design",openExternal:!0},{title:"Ant Design Pro Components",url:"https://procomponents.ant.design",openExternal:!0},{title:"Umi",description:"React \u5E94\u7528\u5F00\u53D1\u6846\u67B6",url:"https://umijs.org",openExternal:!0},{title:"Dumi",description:"\u7EC4\u4EF6/\u6587\u6863\u7814\u53D1\u5DE5\u5177",url:"https://d.umijs.org",openExternal:!0},{title:"qiankun",description:"\u5FAE\u524D\u7AEF\u6846\u67B6",url:"https://qiankun.umijs.org",openExternal:!0}]},r={title:"\u793E\u533A",items:[{icon:(0,d.jsx)(ja.Z,{}),title:"Medium",url:"http://medium.com/ant-design/",openExternal:!0},{icon:(0,d.jsx)(Ia.Z,{style:{color:"#1DA1F2"}}),title:"Twitter",url:"http://twitter.com/antdesignui",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"Ant Design \u8BED\u96C0\u4E13\u680F",url:"https://yuque.com/ant-design/ant-design",openExternal:!0},{icon:(0,d.jsx)(Wt.Z,{style:{color:"#056de8"}}),title:"Ant Design \u77E5\u4E4E\u4E13\u680F",url:"https://www.zhihu.com/column/c_1564262000561106944",openExternal:!0},{icon:(0,d.jsx)(Wt.Z,{style:{color:"#056de8"}}),title:"\u4F53\u9A8C\u79D1\u6280\u4E13\u680F",url:"http://zhuanlan.zhihu.com/xtech",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png",alt:"seeconf"}),title:"SEE Conf",description:"SEE Conf-\u8682\u8681\u4F53\u9A8C\u79D1\u6280\u5927\u4F1A",url:"https://seeconf.antfin.com/",openExternal:!0}]},a={icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"more products"}),title:"\u66F4\u591A\u4EA7\u54C1",items:[{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"\u8BED\u96C0",url:"https://yuque.com",description:"\u77E5\u8BC6\u521B\u4F5C\u4E0E\u5206\u4EAB\u5DE5\u5177",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/nc7Fc0XBg5/8a6844f5-a6ed-4630-9177-4fa5d0b7dd47.png",alt:"AntV"}),title:"AntV",url:"https://antv.vision",description:"\u6570\u636E\u53EF\u89C6\u5316\u89E3\u51B3\u65B9\u6848",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://www.eggjs.org/logo.svg",alt:"Egg"}),title:"Egg",url:"https://eggjs.org",description:"\u4F01\u4E1A\u7EA7 Node.js \u6846\u67B6",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/DMDOlAUhmktLyEODCMBR.ico",alt:"kitchen"}),title:"Kitchen",description:"Sketch \u5DE5\u5177\u96C6",url:"https://kitchen.alipay.com",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"xtech"}),title:"\u8682\u8681\u4F53\u9A8C\u79D1\u6280",url:"https://xtech.antfin.com/",openExternal:!0}]},i={title:"\u5E2E\u52A9",items:[n?{icon:(0,d.jsx)(Oa.Z,{}),title:"GitHub",url:n,openExternal:!0}:void 0,{icon:(0,d.jsx)(ka.Z,{}),title:"\u66F4\u65B0\u65E5\u5FD7",url:"/changelog",LinkComponent:D.rU},n?{icon:(0,d.jsx)(Ea.Z,{}),title:"\u8BA8\u8BBA",url:"".concat(n,"/issues"),openExternal:!0}:void 0].filter(Boolean)};return[]},Ft,Xt,Ma=(0,ne.kc)(function(t){var e=t.css,n=t.responsive,o=t.token,r="rc-footer";return{container:e(Ft||(Ft=(0,E.Z)([`
311
- grid-area: footer;
312
- border-top: 1px solid `,`;
313
- color: `,`;
314
- text-align: center;
315
- align-self: stretch;
316
-
317
- `,` {
318
- border: none;
319
- flex-direction: column;
320
- }
321
- `])),o.colorSplit,o.colorTextDescription,n.mobile),footer:e(Xt||(Xt=(0,E.Z)([`
322
- color: `,`;
323
- font-size: 14px;
324
- line-height: 1.5;
325
- background-color: `,`;
326
-
327
- &.`,` {
328
- a {
329
- color: `,`;
330
- text-decoration: none;
331
- transition: all 0.3s;
332
-
333
- &:hover {
334
- color: `,`;
335
- }
336
- }
337
- }
338
-
339
- .`,` {
340
- &-container {
341
- width: 100%;
342
- max-width: `,`px;
343
- margin: auto;
344
- padding: 60px 0 20px;
345
- }
346
-
347
- &-columns {
348
- display: flex;
349
- justify-content: space-around;
350
- }
351
-
352
- &-column {
353
- //margin-bottom: 60px;
354
-
355
- h2 {
356
- position: relative;
357
- margin: 0 auto;
358
- color: `,`;
359
- font-weight: 500;
360
- font-size: 16px;
361
- }
362
-
363
- &-icon {
364
- position: relative;
365
- top: -1px;
366
- display: inline-block;
367
- width: 22px;
368
- text-align: center;
369
- vertical-align: middle;
370
- margin-inline-end: 0.5em;
371
-
372
- > span,
373
- > svg,
374
- img {
375
- display: block;
376
- width: 100%;
377
- }
378
- }
379
- }
380
-
381
- &-item {
382
- margin: 12px 0;
383
-
384
- &-icon {
385
- position: relative;
386
- top: -1px;
387
- display: inline-block;
388
- width: 16px;
389
- text-align: center;
390
- vertical-align: middle;
391
- margin-inline-end: 0.4em;
392
-
393
- > span,
394
- > svg,
395
- img {
396
- display: block;
397
- width: 100%;
398
- }
399
- }
400
-
401
- &-separator {
402
- margin: 0 0.3em;
403
- }
404
- }
405
-
406
- &-bottom {
407
- &-container {
408
- width: 100%;
409
- max-width: 1200px;
410
- margin: 0 auto;
411
- padding: 16px 0;
412
- font-size: 16px;
413
- line-height: 32px;
414
- text-align: center;
415
- border-top: 1px solid `,`;
416
- }
417
- }
418
-
419
- &-light {
420
- color: rgba(0, 0, 0, 0.85);
421
- background-color: transparent;
422
-
423
- h2,
424
- a {
425
- color: rgba(0, 0, 0, 0.85);
426
- }
427
- }
428
-
429
- &-light &-bottom-container {
430
- border-top-color: #e8e8e8;
431
- }
432
-
433
- &-light &-item-separator,
434
- &-light &-item-description {
435
- color: rgba(0, 0, 0, 0.45);
436
- }
437
- }
438
-
439
- `,` {
440
- .`,` {
441
- text-align: center;
442
-
443
- &-container {
444
- padding: 40px 0;
445
- }
446
-
447
- &-columns {
448
- display: block;
449
- }
450
-
451
- &-column {
452
- display: block;
453
- margin-bottom: 40px;
454
-
455
- &:last-child {
456
- margin-bottom: 0;
457
- }
458
- }
459
- }
460
- }
461
- `])),o.colorTextSecondary,o.colorBgLayout,r,o.colorTextTertiary,o.colorLinkHover,r,o.contentMaxWidth,o.colorText,o.colorBorderSecondary,n.mobile,r)}}),Ta=function(){var e=(0,R.HX)(function(g){return g.siteData}),n=e.themeConfig,o=e.pkg,r=(0,R.HX)(nt),a=Ma(),i=a.styles,s=a.theme,c=ke(),u=c.mobile;if(!n.footer)return null;var m=n.footerConfig,f=m!=null&&m.columns?m.columns:Na({github:r||o.homepage}),p=(m==null?void 0:m.bottom)||n.footer,v=(m==null?void 0:m.copyright)||"Copyright \xA9 2022-".concat(new Date().getFullYear());return(0,d.jsx)(wa,{theme:(m==null?void 0:m.theme)||s.appearance,columns:f,bottom:u?(0,d.jsxs)(je.Z,{className:i.container,children:[v,(0,d.jsx)(q.D,{align:"center",horizontal:!0,dangerouslySetInnerHTML:{__html:p}})]}):(0,d.jsxs)(je.Z,{horizontal:!0,children:[v,(0,d.jsx)(ga,{type:"vertical"}),(0,d.jsx)("span",{dangerouslySetInnerHTML:{__html:p}})]})})},Vt=Ta,ge=C(32906),We=C(46881),Pa=C(26614);function Fe(t){var e=t.pathname,n=t.current,o=t.target,r="base"in n?e.replace(n.base.replace(/\/$/,""),"")||"/":e.replace(new RegExp("".concat(n.suffix,"$")),"");return"base"in o?"".concat(o.base.replace(/\/$/,"")).concat(r).replace(/([^/])\/$/,"$1"):"".concat(r).concat(o.suffix)}var Ba={"zh-CN":"\u{1F1E8}\u{1F1F3}","en-US":"\u{1F1FA}\u{1F1F8}","jp-JP":"\u{1F1EF}\u{1F1F5}","ko-KR":"\u{1F1F0}\u{1F1F7}","ru-RU":"\u{1F1F7}\u{1F1FA}","es-ES":"\u{1F1EA}\u{1F1F8}","fr-FR":"\u{1F1EB}\u{1F1F7}","de-DE":"\u{1F1E9}\u{1F1EA}","pt-BR":"\u{1F1E7}\u{1F1F7}","it-IT":"\u{1F1EE}\u{1F1F9}","tr-TR":"\u{1F1F9}\u{1F1F7}","vi-VN":"\u{1F1FB}\u{1F1F3}"},Ut={"zh-CN":"\u4E2D","en-US":"EN"},Da=function(e){var n=e.locale,o=e.current,r=(0,D.TH)(),a=r.pathname,i=(0,l.useState)(function(){return Fe({pathname:a,current:o,target:n})}),s=(0,ge.Z)(i,2),c=s[0],u=s[1];return(0,l.useEffect)(function(){u(Fe({pathname:a,current:o,target:n}))},[a,o.id,n.id]),(0,d.jsx)(D.rU,{to:c,children:(0,d.jsx)(We.ZP,{style:{minWidth:34,padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:Ut[n.id]})})},Ha=function(){var e=(0,R.HX)(function(o){return o.siteData.locales}),n=(0,R.HX)(function(o){return o.locale});return e.length<=1?null:e.length>2?(0,d.jsx)(Pa.Z,{value:e.findIndex(function(o){return o.id===n.id}),onChange:function(r){console.log(Fe({pathname:location.pathname,current:n,target:e[r]})),D.m8.push(Fe({pathname:location.pathname,current:n,target:e[r]}))},options:e.map(function(o){return{value:o.id,label:Ut[o.id]}}),renderItem:function(r,a){return"".concat(Ba[e[a].id]," ").concat(e[a].name)},style:{height:32,minWidth:32,padding:0,display:"flex",alignItems:"center",justifyContent:"center"}}):(0,d.jsx)(Da,{locale:e.find(function(o){var r=o.id;return r!==n.id}),current:n})},za=(0,l.memo)(Ha);function Xe(t,e){if(Object.is(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(const[o,r]of t)if(!Object.is(r,e.get(o)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(const o of t)if(!e.has(o))return!1;return!0}const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(e,o)||!Object.is(t[o],e[o]))return!1;return!0}var gc=(t,e)=>(console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`."),Xe(t,e)),Ne=C(39378),La=function(e){var n,o=e.routeMeta.frontmatter;if(e.siteData.themeConfig.apiHeader===!1||o.apiHeader===!1)return!1;if(o.apiHeader)return!0;var r=["/api","/components"].concat((0,Le.Z)(((n=e.siteData.themeConfig.apiHeader)===null||n===void 0?void 0:n.match)||[]));return r.some(function(a){return e.location.pathname.startsWith(a)})};function Aa(t,e){var n={camel:function(){return(0,Ne.camelCase)(t)},pascal:function(){return(0,Ne.upperFirst)((0,Ne.camelCase)(t))},kebab:function(){return(0,Ne.kebabCase)(t)},snake:function(){return(0,Ne.snakeCase)(t)},default:function(){return t}};return(n[e]||n.default)()}var Kt=function(e){var n,o,r,a,i,s,c,u,m=nt(e),f=((n=e.routeMeta)===null||n===void 0?void 0:n.frontmatter)||{},p=(o=e.locale)===null||o===void 0?void 0:o.id,v=function(H){if(m)return H.replace("{github}",m).replace("{atomId}",f.atomId||"").replace(/\{atomId\.([^}]+)}/g,function(L,z){return Aa(f.atomId||"",z)}).replace("{title}",f.title).replace("{locale}",p)},g=function(H){return H===!1?!1:typeof H=="string"},h=((r=e.siteData)===null||r===void 0||(r=r.themeConfig)===null||r===void 0?void 0:r.apiHeader)||{},x=h.pkg,b=x===void 0?(a=e.siteData)===null||a===void 0||(a=a.pkg)===null||a===void 0?void 0:a.name:x,y=h.sourceUrl,j=h.docUrl,S=((i=f.apiHeader)===null||i===void 0?void 0:i.pkg)||b,I=f.atomId||f.title,O=((s=f.apiHeader)===null||s===void 0?void 0:s.defaultImport)||!1,k=((c=f.apiHeader)===null||c===void 0?void 0:c.sourceUrl)||y,w=g(k)?v(k):void 0,$=((u=f.apiHeader)===null||u===void 0?void 0:u.docUrl)||j,N=g($)?v($):void 0;return{title:f.title,description:f.description,pkg:S,defaultImport:O,componentName:I,sourceUrl:w,docUrl:N}},Gt=function(e){var n=e.routeMeta.frontmatter;return(0,Ne.merge)({},n.token,e.siteData.themeConfig.siteToken)},Za={apiHeader:Kt,flattenSidebar:kt,token:Gt,logo:$a},Yt,Ra=(0,ne.kc)(function(t){var e=t.css,n=t.responsive,o=t.token;return e(Yt||(Yt=(0,E.Z)([`
462
- display: inline-flex;
463
- align-items: center;
464
- font-family: AliPuHui, `,`;
465
- color: `,`;
466
- font-size: 22px;
467
- line-height: 1;
468
- font-weight: 500;
469
- text-decoration: none;
470
- gap: 10px;
471
-
472
- `,` {
473
- font-size: 18px;
474
- }
475
- `])),o.fontFamily,o.colorText,n.mobile)}),Wa=function(){var e=(0,R.HX)(function(m){return m.siteData.themeConfig},ye()),n=(0,R.HX)(function(m){return m.locale},ye()),o=(0,R.HX)(Za.logo,Xe),r=Ra(),a=r.styles,i=r.cx,s=e.name,c=e.hideNameOnHeader,u=c===void 0?!1:c;return e&&(0,d.jsxs)(D.rU,{className:i(a),to:"base"in n?n.base:"/",children:[!!o&&(0,d.jsx)("img",{src:o,alt:e.name,height:32}),!u&&s]})},Qt=(0,l.memo)(Wa),Fa=C(6501),Xa=function(){return l.createElement(l.Fragment,null)},Va=Xa,Jt,_t,Ua=(0,ne.kc)(function(t){var e=t.css,n=t.responsive,o=t.token,r=t.stylish,a=t.prefixCls,i=".".concat(a,"-tabs"),s=16,c=6;return{tabs:e(Jt||(Jt=(0,E.Z)([`
476
- `,"-tab + ",`-tab {
477
- margin: `,`px 4px !important;
478
- padding: 0 12px !important;
479
- }
480
-
481
- `,`-tab {
482
- color: `,`;
483
- transition: background-color 100ms ease-out;
484
-
485
- &:first-child {
486
- margin: `,"px 4px ",`px 0;
487
- padding: `,`px 12px !important;
488
- }
489
-
490
- &:hover {
491
- color: `,` !important;
492
- background: `,`;
493
- border-radius: `,`px;
494
- }
495
- }
496
-
497
- `,`-nav {
498
- margin-bottom: 0;
499
- }
500
-
501
- `,` {
502
- display: none;
503
- }
504
- `])),i,i,s,i,o.colorTextSecondary,s,s,c,o.colorText,o.colorFillTertiary,o.borderRadius,i,n.mobile),link:e(_t||(_t=(0,E.Z)([`
505
- `,`
506
- `])),r.resetLinkColor)}}),Ka=function(){var e=Ua(),n=e.styles,o=/^(\w+:)\/\/|^(mailto|tel):/,r=(0,R.HX)(function(i){return i.navData},Xe),a=(0,R.HX)(It);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Fa.Z,{onChange:function(s){var c,u=(c=r.find(function(m){return m.activePath===s||m.link===s}))===null||c===void 0?void 0:c.link;!u||o.test(u)||D.m8.push(u)},activeKey:a,className:n.tabs,items:r.map(function(i){return{label:o.test(i.link||"")?(0,d.jsx)("a",{href:i.link,className:n.link,target:"_blank",rel:"noreferrer",children:i.title}):(0,d.jsx)(D.rU,{className:n.link,to:i.link,children:i.title}),key:i.activePath||i.link}})}),(0,d.jsx)(Va,{})]})},Ga=(0,l.memo)(Ka),qt=C(48893),Ya=Object.defineProperty,en=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,tn=(t,e,n)=>e in t?Ya(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_a=(t,e)=>{for(var n in e||(e={}))Qa.call(e,n)&&tn(t,n,e[n]);if(en)for(var n of en(e))Ja.call(e,n)&&tn(t,n,e[n]);return t};const nn=t=>l.createElement("svg",_a({viewBox:"0 0 1024 1024"},t),l.createElement("path",{d:"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}));var vc="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=",qa=function(t,e,n,o){function r(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function s(m){try{u(o.next(m))}catch(f){i(f)}}function c(m){try{u(o.throw(m))}catch(f){i(f)}}function u(m){m.done?a(m.value):r(m.value).then(s,c)}u((o=o.apply(t,e||[])).next())})};function Ve(t){let e=0,n=0,o=t;do e+=o.offsetTop||0,n+=o.offsetLeft||0,o=o.offsetParent;while(o);return{top:e,left:n}}class ei{constructor(e){this.element=e}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(e,n){return Ve(e).left-Ve(n).left}getVerticalElementScrollOffset(e,n){return Ve(e).top-Ve(n).top}scrollTo(e,n){this.element.scrollLeft=e,this.element.scrollTop=n}}class ti{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left}getVerticalElementScrollOffset(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top}scrollTo(e,n){window.scrollTo(e,n)}}const Se={elements:[],cancelMethods:[],add:(t,e)=>{Se.elements.push(t),Se.cancelMethods.push(e)},remove:(t,e)=>{const n=Se.elements.indexOf(t);n>-1&&(e&&Se.cancelMethods[n](),Se.elements.splice(n,1),Se.cancelMethods.splice(n,1))}},on=typeof window!="undefined",ni={cancelOnUserAction:!0,easing:t=>--t*t*t+1,elementToScroll:on?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function oi(t){return qa(this,arguments,void 0,function*(e,n={}){if(on){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return new Promise(O=>{O(!1)});let o,r,a,i=Object.assign(Object.assign({},ni),n);const s=i.elementToScroll===window,c=!!i.elementToScroll.nodeName;if(!s&&!c)throw"Element to scroll needs to be either window or DOM element.";const u=[{property:"scroll-behavior",value:"smooth"},{property:"scroll-snap-type",value:"mandatory"}],m=s?document.documentElement:i.elementToScroll,f=getComputedStyle(m);u.forEach(({property:O,value:k})=>{const w=f.getPropertyValue(O);w.includes(k)&&console.warn(`${m.tagName} has "${O}: ${w}" which can break animated-scroll-to's animations`)});const p=s?new ti:new ei(i.elementToScroll);if(e instanceof Element){if(a=e,c&&(!i.elementToScroll.contains(a)||i.elementToScroll.isSameNode(a)))throw"options.elementToScroll has to be a parent of scrollToElement";o=p.getHorizontalElementScrollOffset(a,i.elementToScroll),r=p.getVerticalElementScrollOffset(a,i.elementToScroll)}else if(typeof e=="number")o=p.getHorizontalScroll(),r=e;else if(Array.isArray(e)&&e.length===2)o=e[0]===null?p.getHorizontalScroll():e[0],r=e[1]===null?p.getVerticalScroll():e[1];else throw`Wrong function signature. Check documentation.
507
- Available method signatures are:
508
- animateScrollTo(y:number, options)
509
- animateScrollTo([x:number | null, y:number | null], options)
510
- animateScrollTo(scrollToElement:Element, options)`;o+=i.horizontalOffset,r+=i.verticalOffset;const v=p.getMaxHorizontalScroll(),g=p.getHorizontalScroll();o>v&&(o=v);const h=o-g,x=p.getMaxVerticalScroll(),b=p.getVerticalScroll();r>x&&(r=x);const y=r-b,j=Math.abs(Math.round(h/1e3*i.speed)),S=Math.abs(Math.round(y/1e3*i.speed));let I=j>S?j:S;return I<i.minDuration?I=i.minDuration:I>i.maxDuration&&(I=i.maxDuration),new Promise((O,k)=>{h===0&&y===0&&O(!0),Se.remove(p.element,!0);let w;const $=()=>{z(),cancelAnimationFrame(w),O(!1)};Se.add(p.element,$);const N=P=>P.preventDefault(),A=i.cancelOnUserAction?$:N,H=i.cancelOnUserAction?{passive:!0}:{passive:!1},L=["wheel","touchstart","keydown","mousedown"],z=()=>{L.forEach(P=>{p.element.removeEventListener(P,A,H)})};L.forEach(P=>{p.element.addEventListener(P,A,H)});const Z=Date.now(),B=()=>{var P=Date.now()-Z,W=P/I;const Q=Math.round(g+h*i.easing(W)),Y=Math.round(b+y*i.easing(W));P<I&&(Q!==o||Y!==r)?(p.scrollTo(Q,Y),w=requestAnimationFrame(B)):(p.scrollTo(o,r),cancelAnimationFrame(w),z(),Se.remove(p.element,!1),O(!0))};w=requestAnimationFrame(B)})})}var ri=oi;function ot(t,e){return si(t)||li(t,e)||ii(t,e)||ai()}function ai(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
511
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ii(t,e){if(t){if(typeof t=="string")return rn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rn(t,e)}}function rn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function li(t,e){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var o,r,a,i,s=[],c=!0,u=!1;try{if(a=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(s.push(o.value),s.length!==e);c=!0);}catch(m){u=!0,r=m}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return s}}function si(t){if(Array.isArray(t))return t}var ci=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M5.333 10.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 13.333 4 12.89 4 12s.444-1.333 1.333-1.333Z"}),l.createElement("path",{d:"M13.207 2.667h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Zm8 0h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Z"}),l.createElement("path",{d:"M5.333 18.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 21.333 4 20.89 4 20s.444-1.333 1.333-1.333Z"}))},di=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M9.402 0h14.78L30 6.16V24.5c0 1.933-1.71 3.5-3.589 3.5H9.401C7.524 28 6 26.433 6 24.5v-21C6 1.567 7.523 0 9.402 0ZM23 2v4.183c0 .451.366.817.817.817H28l-5-5Zm3.333 24c.92 0 1.667-.768 1.667-1.714V8.857h-5c-.92 0-1.667-.767-1.667-1.714V2H9.667C8.747 2 8 2.768 8 3.714v20.572C8 25.232 8.746 26 9.667 26h16.666Z"}))},ui=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.12 14.589h6.628l1.52 4.004h2.485l-5.938-15.19H8.053L2.115 18.732H4.6l1.52-4.143ZM8.88 6.855c.139-.414.277-.828.415-1.38h.138c0 .138.138.414.414 1.104 0 .138.138.276.138.276 0 .138.829 2.072 2.21 5.938H6.672c1.519-3.866 2.21-5.8 2.21-5.938Zm8.148 2.348h12.705v1.933H17.029V9.203ZM2.115 20.665h27.619v1.933H2.114v-1.933Zm14.914-5.662h12.705v1.933H17.029v-1.933ZM2.115 26.327h27.619v1.933H2.114v-1.933ZM17.029 3.54h12.705v1.934H17.029V3.54Z"}))},mi=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M28 6h-5a5 5 0 0 0-10 0H8a2 2 0 0 0-2 2v5a5 5 0 0 0 0 10v5a2 2 0 0 0 2 2h7v-2a3 3 0 0 1 6 0v2h7a2 2 0 0 0 2-2v-7h-2a3 3 0 0 1 0-6h2V8a2 2 0 0 0-2-2Zm-5 12a5 5 0 0 0 5 5v5h-5a5 5 0 0 0-10 0H8v-7H6a3 3 0 0 1 0-6h2V8h7V6a3 3 0 0 1 6 0v2h7v5a5 5 0 0 0-5 5Z"}))},pi={title:ci,page:di,content:ui,demo:mi},an=function(e){return l.createElement(l.Fragment,null,e.texts.map(function(n,o){return l.createElement(l.Fragment,{key:o},n.highlighted?l.createElement("mark",null,n.text):n.text)}))},fi=function(e){var n=(0,l.useCallback)(function(){var s=0,c=[];return e.forEach(function(u){u.title&&c.push({type:"title",value:{title:u.title}}),u.hints.forEach(function(m){c.push({type:"hint",activeIndex:s++,value:m})})}),[c,s]},[e]),o=(0,l.useState)(n),r=ot(o,2),a=r[0],i=r[1];return(0,l.useEffect)(function(){i(n)},[e]),a},gi=function(e){var n=fi(e.data),o=ot(n,2),r=o[0],a=o[1],i=(0,l.useState)(-1),s=ot(i,2),c=s[0],u=s[1],m=(0,D.TH)(),f=m.pathname,p=function(h){var x;(x=e.onItemSelect)===null||x===void 0||x.call(e,h);var b=new URL(h==null?void 0:h.link,location.origin);(b==null?void 0:b.pathname)===f&&!b.hash&&setTimeout(function(){ri(0,{maxDuration:300})},1)};(0,l.useEffect)(function(){var g=function(x){if(x.key==="ArrowDown")u((c+1)%a);else if(x.key==="ArrowUp")u((c+a-1)%a);else if(x.key==="Enter"&&c>=0){var b=r.find(function(y){return y.type==="hint"&&y.activeIndex===c}).value;D.m8.push(b.link),p==null||p(b),document.activeElement.blur()}["Escape","Enter"].includes(x.key)&&u(-1)};return document.addEventListener("keydown",g),function(){return document.removeEventListener("keydown",g)}});var v=null;return e.loading?v=l.createElement("div",{className:"dumi-default-search-empty"},l.createElement(nn,null),l.createElement(D._H,{id:"search.loading"})):e.data.length?v=l.createElement("dl",null,r.map(function(g,h){return g.type==="title"?l.createElement("dt",{key:String(h)},g.value.title):l.createElement("dd",{key:String(h)},l.createElement(D.rU,{to:g.value.link,"data-active":c===g.activeIndex||void 0,onClick:function(){return p==null?void 0:p(g.value)}},l.createElement(pi[g.value.type]),l.createElement("h4",null,l.createElement(an,{texts:g.value.highlightTitleTexts})),l.createElement("p",null,l.createElement(an,{texts:g.value.highlightTexts}))))})):v=l.createElement("div",{className:"dumi-default-search-empty"},l.createElement(nn,null),l.createElement(D._H,{id:"search.not.found"})),l.createElement("div",{className:"dumi-default-search-result",onMouseEnter:function(){return u(-1)},onMouseDownCapture:function(h){return h.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},v)},ln=gi,sn=(0,l.forwardRef)(function(t,e){var n=(0,D.YB)(),o=(0,l.useRef)(!1),r=(0,l.useRef)(null);return(0,l.useImperativeHandle)(e,function(){return r.current}),(0,d.jsx)("input",{className:t.className,onCompositionStart:function(){return o.current=!0},onCompositionEnd:function(i){o.current=!1,t.onChange(i.currentTarget.value)},onFocus:t.onFocus,onBlur:t.onBlur,onKeyDown:function(i){["ArrowDown","ArrowUp"].includes(i.key)&&i.preventDefault(),i.key==="Escape"&&!o.current&&i.currentTarget.blur()},onChange:function(i){setTimeout(function(){o.current||t.onChange(i.target.value)},1)},placeholder:n.formatMessage({id:"header.search.placeholder"}),ref:r})}),cn,dn,un,vi=(0,ne.kc)(function(t){var e=t.token,n=t.css;return{modal:n(cn||(cn=(0,E.Z)([`
512
- position: fixed;
513
- top: 0;
514
- inset-inline-start: 0;
515
- z-index: 1000;
516
- width: 100vw;
517
- height: 100vh;
518
- display: flex;
519
- justify-content: center;
520
- `]))),mask:n(dn||(dn=(0,E.Z)([`
521
- background-color: `,`;
522
- width: 100%;
523
- height: 100%;
524
- `])),e.colorBgMask),content:n(un||(un=(0,E.Z)([`
525
- position: absolute;
526
- top: 60px;
527
- background-color: `,`;
528
- width: 500px;
529
- padding: 12px;
530
- box-sizing: border-box;
531
- box-shadow: inset 1px 1px 0 0 hsla(0deg, 0%, 100%, 50%), 0 3px 8px 0 #555a64;
532
- border-radius: 8px;
533
- max-height: calc(100% - 120px);
534
- display: flex;
535
- flex-direction: column;
536
- `])),e.colorBgElevated)}}),hi=function(e){var n=vi(),o=n.styles;return(0,l.useEffect)(function(){if(e.visible)document.body.style.overflow="hidden";else{var r;document.body.style.overflow="",(r=e.onClose)===null||r===void 0||r.call(e)}},[e.visible]),e.visible?(0,d.jsxs)("div",{className:o.modal,children:[(0,d.jsx)("div",{className:o.mask,onClick:e.onMaskClick}),(0,d.jsx)("div",{className:o.content,children:e.children})]}):null},mn,pn,fn,gn,vn,xi=(0,ne.kc)(function(t){var e=t.token,n=t.responsive,o=t.css,r=t.cx;return{container:o(mn||(mn=(0,E.Z)([`
537
- position: relative;
538
-
539
- // TODO: support search for mobile devices
540
- `,` {
541
- display: none;
542
- }
543
- `])),n.mobile),shortcut:r("site-header-shortcut",o(pn||(pn=(0,E.Z)([`
544
- position: absolute;
545
- top: 50%;
546
- inset-inline-end: 11px;
547
- display: inline-block;
548
- padding: 4px 8px;
549
- color: `,`;
550
- font-size: 12px;
551
- line-height: 1;
552
- white-space: nowrap;
553
- background-color: `,`;
554
- border-radius: 11px;
555
- border: 1px solid `,`;
556
- transform: translateY(-50%);
557
- transition: all 0.3s;
558
- pointer-events: none;
559
-
560
- `,` {
561
- display: none;
562
- }
563
- `])),e.colorTextDescription,e.colorFillSecondary,e.colorBorderSecondary,n.mobile)),popover:o(fn||(fn=(0,E.Z)([`
564
- position: absolute;
565
- top: 100%;
566
- inset-inline-end: 0;
567
- display: flex;
568
- flex-direction: column;
569
- width: 540px;
570
- max-height: 460px;
571
- margin-top: 18px;
572
- background-color: `,`;
573
- border-radius: 8px;
574
- box-shadow: 0 4px 30px rgba(0, 0, 0, 20%);
575
-
576
- &::before {
577
- content: '';
578
- position: absolute;
579
- bottom: 100%;
580
- inset-inline-end: 100px;
581
- display: inline-block;
582
- width: 0;
583
- height: 0;
584
- border: 8px solid transparent;
585
- border-bottom-color: #fff;
586
- }
587
-
588
- > section {
589
- flex: 1;
590
- min-height: 60px;
591
- overflow: auto;
592
- overscroll-behavior: contain;
593
- -webkit-overflow-scrolling: touch;
594
- border-radius: inherit;
595
- }
596
- `])),e.colorBgElevated),svg:r(o(gn||(gn=(0,E.Z)([`
597
- position: absolute;
598
- top: 50%;
599
- margin-top: 1px;
600
- inset-inline-start: 16px;
601
- width: 16px;
602
- color: `,`;
603
- transform: translateY(-50%);
604
- `])),e.colorTextPlaceholder)),input:o(vn||(vn=(0,E.Z)([`
605
- width: 280px;
606
- height: `,`px;
607
- padding: 0;
608
- padding-inline-start: 40px;
609
- padding-inline-end: 12px;
610
- color: `,`;
611
- font-size: 14px;
612
- border: 1px solid `,`;
613
- border-radius: 20px;
614
- box-sizing: border-box;
615
- outline: none;
616
- transition: all 0.3s;
617
- background-color: transparent;
618
-
619
- &:focus {
620
- border-color: `,`;
621
- background: `,`;
622
-
623
- ~ .site-header-shortcut {
624
- opacity: 0;
625
- }
626
- }
627
-
628
- &::-webkit-input-placeholder {
629
- color: `,`;
630
- }
631
- `])),e.controlHeightLG,e.colorTextSecondary,e.colorBorder,e.colorBorderSecondary,e.colorBgElevated,e.colorTextPlaceholder)}}),rt,hn=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?(rt=navigator)===null||rt===void 0?void 0:rt.platform:""),bi=function(e){return["TEXTAREA","INPUT"].includes(e.tagName)||e.contentEditable==="true"},yi=function(){var e=xi(),n=e.styles,o=(0,l.useState)(!1),r=(0,ge.Z)(o,2),a=r[0],i=r[1],s=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useState)("\u2318"),m=(0,ge.Z)(u,2),f=m[0],p=m[1],v=(0,D.OO)(),g=v.keywords,h=v.setKeywords,x=v.result,b=v.loading,y=(0,l.useState)(!1),j=(0,ge.Z)(y,2),S=j[0],I=j[1];return(0,l.useEffect)(function(){hn||p("Ctrl");var O=function(w){if(((hn?w.metaKey:w.ctrlKey)&&w.key==="k"||w.key==="/"&&!bi(w.target))&&(w.preventDefault(),s.current)){var $=s.current.getBoundingClientRect(),N=$.top,A=$.bottom,H=$.left,L=$.right,z=N>=0&&H>=0&&A<=window.innerHeight&&L<=window.innerWidth;z?s.current.focus():(h(""),I(!0),setTimeout(function(){var Z;(Z=c.current)===null||Z===void 0||Z.focus()}))}w.key==="Escape"&&(w.preventDefault(),I(!1))};return document.addEventListener("keydown",O),function(){return document.removeEventListener("keydown",O)}},[]),(0,d.jsxs)("div",{className:n.container,children:[(0,d.jsx)(qt.Z,{className:n.svg}),(0,d.jsx)(sn,{onFocus:function(){return i(!0)},onBlur:function(){setTimeout(function(){i(!1)},1)},onChange:function(k){return h(k)},ref:s,className:n.input}),(0,d.jsxs)("span",{className:n.shortcut,children:[f," K"]}),g.trim()&&a&&(x.length||!b)&&!S&&(0,d.jsx)("div",{className:n.popover,children:(0,d.jsx)("section",{children:(0,d.jsx)(ln,{data:x,loading:b})})}),(0,d.jsxs)(hi,{visible:S,onMaskClick:function(){I(!1)},onClose:function(){return h("")},children:[(0,d.jsxs)("div",{style:{position:"relative"},children:[(0,d.jsx)(qt.Z,{className:n.svg}),(0,d.jsx)(sn,{className:n.input,onFocus:function(){return i(!0)},onBlur:function(){setTimeout(function(){i(!1)},1)},onChange:function(k){return h(k)},ref:c})]}),(0,d.jsx)(ln,{data:x,loading:b,onItemSelect:function(){I(!1)}})]})]})},Ci=yi,Si=C(78877),wi=l.createContext(null),xn=l.createContext({}),bn=wi,xe=C(83910),at=C(42976),Ae=C(46748),Ue=C(63941),yn=C(65489),$i=["prefixCls","className","containerRef"],ji=function(e){var n=e.prefixCls,o=e.className,r=e.containerRef,a=(0,Oe.Z)(e,$i),i=l.useContext(xn),s=i.panel,c=(0,yn.x1)(s,r);return l.createElement("div",(0,xe.Z)({className:T()("".concat(n,"-content"),o),role:"dialog",ref:c},(0,Ue.Z)(e,{aria:!0}),{"aria-modal":"true"},a))},Ii=ji,Cn=C(56049);function Sn(t){return typeof t=="string"&&String(Number(t))===t?((0,Cn.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(t)):t}function hc(t){warning(!("wrapperClassName"in t),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!t.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var wn={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Oi(t,e){var n,o,r,a=t.prefixCls,i=t.open,s=t.placement,c=t.inline,u=t.push,m=t.forceRender,f=t.autoFocus,p=t.keyboard,v=t.classNames,g=t.rootClassName,h=t.rootStyle,x=t.zIndex,b=t.className,y=t.id,j=t.style,S=t.motion,I=t.width,O=t.height,k=t.children,w=t.mask,$=t.maskClosable,N=t.maskMotion,A=t.maskClassName,H=t.maskStyle,L=t.afterOpenChange,z=t.onClose,Z=t.onMouseEnter,B=t.onMouseOver,P=t.onMouseLeave,W=t.onClick,Q=t.onKeyDown,Y=t.onKeyUp,X=t.styles,ee=t.drawerRender,te=l.useRef(),se=l.useRef(),ve=l.useRef();l.useImperativeHandle(e,function(){return te.current});var _=function(re){var pe=re.keyCode,de=re.shiftKey;switch(pe){case Ae.Z.TAB:{if(pe===Ae.Z.TAB){if(!de&&document.activeElement===ve.current){var he;(he=se.current)===null||he===void 0||he.focus({preventScroll:!0})}else if(de&&document.activeElement===se.current){var ze;(ze=ve.current)===null||ze===void 0||ze.focus({preventScroll:!0})}}break}case Ae.Z.ESC:{z&&p&&(re.stopPropagation(),z(re));break}}};l.useEffect(function(){if(i&&f){var V;(V=te.current)===null||V===void 0||V.focus({preventScroll:!0})}},[i]);var K=l.useState(!1),F=(0,ge.Z)(K,2),oe=F[0],le=F[1],G=l.useContext(bn),we;typeof u=="boolean"?we=u?{}:{distance:0}:we=u||{};var fe=(n=(o=(r=we)===null||r===void 0?void 0:r.distance)!==null&&o!==void 0?o:G==null?void 0:G.pushDistance)!==null&&n!==void 0?n:180,He=l.useMemo(function(){return{pushDistance:fe,push:function(){le(!0)},pull:function(){le(!1)}}},[fe]);l.useEffect(function(){if(i){var V;G==null||(V=G.push)===null||V===void 0||V.call(G)}else{var re;G==null||(re=G.pull)===null||re===void 0||re.call(G)}},[i]),l.useEffect(function(){return function(){var V;G==null||(V=G.pull)===null||V===void 0||V.call(G)}},[]);var qe=l.createElement(at.ZP,(0,xe.Z)({key:"mask"},N,{visible:w&&i}),function(V,re){var pe=V.className,de=V.style;return l.createElement("div",{className:T()("".concat(a,"-mask"),pe,v==null?void 0:v.mask,A),style:(0,ie.Z)((0,ie.Z)((0,ie.Z)({},de),H),X==null?void 0:X.mask),onClick:$&&i?z:void 0,ref:re})}),pt=typeof S=="function"?S(s):S,$e={};if(oe&&fe)switch(s){case"top":$e.transform="translateY(".concat(fe,"px)");break;case"bottom":$e.transform="translateY(".concat(-fe,"px)");break;case"left":$e.transform="translateX(".concat(fe,"px)");break;default:$e.transform="translateX(".concat(-fe,"px)");break}s==="left"||s==="right"?$e.width=Sn(I):$e.height=Sn(O);var U={onMouseEnter:Z,onMouseOver:B,onMouseLeave:P,onClick:W,onKeyDown:Q,onKeyUp:Y},J=l.createElement(at.ZP,(0,xe.Z)({key:"panel"},pt,{visible:i,forceRender:m,onVisibleChanged:function(re){L==null||L(re)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(V,re){var pe=V.className,de=V.style,he=l.createElement(Ii,(0,xe.Z)({id:y,containerRef:re,prefixCls:a,className:T()(b,v==null?void 0:v.content),style:(0,ie.Z)((0,ie.Z)({},j),X==null?void 0:X.content)},(0,Ue.Z)(t,{aria:!0}),U),k);return l.createElement("div",(0,xe.Z)({className:T()("".concat(a,"-content-wrapper"),v==null?void 0:v.wrapper,pe),style:(0,ie.Z)((0,ie.Z)((0,ie.Z)({},$e),de),X==null?void 0:X.wrapper)},(0,Ue.Z)(t,{data:!0})),ee?ee(he):he)}),me=(0,ie.Z)({},h);return x&&(me.zIndex=x),l.createElement(bn.Provider,{value:He},l.createElement("div",{className:T()(a,"".concat(a,"-").concat(s),g,(0,ae.Z)((0,ae.Z)({},"".concat(a,"-open"),i),"".concat(a,"-inline"),c)),style:me,tabIndex:-1,ref:te,onKeyDown:_},qe,l.createElement("div",{tabIndex:0,ref:se,style:wn,"aria-hidden":"true","data-sentinel":"start"}),J,l.createElement("div",{tabIndex:0,ref:ve,style:wn,"aria-hidden":"true","data-sentinel":"end"})))}var ki=l.forwardRef(Oi),Ei=ki,Ni=function(e){var n=e.open,o=n===void 0?!1:n,r=e.prefixCls,a=r===void 0?"rc-drawer":r,i=e.placement,s=i===void 0?"right":i,c=e.autoFocus,u=c===void 0?!0:c,m=e.keyboard,f=m===void 0?!0:m,p=e.width,v=p===void 0?378:p,g=e.mask,h=g===void 0?!0:g,x=e.maskClosable,b=x===void 0?!0:x,y=e.getContainer,j=e.forceRender,S=e.afterOpenChange,I=e.destroyOnClose,O=e.onMouseEnter,k=e.onMouseOver,w=e.onMouseLeave,$=e.onClick,N=e.onKeyDown,A=e.onKeyUp,H=e.panelRef,L=l.useState(!1),z=(0,ge.Z)(L,2),Z=z[0],B=z[1],P=l.useState(!1),W=(0,ge.Z)(P,2),Q=W[0],Y=W[1];(0,tt.Z)(function(){Y(!0)},[]);var X=Q?o:!1,ee=l.useRef(),te=l.useRef();(0,tt.Z)(function(){X&&(te.current=document.activeElement)},[X]);var se=function(oe){var le;if(B(oe),S==null||S(oe),!oe&&te.current&&!((le=ee.current)!==null&&le!==void 0&&le.contains(te.current))){var G;(G=te.current)===null||G===void 0||G.focus({preventScroll:!0})}},ve=l.useMemo(function(){return{panel:H}},[H]);if(!j&&!Z&&!X&&I)return null;var _={onMouseEnter:O,onMouseOver:k,onMouseLeave:w,onClick:$,onKeyDown:N,onKeyUp:A},K=(0,ie.Z)((0,ie.Z)({},e),{},{open:X,prefixCls:a,placement:s,autoFocus:u,keyboard:f,width:v,mask:h,maskClosable:b,inline:y===!1,afterOpenChange:se,ref:ee},_);return l.createElement(xn.Provider,{value:ve},l.createElement(Si.Z,{open:X||j||Z,autoDestroy:!1,getContainer:y,autoLock:h&&(X||Z)},l.createElement(Ei,K)))},Mi=Ni,Ti=Mi,Pi=C(30108),Bi=C(12895),$n=C(60243),Ke=C(26669),Di=C(96022),Hi=C(28253),Te=C(51748),jn=t=>{var e,n;const{prefixCls:o,ariaId:r,title:a,footer:i,extra:s,closable:c,loading:u,onClose:m,headerStyle:f,bodyStyle:p,footerStyle:v,children:g,classNames:h,styles:x}=t,b=(0,ce.dj)("drawer");let y;c===!1?y=void 0:c===void 0||c===!0?y="start":y=(c==null?void 0:c.placement)==="end"?"end":"start";const j=l.useCallback(w=>l.createElement("button",{type:"button",onClick:m,className:T()(`${o}-close`,{[`${o}-close-${y}`]:y==="end"})},w),[m,o,y]),[S,I]=(0,Te.b)((0,Te.w)(t),(0,Te.w)(b),{closable:!0,closeIconRender:j}),O=()=>{var w,$;return!a&&!S?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(w=b.styles)===null||w===void 0?void 0:w.header),f),x==null?void 0:x.header),className:T()(`${o}-header`,{[`${o}-header-close-only`]:S&&!a&&!s},($=b.classNames)===null||$===void 0?void 0:$.header,h==null?void 0:h.header)},l.createElement("div",{className:`${o}-header-title`},y==="start"&&I,a&&l.createElement("div",{className:`${o}-title`,id:r},a)),s&&l.createElement("div",{className:`${o}-extra`},s),y==="end"&&I)},k=()=>{var w,$;if(!i)return null;const N=`${o}-footer`;return l.createElement("div",{className:T()(N,(w=b.classNames)===null||w===void 0?void 0:w.footer,h==null?void 0:h.footer),style:Object.assign(Object.assign(Object.assign({},($=b.styles)===null||$===void 0?void 0:$.footer),v),x==null?void 0:x.footer)},i)};return l.createElement(l.Fragment,null,O(),l.createElement("div",{className:T()(`${o}-body`,h==null?void 0:h.body,(e=b.classNames)===null||e===void 0?void 0:e.body),style:Object.assign(Object.assign(Object.assign({},(n=b.styles)===null||n===void 0?void 0:n.body),p),x==null?void 0:x.body)},u?l.createElement(wt.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):g),k())};const zi=t=>{const e="100%";return{left:`translateX(-${e})`,right:`translateX(${e})`,top:`translateY(-${e})`,bottom:`translateY(${e})`}[t]},In=(t,e)=>({"&-enter, &-appear":Object.assign(Object.assign({},t),{"&-active":e}),"&-leave":Object.assign(Object.assign({},e),{"&-active":t})}),On=(t,e)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${e}`}}},In({opacity:t},{opacity:1})),Li=(t,e)=>[On(.7,e),In({transform:zi(t)},{transform:"none"})];var Ai=t=>{const{componentCls:e,motionDurationSlow:n}=t;return{[e]:{[`${e}-mask-motion`]:On(0,n),[`${e}-panel-motion`]:["left","right","top","bottom"].reduce((o,r)=>Object.assign(Object.assign({},o),{[`&-${r}`]:Li(r,n)}),{})}}};const Zi=t=>{const{borderRadiusSM:e,componentCls:n,zIndexPopup:o,colorBgMask:r,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:m,fontSizeLG:f,lineHeightLG:p,lineWidth:v,lineType:g,colorSplit:h,marginXS:x,colorIcon:b,colorIconHover:y,colorBgTextHover:j,colorBgTextActive:S,colorText:I,fontWeightStrong:O,footerPaddingBlock:k,footerPaddingInline:w,calc:$}=t,N=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:I,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:t.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:t.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:t.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:t.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:r,pointerEvents:"auto"},[N]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${N}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowDrawerLeft},[`&-right > ${N}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:t.boxShadowDrawerRight},[`&-top > ${N}`]:{top:0,insetInline:0,boxShadow:t.boxShadowDrawerUp},[`&-bottom > ${N}`]:{bottom:0,insetInline:0,boxShadow:t.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,M.bf)(u)} ${(0,M.bf)(m)}`,fontSize:f,lineHeight:p,borderBottom:`${(0,M.bf)(v)} ${g} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:$(f).add(c).equal(),height:$(f).add(c).equal(),borderRadius:e,justifyContent:"center",alignItems:"center",color:b,fontWeight:O,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto",[`&${n}-close-end`]:{marginInlineStart:x},[`&:not(${n}-close-end)`]:{marginInlineEnd:x},"&:hover":{color:y,backgroundColor:j,textDecoration:"none"},"&:active":{backgroundColor:S}},(0,ue.Qy)(t)),[`${n}-title`]:{flex:1,margin:0,fontWeight:t.fontWeightStrong,fontSize:f,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:m,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,M.bf)(k)} ${(0,M.bf)(w)}`,borderTop:`${(0,M.bf)(v)} ${g} ${h}`},"&-rtl":{direction:"rtl"}}}},Ri=t=>({zIndexPopup:t.zIndexPopupBase,footerPaddingBlock:t.paddingXS,footerPaddingInline:t.padding});var kn=(0,Ce.I$)("Drawer",t=>{const e=(0,Ee.IX)(t,{});return[Zi(e),Ai(e)]},Ri),En=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const yc=null,Wi={distance:180},Nn=t=>{var e;const{rootClassName:n,width:o,height:r,size:a="default",mask:i=!0,push:s=Wi,open:c,afterOpenChange:u,onClose:m,prefixCls:f,getContainer:p,panelRef:v=null,style:g,className:h,"aria-labelledby":x,visible:b,afterVisibleChange:y,maskStyle:j,drawerStyle:S,contentWrapperStyle:I,destroyOnClose:O,destroyOnHidden:k}=t,w=En(t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),$=(0,Pi.Z)(),N=w.title?$:void 0,{getPopupContainer:A,getPrefixCls:H,direction:L,className:z,style:Z,classNames:B,styles:P}=(0,ce.dj)("drawer"),W=H("drawer",f),[Q,Y,X]=kn(W),ee=p===void 0&&A?()=>A(document.body):p,te=T()({"no-mask":!i,[`${W}-rtl`]:L==="rtl"},n,Y,X),se=l.useMemo(()=>o!=null?o:a==="large"?736:378,[o,a]),ve=l.useMemo(()=>r!=null?r:a==="large"?736:378,[r,a]),_={motionName:(0,Ke.m)(W,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},K=He=>({motionName:(0,Ke.m)(W,`panel-motion-${He}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),F=(0,Hi.H)(),oe=(0,yn.sQ)(v,F),[le,G]=(0,$n.Cn)("Drawer",w.zIndex),{classNames:we={},styles:fe={}}=w;return Q(l.createElement(Bi.Z,{form:!0,space:!0},l.createElement(Di.Z.Provider,{value:G},l.createElement(Ti,Object.assign({prefixCls:W,onClose:m,maskMotion:_,motion:K},w,{classNames:{mask:T()(we.mask,B.mask),content:T()(we.content,B.content),wrapper:T()(we.wrapper,B.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},fe.mask),j),P.mask),content:Object.assign(Object.assign(Object.assign({},fe.content),S),P.content),wrapper:Object.assign(Object.assign(Object.assign({},fe.wrapper),I),P.wrapper)},open:c!=null?c:b,mask:i,push:s,width:se,height:ve,style:Object.assign(Object.assign({},Z),g),className:T()(z,h),rootClassName:te,getContainer:ee,afterOpenChange:u!=null?u:y,panelRef:oe,zIndex:le,"aria-labelledby":x!=null?x:N,destroyOnClose:k!=null?k:O}),l.createElement(jn,Object.assign({prefixCls:W},w,{ariaId:N,onClose:m}))))))},Fi=t=>{const{prefixCls:e,style:n,className:o,placement:r="right"}=t,a=En(t,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(ce.E_),s=i("drawer",e),[c,u,m]=kn(s),f=T()(s,`${s}-pure`,`${s}-${r}`,u,m,o);return c(l.createElement("div",{className:f,style:n},l.createElement(jn,Object.assign({prefixCls:s},a))))};Nn._InternalPanelDoNotUseOrYouWillBeFired=Fi;var Xi=Nn,Pe=C(24005),Cc=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const Sc={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},wc=t=>!Number.isNaN(Number.parseFloat(t))&&Number.isFinite(Number(t)),Mn=l.createContext({}),$c=(()=>{let t=0;return(e="")=>(t+=1,`${e}${t}`)})(),jc=null;var Ic=null,Vi=C(55638),Ge=C(97721),Be=C(34573),De=C(25503),Tn=C(22758),Ye=(0,l.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ui=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n},Pn=t=>{const{prefixCls:e,className:n,dashed:o}=t,r=Ui(t,["prefixCls","className","dashed"]),{getPrefixCls:a}=l.useContext(ce.E_),i=a("menu",e),s=T()({[`${i}-item-divider-dashed`]:!!o},n);return l.createElement(Pe.iz,Object.assign({className:s},r))},it=C(54387),Bn=C(40721),Dn=t=>{var e;const{className:n,children:o,icon:r,title:a,danger:i,extra:s}=t,{prefixCls:c,firstLevel:u,direction:m,disableMenuItemTitleTooltip:f,inlineCollapsed:p}=l.useContext(Ye),v=j=>{const S=o==null?void 0:o[0],I=l.createElement("span",{className:T()(`${c}-title-content`,{[`${c}-title-content-with-extra`]:!!s||s===0})},o);return(!r||l.isValidElement(o)&&o.type==="span")&&o&&j&&u&&typeof S=="string"?l.createElement("div",{className:`${c}-inline-collapsed-noicon`},S.charAt(0)):I},{siderCollapsed:g}=l.useContext(Mn);let h=a;typeof a=="undefined"?h=u?o:"":a===!1&&(h="");const x={title:h};!g&&!p&&(x.title=null,x.open=!1);const b=(0,it.Z)(o).length;let y=l.createElement(Pe.ck,Object.assign({},(0,Be.Z)(t,["title","icon","danger"]),{className:T()({[`${c}-item-danger`]:i,[`${c}-item-only-child`]:(r?b+1:b)===1},n),title:typeof a=="string"?a:void 0}),(0,De.Tm)(r,{className:T()(l.isValidElement(r)?(e=r.props)===null||e===void 0?void 0:e.className:void 0,`${c}-item-icon`)}),v(p));return f||(y=l.createElement(Bn.Z,Object.assign({},x,{placement:m==="rtl"?"left":"right",classNames:{root:`${c}-inline-collapsed-tooltip`}}),y)),y},Nc=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const Ki=l.createContext(null),Mc=null;var Hn=Ki,lt=C(87471),zn=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut},
632
- opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}},[`${t.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${t.motionDurationMid} ${t.motionEaseInOut},
633
- opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}}}),Ln=C(43025),Gi=C(18588),Yi=t=>{const{componentCls:e,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:r,lineWidth:a,lineType:i,itemPaddingInline:s}=t;return{[`${e}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${(0,M.bf)(a)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${e}-item, ${e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${e}-item:hover,
634
- > ${e}-item-active,
635
- > ${e}-submenu ${e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${e}-item, ${e}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${e}-submenu-arrow`]:{display:"none"}}}},Qi=({componentCls:t,menuArrowOffset:e,calc:n})=>({[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,
636
- ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,M.bf)(n(e).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,M.bf)(e)})`}}}});const An=t=>(0,ue.oN)(t);var Zn=(t,e)=>{const{componentCls:n,itemColor:o,itemSelectedColor:r,subMenuItemSelectedColor:a,groupTitleColor:i,itemBg:s,subMenuItemBg:c,itemSelectedBg:u,activeBarHeight:m,activeBarWidth:f,activeBarBorderWidth:p,motionDurationSlow:v,motionEaseInOut:g,motionEaseOut:h,itemPaddingInline:x,motionDurationMid:b,itemHoverColor:y,lineType:j,colorSplit:S,itemDisabledColor:I,dangerItemColor:O,dangerItemHoverColor:k,dangerItemSelectedColor:w,dangerItemActiveBg:$,dangerItemSelectedBg:N,popupBg:A,itemHoverBg:H,itemActiveBg:L,menuSubMenuBg:z,horizontalItemSelectedColor:Z,horizontalItemSelectedBg:B,horizontalItemBorderRadius:P,horizontalItemHoverBg:W}=t;return{[`${n}-${e}, ${n}-${e} > ${n}`]:{color:o,background:s,[`&${n}-root:focus-visible`]:Object.assign({},An(t)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:o,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},An(t))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${I} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:H},"&:active":{backgroundColor:L}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:H},"&:active":{backgroundColor:L}}},[`${n}-item-danger`]:{color:O,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:k}},[`&${n}-item:active`]:{background:$}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:N}},[`&${n}-submenu > ${n}`]:{backgroundColor:z},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:Object.assign(Object.assign({},e==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:t.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:P,"&::after":{position:"absolute",insetInline:x,bottom:0,borderBottom:`${(0,M.bf)(m)} solid transparent`,transition:`border-color ${v} ${g}`,content:'""'},"&:hover, &-active, &-open":{background:W,"&::after":{borderBottomWidth:m,borderBottomColor:Z}},"&-selected":{color:Z,backgroundColor:B,"&:hover":{backgroundColor:B},"&::after":{borderBottomWidth:m,borderBottomColor:Z}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,M.bf)(p)} ${j} ${S}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,M.bf)(f)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${b} ${h}`,`opacity ${b} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${b} ${g}`,`opacity ${b} ${g}`].join(",")}}}}}};const Rn=t=>{const{componentCls:e,itemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:a,marginXS:i,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=t,m=t.calc(a).add(r).add(i).equal();return{[`${e}-item`]:{position:"relative",overflow:"hidden"},[`${e}-item, ${e}-submenu-title`]:{height:n,lineHeight:(0,M.bf)(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:s,width:c},[`> ${e}-item,
637
- > ${e}-submenu > ${e}-submenu-title`]:{height:n,lineHeight:(0,M.bf)(n)},[`${e}-item-group-list ${e}-submenu-title,
638
- ${e}-submenu-title`]:{paddingInlineEnd:m}}};var Ji=t=>{const{componentCls:e,iconCls:n,itemHeight:o,colorTextLightSolid:r,dropdownWidth:a,controlHeightLG:i,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:m,motionDurationFast:f,motionDurationSlow:p,paddingXS:v,boxShadowSecondary:g,collapsedWidth:h,collapsedIconSize:x}=t,b={height:o,lineHeight:(0,M.bf)(o),listStylePosition:"inside",listStyleType:"disc"};return[{[e]:{"&-inline, &-vertical":Object.assign({[`&${e}-root`]:{boxShadow:"none"}},Rn(t))},[`${e}-submenu-popup`]:{[`${e}-vertical`]:Object.assign(Object.assign({},Rn(t)),{boxShadow:g})}},{[`${e}-submenu-popup ${e}-vertical${e}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${(0,M.bf)(t.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${e}-inline`]:{width:"100%",[`&${e}-root`]:{[`${e}-item, ${e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${f} ${s}`].join(","),[`> ${e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${e}-sub${e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${e}-submenu > ${e}-submenu-title`]:b,[`& ${e}-item-group-title`]:{paddingInlineStart:c}},[`${e}-item`]:b}},{[`${e}-inline-collapsed`]:{width:h,[`&${e}-root`]:{[`${e}-item, ${e}-submenu ${e}-submenu-title`]:{[`> ${e}-inline-collapsed-noicon`]:{fontSize:m,textAlign:"center"}}},[`> ${e}-item,
639
- > ${e}-item-group > ${e}-item-group-list > ${e}-item,
640
- > ${e}-item-group > ${e}-item-group-list > ${e}-submenu > ${e}-submenu-title,
641
- > ${e}-submenu > ${e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,M.bf)(t.calc(x).div(2).equal())} - ${(0,M.bf)(u)})`,textOverflow:"clip",[`
642
- ${e}-submenu-arrow,
643
- ${e}-submenu-expand-icon
644
- `]:{opacity:0},[`${e}-item-icon, ${n}`]:{margin:0,fontSize:x,lineHeight:(0,M.bf)(o),"+ span":{display:"inline-block",opacity:0}}},[`${e}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${e}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${e}-item-group-title`]:Object.assign(Object.assign({},ue.vS),{paddingInline:v})}}]};const Wn=t=>{const{componentCls:e,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:r,motionEaseOut:a,iconCls:i,iconSize:s,iconMarginInlineEnd:c}=t;return{[`${e}-item, ${e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${r}`].join(","),[`${e}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${o} ${a}`,`margin ${n} ${r}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${r}`,`margin ${n}`,`color ${n}`].join(",")}},[`${e}-item-icon`]:Object.assign({},(0,ue.Ro)()),[`&${e}-item-only-child`]:{[`> ${i}, > ${e}-item-icon`]:{marginInlineEnd:0}}},[`${e}-item-disabled, ${e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Fn=t=>{const{componentCls:e,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:a,menuArrowOffset:i}=t;return{[`${e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:t.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:t.calc(a).mul(.6).equal(),height:t.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,M.bf)(t.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,M.bf)(i)})`}}}}},_i=t=>{const{antCls:e,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:i,paddingXS:s,padding:c,colorSplit:u,lineWidth:m,zIndexPopup:f,borderRadiusLG:p,subMenuItemBorderRadius:v,menuArrowSize:g,menuArrowOffset:h,lineType:x,groupTitleLineHeight:b,groupTitleFontSize:y}=t;return[{"":{[n]:Object.assign(Object.assign({},(0,ue.dF)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(t)),(0,ue.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:t.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${(0,M.bf)(s)} ${(0,M.bf)(c)}`,fontSize:y,lineHeight:b,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${i}`,`background ${r} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${i}`,`background ${r} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${i}`,`padding ${r} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${e}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:t.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:x,borderWidth:0,borderTopWidth:m,marginBlock:m,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Wn(t)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,M.bf)(t.calc(o).mul(2).equal())} ${(0,M.bf)(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},Wn(t)),Fn(t)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:v},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:t.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:t.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:t.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:t.paddingXS}}}),Fn(t)),{[`&-inline-collapsed ${n}-submenu-arrow,
645
- &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,M.bf)(h)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,M.bf)(t.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,M.bf)(t.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,M.bf)(t.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,M.bf)(h)})`}}})},{[`${e}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},qi=t=>{var e,n,o;const{colorPrimary:r,colorError:a,colorTextDisabled:i,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:m,colorFillAlter:f,colorFillContent:p,lineWidth:v,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:x,controlHeightLG:b,lineHeight:y,colorBgElevated:j,marginXXS:S,padding:I,fontSize:O,controlHeightSM:k,fontSizeLG:w,colorTextLightSolid:$,colorErrorHover:N}=t,A=(e=t.activeBarWidth)!==null&&e!==void 0?e:0,H=(n=t.activeBarBorderWidth)!==null&&n!==void 0?n:v,L=(o=t.itemMarginInline)!==null&&o!==void 0?o:t.marginXXS,z=new lt.t($).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:t.zIndexPopupBase+50,radiusItem:t.borderRadiusLG,itemBorderRadius:t.borderRadiusLG,radiusSubMenuItem:t.borderRadiusSM,subMenuItemBorderRadius:t.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:r,itemSelectedColor:r,subMenuItemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:m,itemBg:m,colorItemBgHover:x,itemHoverBg:x,colorItemBgActive:p,itemActiveBg:h,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:A,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:v,activeBarBorderWidth:H,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:a,dangerItemColor:a,colorDangerItemTextHover:a,dangerItemHoverColor:a,colorDangerItemTextSelected:a,dangerItemSelectedColor:a,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:L,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:b,groupTitleLineHeight:y,collapsedWidth:b*2,popupBg:j,itemMarginBlock:S,itemPaddingInline:I,horizontalLineHeight:`${b*1.15}px`,iconSize:O,iconMarginInlineEnd:k-O,collapsedIconSize:w,groupTitleFontSize:O,darkItemDisabledColor:new lt.t($).setA(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:a,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$,darkItemSelectedBg:r,darkDangerItemSelectedBg:a,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:$,darkDangerItemHoverColor:N,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:a,itemWidth:A?`calc(100% + ${H}px)`:`calc(100% - ${L*2}px)`}};var el=(t,e=t,n=!0)=>(0,Ce.I$)("Menu",r=>{const{colorBgElevated:a,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:m,darkSubMenuItemBg:f,darkItemSelectedColor:p,darkItemSelectedBg:v,darkDangerItemSelectedBg:g,darkItemHoverBg:h,darkGroupTitleColor:x,darkItemHoverColor:b,darkItemDisabledColor:y,darkDangerItemHoverColor:j,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:I,popupBg:O,darkPopupBg:k}=r,w=r.calc(s).div(7).mul(5).equal(),$=(0,Ee.IX)(r,{menuArrowSize:w,menuHorizontalHeight:r.calc(i).mul(1.15).equal(),menuArrowOffset:r.calc(w).mul(.25).equal(),menuSubMenuBg:a,calc:r.calc,popupBg:O}),N=(0,Ee.IX)($,{itemColor:c,itemHoverColor:b,groupTitleColor:x,itemSelectedColor:p,subMenuItemSelectedColor:p,itemBg:m,popupBg:k,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:v,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:y,dangerItemColor:u,dangerItemHoverColor:j,dangerItemSelectedColor:S,dangerItemActiveBg:I,dangerItemSelectedBg:g,menuSubMenuBg:f,horizontalItemSelectedColor:p,horizontalItemSelectedBg:v});return[_i($),Yi($),Ji($),Zn($,"light"),Zn(N,"dark"),Qi($),zn($),(0,Ln.oN)($,"slide-up"),(0,Ln.oN)($,"slide-down"),(0,Gi._y)($,"zoom-big")]},qi,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(t,e),Xn=t=>{var e;const{popupClassName:n,icon:o,title:r,theme:a}=t,i=l.useContext(Ye),{prefixCls:s,inlineCollapsed:c,theme:u}=i,m=(0,Pe.Xl)();let f;if(!o)f=c&&!m.length&&r&&typeof r=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):l.createElement("span",{className:`${s}-title-content`},r);else{const g=l.isValidElement(r)&&r.type==="span";f=l.createElement(l.Fragment,null,(0,De.Tm)(o,{className:T()(l.isValidElement(o)?(e=o.props)===null||e===void 0?void 0:e.className:void 0,`${s}-item-icon`)}),g?r:l.createElement("span",{className:`${s}-title-content`},r))}const p=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[v]=(0,$n.Cn)("Menu");return l.createElement(Ye.Provider,{value:p},l.createElement(Pe.Wd,Object.assign({},(0,Be.Z)(t,["icon"]),{title:f,popupClassName:T()(s,n,`${s}-${a||u}`),popupStyle:Object.assign({zIndex:v},t.popupStyle)})))},tl=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};function st(t){return t===null||t===!1}const nl={item:Dn,submenu:Xn,divider:Pn};var ol=(0,l.forwardRef)((t,e)=>{var n;const o=l.useContext(Hn),r=o||{},{getPrefixCls:a,getPopupContainer:i,direction:s,menu:c}=l.useContext(ce.E_),u=a(),{prefixCls:m,className:f,style:p,theme:v="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:x,siderCollapsed:b,rootClassName:y,mode:j,selectable:S,onClick:I,overflowedIndicatorPopupClassName:O}=t,k=tl(t,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),w=(0,Be.Z)(k,["collapsedWidth"]);(n=r.validator)===null||n===void 0||n.call(r,{mode:j});const $=(0,Ge.Z)((...ee)=>{var te;I==null||I.apply(void 0,ee),(te=r.onClick)===null||te===void 0||te.call(r)}),N=r.mode||j,A=S!=null?S:r.selectable,H=x!=null?x:b,L={horizontal:{motionName:`${u}-slide-up`},inline:(0,Ke.Z)(u),other:{motionName:`${u}-zoom-big`}},z=a("menu",m||r.prefixCls),Z=(0,Tn.Z)(z),[B,P,W]=el(z,Z,!o),Q=T()(`${z}-${v}`,c==null?void 0:c.className,f),Y=l.useMemo(()=>{var ee,te;if(typeof g=="function"||st(g))return g||null;if(typeof r.expandIcon=="function"||st(r.expandIcon))return r.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||st(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const se=(ee=g!=null?g:r==null?void 0:r.expandIcon)!==null&&ee!==void 0?ee:c==null?void 0:c.expandIcon;return(0,De.Tm)(se,{className:T()(`${z}-submenu-expand-icon`,l.isValidElement(se)?(te=se.props)===null||te===void 0?void 0:te.className:void 0)})},[g,r==null?void 0:r.expandIcon,c==null?void 0:c.expandIcon,z]),X=l.useMemo(()=>({prefixCls:z,inlineCollapsed:H||!1,direction:s,firstLevel:!0,theme:v,mode:N,disableMenuItemTitleTooltip:h}),[z,H,s,h,v]);return B(l.createElement(Hn.Provider,{value:null},l.createElement(Ye.Provider,{value:X},l.createElement(Pe.ZP,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(Vi.Z,null),overflowedIndicatorPopupClassName:T()(z,`${z}-${v}`,O),mode:N,selectable:A,onClick:$},w,{inlineCollapsed:H,style:Object.assign(Object.assign({},c==null?void 0:c.style),p),className:Q,prefixCls:z,direction:s,defaultMotions:L,expandIcon:Y,ref:e,rootClassName:T()(y,P,r.rootClassName,W,Z),_internalComponents:nl})))))});const Ze=(0,l.forwardRef)((t,e)=>{const n=(0,l.useRef)(null),o=l.useContext(Mn);return(0,l.useImperativeHandle)(e,()=>({menu:n.current,focus:r=>{var a;(a=n.current)===null||a===void 0||a.focus(r)}})),l.createElement(ol,Object.assign({ref:n},t,o))});Ze.Item=Dn,Ze.SubMenu=Xn,Ze.Divider=Pn,Ze.ItemGroup=Pe.BW;var rl=Ze,be=C(61981),Vn,Un,Kn,Gn,Yn,Qn,Jn,al=(0,ne.kc)(function(t){var e=t.token,n=t.prefixCls,o=t.cx,r=t.css,a=6;return{rect:r(Vn||(Vn=(0,E.Z)([`
646
- background: `,`;
647
-
648
- width: 100%;
649
- `])),(0,be.m4)(e.colorBgContainer,.8)),icon:o("site-burger-icon",r(Un||(Un=(0,E.Z)([`
650
- position: relative;
651
-
652
- &,
653
- &::before,
654
- &::after {
655
- display: inline-block;
656
- height: 2px;
657
- background: `,`;
658
-
659
- width: 16px;
660
-
661
- transition: all 150ms ease;
662
- }
663
-
664
- &::before,
665
- &::after {
666
- position: absolute;
667
- left: 0;
668
-
669
- content: '';
670
- }
671
-
672
- &::before {
673
- top: `,`px;
674
- }
675
-
676
- &::after {
677
- top: -`,`px;
678
- }
679
- `])),e.colorTextSecondary,a,a)),active:r(Kn||(Kn=(0,E.Z)([`
680
- &::before,
681
- &::after {
682
- background: `,`;
683
- }
684
- & {
685
- background: transparent;
686
- }
687
-
688
- &::before {
689
- top: 0;
690
- transform: rotate(-135deg);
691
- }
692
-
693
- &::after {
694
- top: 0;
695
- transform: rotate(135deg);
696
- }
697
- `])),e.colorText),container:r(Gn||(Gn=(0,E.Z)([`
698
- width: `,`px;
699
- height: `,`px;
700
- border-radius: `,`px;
701
- cursor: pointer;
702
- `])),e.controlHeight,e.controlHeight,e.borderRadius),drawerRoot:r(Yn||(Yn=(0,E.Z)([`
703
- top: `,`px;
704
-
705
- :focus-visible {
706
- outline: none;
707
- }
708
-
709
- .`,`-drawer {
710
- &-mask {
711
- background: transparent;
712
- backdrop-filter: blur(7px);
713
- background: `,`;
714
- }
715
-
716
- &-content-wrapper {
717
- box-shadow: none;
718
- }
719
- }
720
- `])),e.headerHeight+1,n,(0,be.m4)(e.colorBgBase,.5)),drawer:r(Qn||(Qn=(0,E.Z)([`
721
- &.`,`-drawer-content {
722
- background: transparent;
723
- }
724
-
725
- .`,`-drawer-body {
726
- display: flex;
727
- flex-direction: column;
728
- }
729
- `])),n,n),menu:r(Jn||(Jn=(0,E.Z)([`
730
- background: transparent;
731
- border-inline-end: transparent !important;
732
-
733
- > .`,"-menu-item-only-child,.",`-menu-submenu-title {
734
- background: `,`;
735
- border-radius: 0;
736
- margin: 0;
737
- width: 100%;
738
- &:active {
739
- margin-inline: 4px;
740
- border-radius: `,`px;
741
- }
742
- }
743
-
744
- .`,"-menu-sub.",`-menu-inline {
745
- //background: transparent !important;
746
- background: `,` !important;
747
- }
748
- `])),n,n,(0,be.m4)(e.colorBgContainer,.8),e.borderRadius,n,n,(0,be.m4)(e.colorBgContainer,.2))}}),il=function(){var e=(0,l.useState)(!1),n=(0,ge.Z)(e,2),o=n[0],r=n[1],a=al(),i=a.styles,s=a.cx,c=(0,R.HX)(function(p){return p.navData},ye()),u=(0,R.HX)(function(p){return p.sidebar},ye()),m=(0,R.HX)(It),f=(0,R.HX)(function(p){return p.location.pathname});return(0,d.jsxs)(je.Z,{className:i.container,onClick:function(){r(!o)},children:[(0,d.jsx)("div",{className:s(i.icon,o?i.active:"")}),(0,d.jsxs)(Xi,{open:o,placement:"left",closeIcon:null,rootClassName:i.drawerRoot,className:i.drawer,width:"100vw",headerStyle:{display:"none"},bodyStyle:{padding:0},children:[(0,d.jsx)("div",{style:{height:24},className:i.rect}),(0,d.jsx)(rl,{mode:"inline",selectedKeys:(0,Ne.uniq)([m,"s-".concat(f)]),openKeys:[m],className:i.menu,items:c.map(function(p){return{label:(0,d.jsx)(D.rU,{to:p.link,children:p.title}),key:p.activePath||p.link,children:(p.activePath||p.link)===m&&(u==null?void 0:u.map(function(v){return!v.link&&{label:v.title,type:"group",children:v.children.map(function(g){return{label:(0,d.jsx)(D.rU,{to:g.link,onClick:function(){r(!1)},children:g.title}),key:"s-".concat(g.link)}})}}))}})}),(0,d.jsx)("div",{style:{flex:1},className:i.rect})]})]})},ll=il,_n=C(11396),sl=function(){var e=(0,R.HX)(nt);return e?(0,d.jsx)(Bn.Z,{arrow:!1,title:"Github",children:(0,d.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",children:(0,d.jsx)(We.ZP,{icon:(0,d.jsx)(_n.Z,{})})})}):null},cl=(0,l.memo)(sl),dl=C(76206),qn=C(43458),eo,to,no,oo,ul=(0,ne.kc)(function(t){var e=t.css,n=t.responsive,o=t.token;return{header:e(eo||(eo=(0,E.Z)([`
749
- top: 0;
750
- position: sticky;
751
- background-color: transparent;
752
- backdrop-filter: blur(6px);
753
- z-index: `,`;
754
- border-bottom: 1px solid `,`;
755
-
756
- grid-area: head;
757
- align-self: stretch;
758
-
759
- `,` {
760
- background: `,`;
761
- }
762
- `])),o.zIndexPopupBase-50,o.colorSplit,n.mobile,o.colorBgContainer),content:e(to||(to=(0,E.Z)([`
763
- padding: 0 24px;
764
- height: 64px;
765
-
766
- `,` {
767
- padding: 0 12px;
768
- }
769
- `])),n.mobile),left:e(no||(no=(0,E.Z)([""]))),right:e(oo||(oo=(0,E.Z)([`
770
- flex: 1;
771
- display: flex;
772
- justify-content: space-between;
773
-
774
- &-aside {
775
- display: flex;
776
- align-items: center;
777
-
778
- `,` {
779
- margin: 8px 16px;
780
- padding-top: 24px;
781
- justify-content: center;
782
- border-top: 1px solid `,`;
783
- }
784
- }
785
- `])),n.mobile,o.colorBorder)}}),ro=function(){var e=(0,R.HX)(function(i){return i.siteData.themeConfig.prefersColor.switch}),n=(0,qn.f)(function(i){return i.themeMode}),o=(0,D.OI)(),r=(0,ge.Z)(o,3),a=r[2];return(0,l.useEffect)(function(){return a(n)},[n]),e?(0,d.jsx)(dl.Z,{value:n,onChange:function(s){qn.f.setState({themeMode:s})}}):null},ml=function(){var e=(0,R.HX)(function(i){return!!i.routeMeta.frontmatter}),n=ke(),o=n.mobile,r=ul(),a=r.styles;return e?(0,d.jsx)("div",{className:a.header,children:(0,d.jsx)(q.D,{horizontal:!0,distribution:"space-between",align:"center",width:"auto",className:a.content,children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(q.D,{children:(0,d.jsx)(ll,{})}),(0,d.jsx)(q.D,{horizontal:!0,className:a.left,children:(0,d.jsx)(Qt,{})}),(0,d.jsx)(q.D,{children:(0,d.jsx)(ro,{})})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(q.D,{horizontal:!0,className:a.left,children:(0,d.jsx)(Qt,{})}),(0,d.jsx)(q.D,{style:{marginLeft:48,alignSelf:"end"},children:(0,d.jsx)(Ga,{})}),(0,d.jsxs)("section",{className:a.right,children:[(0,d.jsx)("div",{}),(0,d.jsxs)(q.D,{gap:16,horizontal:!0,align:"center",className:"dumi-default-header-right-aside",children:[(0,d.jsx)(Ci,{}),(0,d.jsx)(za,{}),(0,d.jsx)(cl,{}),(0,d.jsx)(ro,{})]})]})]})})}):null},ao=(0,l.memo)(ml),io,pl=(0,ne.kc)(function(t){var e=t.css,n=t.token;return{sidebar:e(io||(io=(0,E.Z)([`
786
- grid-area: sidebar;
787
- overflow: auto;
788
- position: sticky;
789
- top: `,`px;
790
- max-height: calc(100vh - `,`px);
791
- box-sizing: border-box;
792
- padding-top: 20px;
793
- padding-bottom: 24px;
794
- padding-inline: 16px;
795
- border-right: 1px solid `,`;
796
-
797
- > dl {
798
- margin: 0;
799
- padding: 0;
800
- line-height: 1;
801
-
802
- > dt {
803
- margin: 8px 0;
804
- color: `,`;
805
- font-weight: 500;
806
- white-space: nowrap;
807
- overflow: hidden;
808
- text-overflow: ellipsis;
809
- text-transform: uppercase;
810
- }
811
-
812
- > dd {
813
- margin: 0;
814
- padding: 2px 0;
815
-
816
- > a {
817
- padding: 6px 12px;
818
- border-radius: 6px;
819
- display: block;
820
- font-size: `,`px;
821
- line-height: `,`;
822
- text-decoration: none;
823
- transition: all 0.1s;
824
-
825
- white-space: nowrap;
826
- overflow: hidden;
827
- text-overflow: ellipsis;
828
-
829
- color: `,`;
830
-
831
- &:hover {
832
- color: `,`;
833
- background: `,`;
834
- }
835
-
836
- &.active {
837
- color: `,`;
838
- background: `,`;
839
-
840
- &:hover {
841
- color: `,`;
842
- background: `,`;
843
- }
844
- }
845
- }
846
- }
847
-
848
- // divider line & gap
849
- + dl {
850
- margin-top: 16px;
851
- padding-top: 16px;
852
- border-top: 1px dashed `,`;
853
- }
854
- }
855
- `])),n.headerHeight,n.headerHeight,n.colorSplit,n.colorText,n.fontSize,n.lineHeight,n.colorTextSecondary,n.colorText,n.colorFillTertiary,n.colorPrimaryText,n.colorPrimaryBg,n.colorPrimaryTextHover,n.colorPrimaryBgHover,n.colorBorder)}}),fl=function(){var e=(0,R.HX)(function(a){return a.sidebar},ye()),n=pl(),o=n.styles,r=!e||e.length===0;return r?null:(0,d.jsx)("div",{className:o.sidebar,children:e.map(function(a,i){return(0,d.jsxs)("dl",{children:[a.title&&(0,d.jsx)("dt",{children:a.title}),a.children.map(function(s){return(0,d.jsx)("dd",{children:(0,d.jsx)(D.OL,{to:s.link,title:s.title,end:!0,children:s.title})},s.link)})]},String(i))})})},gl=(0,l.memo)(fl),vl=C(9170),hl=C(63954),ct=C(70916),xl=C(30313),bl=C(29608),yl=C(81424),lo=l.forwardRef(function(t,e){var n=t.prefixCls,o=t.forceRender,r=t.className,a=t.style,i=t.children,s=t.isActive,c=t.role,u=t.classNames,m=t.styles,f=l.useState(s||o),p=(0,ge.Z)(f,2),v=p[0],g=p[1];return l.useEffect(function(){(o||s)&&g(!0)},[o,s]),v?l.createElement("div",{ref:e,className:T()("".concat(n,"-content"),(0,ae.Z)((0,ae.Z)({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),r),style:a,role:c},l.createElement("div",{className:T()("".concat(n,"-content-box"),u==null?void 0:u.body),style:m==null?void 0:m.body},i)):null});lo.displayName="PanelContent";var Cl=lo,Sl=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],wl=l.forwardRef(function(t,e){var n=t.showArrow,o=n===void 0?!0:n,r=t.headerClass,a=t.isActive,i=t.onItemClick,s=t.forceRender,c=t.className,u=t.classNames,m=u===void 0?{}:u,f=t.styles,p=f===void 0?{}:f,v=t.prefixCls,g=t.collapsible,h=t.accordion,x=t.panelKey,b=t.extra,y=t.header,j=t.expandIcon,S=t.openMotion,I=t.destroyInactivePanel,O=t.children,k=(0,Oe.Z)(t,Sl),w=g==="disabled",$=b!=null&&typeof b!="boolean",N=(0,ae.Z)((0,ae.Z)((0,ae.Z)({onClick:function(){i==null||i(x)},onKeyDown:function(P){(P.key==="Enter"||P.keyCode===Ae.Z.ENTER||P.which===Ae.Z.ENTER)&&(i==null||i(x))},role:h?"tab":"button"},"aria-expanded",a),"aria-disabled",w),"tabIndex",w?-1:0),A=typeof j=="function"?j(t):l.createElement("i",{className:"arrow"}),H=A&&l.createElement("div",(0,xe.Z)({className:"".concat(v,"-expand-icon")},["header","icon"].includes(g)?N:{}),A),L=T()("".concat(v,"-item"),(0,ae.Z)((0,ae.Z)({},"".concat(v,"-item-active"),a),"".concat(v,"-item-disabled"),w),c),z=T()(r,"".concat(v,"-header"),(0,ae.Z)({},"".concat(v,"-collapsible-").concat(g),!!g),m.header),Z=(0,ie.Z)({className:z,style:p.header},["header","icon"].includes(g)?{}:N);return l.createElement("div",(0,xe.Z)({},k,{ref:e,className:L}),l.createElement("div",Z,o&&H,l.createElement("span",(0,xe.Z)({className:"".concat(v,"-header-text")},g==="header"?N:{}),y),$&&l.createElement("div",{className:"".concat(v,"-extra")},b)),l.createElement(at.ZP,(0,xe.Z)({visible:a,leavedClassName:"".concat(v,"-content-hidden")},S,{forceRender:s,removeOnLeave:I}),function(B,P){var W=B.className,Q=B.style;return l.createElement(Cl,{ref:P,prefixCls:v,className:W,classNames:m,style:Q,styles:p,isActive:a,forceRender:s,role:h?"tabpanel":void 0},O)}))}),so=wl,$l=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],jl=function(e,n){var o=n.prefixCls,r=n.accordion,a=n.collapsible,i=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,m=n.expandIcon;return e.map(function(f,p){var v=f.children,g=f.label,h=f.key,x=f.collapsible,b=f.onItemClick,y=f.destroyInactivePanel,j=(0,Oe.Z)(f,$l),S=String(h!=null?h:p),I=x!=null?x:a,O=y!=null?y:i,k=function(N){I!=="disabled"&&(s(N),b==null||b(N))},w=!1;return r?w=c[0]===S:w=c.indexOf(S)>-1,l.createElement(so,(0,xe.Z)({},j,{prefixCls:o,key:S,panelKey:S,isActive:w,accordion:r,openMotion:u,expandIcon:m,header:g,collapsible:I,onItemClick:k,destroyInactivePanel:O}),v)})},Il=function(e,n,o){if(!e)return null;var r=o.prefixCls,a=o.accordion,i=o.collapsible,s=o.destroyInactivePanel,c=o.onItemClick,u=o.activeKey,m=o.openMotion,f=o.expandIcon,p=e.key||String(n),v=e.props,g=v.header,h=v.headerClass,x=v.destroyInactivePanel,b=v.collapsible,y=v.onItemClick,j=!1;a?j=u[0]===p:j=u.indexOf(p)>-1;var S=b!=null?b:i,I=function(w){S!=="disabled"&&(c(w),y==null||y(w))},O={key:p,panelKey:p,header:g,headerClass:h,isActive:j,prefixCls:r,destroyInactivePanel:x!=null?x:s,openMotion:m,accordion:a,children:e.props.children,onItemClick:I,expandIcon:f,collapsible:S};return typeof e.type=="string"?e:(Object.keys(O).forEach(function(k){typeof O[k]=="undefined"&&delete O[k]}),l.cloneElement(e,O))};function Ol(t,e,n){return Array.isArray(t)?jl(t,n):(0,it.Z)(e).map(function(o,r){return Il(o,r,n)})}var kl=Ol;function El(t){var e=t;if(!Array.isArray(e)){var n=(0,bl.Z)(e);e=n==="number"||n==="string"?[e]:[]}return e.map(function(o){return String(o)})}var Nl=l.forwardRef(function(t,e){var n=t.prefixCls,o=n===void 0?"rc-collapse":n,r=t.destroyInactivePanel,a=r===void 0?!1:r,i=t.style,s=t.accordion,c=t.className,u=t.children,m=t.collapsible,f=t.openMotion,p=t.expandIcon,v=t.activeKey,g=t.defaultActiveKey,h=t.onChange,x=t.items,b=T()(o,c),y=(0,yl.Z)([],{value:v,onChange:function($){return h==null?void 0:h($)},defaultValue:g,postState:El}),j=(0,ge.Z)(y,2),S=j[0],I=j[1],O=function($){return I(function(){if(s)return S[0]===$?[]:[$];var N=S.indexOf($),A=N>-1;return A?S.filter(function(H){return H!==$}):[].concat((0,Le.Z)(S),[$])})};(0,Cn.ZP)(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var k=kl(x,u,{prefixCls:o,accordion:s,openMotion:f,expandIcon:p,collapsible:m,destroyInactivePanel:a,onItemClick:O,activeKey:S});return l.createElement("div",(0,xe.Z)({ref:e,className:b,style:i,role:s?"tablist":void 0},(0,Ue.Z)(t,{aria:!0,data:!0})),k)}),co=Object.assign(Nl,{Panel:so}),uo=co,Ac=co.Panel,Ml=l.forwardRef((t,e)=>{const{getPrefixCls:n}=l.useContext(ce.E_),{prefixCls:o,className:r,showArrow:a=!0}=t,i=n("collapse",o),s=T()({[`${i}-no-arrow`]:!a},r);return l.createElement(uo.Panel,Object.assign({ref:e},t,{prefixCls:i,className:s}))});const Tl=t=>{const{componentCls:e,contentBg:n,padding:o,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:m,colorBorder:f,colorText:p,colorTextHeading:v,colorTextDisabled:g,fontSizeLG:h,lineHeight:x,lineHeightLG:b,marginSM:y,paddingSM:j,paddingLG:S,paddingXS:I,motionDurationSlow:O,fontSizeIcon:k,contentPadding:w,fontHeight:$,fontHeightLG:N}=t,A=`${(0,M.bf)(u)} ${m} ${f}`;return{[e]:Object.assign(Object.assign({},(0,ue.Wf)(t)),{backgroundColor:r,border:A,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${e}-item`]:{borderBottom:A,"&:first-child":{[`
856
- &,
857
- & > ${e}-header`]:{borderRadius:`${(0,M.bf)(c)} ${(0,M.bf)(c)} 0 0`}},"&:last-child":{[`
858
- &,
859
- & > ${e}-header`]:{borderRadius:`0 0 ${(0,M.bf)(c)} ${(0,M.bf)(c)}`}},[`> ${e}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:v,lineHeight:x,cursor:"pointer",transition:`all ${O}, visibility 0s`},(0,ue.Qy)(t)),{[`> ${e}-header-text`]:{flex:"auto"},[`${e}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${e}-arrow`]:Object.assign(Object.assign({},(0,ue.Ro)()),{fontSize:k,transition:`transform ${O}`,svg:{transition:`transform ${O}`}}),[`${e}-header-text`]:{marginInlineEnd:"auto"}}),[`${e}-collapsible-header`]:{cursor:"default",[`${e}-header-text`]:{flex:"none",cursor:"pointer"},[`${e}-expand-icon`]:{cursor:"pointer"}},[`${e}-collapsible-icon`]:{cursor:"unset",[`${e}-expand-icon`]:{cursor:"pointer"}}},[`${e}-content`]:{color:p,backgroundColor:n,borderTop:A,[`& > ${e}-content-box`]:{padding:w},"&-hidden":{display:"none"}},"&-small":{[`> ${e}-item`]:{[`> ${e}-header`]:{padding:i,paddingInlineStart:I,[`> ${e}-expand-icon`]:{marginInlineStart:t.calc(j).sub(I).equal()}},[`> ${e}-content > ${e}-content-box`]:{padding:j}}},"&-large":{[`> ${e}-item`]:{fontSize:h,lineHeight:b,[`> ${e}-header`]:{padding:s,paddingInlineStart:o,[`> ${e}-expand-icon`]:{height:N,marginInlineStart:t.calc(S).sub(o).equal()}},[`> ${e}-content > ${e}-content-box`]:{padding:S}}},[`${e}-item:last-child`]:{borderBottom:0,[`> ${e}-content`]:{borderRadius:`0 0 ${(0,M.bf)(c)} ${(0,M.bf)(c)}`}},[`& ${e}-item-disabled > ${e}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${e}-icon-position-end`]:{[`& > ${e}-item`]:{[`> ${e}-header`]:{[`${e}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},Pl=t=>{const{componentCls:e}=t,n=`> ${e}-item > ${e}-header ${e}-arrow`;return{[`${e}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Bl=t=>{const{componentCls:e,headerBg:n,borderlessContentPadding:o,borderlessContentBg:r,colorBorder:a}=t;return{[`${e}-borderless`]:{backgroundColor:n,border:0,[`> ${e}-item`]:{borderBottom:`1px solid ${a}`},[`
860
- > ${e}-item:last-child,
861
- > ${e}-item:last-child ${e}-header
862
- `]:{borderRadius:0},[`> ${e}-item:last-child`]:{borderBottom:0},[`> ${e}-item > ${e}-content`]:{backgroundColor:r,borderTop:0},[`> ${e}-item > ${e}-content > ${e}-content-box`]:{padding:o}}}},Dl=t=>{const{componentCls:e,paddingSM:n}=t;return{[`${e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e}-item`]:{borderBottom:0,[`> ${e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e}-content-box`]:{paddingBlock:n}}}}}},Hl=t=>({headerPadding:`${t.paddingSM}px ${t.padding}px`,headerBg:t.colorFillAlter,contentPadding:`${t.padding}px 16px`,contentBg:t.colorBgContainer,borderlessContentPadding:`${t.paddingXXS}px 16px ${t.padding}px`,borderlessContentBg:"transparent"});var zl=(0,Ce.I$)("Collapse",t=>{const e=(0,Ee.IX)(t,{collapseHeaderPaddingSM:`${(0,M.bf)(t.paddingXS)} ${(0,M.bf)(t.paddingSM)}`,collapseHeaderPaddingLG:`${(0,M.bf)(t.padding)} ${(0,M.bf)(t.paddingLG)}`,collapsePanelBorderRadius:t.borderRadiusLG});return[Tl(e),Bl(e),Dl(e),Pl(e),zn(e)]},Hl),Ll=Object.assign(l.forwardRef((t,e)=>{const{getPrefixCls:n,direction:o,expandIcon:r,className:a,style:i}=(0,ce.dj)("collapse"),{prefixCls:s,className:c,rootClassName:u,style:m,bordered:f=!0,ghost:p,size:v,expandIconPosition:g="start",children:h,destroyInactivePanel:x,destroyOnHidden:b,expandIcon:y}=t,j=(0,Lt.Z)(Z=>{var B;return(B=v!=null?v:Z)!==null&&B!==void 0?B:"middle"}),S=n("collapse",s),I=n(),[O,k,w]=zl(S),$=l.useMemo(()=>g==="left"?"start":g==="right"?"end":g,[g]),N=y!=null?y:r,A=l.useCallback((Z={})=>{const B=typeof N=="function"?N(Z):l.createElement(xl.Z,{rotate:Z.isActive?o==="rtl"?-90:90:void 0,"aria-label":Z.isActive?"expanded":"collapsed"});return(0,De.Tm)(B,()=>{var P;return{className:T()((P=B.props)===null||P===void 0?void 0:P.className,`${S}-arrow`)}})},[N,S,o]),H=T()(`${S}-icon-position-${$}`,{[`${S}-borderless`]:!f,[`${S}-rtl`]:o==="rtl",[`${S}-ghost`]:!!p,[`${S}-${j}`]:j!=="middle"},a,c,u,k,w),L=l.useMemo(()=>Object.assign(Object.assign({},(0,Ke.Z)(I)),{motionAppear:!1,leavedClassName:`${S}-content-hidden`}),[I,S]),z=l.useMemo(()=>h?(0,it.Z)(h).map((Z,B)=>{var P,W;const Q=Z.props;if(Q!=null&&Q.disabled){const Y=(P=Z.key)!==null&&P!==void 0?P:String(B),X=Object.assign(Object.assign({},(0,Be.Z)(Z.props,["disabled"])),{key:Y,collapsible:(W=Q.collapsible)!==null&&W!==void 0?W:"disabled"});return(0,De.Tm)(Z,X)}return Z}):null,[h]);return O(l.createElement(uo,Object.assign({ref:e,openMotion:L},(0,Be.Z)(t,["rootClassName"]),{expandIcon:A,prefixCls:S,className:H,style:Object.assign(Object.assign({},i),m),destroyInactivePanel:b!=null?b:x}),z))}),{Panel:Ml}),mo=Ll,Al=C(43389);function dt(t){return t!=null&&t===t.window}var po=t=>{var e,n;if(typeof window=="undefined")return 0;let o=0;return dt(t)?o=t.pageYOffset:t instanceof Document?o=t.documentElement.scrollTop:(t instanceof HTMLElement||t)&&(o=t.scrollTop),t&&!dt(t)&&typeof o!="number"&&(o=(n=((e=t.ownerDocument)!==null&&e!==void 0?e:t).documentElement)===null||n===void 0?void 0:n.scrollTop),o},Qe=C(24589);function Zl(t,e,n,o){const r=n-e;return t/=o/2,t<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e}function Rl(t,e={}){const{getContainer:n=()=>window,callback:o,duration:r=450}=e,a=n(),i=po(a),s=Date.now(),c=()=>{const m=Date.now()-s,f=Zl(m>r?r:m,i,t,r);dt(a)?a.scrollTo(window.pageXOffset,f):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=f:a.scrollTop=f,m<r?(0,Qe.Z)(c):typeof o=="function"&&o()};(0,Qe.Z)(c)}var fo=C(26954);function Wl(t){let e=null;const n=r=>()=>{e=null,t.apply(void 0,(0,Le.Z)(r))},o=(...r)=>{e===null&&(e=(0,Qe.Z)(n(r)))};return o.cancel=()=>{Qe.Z.cancel(e),e=null},o}var go=Wl;const Fl=t=>{const{componentCls:e}=t;return{[e]:{position:"fixed",zIndex:t.zIndexPopup}}},Xl=t=>({zIndexPopup:t.zIndexBase+10});var Vl=(0,Ce.I$)("Affix",Fl,Xl);function Je(t){return t!==window?t.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function vo(t,e,n){if(n!==void 0&&Math.round(e.top)>Math.round(t.top)-n)return n+e.top}function ho(t,e,n){if(n!==void 0&&Math.round(e.bottom)<Math.round(t.bottom)+n){const o=window.innerHeight-e.bottom;return n+o}}var Ul=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const xo=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function Kl(){return typeof window!="undefined"?window:null}const bo=0,yo=1;var Gl=l.forwardRef((t,e)=>{var n;const{style:o,offsetTop:r,offsetBottom:a,prefixCls:i,className:s,rootClassName:c,children:u,target:m,onChange:f,onTestUpdatePosition:p}=t,v=Ul(t,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:g,getTargetContainer:h}=l.useContext(ce.E_),x=g("affix",i),[b,y]=l.useState(!1),[j,S]=l.useState(),[I,O]=l.useState(),k=l.useRef(bo),w=l.useRef(null),$=l.useRef(null),N=l.useRef(null),A=l.useRef(null),H=l.useRef(null),L=(n=m!=null?m:h)!==null&&n!==void 0?n:Kl,z=a===void 0&&r===void 0?0:r,Z=()=>{if(k.current!==yo||!A.current||!N.current||!L)return;const _=L();if(_){const K={status:bo},F=Je(N.current);if(F.top===0&&F.left===0&&F.width===0&&F.height===0)return;const oe=Je(_),le=vo(F,oe,z),G=ho(F,oe,a);le!==void 0?(K.affixStyle={position:"fixed",top:le,width:F.width,height:F.height},K.placeholderStyle={width:F.width,height:F.height}):G!==void 0&&(K.affixStyle={position:"fixed",bottom:G,width:F.width,height:F.height},K.placeholderStyle={width:F.width,height:F.height}),K.lastAffix=!!K.affixStyle,b!==K.lastAffix&&(f==null||f(K.lastAffix)),k.current=K.status,S(K.affixStyle),O(K.placeholderStyle),y(K.lastAffix)}},B=()=>{k.current=yo,Z()},P=go(()=>{B()}),W=go(()=>{if(L&&j){const _=L();if(_&&N.current){const K=Je(_),F=Je(N.current),oe=vo(F,K,z),le=ho(F,K,a);if(oe!==void 0&&j.top===oe||le!==void 0&&j.bottom===le)return}}B()}),Q=()=>{const _=L==null?void 0:L();_&&(xo.forEach(K=>{var F;$.current&&((F=w.current)===null||F===void 0||F.removeEventListener(K,$.current)),_==null||_.addEventListener(K,W)}),w.current=_,$.current=W)},Y=()=>{const _=L==null?void 0:L();xo.forEach(K=>{var F;_==null||_.removeEventListener(K,W),$.current&&((F=w.current)===null||F===void 0||F.removeEventListener(K,$.current))}),P.cancel(),W.cancel()};l.useImperativeHandle(e,()=>({updatePosition:P})),l.useEffect(()=>(H.current=setTimeout(Q),()=>{H.current&&(clearTimeout(H.current),H.current=null),Y()}),[]),l.useEffect(()=>(Q(),()=>Y()),[m,j,b,r,a]),l.useEffect(()=>{P()},[m,r,a]);const[X,ee,te]=Vl(x),se=T()(c,ee,x,te),ve=T()({[se]:j});return X(l.createElement(fo.Z,{onResize:P},l.createElement("div",Object.assign({style:o,className:s,ref:N},v),j&&l.createElement("div",{style:I,"aria-hidden":"true"}),l.createElement("div",{className:ve,ref:A,style:j},l.createElement(fo.Z,{onResize:P},u)))))}),Co=l.createContext(void 0),So=t=>{const{href:e,title:n,prefixCls:o,children:r,className:a,target:i,replace:s}=t,c=l.useContext(Co),{registerLink:u,unregisterLink:m,scrollTo:f,onClick:p,activeLink:v,direction:g}=c||{};l.useEffect(()=>(u==null||u(e),()=>{m==null||m(e)}),[e]);const h=I=>{if(p==null||p(I,{title:n,href:e}),f==null||f(e),I.defaultPrevented)return;if(e.startsWith("http://")||e.startsWith("https://")){s&&(I.preventDefault(),window.location.replace(e));return}I.preventDefault();const k=s?"replaceState":"pushState";window.history[k](null,"",e)},{getPrefixCls:x}=l.useContext(ce.E_),b=x("anchor",o),y=v===e,j=T()(`${b}-link`,a,{[`${b}-link-active`]:y}),S=T()(`${b}-link-title`,{[`${b}-link-title-active`]:y});return l.createElement("div",{className:j},l.createElement("a",{className:S,href:e,title:typeof n=="string"?n:"",target:i,onClick:h},n),g!=="horizontal"?r:null)};const Yl=t=>{const{componentCls:e,holderOffsetBlock:n,motionDurationSlow:o,lineWidthBold:r,colorPrimary:a,lineType:i,colorSplit:s,calc:c}=t;return{[`${e}-wrapper`]:{marginBlockStart:c(n).mul(-1).equal(),paddingBlockStart:n,[e]:Object.assign(Object.assign({},(0,ue.Wf)(t)),{position:"relative",paddingInlineStart:r,[`${e}-link`]:{paddingBlock:t.linkPaddingBlock,paddingInline:`${(0,M.bf)(t.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},ue.vS),{position:"relative",display:"block",marginBlockEnd:t.anchorTitleBlock,color:t.colorText,transition:`all ${t.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${e}-link-title`]:{color:t.colorPrimary},[`${e}-link`]:{paddingBlock:t.anchorPaddingBlockSecondary}}}),[`&:not(${e}-wrapper-horizontal)`]:{[e]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,M.bf)(r)} ${i} ${s}`,content:'" "'},[`${e}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${o} ease-in-out`,width:r,backgroundColor:a,[`&${e}-ink-visible`]:{display:"inline-block"}}}},[`${e}-fixed ${e}-ink ${e}-ink`]:{display:"none"}}}},Ql=t=>{const{componentCls:e,motionDurationSlow:n,lineWidthBold:o,colorPrimary:r}=t;return{[`${e}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,M.bf)(t.lineWidth)} ${t.lineType} ${t.colorSplit}`,content:'" "'},[e]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${e}-link:first-of-type`]:{paddingInline:0},[`${e}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:o,backgroundColor:r}}}}},Jl=t=>({linkPaddingBlock:t.paddingXXS,linkPaddingInlineStart:t.padding});var _l=(0,Ce.I$)("Anchor",t=>{const{fontSize:e,fontSizeLG:n,paddingXXS:o,calc:r}=t,a=(0,Ee.IX)(t,{holderOffsetBlock:o,anchorPaddingBlockSecondary:r(o).div(2).equal(),anchorTitleBlock:r(e).div(14).mul(3).equal(),anchorBallSize:r(n).div(2).equal()});return[Yl(a),Ql(a)]},Jl);function ql(){return window}function wo(t,e){if(!t.getClientRects().length)return 0;const n=t.getBoundingClientRect();return n.width||n.height?e===window?n.top-t.ownerDocument.documentElement.clientTop:n.top-e.getBoundingClientRect().top:n.top}const $o=/#([\S ]+)$/;var es=t=>{var e;const{rootClassName:n,prefixCls:o,className:r,style:a,offsetTop:i,affix:s=!0,showInkInFixed:c=!1,children:u,items:m,direction:f="vertical",bounds:p,targetOffset:v,onClick:g,onChange:h,getContainer:x,getCurrentAnchor:b,replace:y}=t,[j,S]=l.useState([]),[I,O]=l.useState(null),k=l.useRef(I),w=l.useRef(null),$=l.useRef(null),N=l.useRef(!1),{direction:A,getPrefixCls:H,className:L,style:z}=(0,ce.dj)("anchor"),{getTargetContainer:Z}=l.useContext(ce.E_),B=H("anchor",o),P=(0,Tn.Z)(B),[W,Q,Y]=_l(B,P),X=(e=x!=null?x:Z)!==null&&e!==void 0?e:ql,ee=JSON.stringify(j),te=(0,Ge.Z)(U=>{j.includes(U)||S(J=>[].concat((0,Le.Z)(J),[U]))}),se=(0,Ge.Z)(U=>{j.includes(U)&&S(J=>J.filter(me=>me!==U))}),ve=()=>{var U;const J=(U=w.current)===null||U===void 0?void 0:U.querySelector(`.${B}-link-title-active`);if(J&&$.current){const{style:me}=$.current,V=f==="horizontal";me.top=V?"":`${J.offsetTop+J.clientHeight/2}px`,me.height=V?"":`${J.clientHeight}px`,me.left=V?`${J.offsetLeft}px`:"",me.width=V?`${J.clientWidth}px`:"",V&&(0,Al.Z)(J,{scrollMode:"if-needed",block:"nearest"})}},_=(U,J=0,me=5)=>{const V=[],re=X();return U.forEach(pe=>{const de=$o.exec(pe==null?void 0:pe.toString());if(!de)return;const he=document.getElementById(de[1]);if(he){const ze=wo(he,re);ze<=J+me&&V.push({link:pe,top:ze})}}),V.length?V.reduce((de,he)=>he.top>de.top?he:de).link:""},K=(0,Ge.Z)(U=>{if(k.current===U)return;const J=typeof b=="function"?b(U):U;O(J),k.current=J,h==null||h(U)}),F=l.useCallback(()=>{if(N.current)return;const U=_(j,v!==void 0?v:i||0,p);K(U)},[j,v,i,p]),oe=l.useCallback(U=>{K(U);const J=$o.exec(U);if(!J)return;const me=document.getElementById(J[1]);if(!me)return;const V=X(),re=po(V),pe=wo(me,V);let de=re+pe;de-=v!==void 0?v:i||0,N.current=!0,Rl(de,{getContainer:X,callback(){N.current=!1}})},[v,i]),le=T()(Q,Y,P,n,`${B}-wrapper`,{[`${B}-wrapper-horizontal`]:f==="horizontal",[`${B}-rtl`]:A==="rtl"},r,L),G=T()(B,{[`${B}-fixed`]:!s&&!c}),we=T()(`${B}-ink`,{[`${B}-ink-visible`]:I}),fe=Object.assign(Object.assign({maxHeight:i?`calc(100vh - ${i}px)`:"100vh"},z),a),He=U=>Array.isArray(U)?U.map(J=>l.createElement(So,Object.assign({replace:y},J,{key:J.key}),f==="vertical"&&He(J.children))):null,qe=l.createElement("div",{ref:w,className:le,style:fe},l.createElement("div",{className:G},l.createElement("span",{className:we,ref:$}),"items"in t?He(m):u));l.useEffect(()=>{const U=X();return F(),U==null||U.addEventListener("scroll",F),()=>{U==null||U.removeEventListener("scroll",F)}},[ee]),l.useEffect(()=>{typeof b=="function"&&K(b(k.current||""))},[b]),l.useEffect(()=>{ve()},[f,b,ee,I]);const pt=l.useMemo(()=>({registerLink:te,unregisterLink:se,scrollTo:oe,activeLink:I,onClick:g,direction:f}),[I,g,oe,f]),$e=s&&typeof s=="object"?s:void 0;return W(l.createElement(Co.Provider,{value:pt},s?l.createElement(Gl,Object.assign({offsetTop:i,target:X},$e),qe):qe))};const jo=es;jo.Link=So;var Io=jo,ts=C(77128),Oo,ko,Eo,No,ns=(0,ne.kc)(function(t){var e=t.token,n=t.stylish,o=t.prefixCls,r=t.responsive,a=t.css,i=36;return{container:a(Oo||(Oo=(0,E.Z)([`
863
- grid-area: toc;
864
- position: sticky;
865
- top: 100px;
866
- width: `,`px;
867
- margin-inline-end: 24px;
868
- max-height: 80vh;
869
- overflow: auto;
870
- margin-top: 48px;
871
- z-index: 10;
872
-
873
- `,` {
874
- z-index: 300;
875
- top: `,`px;
876
- margin-top: 0;
877
- width: 100%;
878
- }
879
-
880
- overscroll-behavior: contain;
881
- -webkit-overflow-scrolling: touch;
882
-
883
- > h4 {
884
- margin: 0 0 8px;
885
- color: `,`;
886
- font-size: 12px;
887
- line-height: 1;
888
- }
889
- `])),e.tocWidth,r.mobile,e.headerHeight+1,e.colorTextDescription),mobileCtn:a(ko||(ko=(0,E.Z)([`
890
- position: sticky;
891
- top: `,`px;
892
-
893
- height: `,`px;
894
- width: 100%;
895
- z-index: 200;
896
- background: transparent;
897
- background: `,`;
898
- `])),e.headerHeight+1,i,(0,be.m4)(e.colorBgContainer,.8)),expand:a(Eo||(Eo=(0,E.Z)([`
899
- backdrop-filter: blur(6px);
900
- border-radius: 0;
901
- border-bottom: 1px solid `,`;
902
-
903
- box-shadow: `,`;
904
- width: 100%;
905
- z-index: 201;
906
- background: `,`;
907
-
908
- .`,`-collapse-header {
909
- padding: 8px 16px !important;
910
- }
911
- `])),e.colorSplit,e.boxShadowSecondary,(0,be.m4)(e.colorBgContainer,.8),o),anchor:a(No||(No=(0,E.Z)([`
912
- `,`
913
- `])),n.blur)}}),os=(0,l.memo)(function(t){var e=t.items,n=t.activeKey,o=t.onChange,r=(0,ts.Z)("",{value:n,onChange:o}),a=(0,ge.Z)(r,2),i=a[0],s=a[1],c=ns(),u=c.styles,m=ke(),f=m.mobile,p=(0,ne.Fg)(),v=e.find(function(h){return h.id===i}),g=(0,l.useMemo)(function(){return e.map(function(h){var x;return{href:"#".concat(h.id),title:h.title,key:h.id,children:(x=h.children)===null||x===void 0?void 0:x.map(function(b){return{href:"#".concat(b.id),title:b==null?void 0:b.title,key:b.id}})}})},[e]);return((e==null?void 0:e.length)===0?null:f?(0,d.jsx)(ct.ZP,{theme:{token:{fontSize:12,sizeStep:3}},children:(0,d.jsx)("div",{className:u.mobileCtn,children:(0,d.jsx)(mo,{bordered:!1,ghost:!0,expandIconPosition:"end",expandIcon:function(x){var b=x.isActive;return b?(0,d.jsx)(vl.Z,{}):(0,d.jsx)(hl.Z,{})},className:u.expand,children:(0,d.jsx)(mo.Panel,{forceRender:!0,header:v?v.title:"\u76EE\u5F55",children:(0,d.jsx)(ct.ZP,{theme:{token:{fontSize:14,sizeStep:4}},children:(0,d.jsx)(Io,{onChange:function(x){s(x.replace("#",""))},targetOffset:p.headerHeight+12,items:g})})},"toc")})})}):(0,d.jsxs)("div",{className:u.container,children:[(0,d.jsx)("h4",{children:"Table of Contents"}),(0,d.jsx)(Io,{items:g,className:u.anchor,targetOffset:p.headerHeight+12})]}))||null}),rs=os,as=(0,l.memo)(function(){var t=(0,R.HX)(Ot,ye());return(0,d.jsx)(rs,{items:t})}),is=as,ls=C(4711),Mo,To,Po,Bo,Do,ss=(0,ne.kc)(function(t){var e=t.css,n=t.token,o=t.responsive,r=t.stylish;return{title:e(Mo||(Mo=(0,E.Z)([`
914
- font-family: monospace;
915
- `,` {
916
- margin-block: 0;
917
- font-size: 32px !important;
918
- }
919
- `])),o.mobile),label:e(To||(To=(0,E.Z)([`
920
- width: 80px;
921
- `]))),desc:e(Po||(Po=(0,E.Z)([`
922
- font-size: `,`px;
923
- line-height: `,`px;
924
- `])),n.fontSizeLG,n.lineHeightLG),text:e(Bo||(Bo=(0,E.Z)([`
925
- `,`
926
- `])),r.clickableText),meta:e(Do||(Do=(0,E.Z)([""])))}}),cs=(0,l.memo)(function(t){var e=t.title,n=t.componentName,o=t.description,r=t.defaultImport,a=t.pkg,i=t.sourceUrl,s=t.docUrl,c=t.serviceList,u=c===void 0?[]:c,m=ss(),f=m.styles,p=ke(),v=p.mobile,g=[i&&{icon:(0,d.jsx)(_n.Z,{}),children:"\u67E5\u770B\u6E90\u7801",url:i},s&&{icon:(0,d.jsx)(ls.Z,{}),children:"\u7F16\u8F91\u6587\u6863",url:s}].filter(function(x){return x}),h=r?"import ".concat(n," from '").concat(a,"';"):"import { ".concat(n," } from '").concat(a,"';");return null}),ds=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"64 64 896 896",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M503.783 64 960 263.576V761.46L521.625 955.734V473.5h-17.5v486.351l-.342.149L64 761.46V263.576L503.783 64Zm.13 19.158L84.37 273.548 512 466.131 939.386 273.66l-435.473-190.5Z"})})}),us=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,d.jsx)("path",{d:"M14.051 2.751l4.935 2.85a2.144 2.144 0 013.409.4 2.146 2.146 0 01-1.354 3.151v5.699a2.132 2.132 0 011.348 3.15 2.143 2.143 0 01-3.453.353l-4.905 2.832a2.14 2.14 0 11-4.171.678c0-.205.029-.41.088-.609l-4.936-2.847a2.14 2.14 0 11-2.052-3.559l.001-5.699A2.141 2.141 0 011.604 6a2.143 2.143 0 013.407-.405l4.938-2.85A2.138 2.138 0 0112 0a2.137 2.137 0 012.051 2.751zm-.515.877a.793.793 0 01-.058.058l6.461 11.19c.026-.009.056-.016.082-.023V9.146a2.135 2.135 0 01-1.558-2.588l.019-.072-4.946-2.858zm-3.015.059l-.06-.06-4.946 2.852a2.136 2.136 0 01-1.461 2.645l-.076.021v5.708l.084.023 6.461-11.19-.002.001zm2.076.507c-.39.112-.803.112-1.192 0l-6.46 11.189c.294.283.502.645.6 1.041h12.911c.097-.398.307-.761.603-1.044L12.597 4.194zm.986 16.227l4.913-2.838a1.748 1.748 0 01-.038-.142H5.542l-.021.083 4.939 2.852a2.126 2.126 0 011.54-.653c.627 0 1.19.269 1.583.698z"})})}),ms=(0,l.memo)(function(){return(0,d.jsx)("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,d.jsx)("path",{d:"M13,0 C13.5522847,-1.01453063e-16 14,0.44771525 14,1 L14,13 C14,13.5522847 13.5522847,14 13,14 L1,14 C0.44771525,14 -4.87476137e-16,13.5522847 0,13 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-4.5365845e-16 1,0 L13,0 Z M11.375,2.625 L2.625,2.625 L2.625,11.375 L7,11.375 L7,4.375 L9.625,4.375 L9.625,11.375 L11.375,11.375 L11.375,2.625 Z",fill:"#C12127"})})}),ps=(0,l.memo)(function(){return(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 108 108",children:[(0,d.jsx)("defs",{children:(0,d.jsxs)("linearGradient",{id:"main",children:[(0,d.jsx)("stop",{offset:"0",stopColor:"#006838"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#32de85"})]})}),(0,d.jsx)("path",{fill:"url(#main)",d:"M21.667 73.809V33.867l28.33-16.188 28.337 16.188V66.13L49.997 82.321 35 73.75V41.604l14.997-8.57L65 41.604v16.788l-15.003 8.571-1.663-.95v-16.67l8.382-4.792-6.719-3.838-8.33 4.763V69.88l8.33 4.762 21.67-12.383V37.737l-21.67-12.379-21.663 12.379v39.88L49.997 90 85 70V30L49.997 10 15 30v40z",transform:"matrix(1.25 0 0 1.25 -8.75 -7.5)"})]})}),fs=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,d.jsx)("path",{d:"M16.509 16.845c.148-.507.091-.97-.155-1.315-.225-.317-.605-.5-1.062-.521l-8.659-.113a.155.155 0 01-.134-.071.194.194 0 01-.02-.155.239.239 0 01.203-.156l8.736-.113c1.034-.048 2.16-.886 2.554-1.913l.5-1.301a.28.28 0 00.013-.168 5.69 5.69 0 00-10.938-.584 2.585 2.585 0 00-1.793-.5 2.561 2.561 0 00-2.223 3.18 3.634 3.634 0 00-3.53 3.636c0 .176.013.352.034.528a.174.174 0 00.169.148h15.981a.22.22 0 00.204-.155zm2.757-5.564c-.077 0-.162 0-.24.011-.055 0-.105.042-.126.098l-.337 1.175c-.148.506-.092.97.154 1.315.226.317.605.5 1.063.52l1.843.114c.056 0 .105.026.133.07a.2.2 0 01.021.156.238.238 0 01-.204.155l-1.92.113c-1.041.049-2.16.887-2.553 1.914l-.141.358c-.028.071.02.141.098.141h6.598a.173.173 0 00.17-.125 4.81 4.81 0 00.175-1.28 4.739 4.739 0 00-4.734-4.727"})})});function Ho(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function gs(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ho(Object(n),!0).forEach(function(o){(0,ae.Z)(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ho(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var vs=(0,l.memo)(function(){var t=(0,R.HX)(Kt),e=t.pkg,n=(0,l.useMemo)(function(){return[{label:"NPM",icon:(0,d.jsx)(ms,{}),children:"NPM",url:"https://www.npmjs.com/package/".concat(e)},{label:"\u9884\u89C8\u4EA7\u7269",icon:(0,d.jsx)(fs,{}),children:"UNPKG",url:"https://unpkg.com/browse/".concat(e,"/")},{label:"\u67E5\u9605\u4EA7\u7269\u4F53\u79EF",icon:(0,d.jsx)(ds,{}),children:"BundlePhobia",url:"https://bundlephobia.com/package/".concat(e)},{label:"\u67E5\u9605\u5B89\u88C5\u5305\u4F53\u79EF",icon:(0,d.jsx)(ps,{}),children:"PackagePhobia",url:"https://packagephobia.com/result?p=".concat(e)},{label:"\u5206\u6790\u4F9D\u8D56\u56FE",icon:(0,d.jsx)(us,{}),children:"Anvaka Graph",url:"https://npm.anvaka.com/#/view/2d/".concat(e)}]},[e]);return(0,d.jsx)(cs,gs({serviceList:n},t))}),hs=vs,zo,Lo,Ao,xs=(0,ne.kc)(function(t,e){var n=t.css,o=t.cx,r=t.responsive,a=t.token,i=e.hideToc,s=e.hideSidebar;return{layout:n(zo||(zo=(0,E.Z)([`
927
- background-color: `,`;
928
- background-image: linear-gradient(
929
- 180deg,
930
- `,` 0%,
931
- rgba(255, 255, 255, 0) 10%
932
- );
933
- display: grid;
934
- grid-template-columns: `,"px 1fr ",`;
935
- grid-template-rows: `,`px auto 1fr auto;
936
- grid-template-areas:
937
- 'head head head'
938
- '`," title ",`'
939
- '`," main ",`'
940
- '`,` footer footer';
941
- min-height: 100vh;
942
-
943
- `,` {
944
- display: flex;
945
- flex-direction: column;
946
- }
947
- `])),a.colorBgLayout,a.colorBgContainer,a.sidebarWidth,i?"":"".concat(a.tocWidth+24,"px"),a.headerHeight,s?"title":"sidebar",i?"title":".",s?"main":"sidebar",i?"main":"toc",s?"footer":"sidebar",r.mobile),toc:n(Lo||(Lo=(0,E.Z)([`
948
- position: sticky;
949
- top: 100px;
950
- width: `,`px;
951
- margin-inline-end: 24px;
952
- max-height: 80vh;
953
- overflow: auto;
954
- margin-top: 48px;
955
-
956
- `,` {
957
- z-index: 300;
958
- top: `,`px;
959
- margin-top: 0;
960
- width: 100%;
961
- }
962
-
963
- overscroll-behavior: contain;
964
- -webkit-overflow-scrolling: touch;
965
-
966
- > h4 {
967
- margin: 0 0 8px;
968
- color: `,`;
969
- font-size: 12px;
970
- line-height: 1;
971
- }
972
- `])),a.tocWidth,r.mobile,a.headerHeight+1,a.colorTextDescription),content:o(n(Ao||(Ao=(0,E.Z)([`
973
- max-width: 960px;
974
- width: 100%;
975
- margin: 0 24px;
976
- `]))),n(r({desktop:{maxWidth:a.contentMaxWidth},mobile:{margin:0}})))}}),bs=(0,l.memo)(function(){var t=(0,D.pC)(),e=ke(),n=e.mobile,o=(0,R.HX)(function(p){return p.routeMeta.frontmatter},ye()),r=(0,R.HX)(La),a=(0,R.HX)(Rt),i=(0,R.HX)(function(p){return Ot(p).length===0}),s=o.sidebar===!1,c=o.toc===!1||i,u=xs({hideToc:c,hideSidebar:s}),m=u.styles,f=u.theme;return(0,d.jsxs)("div",{className:m.layout,children:[(0,d.jsx)(D.ql,{children:o.title&&(0,d.jsxs)("title",{children:[o.title," - ",a]})}),(0,d.jsx)(ao,{}),c?null:(0,d.jsx)(is,{}),n||s?null:(0,d.jsx)(gl,{}),r?(0,d.jsx)(q.D,{style:{gridArea:"title",paddingBlock:n?24:void 0},children:(0,d.jsx)(je.Z,{children:(0,d.jsx)(q.D,{style:{maxWidth:f.contentMaxWidth,width:"100%"},children:(0,d.jsx)(q.D,{style:{paddingBlock:0,paddingInline:n?16:48},children:(0,d.jsx)(hs,{})})})})}):null,(0,d.jsx)(q.D,{style:{zIndex:10,gridArea:"main",margin:n?0:24,marginBottom:n?0:48},children:(0,d.jsx)(je.Z,{width:"100%",children:(0,d.jsx)(q.D,{className:m.content,children:(0,d.jsx)(q.D,{horizontal:!0,children:(0,d.jsx)(sa,{children:t})})})})}),(0,d.jsx)(Vt,{})]})}),ys=bs,Zo=C(18341),Cs=C(9787);const Ss=t=>{const{paddingXXS:e,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:a}=t,i=a(o).sub(n).equal(),s=a(e).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,ue.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:i,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",background:t.defaultBg,border:`${(0,M.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${r}-close-icon`]:{marginInlineStart:s,fontSize:t.tagIconSize,color:t.colorIcon,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:i}}),[`${r}-borderless`]:{borderColor:"transparent",background:t.tagBorderlessBg}}},ut=t=>{const{lineWidth:e,fontSizeIcon:n,calc:o}=t,r=t.fontSizeSM;return(0,Ee.IX)(t,{tagFontSize:r,tagLineHeight:(0,M.bf)(o(t.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(e).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},mt=t=>({defaultBg:new lt.t(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText});var Ro=(0,Ce.I$)("Tag",t=>{const e=ut(t);return Ss(e)},mt),ws=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n},$s=l.forwardRef((t,e)=>{const{prefixCls:n,style:o,className:r,checked:a,children:i,icon:s,onChange:c,onClick:u}=t,m=ws(t,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:f,tag:p}=l.useContext(ce.E_),v=j=>{c==null||c(!a),u==null||u(j)},g=f("tag",n),[h,x,b]=Ro(g),y=T()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:a},p==null?void 0:p.className,r,x,b);return h(l.createElement("span",Object.assign({},m,{ref:e,style:Object.assign(Object.assign({},o),p==null?void 0:p.style),className:y,onClick:v}),s,l.createElement("span",null,i)))}),js=C(17745);const Is=t=>(0,js.Z)(t,(e,{textColor:n,lightBorderColor:o,lightColor:r,darkColor:a})=>({[`${t.componentCls}${t.componentCls}-${e}`]:{color:n,background:r,borderColor:o,"&-inverse":{color:t.colorTextLightSolid,background:a,borderColor:a},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}));var Os=(0,Ce.bk)(["Tag","preset"],t=>{const e=ut(t);return Is(e)},mt);function ks(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const _e=(t,e,n)=>{const o=ks(n);return{[`${t.componentCls}${t.componentCls}-${e}`]:{color:t[`color${n}`],background:t[`color${o}Bg`],borderColor:t[`color${o}Border`],[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Es=(0,Ce.bk)(["Tag","status"],t=>{const e=ut(t);return[_e(e,"success","Success"),_e(e,"processing","Info"),_e(e,"error","Error"),_e(e,"warning","Warning")]},mt),Ns=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};const Wo=l.forwardRef((t,e)=>{const{prefixCls:n,className:o,rootClassName:r,style:a,children:i,icon:s,color:c,onClose:u,bordered:m=!0,visible:f}=t,p=Ns(t,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:v,direction:g,tag:h}=l.useContext(ce.E_),[x,b]=l.useState(!0),y=(0,Be.Z)(p,["closeIcon","closable"]);l.useEffect(()=>{f!==void 0&&b(f)},[f]);const j=(0,Zo.o2)(c),S=(0,Zo.yT)(c),I=j||S,O=Object.assign(Object.assign({backgroundColor:c&&!I?c:void 0},h==null?void 0:h.style),a),k=v("tag",n),[w,$,N]=Ro(k),A=T()(k,h==null?void 0:h.className,{[`${k}-${c}`]:I,[`${k}-has-color`]:c&&!I,[`${k}-hidden`]:!x,[`${k}-rtl`]:g==="rtl",[`${k}-borderless`]:!m},o,r,$,N),H=W=>{W.stopPropagation(),u==null||u(W),!W.defaultPrevented&&b(!1)},[,L]=(0,Te.b)((0,Te.w)(t),(0,Te.w)(h),{closable:!1,closeIconRender:W=>{const Q=l.createElement("span",{className:`${k}-close-icon`,onClick:H},W);return(0,De.wm)(W,Q,Y=>({onClick:X=>{var ee;(ee=Y==null?void 0:Y.onClick)===null||ee===void 0||ee.call(Y,X),H(X)},className:T()(Y==null?void 0:Y.className,`${k}-close-icon`)}))}}),z=typeof p.onClick=="function"||i&&i.type==="a",Z=s||null,B=Z?l.createElement(l.Fragment,null,Z,i&&l.createElement("span",null,i)):i,P=l.createElement("span",Object.assign({},y,{ref:e,className:A,style:O}),B,L,j&&l.createElement(Os,{key:"preset",prefixCls:k}),S&&l.createElement(Es,{key:"status",prefixCls:k}));return w(z?l.createElement(Cs.Z,{component:"Tag"},P):P)});Wo.CheckableTag=$s;var Ms=Wo,Fo,Xo,Vo,Uo,Ko,Go,Yo,Qo,Jo,_o,Ts=(0,ne.kc)(function(t,e){var n=t.token,o=t.prefixCls,r=t.responsive,a=t.css,i=t.stylish,s=t.isDarkMode,c=t.cx,u=e.rowNum,m=e.hasLink,f="".concat(o,"-features"),p="".concat(f,"-cover"),v="".concat(f,"-description"),g="".concat(f,"-title"),h="".concat(f,"-img"),x=20,b=function(S){return a(Fo||(Fo=(0,E.Z)([`
977
- width: `,`px;
978
- height: `,`px;
979
- font-size: `,`px;
980
- `])),S,S,S*(22/24))},y=a(Xo||(Xo=(0,E.Z)([`
981
- transition: all `," ",`;
982
- `])),n.motionDurationSlow,n.motionEaseInOutCirc);return{cell:a(Vo||(Vo=(0,E.Z)([`
983
- overflow: hidden;
984
- `]))),container:a(Uo||(Uo=(0,E.Z)([`
985
- `,`;
986
-
987
- z-index: 1;
988
- padding: 24px;
989
- border-radius: 24px;
990
-
991
- background: linear-gradient(
992
- 135deg,
993
- `,`,
994
- `,`
995
- );
996
-
997
- position: relative;
998
-
999
- &:hover {
1000
- scale: 1.03;
1001
-
1002
- background: linear-gradient(
1003
- 135deg,
1004
- `,`,
1005
- `,`
1006
- );
1007
-
1008
- box-shadow: inset 0 0 0 1px `,", ",`;
1009
-
1010
- .`,` {
1011
- height: `,`px;
1012
- width: 100%;
1013
- padding: 0;
1014
- }
1015
-
1016
- .`,` {
1017
- `,`;
1018
- }
1019
-
1020
- .`,` {
1021
- position: absolute;
1022
- visibility: hidden;
1023
- opacity: 0;
1024
- }
1025
-
1026
- .`,` {
1027
- font-size: `,`px;
1028
- }
1029
- }
1030
- `])),y,n.colorFillContent,n.colorFillQuaternary,(0,be.$n)(.5,n.colorFillContent),(0,be.$n)(.5,n.colorFillQuaternary),n.colorBorder,n.boxShadowSecondary,p,x*u,h,b(100),v,g,m?14:20),title:c(g,y,a(Ko||(Ko=(0,E.Z)([`
1031
- pointer-events: none;
1032
- font-size: 20px;
1033
- line-height: `,`;
1034
- margin: 16px 0;
1035
- color: `,`;
1036
- `])),n.lineHeightHeading3,n.colorText)),desc:c(v,y,a(Go||(Go=(0,E.Z)([`
1037
- color: `,`;
1038
-
1039
- pointer-events: none;
1040
- quotient {
1041
- color: `,`;
1042
- display: block;
1043
- margin: 12px 0;
1044
- padding-left: 12px;
1045
- position: relative;
1046
- &:before {
1047
- position: absolute;
1048
- content: '';
1049
- left: 0;
1050
- display: block;
1051
- border-radius: 2px;
1052
- width: 4px;
1053
- height: 100%;
1054
- background: `,`;
1055
- }
1056
- }
1057
- `])),n.colorTextSecondary,n.colorTextDescription,s?n.colorPrimary:n.colorPrimaryBgHover)),imgContainer:c(p,y,a(Yo||(Yo=(0,E.Z)([`
1058
- background: `,`;
1059
- border-radius: 8px;
1060
- opacity: 0.8;
1061
-
1062
- `,`;
1063
- padding: 4px;
1064
-
1065
- &[image-style='primary'] {
1066
- background: linear-gradient(135deg, `,", ",`);
1067
- }
1068
-
1069
- &[image-style='light'] {
1070
- background: `,`;
1071
- }
1072
-
1073
- &[image-style='soon'] {
1074
- opacity: 0.5;
1075
- background: linear-gradient(
1076
- 135deg,
1077
- `,`,
1078
- `,` 50%,
1079
- `,`
1080
- );
1081
- }
1082
- `])),n.colorFillContent,b(24),n.gradientColor1,n.gradientColor2,n.colorBgContainer,(0,be.m4)(n.gradientColor2,.3),(0,be.m4)(n.gradientColor2,.3),(0,be.m4)(n.gradientColor1,.3))),img:c(h,y,a(Qo||(Qo=(0,E.Z)([`
1083
- `,`;
1084
- color: `,`;
1085
- `])),b(20),n.colorWhite)),link:a(Jo||(Jo=(0,E.Z)([`
1086
- `,`;
1087
-
1088
- margin-top: 24px;
1089
-
1090
- a {
1091
- `,`;
1092
-
1093
- color: `,`;
1094
- &:hover {
1095
- color: `,`;
1096
- }
1097
- }
1098
- `])),y,i.resetLinkColor,n.colorTextDescription,n.colorPrimaryHover),blur:a(_o||(_o=(0,E.Z)([`
1099
- pointer-events: none;
1100
- position: absolute;
1101
- width: 100%;
1102
- height: 100%;
1103
- top: 0;
1104
- left: 0;
1105
- `,`;
1106
- scale: 2;
1107
- opacity: `,`;
1108
- `,` {
1109
- display: none;
1110
- }
1111
- `])),i.heroBlurBall,s?.05:.08,r.mobile)}}),Ps=function(e){var n=e.image,o=e.className,r=e.title,a=/(\.png|\.jpg|\.jpeg|\.gif|\.svg|\.webp)$/;return n.startsWith("http")||a.test(n)?(0,d.jsx)("img",{className:o,src:n,alt:r}):(0,d.jsx)(je.Z,{className:o,children:n})},Bs=function(e){var n=e.imageType,o=e.row,r=e.column,a=e.hero,i=e.description,s=e.image,c=e.title,u=e.link,m=e.imageStyle,f=e.openExternal,p=o||7,v=Ts({rowNum:p,hasLink:!!u}),g=v.styles,h=v.theme;return(0,d.jsxs)("div",{className:g.container,style:{gridRow:"span ".concat(p),gridColumn:"span ".concat(r||1),cursor:u?"pointer":"default"},onClick:function(){u&&(f?window.open(u):D.m8.push(u))},children:[(0,d.jsxs)("div",{className:g.cell,children:[s&&(0,d.jsx)(je.Z,{"image-style":n,className:g.imgContainer,style:m,children:(0,d.jsx)(Ps,{className:g.img,image:s,title:c})}),c&&(0,d.jsxs)(q.D,{as:"h3",horizontal:!0,gap:8,align:"center",className:g.title,children:[c,n==="soon"?(0,d.jsx)(Ms,{color:h.isDarkMode?"pink-inverse":"cyan-inverse",children:"SOON"}):null]}),i&&(0,d.jsx)("p",{dangerouslySetInnerHTML:{__html:i},className:g.desc}),u&&(0,d.jsx)("div",{className:g.link,children:(0,d.jsxs)(D.rU,{to:u,children:["\u7ACB\u5373\u4E86\u89E3 ",(0,d.jsx)(Et.Z,{})]})})]}),a&&(0,d.jsx)("div",{className:g.blur})]})},Ds=Bs,qo,er,Hs=(0,ne.kc)(function(t){var e=t.token,n=t.prefixCls,o=t.responsive,r=t.css,a=t.cx,i="".concat(n,"-features");return{container:a(i,r(qo||(qo=(0,E.Z)([`
1112
- max-width: `,`px;
1113
-
1114
- display: grid;
1115
- grid-template-columns: repeat(3, 1fr);
1116
- grid-auto-flow: row dense;
1117
- grid-auto-rows: 24px;
1118
- gap: 16px;
1119
-
1120
- `,`
1121
- `])),e.contentMaxWidth,o({mobile:r(er||(er=(0,E.Z)([`
1122
- flex-direction: column;
1123
- display: flex;
1124
- `]))),laptop:{gridTemplateColumns:"repeat(2, 1fr)"}})))}});function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function zs(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?tr(Object(n),!0).forEach(function(o){(0,ae.Z)(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var Ls=function(e){var n=e.items,o=e.style,r=Hs(),a=r.styles;return n!=null&&n.length?(0,d.jsx)("div",{className:a.container,style:o,children:n.map(function(i){return(0,d.jsx)(Ds,zs({},i),i.title)})}):null},As=Ls,nr=function(e){return!!e.routeMeta.frontmatter.hero},Zs=function(e){var n,o;return!!((n=e.routeMeta.frontmatter.hero)!==null&&n!==void 0&&n.showCustomContent)||!!((o=e.siteData.themeConfig.hero)!==null&&o!==void 0&&o.showCustomContent)},Ie=function(e,n){if(n)return n[e.locale.id]?n[e.locale.id]:n},Rs=function(e){var n,o;return((n=e.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.title)||((o=Ie(e,e.siteData.themeConfig.hero))===null||o===void 0?void 0:o.title)||Ie(e,e.siteData.themeConfig.title)||e.siteData.themeConfig.name},Ws=function(e){var n,o;return((n=e.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.description)||((o=Ie(e,e.siteData.themeConfig.hero))===null||o===void 0?void 0:o.description)||Ie(e,e.siteData.themeConfig.description)},Fs=function(e){var n,o;return((n=e.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.actions)||((o=Ie(e,e.siteData.themeConfig.hero))===null||o===void 0?void 0:o.actions)||Ie(e,e.siteData.themeConfig.actions)},Xs=function(e){var n;return nr(e)?((n=Ie(e,e.siteData.themeConfig.hero))===null||n===void 0?void 0:n.features)||Ie(e,e.siteData.themeConfig.features)||e.routeMeta.frontmatter.features||[]:[]},Vs=function(){var e=(0,R.HX)(Xs,Xe);return e!=null&&e.length?(0,d.jsx)(As,{items:e,style:{margin:"0 16px"}}):null},Us=Vs,or,Ks=(0,ne.kc)(function(t){var e=t.css,n=t.stylish;return{button:e(or||(or=(0,E.Z)([`
1125
- border: none;
1126
-
1127
- `,`
1128
- `,`
1129
-
1130
- background-size: 200% 100%;
1131
-
1132
- &:hover {
1133
- animation: none;
1134
- }
1135
- `])),n.heroButtonGradient,n.heroGradientFlow)}}),Gs=function(e){var n=e.children,o=Ks(),r=o.styles;return(0,d.jsx)(We.ZP,{size:"large",shape:"round",type:"primary",className:r.button,children:n})},Ys=Gs,rr,ar,ir,lr,sr,cr,dr,Qs=(0,ne.kc)(function(t){var e=t.css,n=t.responsive,o=t.token,r=t.stylish,a=t.isDarkMode;return{container:e(rr||(rr=(0,E.Z)([`
1136
- position: relative;
1137
- text-align: center;
1138
- box-sizing: border-box;
1139
-
1140
- + * {
1141
- position: relative;
1142
- }
1143
-
1144
- > p {
1145
- margin: 32px;
1146
- color: `,`;
1147
- font-size: 20px;
1148
- line-height: 1.6;
1149
-
1150
- `,`
1151
- }
1152
- `])),o.colorTextSecondary,n({mobile:{fontSize:16}})),titleContainer:e(ar||(ar=(0,E.Z)([`
1153
- position: relative;
1154
- `]))),title:e(ir||(ir=(0,E.Z)([`
1155
- font-size: 68px;
1156
- z-index: 10;
1157
- color: transparent;
1158
- margin: 0;
1159
- font-family: AliPuHui, `,`;
1160
-
1161
- `,`
1162
-
1163
- b {
1164
- position: relative;
1165
- z-index: 5;
1166
- `,`;
1167
- `,`
1168
-
1169
- background-clip: text;
1170
- -webkit-text-fill-color: transparent;
1171
- }
1172
- `])),o.fontFamily,n({mobile:{fontSize:40}}),r.heroGradient,r.heroGradientFlow),titleShadow:e(lr||(lr=(0,E.Z)([`
1173
- position: absolute;
1174
- z-index: 0;
1175
- color: `,`;
1176
-
1177
- top: 0;
1178
- left: 0;
1179
- font-size: 68px;
1180
- font-family: AliPuHui, `,`;
1181
- font-weight: bold;
1182
- `,`
1183
-
1184
- `,`
1185
-
1186
- b {
1187
- color: transparent;
1188
- }
1189
- `])),a?o.colorWhite:o.colorTextBase,o.fontFamily,n({mobile:{fontSize:40}}),r.heroTextShadow),desc:e(sr||(sr=(0,E.Z)([`
1190
- font-size: `,`px;
1191
- color: `,`;
1192
-
1193
- `,` {
1194
- font-size: `,`px;
1195
- margin: 24px 16px;
1196
- }
1197
- `])),o.fontSizeHeading3,o.colorTextSecondary,n.mobile,o.fontSizeHeading5),actions:e(cr||(cr=(0,E.Z)([`
1198
- margin-top: 48px;
1199
- display: flex;
1200
- justify-content: center;
1201
-
1202
- `,`
1203
- `])),n({mobile:{marginTop:24}})),canvas:e(dr||(dr=(0,E.Z)([`
1204
- z-index: 10;
1205
- pointer-events: none;
1206
- position: absolute;
1207
- top: -250px;
1208
- left: 50%;
1209
- transform: translateX(-50%) scale(1.5);
1210
- width: 600px;
1211
- height: 400px;
1212
- opacity: 0.2;
1213
- `,`
1214
-
1215
- `,` {
1216
- width: 200px;
1217
- height: 300px;
1218
- }
1219
- `])),r.heroBlurBall,n.mobile)}}),Js=function(e){var n=e.title,o=e.description,r=e.actions,a=Qs(),i=a.styles,s=a.cx;return(0,d.jsxs)(q.D,{horizontal:!0,distribution:"center",className:i.container,children:[(0,d.jsx)("div",{className:i.canvas}),(0,d.jsxs)(je.Z,{children:[n&&(0,d.jsxs)("div",{className:i.titleContainer,children:[(0,d.jsx)("h1",{className:i.title,dangerouslySetInnerHTML:{__html:n}}),(0,d.jsx)("div",{className:s(i.titleShadow),dangerouslySetInnerHTML:{__html:n}})]}),o&&(0,d.jsx)("p",{className:i.desc,dangerouslySetInnerHTML:{__html:o}}),!!(r!=null&&r.length)&&(0,d.jsx)(ct.ZP,{theme:{token:{fontSize:16,controlHeight:40}},children:(0,d.jsx)(q.D,{horizontal:!0,gap:24,className:i.actions,children:r.map(function(c,u){var m=c.text,f=c.link,p=c.openExternal,v=/^(https?:)?\/\//i.test(f),g=u===0?(0,d.jsx)(Ys,{children:m}):(0,d.jsx)(We.ZP,{size:"large",shape:"round",type:"default",children:m});return v?(0,d.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",children:g},"".concat(m,"-").concat(u)):(0,d.jsx)(D.rU,{to:f,target:p?"_blank":void 0,rel:"noreferrer",children:g},m)})})})]})]})},_s=Js,qs=function(){var e=(0,R.HX)(Rs),n=(0,R.HX)(Ws),o=(0,R.HX)(Fs);return(0,d.jsx)(_s,{title:e,actions:o,description:n})},ec=qs,ur,tc=(0,ne.kc)(function(t){var e=t.token,n=t.prefixCls,o=t.css,r=t.cx,a="".concat(n,"-home-contents");return{container:r(a,o(ur||(ur=(0,E.Z)([`
1220
- width: 100%;
1221
- max-width: `,`px;
1222
- padding: 0 16px;
1223
- box-sizing: border-box;
1224
- `])),e.contentMaxWidth))}}),nc=(0,l.memo)(function(){var t=(0,R.HX)(Rt),e=(0,D.pC)(),n=(0,R.HX)(Zs),o=tc(),r=o.styles;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(D.ql,{children:(0,d.jsx)("title",{children:t})}),(0,d.jsxs)(q.D,{align:"center",gap:80,children:[(0,d.jsx)(ao,{}),(0,d.jsx)(ec,{}),(0,d.jsx)(Us,{}),n&&(0,d.jsx)("div",{className:r.container,children:e}),(0,d.jsx)(Vt,{})]})]})}),oc=nc,mr,rc=(0,ne.vJ)(mr||(mr=(0,E.Z)([`
1225
- body {
1226
- margin: 0;
1227
- padding: 0;
1228
- background-color: `,`;
1229
- }
1230
-
1231
- @font-face {
1232
- font-family: AliPuHui;
1233
- font-weight: normal;
1234
- src: url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),
1235
- url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),
1236
- url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype');
1237
- font-display: swap;
1238
- }
1239
-
1240
- @font-face {
1241
- font-family: AliPuHui;
1242
- font-weight: bold;
1243
- src: url('https://at.alicdn.com/wf/webfont/exMpJIukiCms/Gsw2PSKrftc1yNWMNlXgw.woff2') format('woff2'),
1244
- url('https://at.alicdn.com/wf/webfont/exMpJIukiCms/vtu73by4O2gEBcvBuLgeu.woff') format('woff');
1245
- font-display: swap;
1246
- }
1247
-
1248
- /* \u5B9A\u4E49\u6EDA\u52A8\u69FD\u7684\u6837\u5F0F */
1249
- ::-webkit-scrollbar {
1250
- width: 6px;
1251
- height: 6px;
1252
- margin-right: 4px;
1253
- background-color: transparent; // \u5B9A\u4E49\u6EDA\u52A8\u69FD\u7684\u80CC\u666F\u8272
1254
-
1255
- &-thumb {
1256
- background-color: `,`; // \u5B9A\u4E49\u6EDA\u52A8\u5757\u7684\u80CC\u666F\u8272
1257
- border-radius: 4px; // \u5B9A\u4E49\u6EDA\u52A8\u5757\u7684\u5706\u89D2\u534A\u5F84
1258
- }
1259
-
1260
- &-corner {
1261
- display: none;
1262
- }
1263
- }
1264
- `])),function(t){return t.theme.colorBgLayout},function(t){var e=t.theme;return e.colorFill}),ac=(0,l.memo)(function(){var t=(0,D.YB)(),e=(0,D.TH)(),n=e.hash,o=(0,R.HX)(function(i){return i.routeMeta.frontmatter}),r=(0,R.HX)(nr),a=(0,R.HX)(function(i){return i.siteData.loading});return(0,l.useEffect)(function(){var i=n.replace("#","");i&&setTimeout(function(){var s=document.getElementById(decodeURIComponent(i));s&&(s.scrollIntoView(),window.scrollBy({top:-80}))},1)},[a,n]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(D.ql,{children:[(0,d.jsx)("html",{lang:t.locale.replace(/-.+$/,"")}),o.title&&(0,d.jsx)("meta",{property:"og:title",content:o.title}),o.description&&(0,d.jsx)("meta",{name:"description",content:o.description}),o.description&&(0,d.jsx)("meta",{property:"og:description",content:o.description}),o.keywords&&(0,d.jsx)("meta",{name:"keywords",content:o.keywords.join(",")}),o.keywords&&(0,d.jsx)("meta",{property:"og:keywords",content:o.keywords.join(",")})]}),r?(0,d.jsx)(oc,{}):(0,d.jsx)(ys,{})]})});C.g.__ANTD_CACHE__=et.cache;var ic=function(e){var n=e.children,o=(0,R.HX)(Gt,ye());return(0,d.jsx)(Er,{cache:et.cache,token:o,children:n})},lc=(0,l.memo)(function(t){var e=t.initState;return(0,d.jsxs)(R.zt,{createStore:function(){return(0,R.MT)(e)},children:[(0,d.jsx)(Rr,{}),(0,d.jsxs)(ic,{children:[(0,d.jsx)(rc,{}),(0,d.jsx)(ac,{})]})]})}),sc=function(){var t=(0,D.WF)(),e=(0,D.tx)(),n=(0,D.eL)(),o=(0,D.zh)(),r=(0,D.OK)(),a=(0,D.TH)(),i=(0,D.bU)(),s=(0,l.useMemo)(function(){return{siteData:t,navData:r,locale:i,location:a,routeMeta:n,tabMeta:o,sidebar:e}},[]);return(0,d.jsx)(lc,{initState:s})}}}]);