pixivflow 2.0.38 → 2.0.39

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 (110) hide show
  1. package/dist/commands/DownloadCommand.d.ts.map +1 -1
  2. package/dist/commands/DownloadCommand.js +50 -2
  3. package/dist/commands/DownloadCommand.js.map +1 -1
  4. package/dist/config/validation.d.ts.map +1 -1
  5. package/dist/config/validation.js +11 -3
  6. package/dist/config/validation.js.map +1 -1
  7. package/dist/index.js +37 -14
  8. package/dist/index.js.map +1 -1
  9. package/dist/package.json +1 -1
  10. package/dist/pixiv/AuthClient.d.ts.map +1 -1
  11. package/dist/pixiv/AuthClient.js +56 -7
  12. package/dist/pixiv/AuthClient.js.map +1 -1
  13. package/dist/storage/Database.d.ts +22 -0
  14. package/dist/storage/Database.d.ts.map +1 -1
  15. package/dist/storage/Database.js +19 -0
  16. package/dist/storage/Database.js.map +1 -1
  17. package/dist/storage/DatabaseMigration.d.ts.map +1 -1
  18. package/dist/storage/DatabaseMigration.js +29 -0
  19. package/dist/storage/DatabaseMigration.js.map +1 -1
  20. package/dist/storage/repositories/TaskHistoryRepository.d.ts +61 -0
  21. package/dist/storage/repositories/TaskHistoryRepository.d.ts.map +1 -0
  22. package/dist/storage/repositories/TaskHistoryRepository.js +171 -0
  23. package/dist/storage/repositories/TaskHistoryRepository.js.map +1 -0
  24. package/dist/utils/errors.js +11 -11
  25. package/dist/utils/errors.js.map +1 -1
  26. package/dist/utils/pixiv-url-parser.d.ts +7 -1
  27. package/dist/utils/pixiv-url-parser.d.ts.map +1 -1
  28. package/dist/utils/pixiv-url-parser.js +75 -8
  29. package/dist/utils/pixiv-url-parser.js.map +1 -1
  30. package/dist/utils/token-manager.d.ts.map +1 -1
  31. package/dist/utils/token-manager.js +73 -5
  32. package/dist/utils/token-manager.js.map +1 -1
  33. package/dist/webui/package.json +1 -1
  34. package/dist/webui/routes/download.d.ts.map +1 -1
  35. package/dist/webui/routes/download.js +2 -0
  36. package/dist/webui/routes/download.js.map +1 -1
  37. package/dist/webui/routes/handlers/download-basic-handlers.d.ts +11 -0
  38. package/dist/webui/routes/handlers/download-basic-handlers.d.ts.map +1 -1
  39. package/dist/webui/routes/handlers/download-basic-handlers.js +199 -8
  40. package/dist/webui/routes/handlers/download-basic-handlers.js.map +1 -1
  41. package/dist/webui/services/DownloadTaskManager.d.ts.map +1 -1
  42. package/dist/webui/services/DownloadTaskManager.js +75 -3
  43. package/dist/webui/services/DownloadTaskManager.js.map +1 -1
  44. package/package.json +1 -1
  45. package/dist/webui/assets/ActionButton-DWq-fh3_.js +0 -2
  46. package/dist/webui/assets/ActionButton-DWq-fh3_.js.map +0 -1
  47. package/dist/webui/assets/CheckCircleOutlined-Can0-7ew.js +0 -2
  48. package/dist/webui/assets/CheckCircleOutlined-Can0-7ew.js.map +0 -1
  49. package/dist/webui/assets/CloseCircleOutlined-DfRmL2eG.js +0 -2
  50. package/dist/webui/assets/CloseCircleOutlined-DfRmL2eG.js.map +0 -1
  51. package/dist/webui/assets/Config-D9TWUGQR.js +0 -16
  52. package/dist/webui/assets/Config-D9TWUGQR.js.map +0 -1
  53. package/dist/webui/assets/Dashboard-CaGAH0y2.js +0 -2
  54. package/dist/webui/assets/Dashboard-CaGAH0y2.js.map +0 -1
  55. package/dist/webui/assets/DeleteOutlined-u-P2SpoK.js +0 -2
  56. package/dist/webui/assets/DeleteOutlined-u-P2SpoK.js.map +0 -1
  57. package/dist/webui/assets/Download-D9E4xrnM.js +0 -2
  58. package/dist/webui/assets/Download-D9E4xrnM.js.map +0 -1
  59. package/dist/webui/assets/Files-CKyc_PdW.js +0 -5
  60. package/dist/webui/assets/Files-CKyc_PdW.js.map +0 -1
  61. package/dist/webui/assets/PictureOutlined-C8Lbucj1.js +0 -2
  62. package/dist/webui/assets/PictureOutlined-C8Lbucj1.js.map +0 -1
  63. package/dist/webui/assets/SortDescendingOutlined-CR-hdhyW.js +0 -2
  64. package/dist/webui/assets/SortDescendingOutlined-CR-hdhyW.js.map +0 -1
  65. package/dist/webui/assets/ThunderboltOutlined-CiiB2de5.js +0 -2
  66. package/dist/webui/assets/ThunderboltOutlined-CiiB2de5.js.map +0 -1
  67. package/dist/webui/assets/UrlDownload-ClkUOXN_.js +0 -3
  68. package/dist/webui/assets/UrlDownload-ClkUOXN_.js.map +0 -1
  69. package/dist/webui/assets/dateUtils-CBk8bEa_.js +0 -2
  70. package/dist/webui/assets/dateUtils-CBk8bEa_.js.map +0 -1
  71. package/dist/webui/assets/errorCodeTranslator-DWsWq6B3.js +0 -3
  72. package/dist/webui/assets/errorCodeTranslator-DWsWq6B3.js.map +0 -1
  73. package/dist/webui/assets/index-BFgUdwJv.js +0 -214
  74. package/dist/webui/assets/index-BFgUdwJv.js.map +0 -1
  75. package/dist/webui/assets/index-CN3FylAF.js +0 -2
  76. package/dist/webui/assets/index-CN3FylAF.js.map +0 -1
  77. package/dist/webui/assets/index-CSoUPZat.js +0 -2
  78. package/dist/webui/assets/index-CSoUPZat.js.map +0 -1
  79. package/dist/webui/assets/index-CiHwNwrk.js +0 -19
  80. package/dist/webui/assets/index-CiHwNwrk.js.map +0 -1
  81. package/dist/webui/assets/index-DHwJxrFi.css +0 -1
  82. package/dist/webui/assets/index-DTU-FGA4.js +0 -2
  83. package/dist/webui/assets/index-DTU-FGA4.js.map +0 -1
  84. package/dist/webui/assets/index-DjpD0HQ5.js +0 -2
  85. package/dist/webui/assets/index-DjpD0HQ5.js.map +0 -1
  86. package/dist/webui/assets/index-Dycn6xoz.js +0 -2
  87. package/dist/webui/assets/index-Dycn6xoz.js.map +0 -1
  88. package/dist/webui/assets/index-G0EJCamt.js +0 -22
  89. package/dist/webui/assets/index-G0EJCamt.js.map +0 -1
  90. package/dist/webui/assets/index-WaraZQH0.js +0 -2
  91. package/dist/webui/assets/index-WaraZQH0.js.map +0 -1
  92. package/dist/webui/assets/index-k2rGFxEM.js +0 -8
  93. package/dist/webui/assets/index-k2rGFxEM.js.map +0 -1
  94. package/dist/webui/assets/index-lwTtspUb.js +0 -14
  95. package/dist/webui/assets/index-lwTtspUb.js.map +0 -1
  96. package/dist/webui/assets/index-pT0W4KjK.js +0 -47
  97. package/dist/webui/assets/index-pT0W4KjK.js.map +0 -1
  98. package/dist/webui/assets/index-wvielV9A.js +0 -2
  99. package/dist/webui/assets/index-wvielV9A.js.map +0 -1
  100. package/dist/webui/assets/row-FRqVdQDX.js +0 -20
  101. package/dist/webui/assets/row-FRqVdQDX.js.map +0 -1
  102. package/dist/webui/assets/useAuth-BMt6dHSB.js +0 -9
  103. package/dist/webui/assets/useAuth-BMt6dHSB.js.map +0 -1
  104. package/dist/webui/assets/useConfig-29Ugtjk4.js +0 -9
  105. package/dist/webui/assets/useConfig-29Ugtjk4.js.map +0 -1
  106. package/dist/webui/assets/useDownload-Dt6lsP8S.js +0 -2
  107. package/dist/webui/assets/useDownload-Dt6lsP8S.js.map +0 -1
  108. package/dist/webui/assets/useErrorHandler-DWHs3RlU.js +0 -84
  109. package/dist/webui/assets/useErrorHandler-DWHs3RlU.js.map +0 -1
  110. package/dist/webui/index.html +0 -15
@@ -1,2 +0,0 @@
1
- import{r as e,I as c,_ as a}from"./index-BFgUdwJv.js";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},i=function(t,r){return e.createElement(c,a({},t,{ref:r,icon:n}))},u=e.forwardRef(i);export{u as R};
2
- //# sourceMappingURL=PictureOutlined-C8Lbucj1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PictureOutlined-C8Lbucj1.js","sources":["../../node_modules/@ant-design/icons-svg/es/asn/PictureOutlined.js","../../node_modules/@ant-design/icons/es/icons/PictureOutlined.js"],"sourcesContent":["// This icon file is generated automatically.\nvar PictureOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z\" } }] }, \"name\": \"picture\", \"theme\": \"outlined\" };\nexport default PictureOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PictureOutlinedSvg from \"@ant-design/icons-svg/es/asn/PictureOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PictureOutlined = function PictureOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PictureOutlinedSvg\n }));\n};\n\n/**![picture](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNjBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjY0MGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTkyYzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDAgNjMySDEzNnYtMzkuOWwxMzguNS0xNjQuMyAxNTAuMSAxNzhMNjU4LjEgNDg5IDg4OCA3NjEuNlY3OTJ6bTAtMTI5LjhMNjY0LjIgMzk2LjhjLTMuMi0zLjgtOS0zLjgtMTIuMiAwTDQyNC42IDY2Ni40bC0xNDQtMTcwLjdjLTMuMi0zLjgtOS0zLjgtMTIuMiAwTDEzNiA2NTIuN1YyMzJoNzUydjQzMC4yek0zMDQgNDU2YTg4IDg4IDAgMTAwLTE3NiA4OCA4OCAwIDAwMCAxNzZ6bTAtMTE2YzE1LjUgMCAyOCAxMi41IDI4IDI4cy0xMi41IDI4LTI4IDI4LTI4LTEyLjUtMjgtMjggMTIuNS0yOCAyOC0yOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PictureOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PictureOutlined';\n}\nexport default RefIcon;"],"names":["PictureOutlined","props","ref","AntdIcon","_extends","PictureOutlinedSvg","RefIcon","React.forwardRef"],"mappings":"sDACA,IAAIA,EAAkB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CAAE,QAAW,gBAAiB,UAAa,OAAO,EAAI,SAAY,CAAC,CAAE,IAAO,OAAQ,MAAS,CAAE,EAAK,gZAAgZ,EAAI,CAAC,EAAI,KAAQ,UAAW,MAAS,UAAU,ECMxlBA,EAAkB,SAAyBC,EAAOC,EAAK,CACzD,uBAAwCC,EAAUC,EAAS,CAAA,EAAIH,EAAO,CACpE,IAAAC,EACA,KAAMG,CAAA,CACP,CAAC,CACJ,EAGIC,EAAuBC,EAAAA,WAAiBP,CAAe","x_google_ignoreList":[0,1]}
@@ -1,2 +0,0 @@
1
- import{r as c,I as n,_ as a}from"./index-BFgUdwJv.js";var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z"}}]},name:"sort-ascending",theme:"outlined"},h=function(e,t){return c.createElement(n,a({},e,{ref:t,icon:l}))},d=c.forwardRef(h),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z"}}]},name:"sort-descending",theme:"outlined"},i=function(e,t){return c.createElement(n,a({},e,{ref:t,icon:o}))},v=c.forwardRef(i);export{d as R,v as a};
2
- //# sourceMappingURL=SortDescendingOutlined-CR-hdhyW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SortDescendingOutlined-CR-hdhyW.js","sources":["../../node_modules/@ant-design/icons-svg/es/asn/SortAscendingOutlined.js","../../node_modules/@ant-design/icons/es/icons/SortAscendingOutlined.js","../../node_modules/@ant-design/icons-svg/es/asn/SortDescendingOutlined.js","../../node_modules/@ant-design/icons/es/icons/SortDescendingOutlined.js"],"sourcesContent":["// This icon file is generated automatically.\nvar SortAscendingOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z\" } }] }, \"name\": \"sort-ascending\", \"theme\": \"outlined\" };\nexport default SortAscendingOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SortAscendingOutlinedSvg from \"@ant-design/icons-svg/es/asn/SortAscendingOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SortAscendingOutlined = function SortAscendingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SortAscendingOutlinedSvg\n }));\n};\n\n/**![sort-ascending](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzOS42IDQzMy44TDc0OSAxNTAuNWE5LjI0IDkuMjQgMCAwMC04LjktNi41aC03Ny40Yy00LjEgMC03LjYgMi42LTguOSA2LjVsLTkxLjMgMjgzLjNjLS4zLjktLjUgMS45LS41IDIuOSAwIDUuMSA0LjIgOS4zIDkuMyA5LjNoNTYuNGM0LjIgMCA3LjgtMi44IDktNi44bDE3LjUtNjEuNmg4OWwxNy4zIDYxLjVjMS4xIDQgNC44IDYuOCA5IDYuOGg2MS4yYzEgMCAxLjktLjEgMi44LS40IDIuNC0uOCA0LjMtMi40IDUuNS00LjYgMS4xLTIuMiAxLjMtNC43LjYtNy4xek02NjMuMyAzMjUuNWwzMi44LTExNi45aDYuM2wzMi4xIDExNi45aC03MS4yem0xNDMuNSA0OTIuOUg2NzcuMnYtLjRsMTMyLjYtMTg4LjljMS4xLTEuNiAxLjctMy40IDEuNy01LjR2LTM2LjRjMC01LjEtNC4yLTkuMy05LjMtOS4zaC0yMDRjLTUuMSAwLTkuMyA0LjItOS4zIDkuM3Y0M2MwIDUuMSA0LjIgOS4zIDkuMyA5LjNoMTIyLjZ2LjRMNTg3LjcgODI4LjlhOS4zNSA5LjM1IDAgMDAtMS43IDUuNHYzNi40YzAgNS4xIDQuMiA5LjMgOS4zIDkuM2gyMTEuNGM1LjEgMCA5LjMtNC4yIDkuMy05LjN2LTQzYTkuMiA5LjIgMCAwMC05LjItOS4zek00MTYgNzAyaC03NlYxNzJjMC00LjQtMy42LTgtOC04aC01NmMtNC40IDAtOCAzLjYtOCA4djUzMGgtNzZjLTYuNyAwLTEwLjUgNy44LTYuMyAxM2wxMTIgMTQxLjlhOCA4IDAgMDAxMi42IDBsMTEyLTE0MS45YzQuMS01LjIuNC0xMy02LjMtMTN6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SortAscendingOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SortAscendingOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar SortDescendingOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z\" } }] }, \"name\": \"sort-descending\", \"theme\": \"outlined\" };\nexport default SortDescendingOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SortDescendingOutlinedSvg from \"@ant-design/icons-svg/es/asn/SortDescendingOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SortDescendingOutlined = function SortDescendingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SortDescendingOutlinedSvg\n }));\n};\n\n/**![sort-descending](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzOS42IDQzMy44TDc0OSAxNTAuNWE5LjI0IDkuMjQgMCAwMC04LjktNi41aC03Ny40Yy00LjEgMC03LjYgMi42LTguOSA2LjVsLTkxLjMgMjgzLjNjLS4zLjktLjUgMS45LS41IDIuOSAwIDUuMSA0LjIgOS4zIDkuMyA5LjNoNTYuNGM0LjIgMCA3LjgtMi44IDktNi44bDE3LjUtNjEuNmg4OWwxNy4zIDYxLjVjMS4xIDQgNC44IDYuOCA5IDYuOGg2MS4yYzEgMCAxLjktLjEgMi44LS40IDIuNC0uOCA0LjMtMi40IDUuNS00LjYgMS4xLTIuMiAxLjMtNC43LjYtNy4xek02NjMuMyAzMjUuNWwzMi44LTExNi45aDYuM2wzMi4xIDExNi45aC03MS4yem0xNDMuNSA0OTIuOUg2NzcuMnYtLjRsMTMyLjYtMTg4LjljMS4xLTEuNiAxLjctMy40IDEuNy01LjR2LTM2LjRjMC01LjEtNC4yLTkuMy05LjMtOS4zaC0yMDRjLTUuMSAwLTkuMyA0LjItOS4zIDkuM3Y0M2MwIDUuMSA0LjIgOS4zIDkuMyA5LjNoMTIyLjZ2LjRMNTg3LjcgODI4LjlhOS4zNSA5LjM1IDAgMDAtMS43IDUuNHYzNi40YzAgNS4xIDQuMiA5LjMgOS4zIDkuM2gyMTEuNGM1LjEgMCA5LjMtNC4yIDkuMy05LjN2LTQzYTkuMiA5LjIgMCAwMC05LjItOS4zek0zMTAuMyAxNjcuMWE4IDggMCAwMC0xMi42IDBMMTg1LjcgMzA5Yy00LjIgNS4zLS40IDEzIDYuMyAxM2g3NnY1MzBjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOFYzMjJoNzZjNi43IDAgMTAuNS03LjggNi4zLTEzbC0xMTItMTQxLjl6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SortDescendingOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SortDescendingOutlined';\n}\nexport default RefIcon;"],"names":["SortAscendingOutlined","props","ref","AntdIcon","_extends","SortAscendingOutlinedSvg","RefIcon","React.forwardRef","SortDescendingOutlined","SortDescendingOutlinedSvg"],"mappings":"sDACA,IAAIA,EAAwB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CAAE,QAAW,gBAAiB,UAAa,OAAO,EAAI,SAAY,CAAC,CAAE,IAAO,OAAQ,MAAS,CAAE,EAAK,4sBAA4sB,EAAI,CAAC,EAAI,KAAQ,iBAAkB,MAAS,UAAU,ECMj6BA,EAAwB,SAA+BC,EAAOC,EAAK,CACrE,uBAAwCC,EAAUC,EAAS,CAAA,EAAIH,EAAO,CACpE,IAAAC,EACA,KAAMG,CAAA,CACP,CAAC,CACJ,EAGIC,EAAuBC,EAAAA,WAAiBP,CAAqB,ECd7DQ,EAAyB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CAAE,QAAW,gBAAiB,UAAa,OAAO,EAAI,SAAY,CAAC,CAAE,IAAO,OAAQ,MAAS,CAAE,EAAK,+sBAA+sB,EAAI,CAAC,EAAI,KAAQ,kBAAmB,MAAS,UAAU,ECMt6BA,EAAyB,SAAgCP,EAAOC,EAAK,CACvE,uBAAwCC,EAAUC,EAAS,CAAA,EAAIH,EAAO,CACpE,IAAAC,EACA,KAAMO,CAAA,CACP,CAAC,CACJ,EAGIH,EAAuBC,EAAAA,WAAiBC,CAAsB","x_google_ignoreList":[0,1,2,3]}
@@ -1,2 +0,0 @@
1
- import{n as Z,m as A,g as b,a3 as J,r as c,_ as X,a2 as U,a1 as Y,z as a,az as ri,t as ai,v as li,y as ci,bm as si,a5 as di,ab as mi,H as gi,aR as pi,Z as ui,X as $i,I as hi}from"./index-BFgUdwJv.js";import{u as Si}from"./row-FRqVdQDX.js";import{P as fi}from"./useAuth-BMt6dHSB.js";var bi=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function Q(i){return typeof i=="string"}function k(i){var e,t=i.className,n=i.prefixCls,o=i.style,r=i.active,l=i.status,g=i.iconPrefix,s=i.icon;i.wrapperStyle;var d=i.stepNumber,$=i.disabled,h=i.description,x=i.title,v=i.subTitle,q=i.progressDot,E=i.stepIcon,O=i.tailContent,u=i.icons,T=i.stepIndex,p=i.onStepClick,I=i.onClick,D=i.render,_=Z(i,bi),N=!!p&&!$,y={};N&&(y.role="button",y.tabIndex=0,y.onClick=function(z){I?.(z),p(T)},y.onKeyDown=function(z){var S=z.which;(S===U.ENTER||S===U.SPACE)&&p(T)});var B=function(){var S,m,C=A("".concat(n,"-icon"),"".concat(g,"icon"),(S={},b(S,"".concat(g,"icon-").concat(s),s&&Q(s)),b(S,"".concat(g,"icon-check"),!s&&l==="finish"&&(u&&!u.finish||!u)),b(S,"".concat(g,"icon-cross"),!s&&l==="error"&&(u&&!u.error||!u)),S)),P=c.createElement("span",{className:"".concat(n,"-icon-dot")});return q?typeof q=="function"?m=c.createElement("span",{className:"".concat(n,"-icon")},q(P,{index:d-1,status:l,title:x,description:h})):m=c.createElement("span",{className:"".concat(n,"-icon")},P):s&&!Q(s)?m=c.createElement("span",{className:"".concat(n,"-icon")},s):u&&u.finish&&l==="finish"?m=c.createElement("span",{className:"".concat(n,"-icon")},u.finish):u&&u.error&&l==="error"?m=c.createElement("span",{className:"".concat(n,"-icon")},u.error):s||l==="finish"||l==="error"?m=c.createElement("span",{className:C}):m=c.createElement("span",{className:"".concat(n,"-icon")},d),E&&(m=E({index:d-1,status:l,title:x,description:h,node:m})),m},w=l||"wait",M=A("".concat(n,"-item"),"".concat(n,"-item-").concat(w),t,(e={},b(e,"".concat(n,"-item-custom"),s),b(e,"".concat(n,"-item-active"),r),b(e,"".concat(n,"-item-disabled"),$===!0),e)),W=J({},o),H=c.createElement("div",X({},_,{className:M,style:W}),c.createElement("div",X({onClick:I},y,{className:"".concat(n,"-item-container")}),c.createElement("div",{className:"".concat(n,"-item-tail")},O),c.createElement("div",{className:"".concat(n,"-item-icon")},B()),c.createElement("div",{className:"".concat(n,"-item-content")},c.createElement("div",{className:"".concat(n,"-item-title")},x,v&&c.createElement("div",{title:typeof v=="string"?v:void 0,className:"".concat(n,"-item-subtitle")},v)),h&&c.createElement("div",{className:"".concat(n,"-item-description")},h))));return D&&(H=D(H)||null),H}var vi=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function F(i){var e,t=i.prefixCls,n=t===void 0?"rc-steps":t,o=i.style,r=o===void 0?{}:o,l=i.className;i.children;var g=i.direction,s=g===void 0?"horizontal":g,d=i.type,$=d===void 0?"default":d,h=i.labelPlacement,x=h===void 0?"horizontal":h,v=i.iconPrefix,q=v===void 0?"rc":v,E=i.status,O=E===void 0?"process":E,u=i.size,T=i.current,p=T===void 0?0:T,I=i.progressDot,D=I===void 0?!1:I,_=i.stepIcon,N=i.initial,y=N===void 0?0:N,B=i.icons,w=i.onChange,M=i.itemRender,W=i.items,H=W===void 0?[]:W,z=Z(i,vi),S=$==="navigation",m=$==="inline",C=m||D,P=m?"horizontal":s,K=m?void 0:u,ii=C?"vertical":x,ei=A(n,"".concat(n,"-").concat(P),l,(e={},b(e,"".concat(n,"-").concat(K),K),b(e,"".concat(n,"-label-").concat(ii),P==="horizontal"),b(e,"".concat(n,"-dot"),!!C),b(e,"".concat(n,"-navigation"),S),b(e,"".concat(n,"-inline"),m),e)),ti=function(R){w&&p!==R&&w(R)},ni=function(R,V){var f=J({},R),j=y+V;return O==="error"&&V===p-1&&(f.className="".concat(n,"-next-error")),f.status||(j===p?f.status=O:j<p?f.status="finish":f.status="wait"),m&&(f.icon=void 0,f.subTitle=void 0),!f.render&&M&&(f.render=function(oi){return M(f,oi)}),Y.createElement(k,X({},f,{active:j===p,stepNumber:j+1,stepIndex:j,key:j,prefixCls:n,iconPrefix:q,wrapperStyle:r,progressDot:C,stepIcon:_,icons:B,onStepClick:w&&ti}))};return Y.createElement("div",X({className:ei,style:r},z),H.filter(function(G){return G}).map(ni))}F.Step=k;const Ci=i=>{const{componentCls:e,customIconTop:t,customIconSize:n,customIconFontSize:o}=i;return{[`${e}-item-custom`]:{[`> ${e}-item-container > ${e}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${e}-icon`]:{top:t,width:n,height:n,fontSize:o,lineHeight:a(n)}}},[`&:not(${e}-vertical)`]:{[`${e}-item-custom`]:{[`${e}-item-icon`]:{width:"auto",background:"none"}}}}},Ii=i=>{const{componentCls:e}=i,t=`${e}-item`;return{[`${e}-horizontal`]:{[`${t}-tail`]:{transform:"translateY(-50%)"}}}},yi=i=>{const{componentCls:e,inlineDotSize:t,inlineTitleColor:n,inlineTailColor:o}=i,r=i.calc(i.paddingXS).add(i.lineWidth).equal(),l={[`${e}-item-container ${e}-item-content ${e}-item-title`]:{color:n}};return{[`&${e}-inline`]:{width:"auto",display:"inline-flex",[`${e}-item`]:{flex:"none","&-container":{padding:`${a(r)} ${a(i.paddingXXS)} 0`,margin:`0 ${a(i.calc(i.marginXXS).div(2).equal())}`,borderRadius:i.borderRadiusSM,cursor:"pointer",transition:`background-color ${i.motionDurationMid}`,"&:hover":{background:i.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:t,height:t,marginInlineStart:`calc(50% - ${a(i.calc(t).div(2).equal())})`,[`> ${e}-icon`]:{top:0},[`${e}-icon-dot`]:{borderRadius:i.calc(i.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:i.calc(i.marginXS).sub(i.lineWidth).equal()},"&-title":{color:n,fontSize:i.fontSizeSM,lineHeight:i.lineHeightSM,fontWeight:"normal",marginBottom:i.calc(i.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:i.calc(t).div(2).add(r).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:i.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${e}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${e}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${e}-item-icon ${e}-icon ${e}-icon-dot`]:{backgroundColor:i.colorBorderBg,border:`${a(i.lineWidth)} ${i.lineType} ${o}`}},l),"&-finish":Object.assign({[`${e}-item-tail::after`]:{backgroundColor:o},[`${e}-item-icon ${e}-icon ${e}-icon-dot`]:{backgroundColor:o,border:`${a(i.lineWidth)} ${i.lineType} ${o}`}},l),"&-error":l,"&-active, &-process":Object.assign({[`${e}-item-icon`]:{width:t,height:t,marginInlineStart:`calc(50% - ${a(i.calc(t).div(2).equal())})`,top:0}},l),[`&:not(${e}-item-active) > ${e}-item-container[role='button']:hover`]:{[`${e}-item-title`]:{color:n}}}}}},wi=i=>{const{componentCls:e,iconSize:t,lineHeight:n,iconSizeSM:o}=i;return{[`&${e}-label-vertical`]:{[`${e}-item`]:{overflow:"visible","&-tail":{marginInlineStart:i.calc(t).div(2).add(i.controlHeightLG).equal(),padding:`0 ${a(i.paddingLG)}`},"&-content":{display:"block",width:i.calc(t).div(2).add(i.controlHeightLG).mul(2).equal(),marginTop:i.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:i.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:i.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${e}-small:not(${e}-dot)`]:{[`${e}-item`]:{"&-icon":{marginInlineStart:i.calc(t).sub(o).div(2).add(i.controlHeightLG).equal()}}}}}},xi=i=>{const{componentCls:e,navContentMaxWidth:t,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=i;return{[`&${e}-navigation`]:{paddingTop:i.paddingSM,[`&${e}-small`]:{[`${e}-item`]:{"&-container":{marginInlineStart:i.calc(i.marginSM).mul(-1).equal()}}},[`${e}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:i.calc(i.margin).mul(-1).equal(),paddingBottom:i.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${e}-item-content`]:{maxWidth:t},[`${e}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},ri),{"&::after":{display:"none"}})},[`&:not(${e}-item-active)`]:{[`${e}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${a(i.calc(i.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:i.fontSizeIcon,height:i.fontSizeIcon,borderTop:`${a(i.lineWidth)} ${i.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${a(i.lineWidth)} ${i.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:i.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${e}-item${e}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${e}-navigation${e}-vertical`]:{[`> ${e}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${e}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:i.calc(i.lineWidth).mul(3).equal(),height:`calc(100% - ${a(i.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:i.calc(i.controlHeight).mul(.25).equal(),height:i.calc(i.controlHeight).mul(.25).equal(),marginBottom:i.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${e}-item-container > ${e}-item-tail`]:{visibility:"hidden"}}},[`&${e}-navigation${e}-horizontal`]:{[`> ${e}-item > ${e}-item-container > ${e}-item-tail`]:{visibility:"hidden"}}}},Ti=i=>{const{antCls:e,componentCls:t,iconSize:n,iconSizeSM:o,processIconColor:r,marginXXS:l,lineWidthBold:g,lineWidth:s,paddingXXS:d}=i,$=i.calc(n).add(i.calc(g).mul(4).equal()).equal(),h=i.calc(o).add(i.calc(i.lineWidth).mul(4).equal()).equal();return{[`&${t}-with-progress`]:{[`${t}-item`]:{paddingTop:d,[`&-process ${t}-item-container ${t}-item-icon ${t}-icon`]:{color:r}},[`&${t}-vertical > ${t}-item `]:{paddingInlineStart:d,[`> ${t}-item-container > ${t}-item-tail`]:{top:l,insetInlineStart:i.calc(n).div(2).sub(s).add(d).equal()}},[`&, &${t}-small`]:{[`&${t}-horizontal ${t}-item:first-child`]:{paddingBottom:d,paddingInlineStart:d}},[`&${t}-small${t}-vertical > ${t}-item > ${t}-item-container > ${t}-item-tail`]:{insetInlineStart:i.calc(o).div(2).sub(s).add(d).equal()},[`&${t}-label-vertical ${t}-item ${t}-item-tail`]:{top:i.calc(n).div(2).add(d).equal()},[`${t}-item-icon`]:{position:"relative",[`${e}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${a($)} !important`,height:`${a($)} !important`}}},[`&${t}-small`]:{[`&${t}-label-vertical ${t}-item ${t}-item-tail`]:{top:i.calc(o).div(2).add(d).equal()},[`${t}-item-icon ${e}-progress-inner`]:{width:`${a(h)} !important`,height:`${a(h)} !important`}}}}},zi=i=>{const{componentCls:e,descriptionMaxWidth:t,lineHeight:n,dotCurrentSize:o,dotSize:r,motionDurationSlow:l}=i;return{[`&${e}-dot, &${e}-dot${e}-small`]:{[`${e}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:i.calc(i.dotSize).sub(i.calc(i.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${a(i.calc(t).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${a(i.calc(i.marginSM).mul(2).equal())})`,height:i.calc(i.lineWidth).mul(3).equal(),marginInlineStart:i.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:i.calc(i.descriptionMaxWidth).sub(r).div(2).equal(),paddingInlineEnd:0,lineHeight:a(r),background:"transparent",border:0,[`${e}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${l}`,"&::after":{position:"absolute",top:i.calc(i.marginSM).mul(-1).equal(),insetInlineStart:i.calc(r).sub(i.calc(i.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:i.calc(i.controlHeightLG).mul(1.5).equal(),height:i.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:t},[`&-process ${e}-item-icon`]:{position:"relative",top:i.calc(r).sub(o).div(2).equal(),width:o,height:o,lineHeight:a(o),background:"none",marginInlineStart:i.calc(i.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${e}-icon`]:{[`&:first-child ${e}-icon-dot`]:{insetInlineStart:0}}}},[`&${e}-vertical${e}-dot`]:{[`${e}-item-icon`]:{marginTop:i.calc(i.controlHeight).sub(r).div(2).equal(),marginInlineStart:0,background:"none"},[`${e}-item-process ${e}-item-icon`]:{marginTop:i.calc(i.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:i.calc(r).sub(o).div(2).equal(),marginInlineStart:0},[`${e}-item > ${e}-item-container > ${e}-item-tail`]:{top:i.calc(i.controlHeight).sub(r).div(2).equal(),insetInlineStart:0,margin:0,padding:`${a(i.calc(r).add(i.paddingXS).equal())} 0 ${a(i.paddingXS)}`,"&::after":{marginInlineStart:i.calc(r).sub(i.lineWidth).div(2).equal()}},[`&${e}-small`]:{[`${e}-item-icon`]:{marginTop:i.calc(i.controlHeightSM).sub(r).div(2).equal()},[`${e}-item-process ${e}-item-icon`]:{marginTop:i.calc(i.controlHeightSM).sub(o).div(2).equal()},[`${e}-item > ${e}-item-container > ${e}-item-tail`]:{top:i.calc(i.controlHeightSM).sub(r).div(2).equal()}},[`${e}-item:first-child ${e}-icon-dot`]:{insetInlineStart:0},[`${e}-item-content`]:{width:"inherit"}}}},qi=i=>{const{componentCls:e}=i;return{[`&${e}-rtl`]:{direction:"rtl",[`${e}-item`]:{"&-subtitle":{float:"left"}},[`&${e}-navigation`]:{[`${e}-item::after`]:{transform:"rotate(-45deg)"}},[`&${e}-vertical`]:{[`> ${e}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${e}-item-icon`]:{float:"right"}}},[`&${e}-dot`]:{[`${e}-item-icon ${e}-icon-dot, &${e}-small ${e}-item-icon ${e}-icon-dot`]:{float:"right"}}}}},Ei=i=>{const{componentCls:e,iconSizeSM:t,fontSizeSM:n,fontSize:o,colorTextDescription:r}=i;return{[`&${e}-small`]:{[`&${e}-horizontal:not(${e}-label-vertical) ${e}-item`]:{paddingInlineStart:i.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${e}-item-icon`]:{width:t,height:t,marginTop:0,marginBottom:0,marginInline:`0 ${a(i.marginXS)}`,fontSize:n,lineHeight:a(t),textAlign:"center",borderRadius:t},[`${e}-item-title`]:{paddingInlineEnd:i.paddingSM,fontSize:o,lineHeight:a(t),"&::after":{top:i.calc(t).div(2).equal()}},[`${e}-item-description`]:{color:r,fontSize:o},[`${e}-item-tail`]:{top:i.calc(t).div(2).sub(i.paddingXXS).equal()},[`${e}-item-custom ${e}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${e}-icon`]:{fontSize:t,lineHeight:a(t),transform:"none"}}}}},Ni=i=>{const{componentCls:e,iconSizeSM:t,iconSize:n}=i;return{[`&${e}-vertical`]:{display:"flex",flexDirection:"column",[`> ${e}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${e}-item-icon`]:{float:"left",marginInlineEnd:i.margin},[`${e}-item-content`]:{display:"block",minHeight:i.calc(i.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${e}-item-title`]:{lineHeight:a(n)},[`${e}-item-description`]:{paddingBottom:i.paddingSM}},[`> ${e}-item > ${e}-item-container > ${e}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.calc(n).div(2).sub(i.lineWidth).equal(),width:i.lineWidth,height:"100%",padding:`${a(i.calc(i.marginXXS).mul(1.5).add(n).equal())} 0 ${a(i.calc(i.marginXXS).mul(1.5).equal())}`,"&::after":{width:i.lineWidth,height:"100%"}},[`> ${e}-item:not(:last-child) > ${e}-item-container > ${e}-item-tail`]:{display:"block"},[` > ${e}-item > ${e}-item-container > ${e}-item-content > ${e}-item-title`]:{"&::after":{display:"none"}},[`&${e}-small ${e}-item-container`]:{[`${e}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.calc(t).div(2).sub(i.lineWidth).equal(),padding:`${a(i.calc(i.marginXXS).mul(1.5).add(t).equal())} 0 ${a(i.calc(i.marginXXS).mul(1.5).equal())}`},[`${e}-item-title`]:{lineHeight:a(t)}}}}},Hi="wait",Pi="process",Oi="finish",Di="error",L=(i,e)=>{const t=`${e.componentCls}-item`,n=`${i}IconColor`,o=`${i}TitleColor`,r=`${i}DescriptionColor`,l=`${i}TailColor`,g=`${i}IconBgColor`,s=`${i}IconBorderColor`,d=`${i}DotColor`;return{[`${t}-${i} ${t}-icon`]:{backgroundColor:e[g],borderColor:e[s],[`> ${e.componentCls}-icon`]:{color:e[n],[`${e.componentCls}-icon-dot`]:{background:e[d]}}},[`${t}-${i}${t}-custom ${t}-icon`]:{[`> ${e.componentCls}-icon`]:{color:e[d]}},[`${t}-${i} > ${t}-container > ${t}-content > ${t}-title`]:{color:e[o],"&::after":{backgroundColor:e[l]}},[`${t}-${i} > ${t}-container > ${t}-content > ${t}-description`]:{color:e[r]},[`${t}-${i} > ${t}-container > ${t}-tail::after`]:{backgroundColor:e[l]}}},Mi=i=>{const{componentCls:e,motionDurationSlow:t}=i,n=`${e}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none",[`&:focus-visible ${o}`]:si(i)},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:i.iconSize,height:i.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:i.marginXS,fontSize:i.iconFontSize,fontFamily:i.fontFamily,lineHeight:a(i.iconSize),textAlign:"center",borderRadius:i.iconSize,border:`${a(i.lineWidth)} ${i.lineType} transparent`,transition:`background-color ${t}, border-color ${t}`,[`${e}-icon`]:{position:"relative",top:i.iconTop,color:i.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:i.calc(i.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:i.lineWidth,background:i.colorSplit,borderRadius:i.lineWidth,transition:`background ${t}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:i.padding,color:i.colorText,fontSize:i.fontSizeLG,lineHeight:a(i.titleLineHeight),"&::after":{position:"absolute",top:i.calc(i.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:i.lineWidth,background:i.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:i.marginXS,color:i.colorTextDescription,fontWeight:"normal",fontSize:i.fontSize},[`${n}-description`]:{color:i.colorTextDescription,fontSize:i.fontSize}},L(Hi,i)),L(Pi,i)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:i.fontWeightStrong}}),L(Oi,i)),L(Di,i)),{[`${n}${e}-next-error > ${e}-item-title::after`]:{background:i.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Wi=i=>{const{componentCls:e,motionDurationSlow:t}=i;return{[`& ${e}-item`]:{[`&:not(${e}-item-active)`]:{[`& > ${e}-item-container[role='button']`]:{cursor:"pointer",[`${e}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${e}-icon`]:{transition:`color ${t}`}},"&:hover":{[`${e}-item`]:{"&-title, &-subtitle, &-description":{color:i.colorPrimary}}}},[`&:not(${e}-item-process)`]:{[`& > ${e}-item-container[role='button']:hover`]:{[`${e}-item`]:{"&-icon":{borderColor:i.colorPrimary,[`${e}-icon`]:{color:i.colorPrimary}}}}}}},[`&${e}-horizontal:not(${e}-label-vertical)`]:{[`${e}-item`]:{paddingInlineStart:i.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${e}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:i.descriptionMaxWidth,whiteSpace:"normal"}}}}},ji=i=>{const{componentCls:e}=i;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ci(i)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Mi(i)),Wi(i)),Ci(i)),Ei(i)),Ni(i)),Ii(i)),wi(i)),zi(i)),xi(i)),qi(i)),Ti(i)),yi(i))}},_i=i=>({titleLineHeight:i.controlHeight,customIconSize:i.controlHeight,customIconTop:0,customIconFontSize:i.controlHeightSM,iconSize:i.controlHeight,iconTop:-.5,iconFontSize:i.fontSize,iconSizeSM:i.fontSizeHeading3,dotSize:i.controlHeight/4,dotCurrentSize:i.controlHeightLG/4,navArrowColor:i.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:140,waitIconColor:i.wireframe?i.colorTextDisabled:i.colorTextLabel,waitIconBgColor:i.wireframe?i.colorBgContainer:i.colorFillContent,waitIconBorderColor:i.wireframe?i.colorTextDisabled:"transparent",finishIconBgColor:i.wireframe?i.colorBgContainer:i.controlItemBgActive,finishIconBorderColor:i.wireframe?i.colorPrimary:i.controlItemBgActive}),Bi=ai("Steps",i=>{const{colorTextDisabled:e,controlHeightLG:t,colorTextLightSolid:n,colorText:o,colorPrimary:r,colorTextDescription:l,colorTextQuaternary:g,colorError:s,colorBorderSecondary:d,colorSplit:$}=i,h=li(i,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:r,processIconBorderColor:r,processDotColor:r,processTailColor:$,waitTitleColor:l,waitDescriptionColor:l,waitTailColor:$,waitDotColor:e,finishIconColor:r,finishTitleColor:o,finishDescriptionColor:l,finishTailColor:r,finishDotColor:r,errorIconColor:n,errorTitleColor:s,errorDescriptionColor:s,errorTailColor:$,errorIconBgColor:s,errorIconBorderColor:s,errorDotColor:s,stepsNavActiveColor:r,stepsProgressSize:t,inlineDotSize:6,inlineTitleColor:g,inlineTailColor:d});return ji(h)},_i);function Xi(i){return i.filter(e=>e)}function Ri(i,e){if(i)return i;const t=di(e).map(n=>{if(c.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return Xi(t)}var Li=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(i);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(i,n[o])&&(t[n[o]]=i[n[o]]);return t};const Ai=i=>{const{percent:e,size:t,className:n,rootClassName:o,direction:r,items:l,responsive:g=!0,current:s=0,children:d,style:$}=i,h=Li(i,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:x}=Si(g),{getPrefixCls:v,direction:q,className:E,style:O}=mi("steps"),u=c.useMemo(()=>g&&x?"vertical":r,[g,x,r]),T=gi(t),p=v("steps",i.prefixCls),[I,D,_]=Bi(p),N=i.type==="inline",y=v("",i.iconPrefix),B=Ri(l,d),w=N?void 0:e,M=Object.assign(Object.assign({},O),$),W=A(E,{[`${p}-rtl`]:q==="rtl",[`${p}-with-progress`]:w!==void 0},n,o,D,_),H={finish:c.createElement(ui,{className:`${p}-finish-icon`}),error:c.createElement(pi,{className:`${p}-error-icon`})},z=({node:m,status:C})=>{if(C==="process"&&w!==void 0){const P=T==="small"?32:40;return c.createElement("div",{className:`${p}-progress-icon`},c.createElement(fi,{type:"circle",percent:w,size:P,strokeWidth:4,format:()=>null}),m)}return m},S=(m,C)=>m.description?c.createElement($i,{title:m.description},C):C;return I(c.createElement(F,Object.assign({icons:H},h,{style:M,current:s,size:T,items:B,itemRender:N?S:void 0,stepIcon:z,direction:u,prefixCls:p,iconPrefix:y,className:W})))};Ai.Step=F.Step;var Gi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"},Fi=function(e,t){return c.createElement(hi,X({},e,{ref:t,icon:Gi}))},Yi=c.forwardRef(Fi);export{Yi as R,Ai as S};
2
- //# sourceMappingURL=ThunderboltOutlined-CiiB2de5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThunderboltOutlined-CiiB2de5.js","sources":["../../node_modules/rc-steps/es/Step.js","../../node_modules/rc-steps/es/Steps.js","../../node_modules/antd/es/steps/style/custom-icon.js","../../node_modules/antd/es/steps/style/horizontal.js","../../node_modules/antd/es/steps/style/inline.js","../../node_modules/antd/es/steps/style/label-placement.js","../../node_modules/antd/es/steps/style/nav.js","../../node_modules/antd/es/steps/style/progress.js","../../node_modules/antd/es/steps/style/progress-dot.js","../../node_modules/antd/es/steps/style/rtl.js","../../node_modules/antd/es/steps/style/small.js","../../node_modules/antd/es/steps/style/vertical.js","../../node_modules/antd/es/steps/style/index.js","../../node_modules/antd/es/steps/useLegacyItems.js","../../node_modules/antd/es/steps/index.js","../../node_modules/@ant-design/icons-svg/es/asn/ThunderboltOutlined.js","../../node_modules/@ant-design/icons/es/icons/ThunderboltOutlined.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"prefixCls\", \"style\", \"active\", \"status\", \"iconPrefix\", \"icon\", \"wrapperStyle\", \"stepNumber\", \"disabled\", \"description\", \"title\", \"subTitle\", \"progressDot\", \"stepIcon\", \"tailContent\", \"icons\", \"stepIndex\", \"onStepClick\", \"onClick\", \"render\"];\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nfunction isString(str) {\n return typeof str === 'string';\n}\nfunction Step(props) {\n var _classNames2;\n var className = props.className,\n prefixCls = props.prefixCls,\n style = props.style,\n active = props.active,\n status = props.status,\n iconPrefix = props.iconPrefix,\n icon = props.icon,\n wrapperStyle = props.wrapperStyle,\n stepNumber = props.stepNumber,\n disabled = props.disabled,\n description = props.description,\n title = props.title,\n subTitle = props.subTitle,\n progressDot = props.progressDot,\n stepIcon = props.stepIcon,\n tailContent = props.tailContent,\n icons = props.icons,\n stepIndex = props.stepIndex,\n onStepClick = props.onStepClick,\n onClick = props.onClick,\n render = props.render,\n restProps = _objectWithoutProperties(props, _excluded);\n\n // ========================= Click ==========================\n var clickable = !!onStepClick && !disabled;\n var accessibilityProps = {};\n if (clickable) {\n accessibilityProps.role = 'button';\n accessibilityProps.tabIndex = 0;\n accessibilityProps.onClick = function (e) {\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n onStepClick(stepIndex);\n };\n accessibilityProps.onKeyDown = function (e) {\n var which = e.which;\n if (which === KeyCode.ENTER || which === KeyCode.SPACE) {\n onStepClick(stepIndex);\n }\n };\n }\n\n // ========================= Render =========================\n var renderIconNode = function renderIconNode() {\n var _classNames;\n var iconNode;\n var iconClassName = classNames(\"\".concat(prefixCls, \"-icon\"), \"\".concat(iconPrefix, \"icon\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-\").concat(icon), icon && isString(icon)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-check\"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-cross\"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));\n var iconDot = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon-dot\")\n });\n // `progressDot` enjoy the highest priority\n if (progressDot) {\n if (typeof progressDot === 'function') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, progressDot(iconDot, {\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description\n }));\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, iconDot);\n }\n } else if (icon && !isString(icon)) {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icon);\n } else if (icons && icons.finish && status === 'finish') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.finish);\n } else if (icons && icons.error && status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.error);\n } else if (icon || status === 'finish' || status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n });\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, stepNumber);\n }\n if (stepIcon) {\n iconNode = stepIcon({\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description,\n node: iconNode\n });\n }\n return iconNode;\n };\n var mergedStatus = status || 'wait';\n var classString = classNames(\"\".concat(prefixCls, \"-item\"), \"\".concat(prefixCls, \"-item-\").concat(mergedStatus), className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-custom\"), icon), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-active\"), active), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-disabled\"), disabled === true), _classNames2));\n var stepItemStyle = _objectSpread({}, style);\n var stepNode = /*#__PURE__*/React.createElement(\"div\", _extends({}, restProps, {\n className: classString,\n style: stepItemStyle\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n onClick: onClick\n }, accessibilityProps, {\n className: \"\".concat(prefixCls, \"-item-container\")\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-tail\")\n }, tailContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-icon\")\n }, renderIconNode()), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-title\")\n }, title, subTitle && /*#__PURE__*/React.createElement(\"div\", {\n title: typeof subTitle === 'string' ? subTitle : undefined,\n className: \"\".concat(prefixCls, \"-item-subtitle\")\n }, subTitle)), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-description\")\n }, description))));\n if (render) {\n stepNode = render(stepNode) || null;\n }\n return stepNode;\n}\nexport default Step;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"style\", \"className\", \"children\", \"direction\", \"type\", \"labelPlacement\", \"iconPrefix\", \"status\", \"size\", \"current\", \"progressDot\", \"stepIcon\", \"initial\", \"icons\", \"onChange\", \"itemRender\", \"items\"];\n/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */\nimport classNames from 'classnames';\nimport React from 'react';\nimport Step from \"./Step\";\nfunction Steps(props) {\n var _classNames;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-steps' : _props$prefixCls,\n _props$style = props.style,\n style = _props$style === void 0 ? {} : _props$style,\n className = props.className,\n children = props.children,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'horizontal' : _props$direction,\n _props$type = props.type,\n type = _props$type === void 0 ? 'default' : _props$type,\n _props$labelPlacement = props.labelPlacement,\n labelPlacement = _props$labelPlacement === void 0 ? 'horizontal' : _props$labelPlacement,\n _props$iconPrefix = props.iconPrefix,\n iconPrefix = _props$iconPrefix === void 0 ? 'rc' : _props$iconPrefix,\n _props$status = props.status,\n status = _props$status === void 0 ? 'process' : _props$status,\n size = props.size,\n _props$current = props.current,\n current = _props$current === void 0 ? 0 : _props$current,\n _props$progressDot = props.progressDot,\n progressDot = _props$progressDot === void 0 ? false : _props$progressDot,\n stepIcon = props.stepIcon,\n _props$initial = props.initial,\n initial = _props$initial === void 0 ? 0 : _props$initial,\n icons = props.icons,\n onChange = props.onChange,\n itemRender = props.itemRender,\n _props$items = props.items,\n items = _props$items === void 0 ? [] : _props$items,\n restProps = _objectWithoutProperties(props, _excluded);\n var isNav = type === 'navigation';\n var isInline = type === 'inline';\n\n // inline type requires fixed progressDot direction size.\n var mergedProgressDot = isInline || progressDot;\n var mergedDirection = isInline ? 'horizontal' : direction;\n var mergedSize = isInline ? undefined : size;\n var adjustedLabelPlacement = mergedProgressDot ? 'vertical' : labelPlacement;\n var classString = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(mergedDirection), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-label-\").concat(adjustedLabelPlacement), mergedDirection === 'horizontal'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dot\"), !!mergedProgressDot), _defineProperty(_classNames, \"\".concat(prefixCls, \"-navigation\"), isNav), _defineProperty(_classNames, \"\".concat(prefixCls, \"-inline\"), isInline), _classNames));\n var onStepClick = function onStepClick(next) {\n if (onChange && current !== next) {\n onChange(next);\n }\n };\n var renderStep = function renderStep(item, index) {\n var mergedItem = _objectSpread({}, item);\n var stepNumber = initial + index;\n // fix tail color\n if (status === 'error' && index === current - 1) {\n mergedItem.className = \"\".concat(prefixCls, \"-next-error\");\n }\n if (!mergedItem.status) {\n if (stepNumber === current) {\n mergedItem.status = status;\n } else if (stepNumber < current) {\n mergedItem.status = 'finish';\n } else {\n mergedItem.status = 'wait';\n }\n }\n if (isInline) {\n mergedItem.icon = undefined;\n mergedItem.subTitle = undefined;\n }\n if (!mergedItem.render && itemRender) {\n mergedItem.render = function (stepItem) {\n return itemRender(mergedItem, stepItem);\n };\n }\n return /*#__PURE__*/React.createElement(Step, _extends({}, mergedItem, {\n active: stepNumber === current,\n stepNumber: stepNumber + 1,\n stepIndex: stepNumber,\n key: stepNumber,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n wrapperStyle: style,\n progressDot: mergedProgressDot,\n stepIcon: stepIcon,\n icons: icons,\n onStepClick: onChange && onStepClick\n }));\n };\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString,\n style: style\n }, restProps), items.filter(function (item) {\n return item;\n }).map(renderStep));\n}\nSteps.Step = Step;\nexport default Steps;","import { unit } from '@ant-design/cssinjs';\nconst genStepsCustomIconStyle = token => {\n const {\n componentCls,\n customIconTop,\n customIconSize,\n customIconFontSize\n } = token;\n return {\n [`${componentCls}-item-custom`]: {\n [`> ${componentCls}-item-container > ${componentCls}-item-icon`]: {\n height: 'auto',\n background: 'none',\n border: 0,\n [`> ${componentCls}-icon`]: {\n top: customIconTop,\n width: customIconSize,\n height: customIconSize,\n fontSize: customIconFontSize,\n lineHeight: unit(customIconSize)\n }\n }\n },\n // Only adjust horizontal customize icon width\n [`&:not(${componentCls}-vertical)`]: {\n [`${componentCls}-item-custom`]: {\n [`${componentCls}-item-icon`]: {\n width: 'auto',\n background: 'none'\n }\n }\n }\n };\n};\nexport default genStepsCustomIconStyle;","const genHorizontalStyle = token => {\n const {\n componentCls\n } = token;\n const stepsItemCls = `${componentCls}-item`; // .ant-steps-item\n return {\n [`${componentCls}-horizontal`]: {\n [`${stepsItemCls}-tail`]: {\n transform: 'translateY(-50%)'\n }\n }\n };\n};\nexport default genHorizontalStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsInlineStyle = token => {\n const {\n componentCls,\n inlineDotSize,\n inlineTitleColor,\n inlineTailColor\n } = token;\n const containerPaddingTop = token.calc(token.paddingXS).add(token.lineWidth).equal();\n const titleStyle = {\n [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n color: inlineTitleColor\n }\n };\n return {\n [`&${componentCls}-inline`]: {\n width: 'auto',\n display: 'inline-flex',\n [`${componentCls}-item`]: {\n flex: 'none',\n '&-container': {\n padding: `${unit(containerPaddingTop)} ${unit(token.paddingXXS)} 0`,\n margin: `0 ${unit(token.calc(token.marginXXS).div(2).equal())}`,\n borderRadius: token.borderRadiusSM,\n cursor: 'pointer',\n transition: `background-color ${token.motionDurationMid}`,\n '&:hover': {\n background: token.controlItemBgHover\n },\n \"&[role='button']:hover\": {\n opacity: 1\n }\n },\n '&-icon': {\n width: inlineDotSize,\n height: inlineDotSize,\n marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n [`> ${componentCls}-icon`]: {\n top: 0\n },\n [`${componentCls}-icon-dot`]: {\n borderRadius: token.calc(token.fontSizeSM).div(4).equal(),\n '&::after': {\n display: 'none'\n }\n }\n },\n '&-content': {\n width: 'auto',\n marginTop: token.calc(token.marginXS).sub(token.lineWidth).equal()\n },\n '&-title': {\n color: inlineTitleColor,\n fontSize: token.fontSizeSM,\n lineHeight: token.lineHeightSM,\n fontWeight: 'normal',\n marginBottom: token.calc(token.marginXXS).div(2).equal()\n },\n '&-description': {\n display: 'none'\n },\n '&-tail': {\n marginInlineStart: 0,\n top: token.calc(inlineDotSize).div(2).add(containerPaddingTop).equal(),\n transform: `translateY(-50%)`,\n '&:after': {\n width: '100%',\n height: token.lineWidth,\n borderRadius: 0,\n marginInlineStart: 0,\n background: inlineTailColor\n }\n },\n [`&:first-child ${componentCls}-item-tail`]: {\n width: '50%',\n marginInlineStart: '50%'\n },\n [`&:last-child ${componentCls}-item-tail`]: {\n display: 'block',\n width: '50%'\n },\n '&-wait': Object.assign({\n [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n backgroundColor: token.colorBorderBg,\n border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n }\n }, titleStyle),\n '&-finish': Object.assign({\n [`${componentCls}-item-tail::after`]: {\n backgroundColor: inlineTailColor\n },\n [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n backgroundColor: inlineTailColor,\n border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n }\n }, titleStyle),\n '&-error': titleStyle,\n '&-active, &-process': Object.assign({\n [`${componentCls}-item-icon`]: {\n width: inlineDotSize,\n height: inlineDotSize,\n marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n top: 0\n }\n }, titleStyle),\n [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n [`${componentCls}-item-title`]: {\n color: inlineTitleColor\n }\n }\n }\n }\n };\n};\nexport default genStepsInlineStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsLabelPlacementStyle = token => {\n const {\n componentCls,\n iconSize,\n lineHeight,\n iconSizeSM\n } = token;\n return {\n [`&${componentCls}-label-vertical`]: {\n [`${componentCls}-item`]: {\n overflow: 'visible',\n '&-tail': {\n marginInlineStart: token.calc(iconSize).div(2).add(token.controlHeightLG).equal(),\n padding: `0 ${unit(token.paddingLG)}`\n },\n '&-content': {\n display: 'block',\n width: token.calc(iconSize).div(2).add(token.controlHeightLG).mul(2).equal(),\n marginTop: token.marginSM,\n textAlign: 'center'\n },\n '&-icon': {\n display: 'inline-block',\n marginInlineStart: token.controlHeightLG\n },\n '&-title': {\n paddingInlineEnd: 0,\n paddingInlineStart: 0,\n '&::after': {\n display: 'none'\n }\n },\n '&-subtitle': {\n display: 'block',\n marginBottom: token.marginXXS,\n marginInlineStart: 0,\n lineHeight\n }\n },\n [`&${componentCls}-small:not(${componentCls}-dot)`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n marginInlineStart: token.calc(iconSize).sub(iconSizeSM).div(2).add(token.controlHeightLG).equal()\n }\n }\n }\n }\n };\n};\nexport default genStepsLabelPlacementStyle;","import { unit } from '@ant-design/cssinjs';\nimport { textEllipsis } from '../../style';\nconst genStepsNavStyle = token => {\n const {\n componentCls,\n navContentMaxWidth,\n navArrowColor,\n stepsNavActiveColor,\n motionDurationSlow\n } = token;\n return {\n [`&${componentCls}-navigation`]: {\n paddingTop: token.paddingSM,\n [`&${componentCls}-small`]: {\n [`${componentCls}-item`]: {\n '&-container': {\n marginInlineStart: token.calc(token.marginSM).mul(-1).equal()\n }\n }\n },\n [`${componentCls}-item`]: {\n overflow: 'visible',\n textAlign: 'center',\n '&-container': {\n display: 'inline-block',\n height: '100%',\n marginInlineStart: token.calc(token.margin).mul(-1).equal(),\n paddingBottom: token.paddingSM,\n textAlign: 'start',\n transition: `opacity ${motionDurationSlow}`,\n [`${componentCls}-item-content`]: {\n maxWidth: navContentMaxWidth\n },\n [`${componentCls}-item-title`]: Object.assign(Object.assign({\n maxWidth: '100%',\n paddingInlineEnd: 0\n }, textEllipsis), {\n '&::after': {\n display: 'none'\n }\n })\n },\n [`&:not(${componentCls}-item-active)`]: {\n [`${componentCls}-item-container[role='button']`]: {\n cursor: 'pointer',\n '&:hover': {\n opacity: 0.85\n }\n }\n },\n '&:last-child': {\n flex: 1,\n '&::after': {\n display: 'none'\n }\n },\n '&::after': {\n position: 'absolute',\n top: `calc(50% - ${unit(token.calc(token.paddingSM).div(2).equal())})`,\n insetInlineStart: '100%',\n display: 'inline-block',\n width: token.fontSizeIcon,\n height: token.fontSizeIcon,\n borderTop: `${unit(token.lineWidth)} ${token.lineType} ${navArrowColor}`,\n borderBottom: 'none',\n borderInlineStart: 'none',\n borderInlineEnd: `${unit(token.lineWidth)} ${token.lineType} ${navArrowColor}`,\n transform: 'translateY(-50%) translateX(-50%) rotate(45deg)',\n content: '\"\"'\n },\n '&::before': {\n position: 'absolute',\n bottom: 0,\n insetInlineStart: '50%',\n display: 'inline-block',\n width: 0,\n height: token.lineWidthBold,\n backgroundColor: stepsNavActiveColor,\n transition: `width ${motionDurationSlow}, inset-inline-start ${motionDurationSlow}`,\n transitionTimingFunction: 'ease-out',\n content: '\"\"'\n }\n },\n [`${componentCls}-item${componentCls}-item-active::before`]: {\n insetInlineStart: 0,\n width: '100%'\n }\n },\n [`&${componentCls}-navigation${componentCls}-vertical`]: {\n [`> ${componentCls}-item`]: {\n marginInlineEnd: 0,\n '&::before': {\n display: 'none'\n },\n [`&${componentCls}-item-active::before`]: {\n top: 0,\n insetInlineEnd: 0,\n insetInlineStart: 'unset',\n display: 'block',\n width: token.calc(token.lineWidth).mul(3).equal(),\n height: `calc(100% - ${unit(token.marginLG)})`\n },\n '&::after': {\n position: 'relative',\n insetInlineStart: '50%',\n display: 'block',\n width: token.calc(token.controlHeight).mul(0.25).equal(),\n height: token.calc(token.controlHeight).mul(0.25).equal(),\n marginBottom: token.marginXS,\n textAlign: 'center',\n transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'\n },\n '&:last-child': {\n '&::after': {\n display: 'none'\n }\n },\n [`> ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n visibility: 'hidden'\n }\n }\n },\n [`&${componentCls}-navigation${componentCls}-horizontal`]: {\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n visibility: 'hidden'\n }\n }\n };\n};\nexport default genStepsNavStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsProgressStyle = token => {\n const {\n antCls,\n componentCls,\n iconSize,\n iconSizeSM,\n processIconColor,\n marginXXS,\n lineWidthBold,\n lineWidth,\n paddingXXS\n } = token;\n const progressSize = token.calc(iconSize).add(token.calc(lineWidthBold).mul(4).equal()).equal();\n const progressSizeSM = token.calc(iconSizeSM).add(token.calc(token.lineWidth).mul(4).equal()).equal();\n return {\n [`&${componentCls}-with-progress`]: {\n [`${componentCls}-item`]: {\n paddingTop: paddingXXS,\n [`&-process ${componentCls}-item-container ${componentCls}-item-icon ${componentCls}-icon`]: {\n color: processIconColor\n }\n },\n [`&${componentCls}-vertical > ${componentCls}-item `]: {\n paddingInlineStart: paddingXXS,\n [`> ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: marginXXS,\n insetInlineStart: token.calc(iconSize).div(2).sub(lineWidth).add(paddingXXS).equal()\n }\n },\n [`&, &${componentCls}-small`]: {\n [`&${componentCls}-horizontal ${componentCls}-item:first-child`]: {\n paddingBottom: paddingXXS,\n paddingInlineStart: paddingXXS\n }\n },\n [`&${componentCls}-small${componentCls}-vertical > ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n insetInlineStart: token.calc(iconSizeSM).div(2).sub(lineWidth).add(paddingXXS).equal()\n },\n [`&${componentCls}-label-vertical ${componentCls}-item ${componentCls}-item-tail`]: {\n top: token.calc(iconSize).div(2).add(paddingXXS).equal()\n },\n [`${componentCls}-item-icon`]: {\n position: 'relative',\n [`${antCls}-progress`]: {\n position: 'absolute',\n insetInlineStart: '50%',\n top: '50%',\n transform: 'translate(-50%, -50%)',\n '&-inner': {\n width: `${unit(progressSize)} !important`,\n height: `${unit(progressSize)} !important`\n }\n }\n },\n // ============================== Small size ==============================\n [`&${componentCls}-small`]: {\n [`&${componentCls}-label-vertical ${componentCls}-item ${componentCls}-item-tail`]: {\n top: token.calc(iconSizeSM).div(2).add(paddingXXS).equal()\n },\n [`${componentCls}-item-icon ${antCls}-progress-inner`]: {\n width: `${unit(progressSizeSM)} !important`,\n height: `${unit(progressSizeSM)} !important`\n }\n }\n }\n };\n};\nexport default genStepsProgressStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsProgressDotStyle = token => {\n const {\n componentCls,\n descriptionMaxWidth,\n lineHeight,\n dotCurrentSize,\n dotSize,\n motionDurationSlow\n } = token;\n return {\n [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n [`${componentCls}-item`]: {\n '&-title': {\n lineHeight\n },\n '&-tail': {\n // Math.floor((token.size - token.lineWidth * 3) / 2)\n top: token.calc(token.dotSize).sub(token.calc(token.lineWidth).mul(3).equal()).div(2).equal(),\n width: '100%',\n marginTop: 0,\n marginBottom: 0,\n marginInline: `${unit(token.calc(descriptionMaxWidth).div(2).equal())} 0`,\n padding: 0,\n '&::after': {\n width: `calc(100% - ${unit(token.calc(token.marginSM).mul(2).equal())})`,\n height: token.calc(token.lineWidth).mul(3).equal(),\n marginInlineStart: token.marginSM\n }\n },\n '&-icon': {\n width: dotSize,\n height: dotSize,\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotSize).div(2).equal(),\n paddingInlineEnd: 0,\n lineHeight: unit(dotSize),\n background: 'transparent',\n border: 0,\n [`${componentCls}-icon-dot`]: {\n position: 'relative',\n float: 'left',\n width: '100%',\n height: '100%',\n borderRadius: 100,\n // very large number\n transition: `all ${motionDurationSlow}`,\n /* expand hover area */\n '&::after': {\n position: 'absolute',\n top: token.calc(token.marginSM).mul(-1).equal(),\n insetInlineStart: token.calc(dotSize).sub(token.calc(token.controlHeightLG).mul(1.5).equal()).div(2).equal(),\n width: token.calc(token.controlHeightLG).mul(1.5).equal(),\n height: token.controlHeight,\n background: 'transparent',\n content: '\"\"'\n }\n }\n },\n '&-content': {\n width: descriptionMaxWidth\n },\n [`&-process ${componentCls}-item-icon`]: {\n position: 'relative',\n top: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n width: dotCurrentSize,\n height: dotCurrentSize,\n lineHeight: unit(dotCurrentSize),\n background: 'none',\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotCurrentSize).div(2).equal()\n },\n [`&-process ${componentCls}-icon`]: {\n [`&:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n }\n }\n }\n },\n [`&${componentCls}-vertical${componentCls}-dot`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n marginInlineStart: 0,\n background: 'none'\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotCurrentSize).div(2).equal(),\n top: 0,\n insetInlineStart: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n marginInlineStart: 0\n },\n // https://github.com/ant-design/ant-design/issues/18354\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n insetInlineStart: 0,\n margin: 0,\n padding: `${unit(token.calc(dotSize).add(token.paddingXS).equal())} 0 ${unit(token.paddingXS)}`,\n '&::after': {\n marginInlineStart: token.calc(dotSize).sub(token.lineWidth).div(2).equal()\n }\n },\n [`&${componentCls}-small`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotCurrentSize).div(2).equal()\n },\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n }\n },\n [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n },\n [`${componentCls}-item-content`]: {\n width: 'inherit'\n }\n }\n };\n};\nexport default genStepsProgressDotStyle;","const genStepsRTLStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`&${componentCls}-rtl`]: {\n direction: 'rtl',\n [`${componentCls}-item`]: {\n '&-subtitle': {\n float: 'left'\n }\n },\n // nav\n [`&${componentCls}-navigation`]: {\n [`${componentCls}-item::after`]: {\n transform: 'rotate(-45deg)'\n }\n },\n // vertical\n [`&${componentCls}-vertical`]: {\n [`> ${componentCls}-item`]: {\n '&::after': {\n transform: 'rotate(225deg)'\n },\n [`${componentCls}-item-icon`]: {\n float: 'right'\n }\n }\n },\n // progress-dot\n [`&${componentCls}-dot`]: {\n [`${componentCls}-item-icon ${componentCls}-icon-dot, &${componentCls}-small ${componentCls}-item-icon ${componentCls}-icon-dot`]: {\n float: 'right'\n }\n }\n }\n };\n};\nexport default genStepsRTLStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsSmallStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n // stepsSmallIconMargin,\n fontSizeSM,\n fontSize,\n colorTextDescription\n } = token;\n return {\n [`&${componentCls}-small`]: {\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical) ${componentCls}-item`]: {\n paddingInlineStart: token.paddingSM,\n '&:first-child': {\n paddingInlineStart: 0\n }\n },\n [`${componentCls}-item-icon`]: {\n width: iconSizeSM,\n height: iconSizeSM,\n // margin: stepsSmallIconMargin,\n marginTop: 0,\n marginBottom: 0,\n marginInline: `0 ${unit(token.marginXS)}`,\n fontSize: fontSizeSM,\n lineHeight: unit(iconSizeSM),\n textAlign: 'center',\n borderRadius: iconSizeSM\n },\n [`${componentCls}-item-title`]: {\n paddingInlineEnd: token.paddingSM,\n fontSize,\n lineHeight: unit(iconSizeSM),\n '&::after': {\n top: token.calc(iconSizeSM).div(2).equal()\n }\n },\n [`${componentCls}-item-description`]: {\n color: colorTextDescription,\n fontSize\n },\n [`${componentCls}-item-tail`]: {\n top: token.calc(iconSizeSM).div(2).sub(token.paddingXXS).equal()\n },\n [`${componentCls}-item-custom ${componentCls}-item-icon`]: {\n width: 'inherit',\n height: 'inherit',\n lineHeight: 'inherit',\n background: 'none',\n border: 0,\n borderRadius: 0,\n [`> ${componentCls}-icon`]: {\n fontSize: iconSizeSM,\n lineHeight: unit(iconSizeSM),\n transform: 'none'\n }\n }\n }\n };\n};\nexport default genStepsSmallStyle;","import { unit } from '@ant-design/cssinjs';\nconst genStepsVerticalStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n iconSize\n } = token;\n return {\n [`&${componentCls}-vertical`]: {\n display: 'flex',\n flexDirection: 'column',\n [`> ${componentCls}-item`]: {\n display: 'block',\n flex: '1 0 auto',\n paddingInlineStart: 0,\n overflow: 'visible',\n [`${componentCls}-item-icon`]: {\n float: 'left',\n marginInlineEnd: token.margin\n },\n [`${componentCls}-item-content`]: {\n display: 'block',\n minHeight: token.calc(token.controlHeight).mul(1.5).equal(),\n overflow: 'hidden'\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSize)\n },\n [`${componentCls}-item-description`]: {\n paddingBottom: token.paddingSM\n }\n },\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSize).div(2).sub(token.lineWidth).equal(),\n width: token.lineWidth,\n height: '100%',\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSize).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`,\n '&::after': {\n width: token.lineWidth,\n height: '100%'\n }\n },\n [`> ${componentCls}-item:not(:last-child) > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n display: 'block'\n },\n [` > ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-content > ${componentCls}-item-title`]: {\n '&::after': {\n display: 'none'\n }\n },\n [`&${componentCls}-small ${componentCls}-item-container`]: {\n [`${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSizeSM).div(2).sub(token.lineWidth).equal(),\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSizeSM).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSizeSM)\n }\n }\n }\n };\n};\nexport default genStepsVerticalStyle;","import { unit } from '@ant-design/cssinjs';\nimport { genFocusOutline, resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genStepsCustomIconStyle from './custom-icon';\nimport genStepsHorizontalStyle from './horizontal';\nimport genStepsInlineStyle from './inline';\nimport genStepsLabelPlacementStyle from './label-placement';\nimport genStepsNavStyle from './nav';\nimport genStepsProgressStyle from './progress';\nimport genStepsProgressDotStyle from './progress-dot';\nimport genStepsRTLStyle from './rtl';\nimport genStepsSmallStyle from './small';\nimport genStepsVerticalStyle from './vertical';\nconst STEP_ITEM_STATUS_WAIT = 'wait';\nconst STEP_ITEM_STATUS_PROCESS = 'process';\nconst STEP_ITEM_STATUS_FINISH = 'finish';\nconst STEP_ITEM_STATUS_ERROR = 'error';\nconst genStepsItemStatusStyle = (status, token) => {\n const prefix = `${token.componentCls}-item`;\n const iconColorKey = `${status}IconColor`;\n const titleColorKey = `${status}TitleColor`;\n const descriptionColorKey = `${status}DescriptionColor`;\n const tailColorKey = `${status}TailColor`;\n const iconBgColorKey = `${status}IconBgColor`;\n const iconBorderColorKey = `${status}IconBorderColor`;\n const dotColorKey = `${status}DotColor`;\n return {\n [`${prefix}-${status} ${prefix}-icon`]: {\n backgroundColor: token[iconBgColorKey],\n borderColor: token[iconBorderColorKey],\n [`> ${token.componentCls}-icon`]: {\n color: token[iconColorKey],\n [`${token.componentCls}-icon-dot`]: {\n background: token[dotColorKey]\n }\n }\n },\n [`${prefix}-${status}${prefix}-custom ${prefix}-icon`]: {\n [`> ${token.componentCls}-icon`]: {\n color: token[dotColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-title`]: {\n color: token[titleColorKey],\n '&::after': {\n backgroundColor: token[tailColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-description`]: {\n color: token[descriptionColorKey]\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-tail::after`]: {\n backgroundColor: token[tailColorKey]\n }\n };\n};\nconst genStepsItemStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n const stepsItemCls = `${componentCls}-item`; // .ant-steps-item\n const stepItemIconCls = `${stepsItemCls}-icon`;\n return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({\n [stepsItemCls]: {\n position: 'relative',\n display: 'inline-block',\n flex: 1,\n overflow: 'hidden',\n verticalAlign: 'top',\n '&:last-child': {\n flex: 'none',\n [`> ${stepsItemCls}-container > ${stepsItemCls}-tail, > ${stepsItemCls}-container > ${stepsItemCls}-content > ${stepsItemCls}-title::after`]: {\n display: 'none'\n }\n }\n },\n [`${stepsItemCls}-container`]: {\n outline: 'none',\n [`&:focus-visible ${stepItemIconCls}`]: genFocusOutline(token)\n },\n [`${stepItemIconCls}, ${stepsItemCls}-content`]: {\n display: 'inline-block',\n verticalAlign: 'top'\n },\n [stepItemIconCls]: {\n width: token.iconSize,\n height: token.iconSize,\n marginTop: 0,\n marginBottom: 0,\n marginInlineStart: 0,\n marginInlineEnd: token.marginXS,\n fontSize: token.iconFontSize,\n fontFamily: token.fontFamily,\n lineHeight: unit(token.iconSize),\n textAlign: 'center',\n borderRadius: token.iconSize,\n border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n transition: `background-color ${motionDurationSlow}, border-color ${motionDurationSlow}`,\n [`${componentCls}-icon`]: {\n position: 'relative',\n top: token.iconTop,\n color: token.colorPrimary,\n lineHeight: 1\n }\n },\n [`${stepsItemCls}-tail`]: {\n position: 'absolute',\n top: token.calc(token.iconSize).div(2).equal(),\n insetInlineStart: 0,\n width: '100%',\n '&::after': {\n display: 'inline-block',\n width: '100%',\n height: token.lineWidth,\n background: token.colorSplit,\n borderRadius: token.lineWidth,\n transition: `background ${motionDurationSlow}`,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-title`]: {\n position: 'relative',\n display: 'inline-block',\n paddingInlineEnd: token.padding,\n color: token.colorText,\n fontSize: token.fontSizeLG,\n lineHeight: unit(token.titleLineHeight),\n '&::after': {\n position: 'absolute',\n top: token.calc(token.titleLineHeight).div(2).equal(),\n insetInlineStart: '100%',\n display: 'block',\n width: 9999,\n height: token.lineWidth,\n background: token.processTailColor,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-subtitle`]: {\n display: 'inline',\n marginInlineStart: token.marginXS,\n color: token.colorTextDescription,\n fontWeight: 'normal',\n fontSize: token.fontSize\n },\n [`${stepsItemCls}-description`]: {\n color: token.colorTextDescription,\n fontSize: token.fontSize\n }\n }, genStepsItemStatusStyle(STEP_ITEM_STATUS_WAIT, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_PROCESS, token)), {\n [`${stepsItemCls}-process > ${stepsItemCls}-container > ${stepsItemCls}-title`]: {\n fontWeight: token.fontWeightStrong\n }\n }), genStepsItemStatusStyle(STEP_ITEM_STATUS_FINISH, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_ERROR, token)), {\n [`${stepsItemCls}${componentCls}-next-error > ${componentCls}-item-title::after`]: {\n background: token.colorError\n },\n [`${stepsItemCls}-disabled`]: {\n cursor: 'not-allowed'\n }\n });\n};\n// ============================= Clickable ===========================\nconst genStepsClickableStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n return {\n [`& ${componentCls}-item`]: {\n [`&:not(${componentCls}-item-active)`]: {\n [`& > ${componentCls}-item-container[role='button']`]: {\n cursor: 'pointer',\n [`${componentCls}-item`]: {\n [`&-title, &-subtitle, &-description, &-icon ${componentCls}-icon`]: {\n transition: `color ${motionDurationSlow}`\n }\n },\n '&:hover': {\n [`${componentCls}-item`]: {\n '&-title, &-subtitle, &-description': {\n color: token.colorPrimary\n }\n }\n }\n },\n [`&:not(${componentCls}-item-process)`]: {\n [`& > ${componentCls}-item-container[role='button']:hover`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n borderColor: token.colorPrimary,\n [`${componentCls}-icon`]: {\n color: token.colorPrimary\n }\n }\n }\n }\n }\n }\n },\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical)`]: {\n [`${componentCls}-item`]: {\n paddingInlineStart: token.padding,\n whiteSpace: 'nowrap',\n '&:first-child': {\n paddingInlineStart: 0\n },\n [`&:last-child ${componentCls}-item-title`]: {\n paddingInlineEnd: 0\n },\n '&-tail': {\n display: 'none'\n },\n '&-description': {\n maxWidth: token.descriptionMaxWidth,\n whiteSpace: 'normal'\n }\n }\n }\n };\n};\nconst genStepsStyle = token => {\n const {\n componentCls\n } = token; // .ant-steps\n return {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n display: 'flex',\n width: '100%',\n fontSize: 0,\n textAlign: 'initial'\n }), genStepsItemStyle(token)), genStepsClickableStyle(token)), genStepsCustomIconStyle(token)), genStepsSmallStyle(token)), genStepsVerticalStyle(token)), genStepsHorizontalStyle(token)), genStepsLabelPlacementStyle(token)), genStepsProgressDotStyle(token)), genStepsNavStyle(token)), genStepsRTLStyle(token)), genStepsProgressStyle(token)), genStepsInlineStyle(token))\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n titleLineHeight: token.controlHeight,\n customIconSize: token.controlHeight,\n customIconTop: 0,\n customIconFontSize: token.controlHeightSM,\n iconSize: token.controlHeight,\n iconTop: -0.5,\n // magic for ui experience\n iconFontSize: token.fontSize,\n iconSizeSM: token.fontSizeHeading3,\n dotSize: token.controlHeight / 4,\n dotCurrentSize: token.controlHeightLG / 4,\n navArrowColor: token.colorTextDisabled,\n navContentMaxWidth: 'unset',\n descriptionMaxWidth: 140,\n waitIconColor: token.wireframe ? token.colorTextDisabled : token.colorTextLabel,\n waitIconBgColor: token.wireframe ? token.colorBgContainer : token.colorFillContent,\n waitIconBorderColor: token.wireframe ? token.colorTextDisabled : 'transparent',\n finishIconBgColor: token.wireframe ? token.colorBgContainer : token.controlItemBgActive,\n finishIconBorderColor: token.wireframe ? token.colorPrimary : token.controlItemBgActive\n});\nexport default genStyleHooks('Steps', token => {\n const {\n colorTextDisabled,\n controlHeightLG,\n colorTextLightSolid,\n colorText,\n colorPrimary,\n colorTextDescription,\n colorTextQuaternary,\n colorError,\n colorBorderSecondary,\n colorSplit\n } = token;\n const stepsToken = mergeToken(token, {\n // Steps component less variable\n processIconColor: colorTextLightSolid,\n processTitleColor: colorText,\n processDescriptionColor: colorText,\n processIconBgColor: colorPrimary,\n processIconBorderColor: colorPrimary,\n processDotColor: colorPrimary,\n processTailColor: colorSplit,\n waitTitleColor: colorTextDescription,\n waitDescriptionColor: colorTextDescription,\n waitTailColor: colorSplit,\n waitDotColor: colorTextDisabled,\n finishIconColor: colorPrimary,\n finishTitleColor: colorText,\n finishDescriptionColor: colorTextDescription,\n finishTailColor: colorPrimary,\n finishDotColor: colorPrimary,\n errorIconColor: colorTextLightSolid,\n errorTitleColor: colorError,\n errorDescriptionColor: colorError,\n errorTailColor: colorSplit,\n errorIconBgColor: colorError,\n errorIconBorderColor: colorError,\n errorDotColor: colorError,\n stepsNavActiveColor: colorPrimary,\n stepsProgressSize: controlHeightLG,\n // Steps inline variable\n inlineDotSize: 6,\n inlineTitleColor: colorTextQuaternary,\n inlineTailColor: colorBorderSecondary\n });\n return genStepsStyle(stepsToken);\n}, prepareComponentToken);","import * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { devUseWarning } from '../_util/warning';\nfunction filter(items) {\n return items.filter(item => item);\n}\nfunction useLegacyItems(items, children) {\n if (process.env.NODE_ENV === 'test') {\n const warning = devUseWarning('Menu');\n warning.deprecated(!children, 'Step', 'items');\n }\n if (items) {\n return items;\n }\n const childrenItems = toArray(children).map(node => {\n if (/*#__PURE__*/React.isValidElement(node)) {\n const {\n props\n } = node;\n const item = Object.assign({}, props);\n return item;\n }\n return null;\n });\n return filter(childrenItems);\n}\nexport default useLegacyItems;","\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport RcSteps from 'rc-steps';\nimport { useComponentConfig } from '../config-provider/context';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Progress from '../progress';\nimport Tooltip from '../tooltip';\nimport useStyle from './style';\nimport useLegacyItems from './useLegacyItems';\nconst Steps = props => {\n const {\n percent,\n size: customizeSize,\n className,\n rootClassName,\n direction,\n items,\n responsive = true,\n current = 0,\n children,\n style\n } = props,\n restProps = __rest(props, [\"percent\", \"size\", \"className\", \"rootClassName\", \"direction\", \"items\", \"responsive\", \"current\", \"children\", \"style\"]);\n const {\n xs\n } = useBreakpoint(responsive);\n const {\n getPrefixCls,\n direction: rtlDirection,\n className: contextClassName,\n style: contextStyle\n } = useComponentConfig('steps');\n const realDirectionValue = React.useMemo(() => responsive && xs ? 'vertical' : direction, [responsive, xs, direction]);\n const size = useSize(customizeSize);\n const prefixCls = getPrefixCls('steps', props.prefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const isInline = props.type === 'inline';\n const iconPrefix = getPrefixCls('', props.iconPrefix);\n const mergedItems = useLegacyItems(items, children);\n const mergedPercent = isInline ? undefined : percent;\n const mergedStyle = Object.assign(Object.assign({}, contextStyle), style);\n const stepsClassName = classNames(contextClassName, {\n [`${prefixCls}-rtl`]: rtlDirection === 'rtl',\n [`${prefixCls}-with-progress`]: mergedPercent !== undefined\n }, className, rootClassName, hashId, cssVarCls);\n const icons = {\n finish: /*#__PURE__*/React.createElement(CheckOutlined, {\n className: `${prefixCls}-finish-icon`\n }),\n error: /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${prefixCls}-error-icon`\n })\n };\n const stepIconRender = ({\n node,\n status\n }) => {\n if (status === 'process' && mergedPercent !== undefined) {\n // currently it's hard-coded, since we can't easily read the actually width of icon\n const progressWidth = size === 'small' ? 32 : 40;\n // iconWithProgress\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-progress-icon`\n }, /*#__PURE__*/React.createElement(Progress, {\n type: \"circle\",\n percent: mergedPercent,\n size: progressWidth,\n strokeWidth: 4,\n format: () => null\n }), node);\n }\n return node;\n };\n const itemRender = (item, stepItem) => item.description ? /*#__PURE__*/React.createElement(Tooltip, {\n title: item.description\n }, stepItem) : stepItem;\n return wrapCSSVar(/*#__PURE__*/React.createElement(RcSteps, Object.assign({\n icons: icons\n }, restProps, {\n style: mergedStyle,\n current: current,\n size: size,\n items: mergedItems,\n itemRender: isInline ? itemRender : undefined,\n stepIcon: stepIconRender,\n direction: realDirectionValue,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n className: stepsClassName\n })));\n};\nSteps.Step = RcSteps.Step;\nif (process.env.NODE_ENV !== 'production') {\n Steps.displayName = 'Steps';\n}\nexport default Steps;","// This icon file is generated automatically.\nvar ThunderboltOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z\" } }] }, \"name\": \"thunderbolt\", \"theme\": \"outlined\" };\nexport default ThunderboltOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ThunderboltOutlinedSvg from \"@ant-design/icons-svg/es/asn/ThunderboltOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ThunderboltOutlined = function ThunderboltOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ThunderboltOutlinedSvg\n }));\n};\n\n/**![thunderbolt](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg0OCAzNTkuM0g2MjcuN0w4MjUuOCAxMDljNC4xLTUuMy40LTEzLTYuMy0xM0g0MzZjLTIuOCAwLTUuNSAxLjUtNi45IDRMMTcwIDU0Ny41Yy0zLjEgNS4zLjcgMTIgNi45IDEyaDE3NC40bC04OS40IDM1Ny42Yy0xLjkgNy44IDcuNSAxMy4zIDEzLjMgNy43TDg1My41IDM3M2M1LjItNC45IDEuNy0xMy43LTUuNS0xMy43ek0zNzguMiA3MzIuNWw2MC4zLTI0MUgyODEuMWwxODkuNi0zMjcuNGgyMjQuNkw0ODcgNDI3LjRoMjExTDM3OC4yIDczMi41eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ThunderboltOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ThunderboltOutlined';\n}\nexport default RefIcon;"],"names":["_excluded","isString","str","Step","props","_classNames2","className","prefixCls","style","active","status","iconPrefix","icon","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render","restProps","_objectWithoutProperties","clickable","accessibilityProps","e","which","KeyCode","renderIconNode","_classNames","iconNode","iconClassName","classNames","_defineProperty","iconDot","React.createElement","mergedStatus","classString","stepItemStyle","_objectSpread","stepNode","_extends","Steps","_props$prefixCls","_props$style","_props$direction","direction","_props$type","type","_props$labelPlacement","labelPlacement","_props$iconPrefix","_props$status","size","_props$current","current","_props$progressDot","_props$initial","initial","onChange","itemRender","_props$items","items","isNav","isInline","mergedProgressDot","mergedDirection","mergedSize","adjustedLabelPlacement","next","renderStep","item","index","mergedItem","stepItem","React","genStepsCustomIconStyle","token","componentCls","customIconTop","customIconSize","customIconFontSize","unit","genHorizontalStyle","stepsItemCls","genStepsInlineStyle","inlineDotSize","inlineTitleColor","inlineTailColor","containerPaddingTop","titleStyle","genStepsLabelPlacementStyle","iconSize","lineHeight","iconSizeSM","genStepsNavStyle","navContentMaxWidth","navArrowColor","stepsNavActiveColor","motionDurationSlow","textEllipsis","genStepsProgressStyle","antCls","processIconColor","marginXXS","lineWidthBold","lineWidth","paddingXXS","progressSize","progressSizeSM","genStepsProgressDotStyle","descriptionMaxWidth","dotCurrentSize","dotSize","genStepsRTLStyle","genStepsSmallStyle","fontSizeSM","fontSize","colorTextDescription","genStepsVerticalStyle","STEP_ITEM_STATUS_WAIT","STEP_ITEM_STATUS_PROCESS","STEP_ITEM_STATUS_FINISH","STEP_ITEM_STATUS_ERROR","genStepsItemStatusStyle","prefix","iconColorKey","titleColorKey","descriptionColorKey","tailColorKey","iconBgColorKey","iconBorderColorKey","dotColorKey","genStepsItemStyle","stepItemIconCls","genFocusOutline","genStepsClickableStyle","genStepsStyle","resetComponent","genStepsHorizontalStyle","prepareComponentToken","useStyle","genStyleHooks","colorTextDisabled","controlHeightLG","colorTextLightSolid","colorText","colorPrimary","colorTextQuaternary","colorError","colorBorderSecondary","colorSplit","stepsToken","mergeToken","filter","useLegacyItems","children","childrenItems","toArray","node","React.isValidElement","__rest","s","p","i","percent","customizeSize","rootClassName","responsive","xs","useBreakpoint","getPrefixCls","rtlDirection","contextClassName","contextStyle","useComponentConfig","realDirectionValue","React.useMemo","useSize","wrapCSSVar","hashId","cssVarCls","mergedItems","mergedPercent","mergedStyle","stepsClassName","CheckOutlined","CloseOutlined","stepIconRender","progressWidth","Progress","Tooltip","RcSteps","ThunderboltOutlined","ref","AntdIcon","ThunderboltOutlinedSvg","RefIcon","React.forwardRef"],"mappings":"0RAIA,IAAIA,GAAY,CAAC,YAAa,YAAa,QAAS,SAAU,SAAU,aAAc,OAAQ,eAAgB,aAAc,WAAY,cAAe,QAAS,WAAY,cAAe,WAAY,cAAe,QAAS,YAAa,cAAe,UAAW,QAAQ,EAK9Q,SAASC,EAASC,EAAK,CACrB,OAAO,OAAOA,GAAQ,QACxB,CACA,SAASC,EAAKC,EAAO,CACnB,IAAIC,EACAC,EAAYF,EAAM,UACpBG,EAAYH,EAAM,UAClBI,EAAQJ,EAAM,MACdK,EAASL,EAAM,OACfM,EAASN,EAAM,OACfO,EAAaP,EAAM,WACnBQ,EAAOR,EAAM,KACEA,EAAM,aACzB,IAAIS,EAAaT,EAAM,WACnBU,EAAWV,EAAM,SACjBW,EAAcX,EAAM,YACpBY,EAAQZ,EAAM,MACda,EAAWb,EAAM,SACjB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,CAAI,CACV,CACA,OAAOA,CACT,EACMnG,EAAa,CAACW,EAAMG,IAAaH,EAAK,YAA2BpC,EAAAA,cAAoB4J,GAAS,CAClG,MAAOxH,EAAK,WAAA,EACXG,CAAQ,EAAIA,EACf,OAAOyG,EAAwBhJ,EAAAA,cAAoB6J,EAAS,OAAO,OAAO,CACxE,MAAAhL,CAAA,EACCK,EAAW,CACZ,MAAOmK,EACP,QAAAjI,EACA,KAAAF,EACA,MAAOiI,EACP,WAAYtH,EAAWJ,EAAa,OACpC,SAAUgI,EACV,UAAWZ,EACX,UAAA9K,EACA,WAAAI,EACA,UAAWmL,CAAA,CACZ,CAAC,CAAC,CACL,EACA/I,GAAM,KAAOsJ,EAAQ,KCvGrB,IAAIC,GAAsB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CAAE,QAAW,gBAAiB,UAAa,OAAO,EAAI,SAAY,CAAC,CAAE,IAAO,OAAQ,MAAS,CAAE,EAAK,kQAAkQ,EAAI,CAAC,EAAI,KAAQ,cAAe,MAAS,UAAU,ECMldA,GAAsB,SAA6BlM,EAAOmM,EAAK,CACjE,uBAAwCC,GAAU1J,EAAS,CAAA,EAAI1C,EAAO,CACpE,IAAAmM,EACA,KAAME,EAAA,CACP,CAAC,CACJ,EAGIC,GAAuBC,EAAAA,WAAiBL,EAAmB","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}
@@ -1,3 +0,0 @@
1
- import{a1 as C,r as s,C as ne,m as R,ad as Le,t as Ue,v as Re,z as y,y as He,ab as ke,H as We,a8 as le,ag as Ae,S as pe,b as _e,ah as Ge,j as n,ai as se,V as A,B as H,Y as ee,c as de,s as z,aj as V}from"./index-BFgUdwJv.js";import{T as Fe}from"./index-pT0W4KjK.js";import{C as te,u as Ve,r as ce,R as ue,a as X,b as Xe}from"./row-FRqVdQDX.js";import{I as he}from"./index-Dycn6xoz.js";import{m as qe,P as Je,T as k}from"./index-lwTtspUb.js";import{R as me}from"./DeleteOutlined-u-P2SpoK.js";import{D as ge}from"./index-CN3FylAF.js";import{R as Ke}from"./CheckCircleOutlined-Can0-7ew.js";import{R as Ye}from"./CloseCircleOutlined-DfRmL2eG.js";const re=C.createContext({});re.Consumer;var we=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r};const Qe=e=>{var{prefixCls:t,className:r,avatar:o,title:i,description:p}=e,d=we(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:w}=s.useContext(ne),m=w("list",t),x=R(`${m}-item-meta`,r),f=C.createElement("div",{className:`${m}-item-meta-content`},i&&C.createElement("h4",{className:`${m}-item-meta-title`},i),p&&C.createElement("div",{className:`${m}-item-meta-description`},p));return C.createElement("div",Object.assign({},d,{className:x}),o&&C.createElement("div",{className:`${m}-item-meta-avatar`},o),(i||p)&&f)},Ze=C.forwardRef((e,t)=>{const{prefixCls:r,children:o,actions:i,extra:p,styles:d,className:w,classNames:m,colStyle:x}=e,f=we(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:D,itemLayout:$}=s.useContext(re),{getPrefixCls:N,list:S}=s.useContext(ne),P=c=>{var u,v;return R((v=(u=S?.item)===null||u===void 0?void 0:u.classNames)===null||v===void 0?void 0:v[c],m?.[c])},T=c=>{var u,v;return Object.assign(Object.assign({},(v=(u=S?.item)===null||u===void 0?void 0:u.styles)===null||v===void 0?void 0:v[c]),d?.[c])},L=()=>{let c=!1;return s.Children.forEach(o,u=>{typeof u=="string"&&(c=!0)}),c&&s.Children.count(o)>1},E=()=>$==="vertical"?!!p:!L(),b=N("list",r),a=i&&i.length>0&&C.createElement("ul",{className:R(`${b}-item-action`,P("actions")),key:"actions",style:T("actions")},i.map((c,u)=>C.createElement("li",{key:`${b}-item-action-${u}`},c,u!==i.length-1&&C.createElement("em",{className:`${b}-item-action-split`})))),l=D?"div":"li",g=C.createElement(l,Object.assign({},f,D?{}:{ref:t},{className:R(`${b}-item`,{[`${b}-item-no-flex`]:!E()},w)}),$==="vertical"&&p?[C.createElement("div",{className:`${b}-item-main`,key:"content"},o,a),C.createElement("div",{className:R(`${b}-item-extra`,P("extra")),key:"extra",style:T("extra")},p)]:[o,a,Le(p,{key:"extra"})]);return D?C.createElement(te,{ref:t,flex:1,style:x},g):g}),xe=Ze;xe.Meta=Qe;const et=e=>{const{listBorderedCls:t,componentCls:r,paddingLG:o,margin:i,itemPaddingSM:p,itemPaddingLG:d,marginLG:w,borderRadiusLG:m}=e,x=y(e.calc(m).sub(e.lineWidth).equal());return{[t]:{border:`${y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:m,[`${r}-header`]:{borderRadius:`${x} ${x} 0 0`},[`${r}-footer`]:{borderRadius:`0 0 ${x} ${x}`},[`${r}-header,${r}-footer,${r}-item`]:{paddingInline:o},[`${r}-pagination`]:{margin:`${y(i)} ${y(w)}`}},[`${t}${r}-sm`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:p}},[`${t}${r}-lg`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:d}}}},tt=e=>{const{componentCls:t,screenSM:r,screenMD:o,marginLG:i,marginSM:p,margin:d}=e;return{[`@media screen and (max-width:${o}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${r}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:p}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${y(d)}`}}}}}},nt=e=>{const{componentCls:t,antCls:r,controlHeight:o,minHeight:i,paddingSM:p,marginLG:d,padding:w,itemPadding:m,colorPrimary:x,itemPaddingSM:f,itemPaddingLG:D,paddingXS:$,margin:N,colorText:S,colorTextDescription:P,motionDurationSlow:T,lineWidth:L,headerBg:E,footerBg:b,emptyTextPadding:a,metaMarginBottom:l,avatarMarginRight:g,titleMarginBottom:c,descriptionFontSize:u}=e;return{[t]:Object.assign(Object.assign({},He(e)),{position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:"none"},[`${t}-header`]:{background:E},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:p},[`${t}-pagination`]:{marginBlockStart:d,[`${r}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:i,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:m,color:S,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:g},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:S},[`${t}-item-meta-title`]:{margin:`0 0 ${y(e.marginXXS)} 0`,color:S,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:S,transition:`all ${T}`,"&:hover":{color:x}}},[`${t}-item-meta-description`]:{color:P,fontSize:u,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${y($)}`,color:P,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:L,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${y(w)} 0`,color:P,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:a,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${r}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:N,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:d},[`${t}-item-meta`]:{marginBlockEnd:l,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:c,color:S,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:w,marginInlineStart:"auto","> li":{padding:`0 ${y(w)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:o},[`${t}-split${t}-something-after-last-item ${r}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:D},[`${t}-sm ${t}-item`]:{padding:f},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},rt=e=>({contentWidth:220,itemPadding:`${y(e.paddingContentVertical)} 0`,itemPaddingSM:`${y(e.paddingContentVerticalSM)} ${y(e.paddingContentHorizontal)}`,itemPaddingLG:`${y(e.paddingContentVerticalLG)} ${y(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),ot=Ue("List",e=>{const t=Re(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[nt(t),et(t),tt(t)]},rt);var at=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r};function it(e,t){const{pagination:r=!1,prefixCls:o,bordered:i=!1,split:p=!0,className:d,rootClassName:w,style:m,children:x,itemLayout:f,loadMore:D,grid:$,dataSource:N=[],size:S,header:P,footer:T,loading:L=!1,rowKey:E,renderItem:b,locale:a}=e,l=at(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),g=r&&typeof r=="object"?r:{},[c,u]=s.useState(g.defaultCurrent||1),[v,W]=s.useState(g.defaultPageSize||10),{getPrefixCls:fe,direction:$e,className:ve,style:ye}=ke("list"),{renderEmpty:J}=s.useContext(ne),Se={current:1,total:0,position:"bottom"},oe=h=>(I,M)=>{var Z;u(I),W(M),r&&((Z=r?.[h])===null||Z===void 0||Z.call(r,I,M))},je=oe("onChange"),be=oe("onShowSizeChange"),Ce=(h,I)=>{if(!b)return null;let M;return typeof E=="function"?M=E(h):E?M=h[E]:M=h.key,M||(M=`list-item-${I}`),s.createElement(s.Fragment,{key:M},b(h,I))},De=!!(D||r||T),j=fe("list",o),[Ee,Ie,ze]=ot(j);let U=L;typeof U=="boolean"&&(U={spinning:U});const K=!!U?.spinning,Pe=We(S);let _="";switch(Pe){case"large":_="lg";break;case"small":_="sm";break}const Be=R(j,{[`${j}-vertical`]:f==="vertical",[`${j}-${_}`]:_,[`${j}-split`]:p,[`${j}-bordered`]:i,[`${j}-loading`]:K,[`${j}-grid`]:!!$,[`${j}-something-after-last-item`]:De,[`${j}-rtl`]:$e==="rtl"},ve,d,w,Ie,ze),B=qe(Se,{total:N.length,current:c,pageSize:v},r||{}),Ne=Math.ceil(B.total/B.pageSize);B.current=Math.min(B.current,Ne);const ae=r&&s.createElement("div",{className:R(`${j}-pagination`)},s.createElement(Je,Object.assign({align:"end"},B,{onChange:je,onShowSizeChange:be})));let Y=le(N);r&&N.length>(B.current-1)*B.pageSize&&(Y=le(N).splice((B.current-1)*B.pageSize,B.pageSize));const Te=Object.keys($||{}).some(h=>["xs","sm","md","lg","xl","xxl"].includes(h)),ie=Ve(Te),G=s.useMemo(()=>{for(let h=0;h<ce.length;h+=1){const I=ce[h];if(ie[I])return I}},[ie]),Oe=s.useMemo(()=>{if(!$)return;const h=G&&$[G]?$[G]:$.column;if(h)return{width:`${100/h}%`,maxWidth:`${100/h}%`}},[JSON.stringify($),G]);let Q=K&&s.createElement("div",{style:{minHeight:53}});if(Y.length>0){const h=Y.map(Ce);Q=$?s.createElement(ue,{gutter:$.gutter},s.Children.map(h,I=>s.createElement("div",{key:I?.key,style:Oe},I))):s.createElement("ul",{className:`${j}-items`},h)}else!x&&!K&&(Q=s.createElement("div",{className:`${j}-empty-text`},a?.emptyText||J?.("List")||s.createElement(Ae,{componentName:"List"})));const F=B.position,Me=s.useMemo(()=>({grid:$,itemLayout:f}),[JSON.stringify($),f]);return Ee(s.createElement(re.Provider,{value:Me},s.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},ye),m),className:Be},l),(F==="top"||F==="both")&&ae,P&&s.createElement("div",{className:`${j}-header`},P),s.createElement(pe,Object.assign({},U),Q,x),T&&s.createElement("div",{className:`${j}-footer`},T),D||(F==="bottom"||F==="both")&&ae)))}const lt=s.forwardRef(it),q=lt;q.Item=xe;const{Title:st,Text:O,Paragraph:dt}=Fe,{TextArea:ct}=he,vt=()=>{const{t:e}=_e(),t=Ge(),[r,o]=s.useState(""),[i,p]=s.useState(""),[d,w]=s.useState([]),[m,x]=s.useState(!1),[f,D]=s.useState(!1),$=async()=>{if(!r.trim()){z.warning(e("download.urlDownload.enterUrl"));return}x(!0);try{const l=(await V.parseUrl(r.trim())).data.data;if(l?.success)z.success(e("download.urlDownload.parseSuccess")),w([{url:r.trim(),workId:l.workId,workType:l.workType,valid:!0}]);else{const g=l?.message||e("download.urlDownload.invalidUrl");z.error(g),w([{url:r.trim(),valid:!1,error:g}])}}catch(a){const l=a,g=l.response?.data?.data?.message||l.response?.data?.message||l.message||e("download.urlDownload.parseError");z.error(g),w([{url:r.trim(),valid:!1,error:g}])}finally{x(!1)}},N=async()=>{const a=i.split(`
2
- `).map(c=>c.trim()).filter(c=>c.length>0);if(a.length===0){z.warning(e("download.urlDownload.enterUrls"));return}x(!0);const l=[];for(const c of a)try{const v=(await V.parseUrl(c)).data.data;if(v?.success)l.push({url:c,workId:v.workId,workType:v.workType,valid:!0});else{const W=v?.message||e("download.urlDownload.invalidUrl");l.push({url:c,valid:!1,error:W})}}catch(u){const v=u,W=v.response?.data?.data?.message||v.response?.data?.message||v.message||e("download.urlDownload.parseError");l.push({url:c,valid:!1,error:W})}w(l),x(!1);const g=l.filter(c=>c.valid).length;g>0?z.success(e("download.urlDownload.parsedCount",{count:g,total:a.length})):z.error(e("download.urlDownload.noValidUrls"))},S=async()=>{if(!r.trim()){z.warning(e("download.urlDownload.enterUrl"));return}D(!0);try{await V.downloadFromUrl(r.trim()),z.success(e("download.urlDownload.downloadStarted")),setTimeout(()=>{t("/download")},1e3)}catch(a){const l=a;z.error(l.response?.data?.message||l.message||e("download.urlDownload.downloadError"))}finally{D(!1)}},P=async()=>{const a=d.filter(l=>l.valid).map(l=>l.url);if(a.length===0){z.warning(e("download.urlDownload.noValidUrls"));return}D(!0);try{const g=(await V.downloadFromBatchUrls(a)).data.data;z.success(e("download.urlDownload.batchDownloadStarted",{count:g?.validUrls||a.length})),setTimeout(()=>{t("/download")},1e3)}catch(l){const g=l;z.error(g.response?.data?.message||g.message||e("download.urlDownload.downloadError"))}finally{D(!1)}},T=a=>{w(l=>l.filter((g,c)=>c!==a))},L=()=>{o(""),p(""),w([])},E=d.filter(a=>a.valid).length,b=d.length-E;return n.jsxs("div",{style:{padding:"24px"},children:[n.jsxs(st,{level:2,children:[n.jsx(se,{})," ",e("download.urlDownload.title")]}),n.jsx(dt,{type:"secondary",children:e("download.urlDownload.description")}),n.jsxs(ue,{gutter:[24,24],children:[n.jsx(te,{xs:24,lg:12,children:n.jsx(X,{title:e("download.urlDownload.singleDownload"),extra:n.jsx(H,{type:"primary",icon:n.jsx(de,{}),onClick:S,loading:f,disabled:m,children:e("download.urlDownload.download")}),children:n.jsxs(A,{direction:"vertical",style:{width:"100%"},size:"large",children:[n.jsxs("div",{children:[n.jsx(O,{strong:!0,children:e("download.urlDownload.inputLabel")}),n.jsx(he,{placeholder:e("download.urlDownload.placeholder"),value:r,onChange:a=>o(a.target.value),onPressEnter:S,size:"large",prefix:n.jsx(se,{}),disabled:m||f})]}),n.jsx(H,{block:!0,onClick:$,loading:m,disabled:f,children:e("download.urlDownload.parseUrl")}),d.length===1&&d[0]&&n.jsx(ee,{message:d[0].valid?e("download.urlDownload.validUrl"):e("download.urlDownload.invalidUrl"),description:d[0].valid?n.jsxs("div",{children:[n.jsxs(O,{children:[e("download.urlDownload.workId"),": ",n.jsx(k,{children:d[0].workId||""})]}),n.jsx("br",{}),n.jsxs(O,{children:[e("download.urlDownload.workType"),":"," ",n.jsx(k,{color:d[0].workType==="illustration"?"blue":"green",children:e(`download.urlDownload.${d[0].workType||"illustration"}`)})]})]}):n.jsx("div",{children:n.jsx(O,{type:"danger",style:{whiteSpace:"pre-line"},children:d[0].error||""})}),type:d[0].valid?"success":"error",showIcon:!0})]})})}),n.jsx(te,{xs:24,lg:12,children:n.jsx(X,{title:e("download.urlDownload.batchDownload"),extra:n.jsxs(A,{children:[n.jsx(H,{icon:n.jsx(me,{}),onClick:L,disabled:m||f,children:e("download.urlDownload.clear")}),n.jsxs(H,{type:"primary",icon:n.jsx(de,{}),onClick:P,loading:f,disabled:m||E===0,children:[e("download.urlDownload.downloadAll")," (",E,")"]})]}),children:n.jsxs(A,{direction:"vertical",style:{width:"100%"},size:"large",children:[n.jsxs("div",{children:[n.jsx(O,{strong:!0,children:e("download.urlDownload.batchInputLabel")}),n.jsx(ct,{placeholder:e("download.urlDownload.batchPlaceholder"),value:i,onChange:a=>p(a.target.value),rows:6,disabled:m||f})]}),n.jsx(H,{block:!0,icon:n.jsx(Xe,{}),onClick:N,loading:m,disabled:f,children:e("download.urlDownload.parseUrls")}),d.length>1&&n.jsx(ee,{message:e("download.urlDownload.parseResult"),description:n.jsxs("div",{children:[n.jsxs(O,{children:[e("download.urlDownload.validUrls"),": ",n.jsx(k,{color:"success",children:E})]}),n.jsxs(O,{style:{marginLeft:16},children:[e("download.urlDownload.invalidUrls"),": ",n.jsx(k,{color:"error",children:b})]})]}),type:"info",showIcon:!0})]})})})]}),d.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(ge,{}),n.jsx(X,{title:e("download.urlDownload.urlList"),children:n.jsx(pe,{spinning:m,children:n.jsx(q,{dataSource:d,renderItem:(a,l)=>n.jsx(q.Item,{actions:[n.jsx(H,{type:"text",danger:!0,icon:n.jsx(me,{}),onClick:()=>T(l),disabled:m||f,children:e("download.urlDownload.remove")})],children:n.jsx(q.Item.Meta,{avatar:a.valid?n.jsx(Ke,{style:{fontSize:24,color:"#52c41a"}}):n.jsx(Ye,{style:{fontSize:24,color:"#ff4d4f"}}),title:n.jsxs(A,{children:[n.jsx(O,{ellipsis:!0,style:{maxWidth:400},children:a.url}),a.valid&&n.jsxs(n.Fragment,{children:[n.jsx(k,{children:a.workId}),n.jsx(k,{color:a.workType==="illustration"?"blue":"green",children:e(`download.urlDownload.${a.workType}`)})]})]}),description:!a.valid&&n.jsx(O,{type:"danger",children:a.error})})})})})})]}),n.jsx(ge,{}),n.jsx(X,{title:e("download.urlDownload.helpTitle"),children:n.jsxs(A,{direction:"vertical",style:{width:"100%"},children:[n.jsxs("div",{children:[n.jsx(O,{strong:!0,children:e("download.urlDownload.supportedFormats")}),n.jsxs("ul",{children:[n.jsx("li",{children:n.jsx("code",{children:"https://www.pixiv.net/artworks/123456"})}),n.jsx("li",{children:n.jsx("code",{children:"https://www.pixiv.net/en/artworks/123456"})}),n.jsx("li",{children:n.jsx("code",{children:"https://www.pixiv.net/member_illust.php?mode=medium&illust_id=123456"})}),n.jsx("li",{children:n.jsx("code",{children:"https://www.pixiv.net/novel/show.php?id=123456"})}),n.jsxs("li",{children:[n.jsx("code",{children:"https://pixiv.net/i/123456"})," (短链接格式)"]}),n.jsxs("li",{children:[n.jsx("code",{children:"https://www.pixiv.net/users/123456/artworks/789012"})," (用户作品页面)"]}),n.jsxs("li",{children:[n.jsx("code",{children:"123456"})," ",e("download.urlDownload.directId")]})]})]}),n.jsx(ee,{message:e("download.urlDownload.tip"),description:e("download.urlDownload.tipDescription"),type:"info",showIcon:!0})]})})]})};export{vt as UrlDownload,vt as default};
3
- //# sourceMappingURL=UrlDownload-ClkUOXN_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UrlDownload-ClkUOXN_.js","sources":["../../node_modules/antd/es/list/context.js","../../node_modules/antd/es/list/Item.js","../../node_modules/antd/es/list/style/index.js","../../node_modules/antd/es/list/index.js","../../src/pages/UrlDownload.tsx"],"sourcesContent":["import React from 'react';\nexport const ListContext = /*#__PURE__*/React.createContext({});\nexport const ListConsumer = ListContext.Consumer;","\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { Children, useContext } from 'react';\nimport classNames from 'classnames';\nimport { cloneElement } from '../_util/reactNode';\nimport { ConfigContext } from '../config-provider';\nimport { Col } from '../grid';\nimport { ListContext } from './context';\nexport const Meta = _a => {\n var {\n prefixCls: customizePrefixCls,\n className,\n avatar,\n title,\n description\n } = _a,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n const {\n getPrefixCls\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const classString = classNames(`${prefixCls}-item-meta`, className);\n const content = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-content`\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: `${prefixCls}-item-meta-title`\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-description`\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-avatar`\n }, avatar), (title || description) && content);\n};\nconst InternalItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n children,\n actions,\n extra,\n styles,\n className,\n classNames: customizeClassNames,\n colStyle\n } = props,\n others = __rest(props, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"styles\", \"className\", \"classNames\", \"colStyle\"]);\n const {\n grid,\n itemLayout\n } = useContext(ListContext);\n const {\n getPrefixCls,\n list\n } = useContext(ConfigContext);\n const moduleClass = moduleName => {\n var _a, _b;\n return classNames((_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.classNames) === null || _b === void 0 ? void 0 : _b[moduleName], customizeClassNames === null || customizeClassNames === void 0 ? void 0 : customizeClassNames[moduleName]);\n };\n const moduleStyle = moduleName => {\n var _a, _b;\n return Object.assign(Object.assign({}, (_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.styles) === null || _b === void 0 ? void 0 : _b[moduleName]), styles === null || styles === void 0 ? void 0 : styles[moduleName]);\n };\n const isItemContainsTextNodeAndNotSingular = () => {\n let result = false;\n Children.forEach(children, element => {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && Children.count(children) > 1;\n };\n const isFlexMode = () => {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n return !isItemContainsTextNodeAndNotSingular();\n };\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const actionsContent = actions && actions.length > 0 && (/*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(`${prefixCls}-item-action`, moduleClass('actions')),\n key: \"actions\",\n style: moduleStyle('actions')\n }, actions.map((action, i) => (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: `${prefixCls}-item-action-${i}`\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: `${prefixCls}-item-action-split`\n }))))));\n const Element = grid ? 'div' : 'li';\n const itemChildren = /*#__PURE__*/React.createElement(Element, Object.assign({}, others, !grid ? {\n ref\n } : {}, {\n className: classNames(`${prefixCls}-item`, {\n [`${prefixCls}-item-no-flex`]: !isFlexMode()\n }, className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-main`,\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-item-extra`, moduleClass('extra')),\n key: \"extra\",\n style: moduleStyle('extra')\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? (/*#__PURE__*/React.createElement(Col, {\n ref: ref,\n flex: 1,\n style: colStyle\n }, itemChildren)) : itemChildren;\n});\nconst Item = InternalItem;\nItem.Meta = Meta;\nexport default Item;","import { unit } from '@ant-design/cssinjs';\nimport { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nconst genBorderedStyle = token => {\n const {\n listBorderedCls,\n componentCls,\n paddingLG,\n margin,\n itemPaddingSM,\n itemPaddingLG,\n marginLG,\n borderRadiusLG\n } = token;\n const innerCornerBorderRadius = unit(token.calc(borderRadiusLG).sub(token.lineWidth).equal());\n return {\n [listBorderedCls]: {\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorder}`,\n borderRadius: borderRadiusLG,\n [`${componentCls}-header`]: {\n borderRadius: `${innerCornerBorderRadius} ${innerCornerBorderRadius} 0 0`\n },\n [`${componentCls}-footer`]: {\n borderRadius: `0 0 ${innerCornerBorderRadius} ${innerCornerBorderRadius}`\n },\n [`${componentCls}-header,${componentCls}-footer,${componentCls}-item`]: {\n paddingInline: paddingLG\n },\n [`${componentCls}-pagination`]: {\n margin: `${unit(margin)} ${unit(marginLG)}`\n }\n },\n [`${listBorderedCls}${componentCls}-sm`]: {\n [`${componentCls}-item,${componentCls}-header,${componentCls}-footer`]: {\n padding: itemPaddingSM\n }\n },\n [`${listBorderedCls}${componentCls}-lg`]: {\n [`${componentCls}-item,${componentCls}-header,${componentCls}-footer`]: {\n padding: itemPaddingLG\n }\n }\n };\n};\nconst genResponsiveStyle = token => {\n const {\n componentCls,\n screenSM,\n screenMD,\n marginLG,\n marginSM,\n margin\n } = token;\n return {\n [`@media screen and (max-width:${screenMD}px)`]: {\n [componentCls]: {\n [`${componentCls}-item`]: {\n [`${componentCls}-item-action`]: {\n marginInlineStart: marginLG\n }\n }\n },\n [`${componentCls}-vertical`]: {\n [`${componentCls}-item`]: {\n [`${componentCls}-item-extra`]: {\n marginInlineStart: marginLG\n }\n }\n }\n },\n [`@media screen and (max-width: ${screenSM}px)`]: {\n [componentCls]: {\n [`${componentCls}-item`]: {\n flexWrap: 'wrap',\n [`${componentCls}-action`]: {\n marginInlineStart: marginSM\n }\n }\n },\n [`${componentCls}-vertical`]: {\n [`${componentCls}-item`]: {\n flexWrap: 'wrap-reverse',\n [`${componentCls}-item-main`]: {\n minWidth: token.contentWidth\n },\n [`${componentCls}-item-extra`]: {\n margin: `auto auto ${unit(margin)}`\n }\n }\n }\n }\n };\n};\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n const {\n componentCls,\n antCls,\n controlHeight,\n minHeight,\n paddingSM,\n marginLG,\n padding,\n itemPadding,\n colorPrimary,\n itemPaddingSM,\n itemPaddingLG,\n paddingXS,\n margin,\n colorText,\n colorTextDescription,\n motionDurationSlow,\n lineWidth,\n headerBg,\n footerBg,\n emptyTextPadding,\n metaMarginBottom,\n avatarMarginRight,\n titleMarginBottom,\n descriptionFontSize\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n position: 'relative',\n // fix https://github.com/ant-design/ant-design/issues/46177\n ['--rc-virtual-list-scrollbar-bg']: token.colorSplit,\n '*': {\n outline: 'none'\n },\n [`${componentCls}-header`]: {\n background: headerBg\n },\n [`${componentCls}-footer`]: {\n background: footerBg\n },\n [`${componentCls}-header, ${componentCls}-footer`]: {\n paddingBlock: paddingSM\n },\n [`${componentCls}-pagination`]: {\n marginBlockStart: marginLG,\n // https://github.com/ant-design/ant-design/issues/20037\n [`${antCls}-pagination-options`]: {\n textAlign: 'start'\n }\n },\n [`${componentCls}-spin`]: {\n minHeight,\n textAlign: 'center'\n },\n [`${componentCls}-items`]: {\n margin: 0,\n padding: 0,\n listStyle: 'none'\n },\n [`${componentCls}-item`]: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: itemPadding,\n color: colorText,\n [`${componentCls}-item-meta`]: {\n display: 'flex',\n flex: 1,\n alignItems: 'flex-start',\n maxWidth: '100%',\n [`${componentCls}-item-meta-avatar`]: {\n marginInlineEnd: avatarMarginRight\n },\n [`${componentCls}-item-meta-content`]: {\n flex: '1 0',\n width: 0,\n color: colorText\n },\n [`${componentCls}-item-meta-title`]: {\n margin: `0 0 ${unit(token.marginXXS)} 0`,\n color: colorText,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n '> a': {\n color: colorText,\n transition: `all ${motionDurationSlow}`,\n '&:hover': {\n color: colorPrimary\n }\n }\n },\n [`${componentCls}-item-meta-description`]: {\n color: colorTextDescription,\n fontSize: descriptionFontSize,\n lineHeight: token.lineHeight\n }\n },\n [`${componentCls}-item-action`]: {\n flex: '0 0 auto',\n marginInlineStart: token.marginXXL,\n padding: 0,\n fontSize: 0,\n listStyle: 'none',\n '& > li': {\n position: 'relative',\n display: 'inline-block',\n padding: `0 ${unit(paddingXS)}`,\n color: colorTextDescription,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n textAlign: 'center',\n '&:first-child': {\n paddingInlineStart: 0\n }\n },\n [`${componentCls}-item-action-split`]: {\n position: 'absolute',\n insetBlockStart: '50%',\n insetInlineEnd: 0,\n width: lineWidth,\n height: token.calc(token.fontHeight).sub(token.calc(token.marginXXS).mul(2)).equal(),\n transform: 'translateY(-50%)',\n backgroundColor: token.colorSplit\n }\n }\n },\n [`${componentCls}-empty`]: {\n padding: `${unit(padding)} 0`,\n color: colorTextDescription,\n fontSize: token.fontSizeSM,\n textAlign: 'center'\n },\n [`${componentCls}-empty-text`]: {\n padding: emptyTextPadding,\n color: token.colorTextDisabled,\n fontSize: token.fontSize,\n textAlign: 'center'\n },\n // ============================ without flex ============================\n [`${componentCls}-item-no-flex`]: {\n display: 'block'\n }\n }),\n [`${componentCls}-grid ${antCls}-col > ${componentCls}-item`]: {\n display: 'block',\n maxWidth: '100%',\n marginBlockEnd: margin,\n paddingBlock: 0,\n borderBlockEnd: 'none'\n },\n [`${componentCls}-vertical ${componentCls}-item`]: {\n alignItems: 'initial',\n [`${componentCls}-item-main`]: {\n display: 'block',\n flex: 1\n },\n [`${componentCls}-item-extra`]: {\n marginInlineStart: marginLG\n },\n [`${componentCls}-item-meta`]: {\n marginBlockEnd: metaMarginBottom,\n [`${componentCls}-item-meta-title`]: {\n marginBlockStart: 0,\n marginBlockEnd: titleMarginBottom,\n color: colorText,\n fontSize: token.fontSizeLG,\n lineHeight: token.lineHeightLG\n }\n },\n [`${componentCls}-item-action`]: {\n marginBlockStart: padding,\n marginInlineStart: 'auto',\n '> li': {\n padding: `0 ${unit(padding)}`,\n '&:first-child': {\n paddingInlineStart: 0\n }\n }\n }\n },\n [`${componentCls}-split ${componentCls}-item`]: {\n borderBlockEnd: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`,\n '&:last-child': {\n borderBlockEnd: 'none'\n }\n },\n [`${componentCls}-split ${componentCls}-header`]: {\n borderBlockEnd: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`\n },\n [`${componentCls}-split${componentCls}-empty ${componentCls}-footer`]: {\n borderTop: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`\n },\n [`${componentCls}-loading ${componentCls}-spin-nested-loading`]: {\n minHeight: controlHeight\n },\n [`${componentCls}-split${componentCls}-something-after-last-item ${antCls}-spin-container > ${componentCls}-items > ${componentCls}-item:last-child`]: {\n borderBlockEnd: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`\n },\n [`${componentCls}-lg ${componentCls}-item`]: {\n padding: itemPaddingLG\n },\n [`${componentCls}-sm ${componentCls}-item`]: {\n padding: itemPaddingSM\n },\n // Horizontal\n [`${componentCls}:not(${componentCls}-vertical)`]: {\n [`${componentCls}-item-no-flex`]: {\n [`${componentCls}-item-action`]: {\n float: 'right'\n }\n }\n }\n };\n};\nexport const prepareComponentToken = token => ({\n contentWidth: 220,\n itemPadding: `${unit(token.paddingContentVertical)} 0`,\n itemPaddingSM: `${unit(token.paddingContentVerticalSM)} ${unit(token.paddingContentHorizontal)}`,\n itemPaddingLG: `${unit(token.paddingContentVerticalLG)} ${unit(token.paddingContentHorizontalLG)}`,\n headerBg: 'transparent',\n footerBg: 'transparent',\n emptyTextPadding: token.padding,\n metaMarginBottom: token.padding,\n avatarMarginRight: token.padding,\n titleMarginBottom: token.paddingSM,\n descriptionFontSize: token.fontSize\n});\n// ============================== Export ==============================\nexport default genStyleHooks('List', token => {\n const listToken = mergeToken(token, {\n listBorderedCls: `${token.componentCls}-bordered`,\n minHeight: token.controlHeightLG\n });\n return [genBaseStyle(listToken), genBorderedStyle(listToken), genResponsiveStyle(listToken)];\n}, prepareComponentToken);","\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport extendsObject from '../_util/extendsObject';\nimport { responsiveArray } from '../_util/responsiveObserver';\nimport { ConfigContext } from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useSize from '../config-provider/hooks/useSize';\nimport { Row } from '../grid';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { ListContext } from './context';\nimport Item from './Item';\nimport useStyle from './style';\nfunction InternalList(props, ref) {\n const {\n pagination = false,\n prefixCls: customizePrefixCls,\n bordered = false,\n split = true,\n className,\n rootClassName,\n style,\n children,\n itemLayout,\n loadMore,\n grid,\n dataSource = [],\n size: customizeSize,\n header,\n footer,\n loading = false,\n rowKey,\n renderItem,\n locale\n } = props,\n rest = __rest(props, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"rootClassName\", \"style\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n const paginationObj = pagination && typeof pagination === 'object' ? pagination : {};\n const [paginationCurrent, setPaginationCurrent] = React.useState(paginationObj.defaultCurrent || 1);\n const [paginationSize, setPaginationSize] = React.useState(paginationObj.defaultPageSize || 10);\n const {\n getPrefixCls,\n direction,\n className: contextClassName,\n style: contextStyle\n } = useComponentConfig('list');\n const {\n renderEmpty\n } = React.useContext(ConfigContext);\n const defaultPaginationProps = {\n current: 1,\n total: 0,\n position: 'bottom'\n };\n const triggerPaginationEvent = eventName => (page, pageSize) => {\n var _a;\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n if (pagination) {\n (_a = pagination === null || pagination === void 0 ? void 0 : pagination[eventName]) === null || _a === void 0 ? void 0 : _a.call(pagination, page, pageSize);\n }\n };\n const onPaginationChange = triggerPaginationEvent('onChange');\n const onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n const renderInternalItem = (item, index) => {\n if (!renderItem) {\n return null;\n }\n let key;\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (rowKey) {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n if (!key) {\n key = `list-item-${index}`;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: key\n }, renderItem(item, index));\n };\n const isSomethingAfterLastItem = !!(loadMore || pagination || footer);\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n // Style\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n let loadingProp = loading;\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n const isLoading = !!(loadingProp === null || loadingProp === void 0 ? void 0 : loadingProp.spinning);\n const mergedSize = useSize(customizeSize);\n // large => lg\n // small => sm\n let sizeCls = '';\n switch (mergedSize) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n default:\n break;\n }\n const classString = classNames(prefixCls, {\n [`${prefixCls}-vertical`]: itemLayout === 'vertical',\n [`${prefixCls}-${sizeCls}`]: sizeCls,\n [`${prefixCls}-split`]: split,\n [`${prefixCls}-bordered`]: bordered,\n [`${prefixCls}-loading`]: isLoading,\n [`${prefixCls}-grid`]: !!grid,\n [`${prefixCls}-something-after-last-item`]: isSomethingAfterLastItem,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, contextClassName, className, rootClassName, hashId, cssVarCls);\n const paginationProps = extendsObject(defaultPaginationProps, {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }, pagination || {});\n const largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n paginationProps.current = Math.min(paginationProps.current, largestPage);\n const paginationContent = pagination && (/*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-pagination`)\n }, /*#__PURE__*/React.createElement(Pagination, Object.assign({\n align: \"end\"\n }, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))));\n let splitDataSource = _toConsumableArray(dataSource);\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n const needResponsive = Object.keys(grid || {}).some(key => ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key));\n const screens = useBreakpoint(needResponsive);\n const currentBreakpoint = React.useMemo(() => {\n for (let i = 0; i < responsiveArray.length; i += 1) {\n const breakpoint = responsiveArray[i];\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n return undefined;\n }, [screens]);\n const colStyle = React.useMemo(() => {\n if (!grid) {\n return undefined;\n }\n const columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n if (columnCount) {\n return {\n width: `${100 / columnCount}%`,\n maxWidth: `${100 / columnCount}%`\n };\n }\n }, [JSON.stringify(grid), currentBreakpoint]);\n let childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n if (splitDataSource.length > 0) {\n const items = splitDataSource.map(renderInternalItem);\n childrenContent = grid ? (/*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, React.Children.map(items, child => (/*#__PURE__*/React.createElement(\"div\", {\n key: child === null || child === void 0 ? void 0 : child.key,\n style: colStyle\n }, child))))) : (/*#__PURE__*/React.createElement(\"ul\", {\n className: `${prefixCls}-items`\n }, items));\n } else if (!children && !isLoading) {\n childrenContent = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-empty-text`\n }, (locale === null || locale === void 0 ? void 0 : locale.emptyText) || (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('List')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"List\"\n }));\n }\n const paginationPosition = paginationProps.position;\n const contextValue = React.useMemo(() => ({\n grid,\n itemLayout\n }), [JSON.stringify(grid), itemLayout]);\n return wrapCSSVar(/*#__PURE__*/React.createElement(ListContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", Object.assign({\n ref: ref,\n style: Object.assign(Object.assign({}, contextStyle), style),\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-header`\n }, header), /*#__PURE__*/React.createElement(Spin, Object.assign({}, loadingProp), childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-footer`\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent)));\n}\nconst ListWithForwardRef = /*#__PURE__*/React.forwardRef(InternalList);\nif (process.env.NODE_ENV !== 'production') {\n ListWithForwardRef.displayName = 'List';\n}\nconst List = ListWithForwardRef;\nList.Item = Item;\nexport default List;","/**\n * URL Download Page\n * 通过输入 Pixiv URL 或作品 ID 直接下载\n */\n\nimport React, { useState } from 'react';\nimport {\n Card,\n Input,\n Button,\n Space,\n Alert,\n Typography,\n Divider,\n Tag,\n List,\n message,\n Spin,\n Row,\n Col,\n} from 'antd';\nimport {\n LinkOutlined,\n DownloadOutlined,\n DeleteOutlined,\n PlusOutlined,\n CheckCircleOutlined,\n CloseCircleOutlined,\n} from '@ant-design/icons';\nimport { useTranslation } from 'react-i18next';\nimport { downloadApi } from '../services/api';\nimport { useNavigate } from 'react-router-dom';\n\nconst { Title, Text, Paragraph } = Typography;\nconst { TextArea } = Input;\n\ninterface ParsedUrl {\n url: string;\n workId?: string;\n workType?: 'illustration' | 'novel';\n valid: boolean;\n error?: string;\n}\n\n// API 错误响应类型\ninterface ApiErrorResponse {\n response?: {\n data?: {\n message?: string;\n };\n };\n message?: string;\n}\n\nexport const UrlDownload: React.FC = () => {\n const { t } = useTranslation();\n const navigate = useNavigate();\n\n const [singleUrl, setSingleUrl] = useState('');\n const [batchUrls, setBatchUrls] = useState('');\n const [parsedUrls, setParsedUrls] = useState<ParsedUrl[]>([]);\n const [loading, setLoading] = useState(false);\n const [downloading, setDownloading] = useState(false);\n\n // 解析单个 URL\n const parseSingleUrl = async () => {\n if (!singleUrl.trim()) {\n message.warning(t('download.urlDownload.enterUrl'));\n return;\n }\n\n setLoading(true);\n try {\n const response = await downloadApi.parseUrl(singleUrl.trim());\n const data = response.data.data;\n\n if (data?.success) {\n message.success(t('download.urlDownload.parseSuccess'));\n setParsedUrls([\n {\n url: singleUrl.trim(),\n workId: data.workId,\n workType: data.workType,\n valid: true,\n },\n ]);\n } else {\n // 解析失败,显示详细错误信息\n const errorMessage = (data as any)?.message || t('download.urlDownload.invalidUrl');\n message.error(errorMessage);\n setParsedUrls([\n {\n url: singleUrl.trim(),\n valid: false,\n error: errorMessage,\n },\n ]);\n }\n } catch (error) {\n // 处理网络错误或其他异常\n const apiError = error as ApiErrorResponse;\n const errorMessage = \n (apiError.response?.data as any)?.data?.message || \n apiError.response?.data?.message || \n apiError.message || \n t('download.urlDownload.parseError');\n message.error(errorMessage);\n setParsedUrls([\n {\n url: singleUrl.trim(),\n valid: false,\n error: errorMessage,\n },\n ]);\n } finally {\n setLoading(false);\n }\n };\n\n // 解析批量 URL\n const parseBatchUrls = async () => {\n const urls = batchUrls\n .split('\\n')\n .map((line) => line.trim())\n .filter((line) => line.length > 0);\n\n if (urls.length === 0) {\n message.warning(t('download.urlDownload.enterUrls'));\n return;\n }\n\n setLoading(true);\n const results: ParsedUrl[] = [];\n\n for (const url of urls) {\n try {\n const response = await downloadApi.parseUrl(url);\n const data = response.data.data;\n\n if (data?.success) {\n results.push({\n url,\n workId: data.workId,\n workType: data.workType,\n valid: true,\n });\n } else {\n // 解析失败,使用详细错误信息\n const errorMessage = (data as any)?.message || t('download.urlDownload.invalidUrl');\n results.push({\n url,\n valid: false,\n error: errorMessage,\n });\n }\n } catch (error) {\n // 处理网络错误或其他异常\n const apiError = error as ApiErrorResponse;\n const errorMessage = \n (apiError.response?.data as any)?.data?.message || \n apiError.response?.data?.message || \n apiError.message || \n t('download.urlDownload.parseError');\n results.push({\n url,\n valid: false,\n error: errorMessage,\n });\n }\n }\n\n setParsedUrls(results);\n setLoading(false);\n\n const validCount = results.filter((r) => r.valid).length;\n if (validCount > 0) {\n message.success(t('download.urlDownload.parsedCount', { count: validCount, total: urls.length }));\n } else {\n message.error(t('download.urlDownload.noValidUrls'));\n }\n };\n\n // 下载单个 URL\n const downloadSingle = async () => {\n if (!singleUrl.trim()) {\n message.warning(t('download.urlDownload.enterUrl'));\n return;\n }\n\n setDownloading(true);\n try {\n await downloadApi.downloadFromUrl(singleUrl.trim());\n\n message.success(t('download.urlDownload.downloadStarted'));\n \n // 跳转到下载页面查看进度\n setTimeout(() => {\n navigate('/download');\n }, 1000);\n } catch (error) {\n const apiError = error as ApiErrorResponse;\n message.error(apiError.response?.data?.message || apiError.message || t('download.urlDownload.downloadError'));\n } finally {\n setDownloading(false);\n }\n };\n\n // 下载批量 URL\n const downloadBatch = async () => {\n const validUrls = parsedUrls.filter((p) => p.valid).map((p) => p.url);\n\n if (validUrls.length === 0) {\n message.warning(t('download.urlDownload.noValidUrls'));\n return;\n }\n\n setDownloading(true);\n try {\n const response = await downloadApi.downloadFromBatchUrls(validUrls);\n const data = response.data.data;\n\n message.success(\n t('download.urlDownload.batchDownloadStarted', {\n count: data?.validUrls || validUrls.length,\n })\n );\n\n // 跳转到下载页面查看进度\n setTimeout(() => {\n navigate('/download');\n }, 1000);\n } catch (error) {\n const apiError = error as ApiErrorResponse;\n message.error(apiError.response?.data?.message || apiError.message || t('download.urlDownload.downloadError'));\n } finally {\n setDownloading(false);\n }\n };\n\n // 移除某个 URL\n const removeUrl = (index: number) => {\n setParsedUrls((prev) => prev.filter((_, i) => i !== index));\n };\n\n // 清空所有\n const clearAll = () => {\n setSingleUrl('');\n setBatchUrls('');\n setParsedUrls([]);\n };\n\n const validCount = parsedUrls.filter((p) => p.valid).length;\n const invalidCount = parsedUrls.length - validCount;\n\n return (\n <div style={{ padding: '24px' }}>\n <Title level={2}>\n <LinkOutlined /> {t('download.urlDownload.title')}\n </Title>\n <Paragraph type=\"secondary\">{t('download.urlDownload.description')}</Paragraph>\n\n <Row gutter={[24, 24]}>\n {/* 单个 URL 下载 */}\n <Col xs={24} lg={12}>\n <Card\n title={t('download.urlDownload.singleDownload')}\n extra={\n <Button\n type=\"primary\"\n icon={<DownloadOutlined />}\n onClick={downloadSingle}\n loading={downloading}\n disabled={loading}\n >\n {t('download.urlDownload.download')}\n </Button>\n }\n >\n <Space direction=\"vertical\" style={{ width: '100%' }} size=\"large\">\n <div>\n <Text strong>{t('download.urlDownload.inputLabel')}</Text>\n <Input\n placeholder={t('download.urlDownload.placeholder')}\n value={singleUrl}\n onChange={(e) => setSingleUrl(e.target.value)}\n onPressEnter={downloadSingle}\n size=\"large\"\n prefix={<LinkOutlined />}\n disabled={loading || downloading}\n />\n </div>\n\n <Button\n block\n onClick={parseSingleUrl}\n loading={loading}\n disabled={downloading}\n >\n {t('download.urlDownload.parseUrl')}\n </Button>\n\n {parsedUrls.length === 1 && parsedUrls[0] && (\n <Alert\n message={\n parsedUrls[0].valid\n ? t('download.urlDownload.validUrl')\n : t('download.urlDownload.invalidUrl')\n }\n description={\n parsedUrls[0].valid ? (\n <div>\n <Text>\n {t('download.urlDownload.workId')}: <Tag>{parsedUrls[0].workId || ''}</Tag>\n </Text>\n <br />\n <Text>\n {t('download.urlDownload.workType')}:{' '}\n <Tag color={parsedUrls[0].workType === 'illustration' ? 'blue' : 'green'}>\n {t(`download.urlDownload.${parsedUrls[0].workType || 'illustration'}`)}\n </Tag>\n </Text>\n </div>\n ) : (\n <div>\n <Text type=\"danger\" style={{ whiteSpace: 'pre-line' }}>\n {parsedUrls[0].error || ''}\n </Text>\n </div>\n )\n }\n type={parsedUrls[0].valid ? 'success' : 'error'}\n showIcon\n />\n )}\n </Space>\n </Card>\n </Col>\n\n {/* 批量 URL 下载 */}\n <Col xs={24} lg={12}>\n <Card\n title={t('download.urlDownload.batchDownload')}\n extra={\n <Space>\n <Button icon={<DeleteOutlined />} onClick={clearAll} disabled={loading || downloading}>\n {t('download.urlDownload.clear')}\n </Button>\n <Button\n type=\"primary\"\n icon={<DownloadOutlined />}\n onClick={downloadBatch}\n loading={downloading}\n disabled={loading || validCount === 0}\n >\n {t('download.urlDownload.downloadAll')} ({validCount})\n </Button>\n </Space>\n }\n >\n <Space direction=\"vertical\" style={{ width: '100%' }} size=\"large\">\n <div>\n <Text strong>{t('download.urlDownload.batchInputLabel')}</Text>\n <TextArea\n placeholder={t('download.urlDownload.batchPlaceholder')}\n value={batchUrls}\n onChange={(e) => setBatchUrls(e.target.value)}\n rows={6}\n disabled={loading || downloading}\n />\n </div>\n\n <Button\n block\n icon={<PlusOutlined />}\n onClick={parseBatchUrls}\n loading={loading}\n disabled={downloading}\n >\n {t('download.urlDownload.parseUrls')}\n </Button>\n\n {parsedUrls.length > 1 && (\n <Alert\n message={t('download.urlDownload.parseResult')}\n description={\n <div>\n <Text>\n {t('download.urlDownload.validUrls')}: <Tag color=\"success\">{validCount}</Tag>\n </Text>\n <Text style={{ marginLeft: 16 }}>\n {t('download.urlDownload.invalidUrls')}: <Tag color=\"error\">{invalidCount}</Tag>\n </Text>\n </div>\n }\n type=\"info\"\n showIcon\n />\n )}\n </Space>\n </Card>\n </Col>\n </Row>\n\n {/* 解析结果列表 */}\n {parsedUrls.length > 1 && (\n <>\n <Divider />\n <Card title={t('download.urlDownload.urlList')}>\n <Spin spinning={loading}>\n <List\n dataSource={parsedUrls}\n renderItem={(item, index) => (\n <List.Item\n actions={[\n <Button\n type=\"text\"\n danger\n icon={<DeleteOutlined />}\n onClick={() => removeUrl(index)}\n disabled={loading || downloading}\n >\n {t('download.urlDownload.remove')}\n </Button>,\n ]}\n >\n <List.Item.Meta\n avatar={\n item.valid ? (\n <CheckCircleOutlined style={{ fontSize: 24, color: '#52c41a' }} />\n ) : (\n <CloseCircleOutlined style={{ fontSize: 24, color: '#ff4d4f' }} />\n )\n }\n title={\n <Space>\n <Text ellipsis style={{ maxWidth: 400 }}>\n {item.url}\n </Text>\n {item.valid && (\n <>\n <Tag>{item.workId}</Tag>\n <Tag color={item.workType === 'illustration' ? 'blue' : 'green'}>\n {t(`download.urlDownload.${item.workType}`)}\n </Tag>\n </>\n )}\n </Space>\n }\n description={!item.valid && <Text type=\"danger\">{item.error}</Text>}\n />\n </List.Item>\n )}\n />\n </Spin>\n </Card>\n </>\n )}\n\n {/* 使用说明 */}\n <Divider />\n <Card title={t('download.urlDownload.helpTitle')}>\n <Space direction=\"vertical\" style={{ width: '100%' }}>\n <div>\n <Text strong>{t('download.urlDownload.supportedFormats')}</Text>\n <ul>\n <li>\n <code>https://www.pixiv.net/artworks/123456</code>\n </li>\n <li>\n <code>https://www.pixiv.net/en/artworks/123456</code>\n </li>\n <li>\n <code>https://www.pixiv.net/member_illust.php?mode=medium&illust_id=123456</code>\n </li>\n <li>\n <code>https://www.pixiv.net/novel/show.php?id=123456</code>\n </li>\n <li>\n <code>https://pixiv.net/i/123456</code> (短链接格式)\n </li>\n <li>\n <code>https://www.pixiv.net/users/123456/artworks/789012</code> (用户作品页面)\n </li>\n <li>\n <code>123456</code> {t('download.urlDownload.directId')}\n </li>\n </ul>\n </div>\n\n <Alert\n message={t('download.urlDownload.tip')}\n description={t('download.urlDownload.tipDescription')}\n type=\"info\"\n showIcon\n />\n </Space>\n </Card>\n </div>\n );\n};\n\nexport default UrlDownload;\n\n"],"names":["ListContext","React","__rest","s","e","t","p","Meta","_a","customizePrefixCls","className","avatar","title","description","others","getPrefixCls","useContext","ConfigContext","prefixCls","classString","classNames","content","InternalItem","props","ref","children","actions","extra","styles","customizeClassNames","colStyle","grid","itemLayout","list","moduleClass","moduleName","_b","moduleStyle","isItemContainsTextNodeAndNotSingular","result","Children","element","isFlexMode","actionsContent","action","i","Element","itemChildren","cloneElement","Col","Item","genBorderedStyle","token","listBorderedCls","componentCls","paddingLG","margin","itemPaddingSM","itemPaddingLG","marginLG","borderRadiusLG","innerCornerBorderRadius","unit","genResponsiveStyle","screenSM","screenMD","marginSM","genBaseStyle","antCls","controlHeight","minHeight","paddingSM","padding","itemPadding","colorPrimary","paddingXS","colorText","colorTextDescription","motionDurationSlow","lineWidth","headerBg","footerBg","emptyTextPadding","metaMarginBottom","avatarMarginRight","titleMarginBottom","descriptionFontSize","resetComponent","prepareComponentToken","useStyle","genStyleHooks","listToken","mergeToken","InternalList","pagination","bordered","split","rootClassName","style","loadMore","dataSource","customizeSize","header","footer","loading","rowKey","renderItem","locale","rest","paginationObj","paginationCurrent","setPaginationCurrent","React.useState","paginationSize","setPaginationSize","direction","contextClassName","contextStyle","useComponentConfig","renderEmpty","React.useContext","defaultPaginationProps","triggerPaginationEvent","eventName","page","pageSize","onPaginationChange","onPaginationShowSizeChange","renderInternalItem","item","index","key","React.createElement","React.Fragment","isSomethingAfterLastItem","wrapCSSVar","hashId","cssVarCls","loadingProp","isLoading","mergedSize","useSize","sizeCls","paginationProps","extendsObject","largestPage","paginationContent","Pagination","splitDataSource","_toConsumableArray","needResponsive","screens","useBreakpoint","currentBreakpoint","React.useMemo","responsiveArray","breakpoint","columnCount","childrenContent","items","Row","React.Children","child","DefaultRenderEmpty","paginationPosition","contextValue","Spin","ListWithForwardRef","React.forwardRef","List","Title","Text","Paragraph","Typography","TextArea","Input","UrlDownload","useTranslation","navigate","useNavigate","singleUrl","setSingleUrl","useState","batchUrls","setBatchUrls","parsedUrls","setParsedUrls","setLoading","downloading","setDownloading","parseSingleUrl","message","data","downloadApi","errorMessage","error","apiError","parseBatchUrls","urls","line","results","url","validCount","r","downloadSingle","downloadBatch","validUrls","removeUrl","prev","_","clearAll","invalidCount","jsxs","jsx","LinkOutlined","Card","Button","DownloadOutlined","Space","Alert","Tag","DeleteOutlined","PlusOutlined","Fragment","Divider","CheckCircleOutlined","CloseCircleOutlined"],"mappings":"ioBACO,MAAMA,GAA2BC,EAAM,cAAc,EAAE,EAClCD,GAAY,SCAxC,IAAIE,GAAgC,SAAUC,EAAGC,EAAG,CAClD,IAAIC,EAAI,CAAA,EACR,QAASC,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,GAAKF,EAAE,QAAQE,CAAC,EAAI,IAAGD,EAAEC,CAAC,EAAIH,EAAEG,CAAC,GAC/F,GAAIH,GAAK,MAAQ,OAAO,OAAO,uBAA0B,WAAY,QAAS,EAAI,EAAGG,EAAI,OAAO,sBAAsBH,CAAC,EAAG,EAAIG,EAAE,OAAQ,IAClIF,EAAE,QAAQE,EAAE,CAAC,CAAC,EAAI,GAAK,OAAO,UAAU,qBAAqB,KAAKH,EAAGG,EAAE,CAAC,CAAC,IAAGD,EAAEC,EAAE,CAAC,CAAC,EAAIH,EAAEG,EAAE,CAAC,CAAC,GAElG,OAAOD,CACT,EAOO,MAAME,GAAOC,GAAM,CACxB,GAAI,CACA,UAAWC,EACX,UAAAC,EACA,OAAAC,EACA,MAAAC,EACA,YAAAC,CACN,EAAQL,EACJM,EAASZ,GAAOM,EAAI,CAAC,YAAa,YAAa,SAAU,QAAS,aAAa,CAAC,EAClF,KAAM,CACJ,aAAAO,CAC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"zh-CN":"en-US"}function g(t,n){if(!t)return"-";try{const i=typeof t=="string"?new Date(t):t;if(isNaN(i.getTime()))return String(t);const r=a(),e={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",...n};return i.toLocaleString(r,e)}catch{return String(t)}}export{g as f};
2
- //# sourceMappingURL=dateUtils-CBk8bEa_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dateUtils-CBk8bEa_.js","sources":["../../src/utils/dateUtils.ts"],"sourcesContent":["import i18n from '../i18n/config';\n\n/**\n * Get locale string based on current i18n language\n * @returns 'zh-CN' or 'en-US'\n */\nexport function getLocale(): string {\n return i18n.language.startsWith('zh') ? 'zh-CN' : 'en-US';\n}\n\n/**\n * Format date to localized string\n * @param date - Date string or Date object\n * @param options - Intl.DateTimeFormatOptions\n * @returns Formatted date string\n */\nexport function formatDate(\n date: string | Date | undefined | null,\n options?: Intl.DateTimeFormatOptions\n): string {\n if (!date) return '-';\n \n try {\n const dateObj = typeof date === 'string' ? new Date(date) : date;\n if (isNaN(dateObj.getTime())) return String(date);\n \n const locale = getLocale();\n const defaultOptions: Intl.DateTimeFormatOptions = {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n ...options,\n };\n \n return dateObj.toLocaleString(locale, defaultOptions);\n } catch {\n return String(date);\n }\n}\n\n/**\n * Format date to localized date string (without time)\n * @param date - Date string or Date object\n * @returns Formatted date string\n */\nexport function formatDateOnly(date: string | Date | undefined | null): string {\n return formatDate(date, {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n });\n}\n\n/**\n * Format date to localized time string (without date)\n * @param date - Date string or Date object\n * @returns Formatted time string\n */\nexport function formatTimeOnly(date: string | Date | undefined | null): string {\n return formatDate(date, {\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n}\n\n"],"names":["getLocale","i18n","formatDate","date","options","dateObj","locale","defaultOptions"],"mappings":"yCAMO,SAASA,GAAoB,CAClC,OAAOC,EAAK,SAAS,WAAW,IAAI,EAAI,QAAU,OACpD,CAQO,SAASC,EACdC,EACAC,EACQ,CACR,GAAI,CAACD,EAAM,MAAO,IAElB,GAAI,CACF,MAAME,EAAU,OAAOF,GAAS,SAAW,IAAI,KAAKA,CAAI,EAAIA,EAC5D,GAAI,MAAME,EAAQ,QAAA,CAAS,EAAG,OAAO,OAAOF,CAAI,EAEhD,MAAMG,EAASN,EAAA,EACTO,EAA6C,CACjD,KAAM,UACN,MAAO,UACP,IAAK,UACL,KAAM,UACN,OAAQ,UACR,OAAQ,UACR,GAAGH,CAAA,EAGL,OAAOC,EAAQ,eAAeC,EAAQC,CAAc,CACtD,MAAQ,CACN,OAAO,OAAOJ,CAAI,CACpB,CACF"}