@acedatacloud/nexior 3.85.0 → 3.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/assets/{Auth-G2tqgSgU.js → Auth-APt50GbX.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-B_pcw1jf.js → BotPlaceholder-BaccGcBU.js} +1 -1
  3. package/dist/assets/{Callback-C20Vp8Rq.js → Callback-AdI4eEk8.js} +1 -1
  4. package/dist/assets/{Console-DvjLUapp.js → Console-BXJ-Ler2.js} +1 -1
  5. package/dist/assets/{Consumption-CzfhsFJJ.js → Consumption-CphP-KdC.js} +1 -1
  6. package/dist/assets/{Conversation-CEmPopzf.js → Conversation-CIW4aE8l.js} +1 -1
  7. package/dist/assets/{CopyToClipboard-DQNzHfAP.js → CopyToClipboard-DWv68cQC.js} +1 -1
  8. package/dist/assets/{Detail-BIl9p5wq.js → Detail-DM_fJBDN.js} +2 -2
  9. package/dist/assets/{EditArray-B1EmZSbg.js → EditArray-DaafSfb1.js} +1 -1
  10. package/dist/assets/{Extra-BSLUhDmF.js → Extra-tMbQ2mEH.js} +1 -1
  11. package/dist/assets/{FilePreview-C9-7BuS7.js → FilePreview-DGhKp8o8.js} +1 -1
  12. package/dist/assets/{History-Bgs2d7i2.js → History-BJcPU6_V.js} +1 -1
  13. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-B2YtDINg.js → IconPark.vue_vue_type_script_setup_true_lang-EI_gZ8Ca.js} +1 -1
  14. package/dist/assets/{ImagePreview-DHUZxJqJ.js → ImagePreview-Bks77b_o.js} +1 -1
  15. package/dist/assets/{ImageWrapper-eq21KSDf.js → ImageWrapper-MrEfVP4_.js} +1 -1
  16. package/dist/assets/{Index-D6a8zxjU.js → Index-2UEW5q76.js} +1 -1
  17. package/dist/assets/{Index-Dn0GSc0L.js → Index-92WRJQDu.js} +1 -1
  18. package/dist/assets/{Index-pkNYIgnM.js → Index-BEzyInH_.js} +1 -1
  19. package/dist/assets/{Index-CxkfTsLk.js → Index-BTxVcPsx.js} +1 -1
  20. package/dist/assets/{Index-B23NkUqx.js → Index-BUXUNDC9.js} +1 -1
  21. package/dist/assets/{Index-H5xENHl5.js → Index-BXtNbZt7.js} +1 -1
  22. package/dist/assets/{Index-DEK8F02Q.js → Index-BYWNeJrS.js} +1 -1
  23. package/dist/assets/{Index-DrhlRZVw.js → Index-BtfGdKHM.js} +1 -1
  24. package/dist/assets/{Index-B_sTchM7.js → Index-Bvertcj1.js} +1 -1
  25. package/dist/assets/{Index-CuRzrWlT.js → Index-BvvIJJY1.js} +1 -1
  26. package/dist/assets/{Index-BkIMi8xp.js → Index-C431Llas.js} +1 -1
  27. package/dist/assets/{Index-CJLvetMx.js → Index-C7LDQ4zc.js} +1 -1
  28. package/dist/assets/{Index-Dv9sU4_6.js → Index-CJgWoXFZ.js} +1 -1
  29. package/dist/assets/{Index-Ce0tDP3d.js → Index-CTuOCXGB.js} +1 -1
  30. package/dist/assets/{Index-C10mOiGO.js → Index-CWQxk-Mp.js} +1 -1
  31. package/dist/assets/{Index-sLgBGuVH.js → Index-CmbFDatB.js} +1 -1
  32. package/dist/assets/{Index-Bvm6y0Rf.js → Index-D5aX7hNV.js} +1 -1
  33. package/dist/assets/{Index-CclYrxgE.js → Index-D8QYFqua.js} +1 -1
  34. package/dist/assets/{Index-C1y_zYEL.js → Index-DIOM6XoG.js} +1 -1
  35. package/dist/assets/{Index-ULM_gHYk.js → Index-DT_9jSMK.js} +1 -1
  36. package/dist/assets/{Index-Doj7b9Br.js → Index-DUrv6vGM.js} +1 -1
  37. package/dist/assets/{Index-BvD8ooBC.js → Index-DimB8lxD.js} +1 -1
  38. package/dist/assets/{Index-CsPQ6Spu.js → Index-fsx5TzEg.js} +1 -1
  39. package/dist/assets/{Index-BTeuBdGq.js → Index-mtcc8asD.js} +1 -1
  40. package/dist/assets/{Index-Df2HnN_V.js → Index-q-2mQFxJ.js} +1 -1
  41. package/dist/assets/{Invitees-WFTjKUM1.js → Invitees-DbHS2wWg.js} +1 -1
  42. package/dist/assets/{List-B0l3DQnF.js → List-BE5K0EjD.js} +1 -1
  43. package/dist/assets/{List-8qDajr03.js → List-C0_E07y_.js} +1 -1
  44. package/dist/assets/{List-BrrL16kN.js → List-DpeFGqhN.js} +1 -1
  45. package/dist/assets/{List-Dgcm5W6F.js → List-DtWtomdu.js} +1 -1
  46. package/dist/assets/{Main-Bh2hXo07.js → Main-C-1NgwqO.js} +1 -1
  47. package/dist/assets/{Navigator-DRg6D4NH.js → Navigator-CgCCfzvw.js} +1 -1
  48. package/dist/assets/{NoTasks-BnsnwhEj.js → NoTasks-DqYbTd-C.js} +1 -1
  49. package/dist/assets/{NotFound-BcqQID00.js → NotFound-BZtIoZGZ.js} +1 -1
  50. package/dist/assets/{OAuthCallback-BHHorLUv.js → OAuthCallback-C1yD1DOz.js} +1 -1
  51. package/dist/assets/{Pagination-B8Mmuyja.js → Pagination-DVRiQD-N.js} +1 -1
  52. package/dist/assets/{ScrollList-CP87wzcT.js → ScrollList-DJ_s7hRn.js} +1 -1
  53. package/dist/assets/{Status-CrRYW-kJ.js → Status-DA8E_ZQM.js} +1 -1
  54. package/dist/assets/{Subscribe-02usFBOm.js → Subscribe-B1mpkAbs.js} +1 -1
  55. package/dist/assets/{TransportWebHID-CMQ8tToZ.js → TransportWebHID-qDXOw4vk.js} +1 -1
  56. package/dist/assets/{VideoPlayer-DFR6K-55.js → VideoPlayer-BBmrpbRX.js} +1 -1
  57. package/dist/assets/{_Uint8Array-ncuXegKE.js → _Uint8Array-D2WQC74G.js} +1 -1
  58. package/dist/assets/{_baseClone-CAE5mQRc.js → _baseClone-C2-4tJcl.js} +1 -1
  59. package/dist/assets/{_baseIteratee-1PZ70oak.js → _baseIteratee-CjWBu9n7.js} +1 -1
  60. package/dist/assets/{_initCloneObject-vYpGCrtd.js → _initCloneObject-FTaNr8RK.js} +1 -1
  61. package/dist/assets/{add-D07BAg-K.js → add-BLXwkoOo.js} +1 -1
  62. package/dist/assets/{all-wallets-C5umXLPw.js → all-wallets-B95n2HSt.js} +1 -1
  63. package/dist/assets/{app-store-Cpr2M8rP.js → app-store-DNrOXhIQ.js} +1 -1
  64. package/dist/assets/{apple-B2gNLVA4.js → apple-C6BTakEC.js} +1 -1
  65. package/dist/assets/{arrow-bottom-CSdZ5X4n.js → arrow-bottom-B4PBEw49.js} +1 -1
  66. package/dist/assets/{arrow-bottom-circle-Blwh69Ng.js → arrow-bottom-circle-CU_C_ZLL.js} +1 -1
  67. package/dist/assets/{arrow-left-MGZt6TOa.js → arrow-left-DlCGrZZZ.js} +1 -1
  68. package/dist/assets/{arrow-right-DfIoDGDt.js → arrow-right-DzCY1BYq.js} +1 -1
  69. package/dist/assets/{arrow-top-CBoEVCw-.js → arrow-top-s1GQKxYT.js} +1 -1
  70. package/dist/assets/{avatar-C_0nXSDd.js → avatar-AswZTG2c.js} +1 -1
  71. package/dist/assets/{bank-DGpIJkS2.js → bank-BZ-d0fCW.js} +1 -1
  72. package/dist/assets/{basic-CuebNvqA.js → basic-fQ3r5aSS.js} +1 -1
  73. package/dist/assets/{browser-Ctex1QjC.js → browser-D_cnZgMf.js} +1 -1
  74. package/dist/assets/{byokCredential-BWjQkRsH.js → byokCredential-BZQLKG5a.js} +1 -1
  75. package/dist/assets/{card-CG8RnMev.js → card-Dsya-AYi.js} +1 -1
  76. package/dist/assets/{castArray-DHSoEYfB.js → castArray-BjuY6S6U.js} +1 -1
  77. package/dist/assets/{chat-N0E-ZDIJ.js → chat-BQCLG19u.js} +1 -1
  78. package/dist/assets/{checkmark-DkovB8tT.js → checkmark-B5Fux3Pl.js} +1 -1
  79. package/dist/assets/{checkmark-bold-CmfbyRg3.js → checkmark-bold-Dp8jDXhs.js} +1 -1
  80. package/dist/assets/{chevron-bottom-Cd2Tu5bo.js → chevron-bottom-CtSZ7QCz.js} +1 -1
  81. package/dist/assets/{chevron-left-OKfxqlAy.js → chevron-left-CJEPJ5_1.js} +1 -1
  82. package/dist/assets/{chevron-right-DQ7Z4Pzi.js → chevron-right-DicsXs7P.js} +1 -1
  83. package/dist/assets/{chevron-top-C8L6Du0g.js → chevron-top-DVq00hBH.js} +1 -1
  84. package/dist/assets/{chrome-store-CYDSOc5F.js → chrome-store-DgCkiA6J.js} +1 -1
  85. package/dist/assets/{clock-DpUNbUFo.js → clock-DFH4AmhV.js} +1 -1
  86. package/dist/assets/{close-Ws5S1UUX.js → close-C4DolrQ5.js} +1 -1
  87. package/dist/assets/{coinPlaceholder-Fj74QJ3g.js → coinPlaceholder-Bffa4A2-.js} +1 -1
  88. package/dist/assets/{compass-ByoxgNTX.js → compass-DxorKR7R.js} +1 -1
  89. package/dist/assets/{copy-BNiMlRSf.js → copy-C3-wkk65.js} +1 -1
  90. package/dist/assets/{cursor-DQWmzmEA.js → cursor-DmnmjyPC.js} +1 -1
  91. package/dist/assets/{cursor-transparent-DBZG5eyO.js → cursor-transparent-B7pgwytV.js} +1 -1
  92. package/dist/assets/{debounce-DFdNvHt7.js → debounce-nUXpLGnC.js} +1 -1
  93. package/dist/assets/{desktop-mmp0UNY_.js → desktop-Dc4qz-NJ.js} +1 -1
  94. package/dist/assets/{disconnect-AlEyitQW.js → disconnect-BxvhYRy6.js} +1 -1
  95. package/dist/assets/{discord-ADQs0REe.js → discord-6jRu3O7d.js} +1 -1
  96. package/dist/assets/{distribution-CNa27ud-.js → distribution-v_sbPJ4V.js} +1 -1
  97. package/dist/assets/{dropdown-B4LEyqVL.js → dropdown-Ej_wcyFw.js} +1 -1
  98. package/dist/assets/{etherscan-DEd8oG7n.js → etherscan-_LdRkq4F.js} +1 -1
  99. package/dist/assets/{exclamation-triangle-0KvGagRT.js → exclamation-triangle-DetPX0np.js} +1 -1
  100. package/dist/assets/{extension-DtOGbK7v.js → extension-D3Palm7i.js} +1 -1
  101. package/dist/assets/{external-link-CcVK_B8F.js → external-link-DuWuLiRx.js} +1 -1
  102. package/dist/assets/{facebook-NOzOIVYQ.js → facebook-B8Al44Z_.js} +1 -1
  103. package/dist/assets/{farcaster-BonGQmpi.js → farcaster-Cw5xlATo.js} +1 -1
  104. package/dist/assets/{filters-HqYGvr_4.js → filters-CYc-jLdA.js} +1 -1
  105. package/dist/assets/{flux-BGInhSYQ.js → flux-Pl3U2n8v.js} +1 -1
  106. package/dist/assets/{github-ClBEbjZa.js → github-Cyuxx8TA.js} +1 -1
  107. package/dist/assets/{google-CrqmqxTx.js → google-BZaJMktk.js} +1 -1
  108. package/dist/assets/{hailuo-CX-XlX2C.js → hailuo-Diwu7z5P.js} +1 -1
  109. package/dist/assets/{headshots-GtpOarsr.js → headshots-DXIXTcpi.js} +1 -1
  110. package/dist/assets/{help-circle-DOOoPv1d.js → help-circle-BtXWnBJr.js} +1 -1
  111. package/dist/assets/{id-CawcJkZm.js → id-Y7lZxyMv.js} +1 -1
  112. package/dist/assets/{image-Dn8ALFbN.js → image-rfsHDYlD.js} +1 -1
  113. package/dist/assets/{index-nh7FOxiG.js → index-1UHGoqW6.js} +1 -1
  114. package/dist/assets/{index-kYMeyNFG.js → index-7s0Zhm73.js} +1 -1
  115. package/dist/assets/{index-DPE5ox0W.js → index-B0qVg8po.js} +1 -1
  116. package/dist/assets/{index-D7X8R8q8.js → index-B2GUeuao.js} +1 -1
  117. package/dist/assets/{index-C-9tE9fE.js → index-B6pO_SGt.js} +1 -1
  118. package/dist/assets/{index-Ck1f0PLc.js → index-BACp6tdZ.js} +1 -1
  119. package/dist/assets/{index-UQ-5wmiw.js → index-BBpHaEd1.js} +1 -1
  120. package/dist/assets/{index-BqNMJBya.js → index-BNX5K5xg.js} +1 -1
  121. package/dist/assets/{index-UW3Sx-3s.js → index-BSiHO8Wn.js} +1 -1
  122. package/dist/assets/{index-CdxDC4r-.js → index-BU9sbSoG.js} +1 -1
  123. package/dist/assets/{index-ClVmOtxV.js → index-BgqYhg6J.js} +1 -1
  124. package/dist/assets/{index-BhYqPLDH.js → index-Bjr04aGd.js} +1 -1
  125. package/dist/assets/{index-ojdxBcnO.js → index-BkyNtjO5.js} +6 -6
  126. package/dist/assets/{index-DtJfBmV5.js → index-BqJZyYQm.js} +1 -1
  127. package/dist/assets/{index-Czmk9Vo5.js → index-BrzGoc9w.js} +14 -14
  128. package/dist/assets/{index-B8EX_4nN.js → index-C1QAy3no.js} +1 -1
  129. package/dist/assets/{index-CehQDxZn.js → index-C2NH5oXZ.js} +1 -1
  130. package/dist/assets/{index-DD9NuB8c.js → index-C6g2KJxr.js} +1 -1
  131. package/dist/assets/{index-6Q9t1Ed7.js → index-C8fHWVUJ.js} +1 -1
  132. package/dist/assets/{index-CuU9sKqj.js → index-C9ce5DVt.js} +1 -1
  133. package/dist/assets/{index-gSZh88yT.js → index-C9uTVM53.js} +1 -1
  134. package/dist/assets/{index-B_MYkK-X.js → index-CIicIOwh.js} +1 -1
  135. package/dist/assets/{index-DQsoiO0k.js → index-CMWd756O.js} +1 -1
  136. package/dist/assets/{index-BySAK20i.js → index-CNPhJkI9.js} +1 -1
  137. package/dist/assets/{index-BOrdfXm0.js → index-CSU-X7no.js} +1 -1
  138. package/dist/assets/{index-O2goqxN2.js → index-CV9K6jrH.js} +1 -1
  139. package/dist/assets/{index-CDyDMl98.js → index-Cacq23Qh.js} +1 -1
  140. package/dist/assets/{index-U5TlZmGP.js → index-CbXHAIom.js} +1 -1
  141. package/dist/assets/{index-DnVPyvwY.js → index-ChwRsQme.js} +1 -1
  142. package/dist/assets/{index-BVSZEBka.js → index-Citb-QTg.js} +1 -1
  143. package/dist/assets/{index-B9mkebXK.js → index-CjrempaF.js} +1 -1
  144. package/dist/assets/{index-DKqFJCvG.js → index-CncRd_OE.js} +1 -1
  145. package/dist/assets/{index-eB_C8weR.js → index-CpRa74Vd.js} +1 -1
  146. package/dist/assets/{index-ul7ITtMB.js → index-CqmUViS4.js} +1 -1
  147. package/dist/assets/{index-CWFxDYqD.js → index-CyLz9gAB.js} +1 -1
  148. package/dist/assets/{index-BY-ZoC5t.js → index-CzLrviw6.js} +1 -1
  149. package/dist/assets/{index-LidlhdYE.js → index-D69Ws_Mf.js} +1 -1
  150. package/dist/assets/{index-Duqnk6y3.js → index-DA467GJv.js} +1 -1
  151. package/dist/assets/{index-O4TX7hsc.js → index-DBEMH48b.js} +1 -1
  152. package/dist/assets/{index-BVuNfJJ8.js → index-DBK24mu1.js} +1 -1
  153. package/dist/assets/{index-DVILE-GE.js → index-DBzHZ-GT.js} +1 -1
  154. package/dist/assets/{index-DuY0d_Dx.js → index-DLboAQV8.js} +1 -1
  155. package/dist/assets/{index-C37xDdHA.js → index-DR-gGUll.js} +1 -1
  156. package/dist/assets/{index-BuLn0ty3.js → index-DSRfEjST.js} +1 -1
  157. package/dist/assets/{index-We5OlH6O.js → index-DbnhhsDh.js} +1 -1
  158. package/dist/assets/{index-BkovYRqP.js → index-Dw-8FWUK.js} +1 -1
  159. package/dist/assets/{index-DK7Kx24U.js → index-DwKDHh7r.js} +1 -1
  160. package/dist/assets/{index-BA6OnlkK.js → index-Dy_oj-sm.js} +1 -1
  161. package/dist/assets/{index-CiE6dz8g.js → index-EtCgXRWO.js} +1 -1
  162. package/dist/assets/{index-HRknSgqZ.js → index-IIfFi2rp.js} +1 -1
  163. package/dist/assets/{index-D0UVYFIw.js → index-UyXBJb5u.js} +1 -1
  164. package/dist/assets/{index-DHH-Zy_S.js → index-aNCtzjoq.js} +1 -1
  165. package/dist/assets/{index-DJuQtkyB.js → index-bGiiBed3.js} +3 -3
  166. package/dist/assets/{index-D3GgdGNu.js → index-d3hpeMTQ.js} +1 -1
  167. package/dist/assets/{index-B9OdoFRK.js → index-e3hP4TJp.js} +1 -1
  168. package/dist/assets/{index-Ce2YPDz8.js → index-ejYhAAne.js} +1 -1
  169. package/dist/assets/{index-COEVVJJm.js → index-lcX-syVa.js} +1 -1
  170. package/dist/assets/{index-qtV91ZbD.js → index-pCvLjYD9.js} +1 -1
  171. package/dist/assets/{index-BSEftxF2.js → index-tHp45E0F.js} +1 -1
  172. package/dist/assets/{index-pCQhMpJj.js → index-tqJB1jHk.js} +1 -1
  173. package/dist/assets/{index-ChsgTrac.js → index-wMxqlRIi.js} +1 -1
  174. package/dist/assets/{index.browser.esm-CBVq50TP.js → index.browser.esm-BQKpojnJ.js} +1 -1
  175. package/dist/assets/{index.es-6Y-zE2ze.js → index.es-DE_kijvM.js} +1 -1
  176. package/dist/assets/{info-CKQ87Exu.js → info-9txzvN2R.js} +1 -1
  177. package/dist/assets/{info-circle-CylG5cgj.js → info-circle-DBag765L.js} +1 -1
  178. package/dist/assets/{isEqual-DlunMOKg.js → isEqual-DiEF_W0X.js} +1 -1
  179. package/dist/assets/{isPlainObject-B8td5WUA.js → isPlainObject-CotdIs2s.js} +1 -1
  180. package/dist/assets/{kling-BRVdX3Pd.js → kling-P10RYuRD.js} +1 -1
  181. package/dist/assets/{lightbulb-C8MmxeAe.js → lightbulb-Dt33wI8G.js} +1 -1
  182. package/dist/assets/{luma-BLLctpmL.js → luma-AOgfAALs.js} +1 -1
  183. package/dist/assets/{mail-BqUXM8OY.js → mail-1iVEYKnC.js} +1 -1
  184. package/dist/assets/{midjourney-BS4xLpAe.js → midjourney-gxrzXE9C.js} +1 -1
  185. package/dist/assets/{mobile-Dhj_AZpv.js → mobile-DSTMSkG1.js} +1 -1
  186. package/dist/assets/{more-CnlIoHj4.js → more-BcvOeO80.js} +1 -1
  187. package/dist/assets/{nanobanana-Bxt_qjAC.js → nanobanana-BMAlz8RD.js} +1 -1
  188. package/dist/assets/{network-placeholder-BPF8lqNW.js → network-placeholder-Bfl4-f7w.js} +1 -1
  189. package/dist/assets/{nftPlaceholder-BGtgkgPF.js → nftPlaceholder-BJbYC8Mn.js} +1 -1
  190. package/dist/assets/{off-B7MuPQtM.js → off-VBm3Zrdl.js} +1 -1
  191. package/dist/assets/{openaiimage-D9IqRK26.js → openaiimage-WONL9sqx.js} +1 -1
  192. package/dist/assets/{order-BH7cxQeS.js → order-DVNuHEP5.js} +1 -1
  193. package/dist/assets/{pika-BSMtqSX_.js → pika-DsVUDJxY.js} +1 -1
  194. package/dist/assets/{pixverse-BFgkYesY.js → pixverse-DNKhuRUC.js} +1 -1
  195. package/dist/assets/{play-store-TGJyXK1Q.js → play-store-CLRCMqET.js} +1 -1
  196. package/dist/assets/{plus-XT-eqdhn.js → plus-EZoKiuxs.js} +1 -1
  197. package/dist/assets/{price-Dn2q_6i-.js → price-iy-Anphf.js} +1 -1
  198. package/dist/assets/{producer-Bf_GqfWG.js → producer-D6XlOR_R.js} +1 -1
  199. package/dist/assets/{qr-code-CXK4cr2G.js → qr-code-aS7fK4zK.js} +1 -1
  200. package/dist/assets/{qrart-xDF7AILA.js → qrart-CH9HH4Xc.js} +1 -1
  201. package/dist/assets/{recycle-horizontal-DcTbhHGD.js → recycle-horizontal-B6Pqy8G1.js} +1 -1
  202. package/dist/assets/{refresh-OwyoLp91.js → refresh-DuuCrDE9.js} +1 -1
  203. package/dist/assets/{reown-logo-DMnA-2JS.js → reown-logo-Mu_P0sRj.js} +1 -1
  204. package/dist/assets/{search-D5eWuot6.js → search-D8VZr5sI.js} +1 -1
  205. package/dist/assets/{secp256k1-CgpRTl6a.js → secp256k1-Bzjy17Fv.js} +1 -1
  206. package/dist/assets/{secp256k1-BdO14UZh.js → secp256k1-CJJsqZcX.js} +1 -1
  207. package/dist/assets/{seedance-CpnM7-u5.js → seedance-PHNNt2D3.js} +1 -1
  208. package/dist/assets/{seedream-CsX2K46a.js → seedream-CNdRPeFe.js} +1 -1
  209. package/dist/assets/{send-xhrly_xY.js → send-Cl7DbQZD.js} +1 -1
  210. package/dist/assets/{service-C9jfUCX7.js → service-D8qIIEhe.js} +1 -1
  211. package/dist/assets/{solana-wallets-BOQmHms_.js → solana-wallets-DO6CpyVY.js} +2 -2
  212. package/dist/assets/{solana-wallets-vue-CANL4OQw.js → solana-wallets-vue-Bp_5sUyq.js} +1 -1
  213. package/dist/assets/{solanaEmbed.esm-8KqNR-sn.js → solanaEmbed.esm-8L-9uNh1.js} +1 -1
  214. package/dist/assets/{sora-CYBO9z5Y.js → sora-iEH9vDBL.js} +1 -1
  215. package/dist/assets/{string_decoder-D-jcm-Dk.js → string_decoder-AE4ZguFz.js} +1 -1
  216. package/dist/assets/{suno-Chm4xEDj.js → suno-C6kYB4Bp.js} +1 -1
  217. package/dist/assets/{swapHorizontal-Bk3hVCbh.js → swapHorizontal-gCakm0Z_.js} +1 -1
  218. package/dist/assets/{swapHorizontalBold-CjeXwf_P.js → swapHorizontalBold-BufoTk70.js} +1 -1
  219. package/dist/assets/{swapHorizontalMedium-BB5MHEUJ.js → swapHorizontalMedium-CrAgG0o4.js} +1 -1
  220. package/dist/assets/{swapHorizontalRoundedBold-DxZ-xpsB.js → swapHorizontalRoundedBold-DLuEJg_1.js} +1 -1
  221. package/dist/assets/{swapVertical-Q75evzxh.js → swapVertical-Dr-9tOyw.js} +1 -1
  222. package/dist/assets/{telegram-2TYC5sx0.js → telegram-BfgHgiT1.js} +1 -1
  223. package/dist/assets/{three-dots-G9V-z3T6.js → three-dots-DJhO8kda.js} +1 -1
  224. package/dist/assets/{twitch-CmPDDnCI.js → twitch-DWVFCbnJ.js} +1 -1
  225. package/dist/assets/{twitterIcon-B21mN7tu.js → twitterIcon-BDjAIPKM.js} +1 -1
  226. package/dist/assets/{typescript-C9zgpbNj.js → typescript-TkgQUed9.js} +1 -1
  227. package/dist/assets/{use-form-item-C_iVSxIM.js → use-form-item-Ba4HUS6_.js} +1 -1
  228. package/dist/assets/validator-CMuFBVd4.js +1 -0
  229. package/dist/assets/{veo-Dwokt1fP.js → veo-DgN_c6xr.js} +1 -1
  230. package/dist/assets/{verify-b1oNiZwm.js → verify-CrB8FZ0U.js} +1 -1
  231. package/dist/assets/{verify-filled-jTkJ4g-H.js → verify-filled-BvKBCeRU.js} +1 -1
  232. package/dist/assets/{w3m-modal-Nh4Y9zpg.js → w3m-modal-BvRS1xyp.js} +1 -1
  233. package/dist/assets/{wallet-BhS07gvy.js → wallet-DQiQ7KL6.js} +1 -1
  234. package/dist/assets/{wallet-placeholder-BJXTyqc5.js → wallet-placeholder-BkXwQUZ8.js} +1 -1
  235. package/dist/assets/{walletconnect-e1pt9ptA.js → walletconnect-DUaqUiav.js} +1 -1
  236. package/dist/assets/{wan-CKyazoG5.js → wan-DrUw_qWV.js} +1 -1
  237. package/dist/assets/{warning-circle-D3Sk_HBx.js → warning-circle-CMkwci-9.js} +1 -1
  238. package/dist/assets/{web-DEG_yIev.js → web-DXcZxz-L.js} +1 -1
  239. package/dist/assets/{web-DWoNMDdW.js → web-ZJiDE0Jz.js} +1 -1
  240. package/dist/assets/{x-vVLO8BbZ.js → x-DywFQKeA.js} +1 -1
  241. package/dist/index.html +1 -1
  242. package/package.json +1 -1
  243. package/dist/assets/validator-C2BgMW0V.js +0 -1
@@ -1 +1 @@
1
- import{I as D}from"./api-Ch0ZHArw.js";import{D as y,aa as M,bE as F,a6 as U}from"./index-Czmk9Vo5.js";import{g as E}from"./price-Dn2q_6i-.js";import{d as S,H as s,F as t,q as a,O as v,N as _,I as f,J as l,x as d,y as i,C as o,E as $,Q as T,G as N,D as n,L as A}from"./vendor-vue-C5BV5QrY.js";import{o as z}from"./order-BH7cxQeS.js";import{E as G,a as j}from"./index-CuU9sKqj.js";import{E as W}from"./index-BuLn0ty3.js";import{E as H}from"./index-pCQhMpJj.js";import{E as J,a as Q}from"./index-gSZh88yT.js";import{E as K}from"./index-DVILE-GE.js";import{E as X,a as Y}from"./index-O2goqxN2.js";import{a as Z}from"./index-CiE6dz8g.js";import{E as x}from"./index-DuY0d_Dx.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-C37xDdHA.js";import"./use-form-item-C_iVSxIM.js";import"./index-BuyEbX8F.js";import"./castArray-DHSoEYfB.js";import"./typescript-C9zgpbNj.js";import"./_baseClone-CAE5mQRc.js";import"./_Uint8Array-ncuXegKE.js";import"./_initCloneObject-vYpGCrtd.js";const ee=S({name:"ApiPrice",props:{price:{type:Number,required:!1,default:0},unit:{type:String,required:!1,default:void 0},start:{type:Boolean,required:!1,default:!1}},methods:{getPriceString:E}}),ae={class:"price-text"},te={key:0,class:"unfree"},ie={key:1,class:"free"};function se(e,p,k,C,I,O){return a(),s("div",ae,[e.price>0?(a(),s("span",te,t(e.getPriceString({value:e.price}))+" "+t(e.unit?` / ${e.unit}`:"")+t(e.start?e.$t("common.message.startPrice"):""),1)):(a(),s("span",ie,t(e.$t("common.message.free")),1))])}const oe=y(ee,[["render",se],["__scopeId","data-v-bb068181"]]),re=S({name:"ServiceEstimation",components:{},props:{service:{type:Object,required:!0},package:{type:Object,required:!0}},methods:{getPriceString:E}}),ne={class:"estimation"},le={key:0,class:"item"},pe={key:0},ce={key:1},ue={key:2},de={key:0},me={key:1};function he(e,p,k,C,I,O){return a(),s("div",ne,[(a(!0),s(v,null,_(e.service?.apis,(m,h)=>(a(),s("div",{key:h},[(a(!0),s(v,null,_(m?.estimation,(c,g)=>(a(),s("div",{key:g,class:"items"},[e.package?.amount&&c?.cost?(a(),s("p",le,[f(" ≈ "+t(c.name)+" "+t(Math.round(e.package.amount/c.cost))+" "+t(e.$t("api.unit.count"))+" ",1),e.package.price>0?(a(),s("span",pe," - "+t(e.getPriceString({value:e.package.price/(e.package.amount/c.cost),fractionDigits:3})+" / "+e.$t("api.unit.count")),1)):l("",!0),c.remark?(a(),s("span",ce," ("+t(c.remark)+") ",1)):l("",!0),(c?.comparisons?.length??0)>0?(a(),s("span",ue," - ")):l("",!0),(a(!0),s(v,null,_(c?.comparisons,(r,b)=>(a(),s("span",{key:b,class:"comparison"},[r?.value<0?(a(),s("i",de,t(e.$t("api.message.cheaperThan").replace("$[[value]]",r?.target?.toString()))+" "+t(Math.abs(r?.value)*100)+"% ",1)):l("",!0),r?.value>0?(a(),s("i",me,t(e.$t("api.message.moreExpensiveThan").replace("$[[value]]",r?.target?.toString()))+" "+t(Math.abs(r?.value)*100)+"% ",1)):l("",!0)]))),128))])):l("",!0)]))),128))]))),128))])}const fe=y(re,[["render",he],["__scopeId","data-v-768cf35f"]]),ge=S({name:"ConsoleApplicationBuy",components:{ElSkeleton:Z,ElRow:Y,ElCol:X,ElCard:K,ElForm:Q,ElFormItem:J,ElButton:H,ElDivider:W,ElRadioGroup:j,ElRadioButton:G,Price:oe,ServiceEstimation:fe},data(){return{lang:this.$i18n.locale,application:void 0,loading:!1,type:D.USAGE,form:{packageId:void 0,amount:void 0},creating:!1}},computed:{applicationId(){return this.$route.params?.id?.toString()},id(){return this.$route.params?.id?.toString()},price(){return this.application?.service?.price&&this.form.amount?this.form.amount*this.application.service?.price:0},packages(){return this.application?.packages?.filter(e=>e.type===D.USAGE).sort((e,p)=>e.amount-p.amount)||[]},package(){if(this.packages&&this.form.packageId){const e=this.packages.filter(p=>p.id===this.form.packageId);if(e.length>0)return e[0]}}},mounted(){this.onFetchApplication()},methods:{getDiscount(e){return this.packages&&this.packages.length>0?this.lang?.startsWith("zh")?(10*e?.price/e?.amount/(this.packages[0].price/this.packages[0]?.amount)).toFixed(1)+"折":Math.round(100-100*e?.price/e?.amount/(this.packages[0].price/this.packages[0]?.amount))+"% OFF":""},onSubscribe(){this.$router.push({name:F,params:this.$route.params})},getPriceString:E,onFetchApplication(){this.loading=!0,U.get(this.id).then(({data:e})=>{this.application=e,this.loading=!1,this.form.packageId=this.packages?.[0]?.id}).catch(()=>{this.loading=!1})},onChangeType(){this.$router.push({name:F,params:this.$route.params})},onCreateOrder(){if(!this.application?.id)return;this.creating=!0;const e=this.$t(`service.unit.${this.application?.service?.unit}s`);z.create({application_id:this.application?.id,amount:this.package?.amount,...this.form.packageId!=="custom"&&this.package?{package_id:this.package.id}:{},description:this.application?.service?`${this.application?.service?.title} x ${this.package?.amount} ${e}`:this.$t("application.title.globalBuy")+" - "+this.package?.amount+" "+this.$t("service.unit.credits")}).then(({data:p})=>{this.creating=!1;const k=p;this.$router.push({name:M,params:{id:k.id}})}).catch(()=>{x.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),ke={class:"title"},$e={key:0},ve={class:"text-[var(--el-text-color-secondary)] text-[12px] mb-3"},_e={key:0,class:"ml-2"},be={key:1,class:T({price:!0,free:!0})};function ye(e,p,k,C,I,O){const m=n("el-col"),h=n("el-row"),c=n("el-skeleton"),g=n("el-divider"),r=n("el-form-item"),b=n("el-radio-button"),w=n("el-radio-group"),R=n("service-estimation"),V=n("price"),B=n("el-button"),q=n("el-form"),L=n("el-card");return a(),d(h,{class:"panel"},{default:i(()=>[o(m,{span:24},{default:i(()=>[o(h,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[$("h2",ke,t(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),o(h,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[o(L,{shadow:"hover",class:"min-h-[500px]"},{default:i(()=>[o(h,null,{default:i(()=>[o(m,{span:16,offset:4},{default:i(()=>[e.loading?(a(),d(c,{key:0})):e.application?(a(),d(q,{key:1,"label-width":"100px"},{default:i(()=>[e.application?.service?l("",!0):(a(),s("div",$e,[$("p",ve,t(e.$t("application.message.globalBalanceBuyDescription")),1),o(g,{"border-style":"dashed"})])),e.application?.service?(a(),d(r,{key:1,label:e.$t("application.field.service")},{default:i(()=>[f(t(e.application?.service?.title),1)]),_:1},8,["label"])):(a(),d(r,{key:2,label:e.$t("application.field.scope")},{default:i(()=>[f(t(e.$t("application.title.globalBuy")),1)]),_:1},8,["label"])),o(r,{label:e.$t("application.field.package"),class:"mb-0"},{default:i(()=>[e.packages?(a(),d(w,{key:0,modelValue:e.form.packageId,"onUpdate:modelValue":p[0]||(p[0]=u=>e.form.packageId=u)},{default:i(()=>[(a(!0),s(v,null,_(e.packages,(u,P)=>(a(),d(b,{key:P,label:u.id,class:"mb-2"},{default:i(()=>[N($("span",{class:"corner"},t(e.getDiscount(u)),513),[[A,P!==0]]),f(" "+t(u.amount)+" "+t(e.$t(`service.unit.${e.application?.service?.unit||"credit"}s`)),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])):l("",!0)]),_:1},8,["label"]),e.application?.service?.apis&&e.application?.service?.apis?.map(u=>u?.estimation).filter(u=>!!u)?.length>0?(a(),d(r,{key:3},{default:i(()=>[e.application?.service?(a(),d(R,{key:0,service:e.application.service,package:e.package},null,8,["service","package"])):l("",!0)]),_:1})):l("",!0),o(r,{label:e.$t("service.field.price")},{default:i(()=>[o(V,{price:e.package?.price},null,8,["price"]),e.package?(a(),s("span",_e,"("+t(e.getPriceString({value:e.package?.price/e.package?.amount})+" / "+e.$t(`service.unit.${e.application?.service?.unit||"credits"}`))+") ",1)):l("",!0)]),_:1},8,["label"]),o(g,{"border-style":"dashed"}),o(r,{label:e.$t("application.field.shouldPayPrice")},{default:i(()=>[e.package?(a(),s("span",{key:0,class:T({price:!0,unfree:e.package?.price>0,free:e.package?.price===0})},t(e.getPriceString({value:e.package?.price})),3)):(a(),s("span",be," $ 0 "))]),_:1},8,["label"]),o(r,null,{default:i(()=>[o(B,{type:"primary",size:"large",class:"btn-create",loading:e.creating,round:"",onClick:e.onCreateOrder},{default:i(()=>[f(t(e.$t("application.button.createOrder")),1)]),_:1},8,["loading","onClick"])]),_:1}),o(g,{"border-style":"dashed"}),N(o(r,{label:""},{default:i(()=>[$("span",null,t(e.$t("console.message.doNotWantExtra")),1),o(B,{type:"primary",class:"btn btn-subscribe",round:"",size:"small",onClick:e.onSubscribe},{default:i(()=>[f(t(e.$t("console.message.subscribe")),1)]),_:1},8,["onClick"])]),_:1},512),[[A,!1]])]),_:1})):l("",!0)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Je=y(ge,[["render",ye],["__scopeId","data-v-fcfd9ab5"]]);export{Je as default};
1
+ import{I as D}from"./api-Ch0ZHArw.js";import{D as y,aa as M,bE as F,a6 as U}from"./index-BrzGoc9w.js";import{g as E}from"./price-iy-Anphf.js";import{d as S,H as s,F as t,q as a,O as v,N as _,I as f,J as l,x as d,y as i,C as o,E as $,Q as T,G as N,D as n,L as A}from"./vendor-vue-C5BV5QrY.js";import{o as z}from"./order-DVNuHEP5.js";import{E as G,a as j}from"./index-C9ce5DVt.js";import{E as W}from"./index-DSRfEjST.js";import{E as H}from"./index-tqJB1jHk.js";import{E as J,a as Q}from"./index-C9uTVM53.js";import{E as K}from"./index-DBzHZ-GT.js";import{E as X,a as Y}from"./index-CV9K6jrH.js";import{a as Z}from"./index-EtCgXRWO.js";import{E as x}from"./index-DLboAQV8.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-DR-gGUll.js";import"./use-form-item-Ba4HUS6_.js";import"./index-BuyEbX8F.js";import"./castArray-BjuY6S6U.js";import"./typescript-TkgQUed9.js";import"./_baseClone-C2-4tJcl.js";import"./_Uint8Array-D2WQC74G.js";import"./_initCloneObject-FTaNr8RK.js";const ee=S({name:"ApiPrice",props:{price:{type:Number,required:!1,default:0},unit:{type:String,required:!1,default:void 0},start:{type:Boolean,required:!1,default:!1}},methods:{getPriceString:E}}),ae={class:"price-text"},te={key:0,class:"unfree"},ie={key:1,class:"free"};function se(e,p,k,C,I,O){return a(),s("div",ae,[e.price>0?(a(),s("span",te,t(e.getPriceString({value:e.price}))+" "+t(e.unit?` / ${e.unit}`:"")+t(e.start?e.$t("common.message.startPrice"):""),1)):(a(),s("span",ie,t(e.$t("common.message.free")),1))])}const oe=y(ee,[["render",se],["__scopeId","data-v-bb068181"]]),re=S({name:"ServiceEstimation",components:{},props:{service:{type:Object,required:!0},package:{type:Object,required:!0}},methods:{getPriceString:E}}),ne={class:"estimation"},le={key:0,class:"item"},pe={key:0},ce={key:1},ue={key:2},de={key:0},me={key:1};function he(e,p,k,C,I,O){return a(),s("div",ne,[(a(!0),s(v,null,_(e.service?.apis,(m,h)=>(a(),s("div",{key:h},[(a(!0),s(v,null,_(m?.estimation,(c,g)=>(a(),s("div",{key:g,class:"items"},[e.package?.amount&&c?.cost?(a(),s("p",le,[f(" ≈ "+t(c.name)+" "+t(Math.round(e.package.amount/c.cost))+" "+t(e.$t("api.unit.count"))+" ",1),e.package.price>0?(a(),s("span",pe," - "+t(e.getPriceString({value:e.package.price/(e.package.amount/c.cost),fractionDigits:3})+" / "+e.$t("api.unit.count")),1)):l("",!0),c.remark?(a(),s("span",ce," ("+t(c.remark)+") ",1)):l("",!0),(c?.comparisons?.length??0)>0?(a(),s("span",ue," - ")):l("",!0),(a(!0),s(v,null,_(c?.comparisons,(r,b)=>(a(),s("span",{key:b,class:"comparison"},[r?.value<0?(a(),s("i",de,t(e.$t("api.message.cheaperThan").replace("$[[value]]",r?.target?.toString()))+" "+t(Math.abs(r?.value)*100)+"% ",1)):l("",!0),r?.value>0?(a(),s("i",me,t(e.$t("api.message.moreExpensiveThan").replace("$[[value]]",r?.target?.toString()))+" "+t(Math.abs(r?.value)*100)+"% ",1)):l("",!0)]))),128))])):l("",!0)]))),128))]))),128))])}const fe=y(re,[["render",he],["__scopeId","data-v-768cf35f"]]),ge=S({name:"ConsoleApplicationBuy",components:{ElSkeleton:Z,ElRow:Y,ElCol:X,ElCard:K,ElForm:Q,ElFormItem:J,ElButton:H,ElDivider:W,ElRadioGroup:j,ElRadioButton:G,Price:oe,ServiceEstimation:fe},data(){return{lang:this.$i18n.locale,application:void 0,loading:!1,type:D.USAGE,form:{packageId:void 0,amount:void 0},creating:!1}},computed:{applicationId(){return this.$route.params?.id?.toString()},id(){return this.$route.params?.id?.toString()},price(){return this.application?.service?.price&&this.form.amount?this.form.amount*this.application.service?.price:0},packages(){return this.application?.packages?.filter(e=>e.type===D.USAGE).sort((e,p)=>e.amount-p.amount)||[]},package(){if(this.packages&&this.form.packageId){const e=this.packages.filter(p=>p.id===this.form.packageId);if(e.length>0)return e[0]}}},mounted(){this.onFetchApplication()},methods:{getDiscount(e){return this.packages&&this.packages.length>0?this.lang?.startsWith("zh")?(10*e?.price/e?.amount/(this.packages[0].price/this.packages[0]?.amount)).toFixed(1)+"折":Math.round(100-100*e?.price/e?.amount/(this.packages[0].price/this.packages[0]?.amount))+"% OFF":""},onSubscribe(){this.$router.push({name:F,params:this.$route.params})},getPriceString:E,onFetchApplication(){this.loading=!0,U.get(this.id).then(({data:e})=>{this.application=e,this.loading=!1,this.form.packageId=this.packages?.[0]?.id}).catch(()=>{this.loading=!1})},onChangeType(){this.$router.push({name:F,params:this.$route.params})},onCreateOrder(){if(!this.application?.id)return;this.creating=!0;const e=this.$t(`service.unit.${this.application?.service?.unit}s`);z.create({application_id:this.application?.id,amount:this.package?.amount,...this.form.packageId!=="custom"&&this.package?{package_id:this.package.id}:{},description:this.application?.service?`${this.application?.service?.title} x ${this.package?.amount} ${e}`:this.$t("application.title.globalBuy")+" - "+this.package?.amount+" "+this.$t("service.unit.credits")}).then(({data:p})=>{this.creating=!1;const k=p;this.$router.push({name:M,params:{id:k.id}})}).catch(()=>{x.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),ke={class:"title"},$e={key:0},ve={class:"text-[var(--el-text-color-secondary)] text-[12px] mb-3"},_e={key:0,class:"ml-2"},be={key:1,class:T({price:!0,free:!0})};function ye(e,p,k,C,I,O){const m=n("el-col"),h=n("el-row"),c=n("el-skeleton"),g=n("el-divider"),r=n("el-form-item"),b=n("el-radio-button"),w=n("el-radio-group"),R=n("service-estimation"),V=n("price"),B=n("el-button"),q=n("el-form"),L=n("el-card");return a(),d(h,{class:"panel"},{default:i(()=>[o(m,{span:24},{default:i(()=>[o(h,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[$("h2",ke,t(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),o(h,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[o(L,{shadow:"hover",class:"min-h-[500px]"},{default:i(()=>[o(h,null,{default:i(()=>[o(m,{span:16,offset:4},{default:i(()=>[e.loading?(a(),d(c,{key:0})):e.application?(a(),d(q,{key:1,"label-width":"100px"},{default:i(()=>[e.application?.service?l("",!0):(a(),s("div",$e,[$("p",ve,t(e.$t("application.message.globalBalanceBuyDescription")),1),o(g,{"border-style":"dashed"})])),e.application?.service?(a(),d(r,{key:1,label:e.$t("application.field.service")},{default:i(()=>[f(t(e.application?.service?.title),1)]),_:1},8,["label"])):(a(),d(r,{key:2,label:e.$t("application.field.scope")},{default:i(()=>[f(t(e.$t("application.title.globalBuy")),1)]),_:1},8,["label"])),o(r,{label:e.$t("application.field.package"),class:"mb-0"},{default:i(()=>[e.packages?(a(),d(w,{key:0,modelValue:e.form.packageId,"onUpdate:modelValue":p[0]||(p[0]=u=>e.form.packageId=u)},{default:i(()=>[(a(!0),s(v,null,_(e.packages,(u,P)=>(a(),d(b,{key:P,label:u.id,class:"mb-2"},{default:i(()=>[N($("span",{class:"corner"},t(e.getDiscount(u)),513),[[A,P!==0]]),f(" "+t(u.amount)+" "+t(e.$t(`service.unit.${e.application?.service?.unit||"credit"}s`)),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])):l("",!0)]),_:1},8,["label"]),e.application?.service?.apis&&e.application?.service?.apis?.map(u=>u?.estimation).filter(u=>!!u)?.length>0?(a(),d(r,{key:3},{default:i(()=>[e.application?.service?(a(),d(R,{key:0,service:e.application.service,package:e.package},null,8,["service","package"])):l("",!0)]),_:1})):l("",!0),o(r,{label:e.$t("service.field.price")},{default:i(()=>[o(V,{price:e.package?.price},null,8,["price"]),e.package?(a(),s("span",_e,"("+t(e.getPriceString({value:e.package?.price/e.package?.amount})+" / "+e.$t(`service.unit.${e.application?.service?.unit||"credits"}`))+") ",1)):l("",!0)]),_:1},8,["label"]),o(g,{"border-style":"dashed"}),o(r,{label:e.$t("application.field.shouldPayPrice")},{default:i(()=>[e.package?(a(),s("span",{key:0,class:T({price:!0,unfree:e.package?.price>0,free:e.package?.price===0})},t(e.getPriceString({value:e.package?.price})),3)):(a(),s("span",be," $ 0 "))]),_:1},8,["label"]),o(r,null,{default:i(()=>[o(B,{type:"primary",size:"large",class:"btn-create",loading:e.creating,round:"",onClick:e.onCreateOrder},{default:i(()=>[f(t(e.$t("application.button.createOrder")),1)]),_:1},8,["loading","onClick"])]),_:1}),o(g,{"border-style":"dashed"}),N(o(r,{label:""},{default:i(()=>[$("span",null,t(e.$t("console.message.doNotWantExtra")),1),o(B,{type:"primary",class:"btn btn-subscribe",round:"",size:"small",onClick:e.onSubscribe},{default:i(()=>[f(t(e.$t("console.message.subscribe")),1)]),_:1},8,["onClick"])]),_:1},512),[[A,!1]])]),_:1})):l("",!0)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Je=y(ge,[["render",ye],["__scopeId","data-v-fcfd9ab5"]]);export{Je as default};
@@ -1 +1 @@
1
- import{F as c}from"./index.es-6Y-zE2ze.js";import{F as p,D as m}from"./index-Czmk9Vo5.js";import{E as f}from"./index-BSEftxF2.js";import{d,H as a,E as t,C as o,G as x,L as u,F as g,J as h,D as n,q as i}from"./vendor-vue-C5BV5QrY.js";const _=d({name:"FilePreview",components:{FontAwesomeIcon:c,ElProgress:f},props:{name:{type:String,required:!0},percentage:{type:Number,required:!1,default:void 0},closable:{type:Boolean,required:!1,default:!0}},emits:["remove"],methods:{isImageUrl:p}}),v={class:"file cursor-pointer relative rounded-[10px] h-[50px] w-[250px] flex flex-row items-center justify-start bg-[var(--el-bg-color)]"},w={class:"left h-[50px] w-[50px] flex items-center justify-center"},y={class:"wrapper relative w-[35px] h-[35px] flex items-center justify-center rounded-[10px] text-white bg-[#10a37f] m-auto"},b={class:"right flex-1 h-[50px] flex items-center justify-start pl-[2px] text-[14px] text-[var(--el-text-color-primary)] truncate"},F={class:"text-xs font-bold truncate"},k={key:0,class:"close absolute cursor-pointer top-[5px] right-[5px] bg-[rgba(0,0,0,0.7)] text-white w-[15px] rounded-full h-[15px] flex text-[10px] text-center items-center justify-center"};function $(e,s,j,C,q,B){const r=n("font-awesome-icon"),l=n("el-progress");return i(),a("div",v,[t("div",w,[t("div",y,[o(r,{icon:"fa-regular fa-file-alt"}),x(o(l,{type:"circle","stroke-width":3,percentage:e.percentage,width:25,class:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[25px] h-[25px] z-[10] m-auto"},null,8,["percentage"]),[[u,e.percentage&&e.percentage<100]])])]),t("div",b,[t("span",F,g(e.name),1)]),e.closable?(i(),a("div",k,[o(r,{icon:"fa-solid fa-xmark",class:"icon icon-close",onClick:s[0]||(s[0]=D=>e.$emit("remove"))})])):h("",!0)])}const V=m(_,[["render",$]]);export{V as F};
1
+ import{F as c}from"./index.es-DE_kijvM.js";import{F as p,D as m}from"./index-BrzGoc9w.js";import{E as f}from"./index-tHp45E0F.js";import{d,H as a,E as t,C as o,G as x,L as u,F as g,J as h,D as n,q as i}from"./vendor-vue-C5BV5QrY.js";const _=d({name:"FilePreview",components:{FontAwesomeIcon:c,ElProgress:f},props:{name:{type:String,required:!0},percentage:{type:Number,required:!1,default:void 0},closable:{type:Boolean,required:!1,default:!0}},emits:["remove"],methods:{isImageUrl:p}}),v={class:"file cursor-pointer relative rounded-[10px] h-[50px] w-[250px] flex flex-row items-center justify-start bg-[var(--el-bg-color)]"},w={class:"left h-[50px] w-[50px] flex items-center justify-center"},y={class:"wrapper relative w-[35px] h-[35px] flex items-center justify-center rounded-[10px] text-white bg-[#10a37f] m-auto"},b={class:"right flex-1 h-[50px] flex items-center justify-start pl-[2px] text-[14px] text-[var(--el-text-color-primary)] truncate"},F={class:"text-xs font-bold truncate"},k={key:0,class:"close absolute cursor-pointer top-[5px] right-[5px] bg-[rgba(0,0,0,0.7)] text-white w-[15px] rounded-full h-[15px] flex text-[10px] text-center items-center justify-center"};function $(e,s,j,C,q,B){const r=n("font-awesome-icon"),l=n("el-progress");return i(),a("div",v,[t("div",w,[t("div",y,[o(r,{icon:"fa-regular fa-file-alt"}),x(o(l,{type:"circle","stroke-width":3,percentage:e.percentage,width:25,class:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[25px] h-[25px] z-[10] m-auto"},null,8,["percentage"]),[[u,e.percentage&&e.percentage<100]])])]),t("div",b,[t("span",F,g(e.name),1)]),e.closable?(i(),a("div",k,[o(r,{icon:"fa-solid fa-xmark",class:"icon icon-close",onClick:s[0]||(s[0]=D=>e.$emit("remove"))})])):h("",!0)])}const V=m(_,[["render",$]]);export{V as F};
@@ -1 +1 @@
1
- import{P as g}from"./Pagination-B8Mmuyja.js";import{C as b}from"./CopyToClipboard-DQNzHfAP.js";import{b as w}from"./distribution-CNa27ud-.js";import{D as y}from"./index-Czmk9Vo5.js";import{g as $}from"./price-Dn2q_6i-.js";import{E as C}from"./index-DVILE-GE.js";import{E as v,a as D}from"./index-U5TlZmGP.js";import{E,a as H}from"./index-O2goqxN2.js";import{d as P,x as c,y as o,C as e,E as a,F as s,G as S,D as r,K as F,q as m}from"./vendor-vue-C5BV5QrY.js";import"./index-ClVmOtxV.js";import"./index-LidlhdYE.js";import"./index-C37xDdHA.js";import"./typescript-C9zgpbNj.js";import"./index-DtJfBmV5.js";import"./strings-DGr9fDRd.js";import"./isEqual-DlunMOKg.js";import"./_Uint8Array-ncuXegKE.js";import"./castArray-DHSoEYfB.js";import"./use-form-item-C_iVSxIM.js";import"./index-CWFxDYqD.js";import"./index-B_MYkK-X.js";import"./debounce-DFdNvHt7.js";import"./_baseIteratee-1PZ70oak.js";import"./index-D3GgdGNu.js";import"./index.es-6Y-zE2ze.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./_initCloneObject-vYpGCrtd.js";import"./isPlainObject-B8td5WUA.js";import"./index-Duqnk6y3.js";const k=P({name:"ConsoleDistributionList",components:{Pagination:g,CopyToClipboard:b,ElRow:H,ElCol:E,ElTable:D,ElTableColumn:v,ElCard:C},data(){return{distributionHistories:[],distributionStatus:void 0,loading:!1,total:void 0,limit:10}},computed:{redirect(){return this.$route.query.redirect},page(){return parseInt(this.$route.query.page?.toString()||"1")}},watch:{page:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{getPriceString:$,onPageChange(t){this.$router.push({name:this.$route.name?.toString(),query:{page:t}})},onFetchData(){this.loading=!0,Promise.all([this.onFetchDistributionHistory()]).finally(()=>{this.loading=!1})},async onFetchDistributionHistory(){const{data:t}=await w.getAll({user_id:this.$store.getters.user.id,ordering:"-created_at",limit:this.limit,offset:(this.page-1)*this.limit});this.distributionHistories=t.items,this.total=t.count}}}),q={class:"title"},B={class:"key"},I={class:"copy"},T={class:"key"},z={class:"copy"},A={class:"price"},N={class:"description"},V={class:"description"},j={class:"created-at"},G={class:"pagination m-v-lg"};function K(t,L,O,R,J,M){const l=r("el-col"),d=r("el-row"),p=r("copy-to-clipboard"),n=r("el-table-column"),u=r("el-table"),_=r("el-card"),h=r("pagination"),f=F("loading");return m(),c(d,{class:"panel"},{default:o(()=>[e(l,{span:24},{default:o(()=>[e(d,null,{default:o(()=>[e(l,{span:24},{default:o(()=>[a("h2",q,s(t.$t("common.title.distributionHistory")),1)]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(l,{span:24},{default:o(()=>[e(_,{shadow:"hover"},{default:o(()=>[S((m(),c(u,{data:t.distributionHistories,stripe:""},{default:o(()=>[e(n,{prop:"id",label:t.$t("distribution.field.id"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",B,s(i.row.id),1),a("span",I,[e(p,{content:i.row.id},null,8,["content"])])]),_:1},8,["label"]),e(n,{prop:"id",label:t.$t("distribution.field.userId"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",T,s(i.row.user_id),1),a("span",z,[e(p,{content:i.row.user_id},null,8,["content"])])]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.price"),width:"100px"},{default:o(i=>[a("span",A,s(t.getPriceString({value:i.row?.price})),1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.reward"),width:"100px"},{default:o(i=>[a("span",N,s(t.getPriceString({value:i.row?.reward})),1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.percentage"),width:"120px"},{default:o(i=>[a("span",V,s(i.row.percentage)+"%",1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.createdAt"),width:"200px"},{default:o(i=>[a("span",j,s(t.$dayjs.format(i.row.created_at)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[f,t.loading]])]),_:1})]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(l,{span:10,offset:14},{default:o(()=>[a("div",G,[e(h,{"current-page":t.page,"page-size":t.limit,total:t.total,onChange:t.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}const Dt=y(k,[["render",K],["__scopeId","data-v-74b9e778"]]);export{Dt as default};
1
+ import{P as g}from"./Pagination-DVRiQD-N.js";import{C as b}from"./CopyToClipboard-DWv68cQC.js";import{b as w}from"./distribution-v_sbPJ4V.js";import{D as y}from"./index-BrzGoc9w.js";import{g as $}from"./price-iy-Anphf.js";import{E as C}from"./index-DBzHZ-GT.js";import{E as v,a as D}from"./index-CbXHAIom.js";import{E,a as H}from"./index-CV9K6jrH.js";import{d as P,x as c,y as o,C as e,E as a,F as s,G as S,D as r,K as F,q as m}from"./vendor-vue-C5BV5QrY.js";import"./index-BgqYhg6J.js";import"./index-D69Ws_Mf.js";import"./index-DR-gGUll.js";import"./typescript-TkgQUed9.js";import"./index-BqJZyYQm.js";import"./strings-DGr9fDRd.js";import"./isEqual-DiEF_W0X.js";import"./_Uint8Array-D2WQC74G.js";import"./castArray-BjuY6S6U.js";import"./use-form-item-Ba4HUS6_.js";import"./index-CyLz9gAB.js";import"./index-CIicIOwh.js";import"./debounce-nUXpLGnC.js";import"./_baseIteratee-CjWBu9n7.js";import"./index-d3hpeMTQ.js";import"./index.es-DE_kijvM.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./_initCloneObject-FTaNr8RK.js";import"./isPlainObject-CotdIs2s.js";import"./index-DA467GJv.js";const k=P({name:"ConsoleDistributionList",components:{Pagination:g,CopyToClipboard:b,ElRow:H,ElCol:E,ElTable:D,ElTableColumn:v,ElCard:C},data(){return{distributionHistories:[],distributionStatus:void 0,loading:!1,total:void 0,limit:10}},computed:{redirect(){return this.$route.query.redirect},page(){return parseInt(this.$route.query.page?.toString()||"1")}},watch:{page:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{getPriceString:$,onPageChange(t){this.$router.push({name:this.$route.name?.toString(),query:{page:t}})},onFetchData(){this.loading=!0,Promise.all([this.onFetchDistributionHistory()]).finally(()=>{this.loading=!1})},async onFetchDistributionHistory(){const{data:t}=await w.getAll({user_id:this.$store.getters.user.id,ordering:"-created_at",limit:this.limit,offset:(this.page-1)*this.limit});this.distributionHistories=t.items,this.total=t.count}}}),q={class:"title"},B={class:"key"},I={class:"copy"},T={class:"key"},z={class:"copy"},A={class:"price"},N={class:"description"},V={class:"description"},j={class:"created-at"},G={class:"pagination m-v-lg"};function K(t,L,O,R,J,M){const l=r("el-col"),d=r("el-row"),p=r("copy-to-clipboard"),n=r("el-table-column"),u=r("el-table"),_=r("el-card"),h=r("pagination"),f=F("loading");return m(),c(d,{class:"panel"},{default:o(()=>[e(l,{span:24},{default:o(()=>[e(d,null,{default:o(()=>[e(l,{span:24},{default:o(()=>[a("h2",q,s(t.$t("common.title.distributionHistory")),1)]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(l,{span:24},{default:o(()=>[e(_,{shadow:"hover"},{default:o(()=>[S((m(),c(u,{data:t.distributionHistories,stripe:""},{default:o(()=>[e(n,{prop:"id",label:t.$t("distribution.field.id"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",B,s(i.row.id),1),a("span",I,[e(p,{content:i.row.id},null,8,["content"])])]),_:1},8,["label"]),e(n,{prop:"id",label:t.$t("distribution.field.userId"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",T,s(i.row.user_id),1),a("span",z,[e(p,{content:i.row.user_id},null,8,["content"])])]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.price"),width:"100px"},{default:o(i=>[a("span",A,s(t.getPriceString({value:i.row?.price})),1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.reward"),width:"100px"},{default:o(i=>[a("span",N,s(t.getPriceString({value:i.row?.reward})),1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.percentage"),width:"120px"},{default:o(i=>[a("span",V,s(i.row.percentage)+"%",1)]),_:1},8,["label"]),e(n,{label:t.$t("distribution.field.createdAt"),width:"200px"},{default:o(i=>[a("span",j,s(t.$dayjs.format(i.row.created_at)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[f,t.loading]])]),_:1})]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(l,{span:10,offset:14},{default:o(()=>[a("div",G,[e(h,{"current-page":t.page,"page-size":t.limit,total:t.total,onChange:t.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}const Dt=y(k,[["render",K],["__scopeId","data-v-74b9e778"]]);export{Dt as default};
@@ -1 +1 @@
1
- import{H as O,N as R,g as B,I as V,L as T,y as I,z as U,R as H,S as N,A as P}from"./index-Czmk9Vo5.js";import{d as b,w as _,q as v,H as x,R as W,u as y,x as g,y as D,V as A,z as q,Q as $,b as G,c as S,S as Z,i as X,C as h}from"./vendor-vue-C5BV5QrY.js";import{c as L}from"./vendor-dayjs-Cvgzdobq.js";const K=O({size:{type:[Number,String],values:B,default:"",validator:e=>T(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:R},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:V(String),default:"cover"}}),Q={error:e=>e instanceof Event},J=b({name:"ElAvatar"}),Y=b({...J,props:K,emits:Q,setup(e,{emit:a}){const s=e,o=U("avatar"),r=G(!1),l=S(()=>{const{size:t,icon:n,shape:c}=s,i=[o.b()];return Z(t)&&i.push(o.m(t)),n&&i.push(o.m("icon")),c&&i.push(o.m(c)),i}),f=S(()=>{const{size:t}=s;return T(t)?o.cssVarBlock({size:N(t)||""}):void 0}),d=S(()=>({objectFit:s.fit}));_(()=>s.src,()=>r.value=!1);function k(t){r.value=!0,a("error",t)}return(t,n)=>(v(),x("span",{class:$(y(l)),style:W(y(f))},[(t.src||t.srcSet)&&!r.value?(v(),x("img",{key:0,src:t.src,alt:t.alt,srcset:t.srcSet,style:W(y(d)),onError:k},null,44,["src","alt","srcset"])):t.icon?(v(),g(y(H),{key:1},{default:D(()=>[(v(),g(A(t.icon)))]),_:1})):q(t.$slots,"default",{key:2})],6))}});var ee=I(Y,[["__file","avatar.vue"]]);const ue=P(ee);function fe(e){const a=Math.floor(e)%60;e=Math.floor(e/60);const s=e%60,o=s<10?`0${s}`:s,r=a<10?`0${a}`:a;return o+":"+r}var C={exports:{}},te=C.exports,M;function oe(){return M||(M=1,(function(e,a){(function(s,o){o()})(te,function(){function s(t,n){return typeof n>"u"?n={autoBom:!1}:typeof n!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),n={autoBom:!n}),n.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function o(t,n,c){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){k(i.response,n,c)},i.onerror=function(){console.error("could not download file")},i.send()}function r(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return 200<=n.status&&299>=n.status}function l(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var f=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof L=="object"&&L.global===L?L:void 0,d=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),k=f.saveAs||(typeof window!="object"||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!d?function(t,n,c){var i=f.URL||f.webkitURL,u=document.createElement("a");n=n||t.name||"download",u.download=n,u.rel="noopener",typeof t=="string"?(u.href=t,u.origin===location.origin?l(u):r(u.href)?o(t,n,c):l(u,u.target="_blank")):(u.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(u.href)},4e4),setTimeout(function(){l(u)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,c){if(n=n||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(s(t,c),n);else if(r(t))o(t,n,c);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){l(i)})}}:function(t,n,c,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return o(t,n,c);var u=t.type==="application/octet-stream",j=/constructor/i.test(f.HTMLElement)||f.safari,w=/CriOS\/[\d]+/.test(navigator.userAgent);if((w||u&&j||d)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var p=m.result;p=w?p:p.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=p:location=p,i=null},m.readAsDataURL(t)}else{var E=f.URL||f.webkitURL,F=E.createObjectURL(t);i?i.location=F:location.href=F,i=null,setTimeout(function(){E.revokeObjectURL(F)},4e4)}});f.saveAs=k.saveAs=k,e.exports=k})})(C)),C.exports}var de=oe();const he="/assets/disk-XFRmVAfp.png";var ne={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function ie(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function re(e,a,s){var o=typeof a.fill=="string"?[a.fill]:a.fill||[],r=[],l=a.theme||s.theme;switch(l){case"outline":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("none"),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("none");break;case"filled":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("#FFF"),r.push("#FFF");break;case"two-tone":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.twoTone.twoTone),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.twoTone.twoTone);break;case"multi-color":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.multiColor.outFillColor),r.push(typeof o[2]=="string"?o[2]:s.colors.multiColor.innerStrokeColor),r.push(typeof o[3]=="string"?o[3]:s.colors.multiColor.innerFillColor);break}return{size:a.size||s.size,strokeWidth:a.strokeWidth||s.strokeWidth,strokeLinecap:a.strokeLinecap||s.strokeLinecap,strokeLinejoin:a.strokeLinejoin||s.strokeLinejoin,colors:r,id:e}}var se=Symbol("icon-context");function z(e,a,s){var o={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(l){var f=ie(),d=X(se,ne);return function(){var k=l.size,t=l.strokeWidth,n=l.strokeLinecap,c=l.strokeLinejoin,i=l.theme,u=l.fill,j=l.spin,w=re(f,{size:k,strokeWidth:t,strokeLinecap:n,strokeLinejoin:c,theme:i,fill:u},d),m=[d.prefix+"-icon"];return m.push(d.prefix+"-icon-"+e),a&&d.rtl&&m.push(d.prefix+"-icon-rtl"),j&&m.push(d.prefix+"-icon-spin"),h("span",{class:m.join(" ")},[s(w)])}}};return o}const ke=z("pause-one",!1,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M19 18V30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M29 18V30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),me=z("play",!0,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),pe=z("volume-small",!0,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ve=b({__name:"IconPark",props:{icon:{type:[Object,Function]},theme:{},size:{},spin:{type:Boolean},fill:{},strokeLinecap:{},strokeLinejoin:{},strokeWidth:{}},setup(e){return(a,s)=>(v(),g(A(e.icon),{theme:e.theme,size:e.size,spin:e.spin,fill:e.fill,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,"stroke-width":e.strokeWidth},null,8,["theme","size","spin","fill","stroke-linecap","stroke-linejoin","stroke-width"]))}});export{ue as E,de as F,he as O,ke as P,pe as V,ve as _,me as a,fe as u};
1
+ import{H as O,N as R,g as B,I as V,L as T,y as I,z as U,R as H,S as N,A as P}from"./index-BrzGoc9w.js";import{d as b,w as _,q as v,H as x,R as W,u as y,x as g,y as D,V as A,z as q,Q as $,b as G,c as S,S as Z,i as X,C as h}from"./vendor-vue-C5BV5QrY.js";import{c as L}from"./vendor-dayjs-Cvgzdobq.js";const K=O({size:{type:[Number,String],values:B,default:"",validator:e=>T(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:R},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:V(String),default:"cover"}}),Q={error:e=>e instanceof Event},J=b({name:"ElAvatar"}),Y=b({...J,props:K,emits:Q,setup(e,{emit:a}){const s=e,o=U("avatar"),r=G(!1),l=S(()=>{const{size:t,icon:n,shape:c}=s,i=[o.b()];return Z(t)&&i.push(o.m(t)),n&&i.push(o.m("icon")),c&&i.push(o.m(c)),i}),f=S(()=>{const{size:t}=s;return T(t)?o.cssVarBlock({size:N(t)||""}):void 0}),d=S(()=>({objectFit:s.fit}));_(()=>s.src,()=>r.value=!1);function k(t){r.value=!0,a("error",t)}return(t,n)=>(v(),x("span",{class:$(y(l)),style:W(y(f))},[(t.src||t.srcSet)&&!r.value?(v(),x("img",{key:0,src:t.src,alt:t.alt,srcset:t.srcSet,style:W(y(d)),onError:k},null,44,["src","alt","srcset"])):t.icon?(v(),g(y(H),{key:1},{default:D(()=>[(v(),g(A(t.icon)))]),_:1})):q(t.$slots,"default",{key:2})],6))}});var ee=I(Y,[["__file","avatar.vue"]]);const ue=P(ee);function fe(e){const a=Math.floor(e)%60;e=Math.floor(e/60);const s=e%60,o=s<10?`0${s}`:s,r=a<10?`0${a}`:a;return o+":"+r}var C={exports:{}},te=C.exports,M;function oe(){return M||(M=1,(function(e,a){(function(s,o){o()})(te,function(){function s(t,n){return typeof n>"u"?n={autoBom:!1}:typeof n!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),n={autoBom:!n}),n.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function o(t,n,c){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){k(i.response,n,c)},i.onerror=function(){console.error("could not download file")},i.send()}function r(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return 200<=n.status&&299>=n.status}function l(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var f=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof L=="object"&&L.global===L?L:void 0,d=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),k=f.saveAs||(typeof window!="object"||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!d?function(t,n,c){var i=f.URL||f.webkitURL,u=document.createElement("a");n=n||t.name||"download",u.download=n,u.rel="noopener",typeof t=="string"?(u.href=t,u.origin===location.origin?l(u):r(u.href)?o(t,n,c):l(u,u.target="_blank")):(u.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(u.href)},4e4),setTimeout(function(){l(u)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,c){if(n=n||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(s(t,c),n);else if(r(t))o(t,n,c);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){l(i)})}}:function(t,n,c,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return o(t,n,c);var u=t.type==="application/octet-stream",j=/constructor/i.test(f.HTMLElement)||f.safari,w=/CriOS\/[\d]+/.test(navigator.userAgent);if((w||u&&j||d)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var p=m.result;p=w?p:p.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=p:location=p,i=null},m.readAsDataURL(t)}else{var E=f.URL||f.webkitURL,F=E.createObjectURL(t);i?i.location=F:location.href=F,i=null,setTimeout(function(){E.revokeObjectURL(F)},4e4)}});f.saveAs=k.saveAs=k,e.exports=k})})(C)),C.exports}var de=oe();const he="/assets/disk-XFRmVAfp.png";var ne={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function ie(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function re(e,a,s){var o=typeof a.fill=="string"?[a.fill]:a.fill||[],r=[],l=a.theme||s.theme;switch(l){case"outline":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("none"),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("none");break;case"filled":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push("#FFF"),r.push("#FFF");break;case"two-tone":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.twoTone.twoTone),r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.twoTone.twoTone);break;case"multi-color":r.push(typeof o[0]=="string"?o[0]:"currentColor"),r.push(typeof o[1]=="string"?o[1]:s.colors.multiColor.outFillColor),r.push(typeof o[2]=="string"?o[2]:s.colors.multiColor.innerStrokeColor),r.push(typeof o[3]=="string"?o[3]:s.colors.multiColor.innerFillColor);break}return{size:a.size||s.size,strokeWidth:a.strokeWidth||s.strokeWidth,strokeLinecap:a.strokeLinecap||s.strokeLinecap,strokeLinejoin:a.strokeLinejoin||s.strokeLinejoin,colors:r,id:e}}var se=Symbol("icon-context");function z(e,a,s){var o={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(l){var f=ie(),d=X(se,ne);return function(){var k=l.size,t=l.strokeWidth,n=l.strokeLinecap,c=l.strokeLinejoin,i=l.theme,u=l.fill,j=l.spin,w=re(f,{size:k,strokeWidth:t,strokeLinecap:n,strokeLinejoin:c,theme:i,fill:u},d),m=[d.prefix+"-icon"];return m.push(d.prefix+"-icon-"+e),a&&d.rtl&&m.push(d.prefix+"-icon-rtl"),j&&m.push(d.prefix+"-icon-spin"),h("span",{class:m.join(" ")},[s(w)])}}};return o}const ke=z("pause-one",!1,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M19 18V30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M29 18V30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),me=z("play",!0,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),pe=z("volume-small",!0,function(e){return h("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[h("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),h("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ve=b({__name:"IconPark",props:{icon:{type:[Object,Function]},theme:{},size:{},spin:{type:Boolean},fill:{},strokeLinecap:{},strokeLinejoin:{},strokeWidth:{}},setup(e){return(a,s)=>(v(),g(A(e.icon),{theme:e.theme,size:e.size,spin:e.spin,fill:e.fill,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,"stroke-width":e.strokeWidth},null,8,["theme","size","spin","fill","stroke-linecap","stroke-linejoin","stroke-width"]))}});export{ue as E,de as F,he as O,ke as P,pe as V,ve as _,me as a,fe as u};
@@ -1 +1 @@
1
- import{F as m}from"./index.es-6Y-zE2ze.js";import{E as d}from"./index-BSEftxF2.js";import{d as u,H as r,E as t,G as s,L as a,C as n,M as f,J as g,D as l,q as i}from"./vendor-vue-C5BV5QrY.js";import{D as v}from"./index-Czmk9Vo5.js";const h=u({name:"ImagePreview",components:{FontAwesomeIcon:m,ElProgress:d},props:{url:{type:String,required:!0},name:{type:String,required:!0},percentage:{type:Number,required:!1,default:void 0},closable:{type:Boolean,required:!1,default:!0}},emits:["remove"]}),b={class:"image w-[50px] h-[50px] relative rounded-[var(--el-border-radius-base)] overflow-hidden shadow-sm bg-[var(--el-fill-color-lighter)]"},w=["src","alt"],x={class:"overlay absolute inset-0 bg-[var(--el-mask-color)] backdrop-blur-[1px]"},_={key:0,class:"close absolute cursor-pointer top-[4px] right-[4px] bg-[rgba(0,0,0,0.65)] text-white w-[16px] h-[16px] rounded-full flex text-[10px] text-center items-center justify-center hover:bg-[rgba(0,0,0,0.8)]"};function y(e,o,k,$,q,C){const c=l("el-progress"),p=l("font-awesome-icon");return i(),r("div",b,[t("img",{class:"w-full h-full object-cover",src:e.url,alt:e.name},null,8,w),s(t("div",x,null,512),[[a,e.percentage&&e.percentage<100]]),s(n(c,{type:"circle","stroke-width":4,percentage:e.percentage,width:34,class:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[34px] h-[34px] z-[10] m-auto text-[12px]"},null,8,["percentage"]),[[a,e.percentage&&e.percentage<100]]),e.closable?(i(),r("div",_,[n(p,{icon:"fa-solid fa-xmark",class:"icon icon-close",onClick:o[0]||(o[0]=f(B=>e.$emit("remove"),["stop"]))})])):g("",!0)])}const P=v(h,[["render",y]]);export{P as I};
1
+ import{F as m}from"./index.es-DE_kijvM.js";import{E as d}from"./index-tHp45E0F.js";import{d as u,H as r,E as t,G as s,L as a,C as n,M as f,J as g,D as l,q as i}from"./vendor-vue-C5BV5QrY.js";import{D as v}from"./index-BrzGoc9w.js";const h=u({name:"ImagePreview",components:{FontAwesomeIcon:m,ElProgress:d},props:{url:{type:String,required:!0},name:{type:String,required:!0},percentage:{type:Number,required:!1,default:void 0},closable:{type:Boolean,required:!1,default:!0}},emits:["remove"]}),b={class:"image w-[50px] h-[50px] relative rounded-[var(--el-border-radius-base)] overflow-hidden shadow-sm bg-[var(--el-fill-color-lighter)]"},w=["src","alt"],x={class:"overlay absolute inset-0 bg-[var(--el-mask-color)] backdrop-blur-[1px]"},_={key:0,class:"close absolute cursor-pointer top-[4px] right-[4px] bg-[rgba(0,0,0,0.65)] text-white w-[16px] h-[16px] rounded-full flex text-[10px] text-center items-center justify-center hover:bg-[rgba(0,0,0,0.8)]"};function y(e,o,k,$,q,C){const c=l("el-progress"),p=l("font-awesome-icon");return i(),r("div",b,[t("img",{class:"w-full h-full object-cover",src:e.url,alt:e.name},null,8,w),s(t("div",x,null,512),[[a,e.percentage&&e.percentage<100]]),s(n(c,{type:"circle","stroke-width":4,percentage:e.percentage,width:34,class:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[34px] h-[34px] z-[10] m-auto text-[12px]"},null,8,["percentage"]),[[a,e.percentage&&e.percentage<100]]),e.closable?(i(),r("div",_,[n(p,{icon:"fa-solid fa-xmark",class:"icon icon-close",onClick:o[0]||(o[0]=f(B=>e.$emit("remove"),["stop"]))})])):g("",!0)])}const P=v(h,[["render",y]]);export{P as I};
@@ -1 +1 @@
1
- import{E as i}from"./index-pCQhMpJj.js";import{d as m,H as a,J as p,x as l,y as d,I as u,F as f,D as g,q as s}from"./vendor-vue-C5BV5QrY.js";import{D as y}from"./index-Czmk9Vo5.js";const w=m({name:"ImageWrapper",components:{ElButton:i},props:{src:{type:String,required:!0},rawSrc:{type:String,required:!1,default:void 0}},methods:{onOpenUrl(e){window.open(e,"_blank")},onReload(e){const r=e.target,t=new URL(r.src),o=t.searchParams.get("retry");if(!o)t.searchParams.set("retry","1");else if(parseInt(o)<2)t.searchParams.set("retry",(parseInt(o)+1).toString());else return;r.src=t.toString()}}}),I={class:"image-wrapper"},S=["src"];function _(e,r,t,o,k,$){const c=g("el-button");return s(),a("div",I,[e.src?(s(),a("img",{key:0,src:e.src,class:"image",onError:r[0]||(r[0]=n=>e.onReload(n))},null,40,S)):p("",!0),e.rawSrc?(s(),l(c,{key:1,type:"info",round:"",class:"btn-raw",onClick:r[1]||(r[1]=n=>e.onOpenUrl(e.rawSrc))},{default:d(()=>[u(f(e.$t("common.button.seeRawImage")),1)]),_:1})):p("",!0)])}const h=y(w,[["render",_],["__scopeId","data-v-4deff0d6"]]);export{h as I};
1
+ import{E as i}from"./index-tqJB1jHk.js";import{d as m,H as a,J as p,x as l,y as d,I as u,F as f,D as g,q as s}from"./vendor-vue-C5BV5QrY.js";import{D as y}from"./index-BrzGoc9w.js";const w=m({name:"ImageWrapper",components:{ElButton:i},props:{src:{type:String,required:!0},rawSrc:{type:String,required:!1,default:void 0}},methods:{onOpenUrl(e){window.open(e,"_blank")},onReload(e){const r=e.target,t=new URL(r.src),o=t.searchParams.get("retry");if(!o)t.searchParams.set("retry","1");else if(parseInt(o)<2)t.searchParams.set("retry",(parseInt(o)+1).toString());else return;r.src=t.toString()}}}),I={class:"image-wrapper"},S=["src"];function _(e,r,t,o,k,$){const c=g("el-button");return s(),a("div",I,[e.src?(s(),a("img",{key:0,src:e.src,class:"image",onError:r[0]||(r[0]=n=>e.onReload(n))},null,40,S)):p("",!0),e.rawSrc?(s(),l(c,{key:1,type:"info",round:"",class:"btn-raw",onClick:r[1]||(r[1]=n=>e.onOpenUrl(e.rawSrc))},{default:d(()=>[u(f(e.$t("common.button.seeRawImage")),1)]),_:1})):p("",!0)])}const h=y(w,[["render",_],["__scopeId","data-v-4deff0d6"]]);export{h as I};
@@ -1 +1 @@
1
- import{C as D}from"./CopyToClipboard-DQNzHfAP.js";import{aj as I,ak as F,al as T,am as N,D as P}from"./index-Czmk9Vo5.js";import{d as q,a as w,s as B}from"./distribution-CNa27ud-.js";import{g as O}from"./price-Dn2q_6i-.js";import{F as M}from"./index.es-6Y-zE2ze.js";import{a as R}from"./index-CiE6dz8g.js";import{E as z,a as U}from"./index-U5TlZmGP.js";import{E as V}from"./index-LidlhdYE.js";import{E as H}from"./index-DVILE-GE.js";import{E as A}from"./index-BuLn0ty3.js";import{E as G}from"./index-pCQhMpJj.js";import{E as Q,a as j}from"./index-O2goqxN2.js";import{E as J}from"./index-BSEftxF2.js";import{d as W,x as l,y as o,C as i,E as e,F as s,H as p,I as h,J as k,D as r,q as n}from"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-DtJfBmV5.js";import"./typescript-C9zgpbNj.js";import"./index-C37xDdHA.js";import"./_Uint8Array-ncuXegKE.js";import"./_initCloneObject-vYpGCrtd.js";import"./isPlainObject-B8td5WUA.js";import"./_baseIteratee-1PZ70oak.js";import"./isEqual-DlunMOKg.js";import"./castArray-DHSoEYfB.js";import"./debounce-DFdNvHt7.js";import"./index-Duqnk6y3.js";import"./use-form-item-C_iVSxIM.js";import"./index-D3GgdGNu.js";import"./index-BuyEbX8F.js";const Y=W({name:"ConsoleDistributionList",components:{CopyToClipboard:D,FontAwesomeIcon:M,QrCode:I,ElProgress:J,ElRow:j,ElCol:Q,ElButton:G,ElDivider:A,ElCard:H,ElTooltip:V,ElTable:U,ElTableColumn:z,ElSkeleton:R},data(){return{invitees:[],inviteesCount:void 0,distributionLevels:[],distributionLink:void 0,distributionStatus:void 0,loading:!1}},computed:{redirect(){return this.$route.query.redirect},page(){return parseInt(this.$route.query.page?.toString()||"1")},qrColor(){const t=document.documentElement.classList.contains("dark");return{dark:t?"#ffffff":"#000000",light:t?"#1e1e1e":"#ffffff"}},distributionLevelMap(){let t={};return this.distributionLevels.forEach(a=>{t[a.level]=a}),t}},watch:{page:{handler(){this.onFetchData()}}},async mounted(){this.onFetchData(),this.onGenerateDistributionLink()},methods:{getPriceString:O,goHistory(){this.$router.push({name:N})},goInvitees(){this.$router.push({name:T})},onPageChange(t){this.$router.push({name:this.$route.name?.toString(),query:{page:t}})},getPercentageForNextLevel(){const t=this.distributionLevelMap[this.distributionStatus?.level?.level]?.threshold,a=this.distributionLevelMap[this.distributionStatus?.level?.level+1]?.threshold;return Math.floor((this.distributionStatus?.price-t)/(a-t)*100)},getDeltaForNextLevel(){const t=this.distributionLevelMap[this.distributionStatus?.level?.level+1]?.threshold;return Math.floor(t-this.distributionStatus?.price)},async onFetchData(){this.loading=!0,await w.initialize(),Promise.all([this.onFetchDistributionStatus(),this.onFetchDistributionLevels(),this.onFetchInvitees()]).finally(()=>{this.loading=!1})},async onGenerateDistributionLink(){const a=`${window.location.origin}?inviter_id=${this.$store.getters.user.id}`;try{const f=(await B.create(a))?.data?.data?.url;this.distributionLink=(f||a).replace("surl.id","share.acedata.cloud")}catch{this.distributionLink=a}},async onFetchDistributionStatus(){const{data:t}=await w.getAll({user_id:this.$store.getters.user.id});t.items&&t.items.length>0&&(this.distributionStatus=t.items[0])},async onFetchDistributionLevels(){const{data:t}=await q.getAll({limit:20,user_id:this.$store.getters.user.id});this.distributionLevels=t.items},async onFetchInvitees(){const{data:t}=await F.getInvitees({});this.invitees=t.items,this.inviteesCount=t.count}}}),K={class:"title"},X={key:1},Z={class:"icon-wrapper"},x={class:"text-left"},tt={class:"description"},et={class:"value"},it={key:1},st={class:"icon-wrapper"},ot={class:"text-left"},nt={class:"description"},rt={class:"value"},at={key:1},lt={class:"icon-wrapper"},dt={class:"text-left"},ct={class:"description"},ut={class:"value"},pt={key:1},mt={class:"icon-wrapper"},ht={class:"text-left"},_t={class:"description"},bt={class:"value"},ft={key:1},vt={class:"title"},gt={class:"clear-both overflow-hidden"},kt={class:"float-left description"},yt={class:"float-right description"},$t={class:"description"},wt={class:"level"},Lt={class:"level"},St={class:"level"},Et={key:1},Ct={class:"title"},Dt={class:"link-wrapper text-center"},It=["href"],Ft={class:"qr-wrapper ml-auto mr-auto"},Tt={class:"mt-0"},Nt={class:"description"},Pt={class:"more"};function qt(t,a,f,Bt,Ot,Mt){const d=r("el-col"),_=r("el-row"),c=r("el-skeleton"),b=r("font-awesome-icon"),v=r("el-button"),u=r("el-card"),y=r("el-tooltip"),L=r("el-progress"),$=r("el-divider"),g=r("el-table-column"),S=r("el-table"),E=r("copy-to-clipboard"),C=r("qr-code");return n(),l(_,{class:"panel"},{default:o(()=>[i(d,{span:24},{default:o(()=>[i(_,null,{default:o(()=>[i(d,{span:24},{default:o(()=>[e("h2",K,s(t.$t("common.title.distribution")),1)]),_:1})]),_:1}),i(_,{gutter:15},{default:o(()=>[i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",X,[e("div",Z,[i(b,{icon:"fa-solid fa-wallet",class:"icon"})]),e("div",x,[e("p",tt,s(t.$t("distribution.title.price")),1),e("p",et,s(t.getPriceString({value:t.distributionStatus?.price})),1)]),i(v,{type:"primary",round:"",size:"small",class:"btn",onClick:t.goHistory},{default:o(()=>[h(s(t.$t("distribution.button.detail")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",it,[e("div",st,[i(b,{icon:"fa-solid fa-coins",class:"icon"})]),e("div",ot,[e("p",nt,s(t.$t("distribution.title.reward")),1),e("p",rt,s(t.getPriceString({value:t.distributionStatus?.reward})),1)]),i(y,{effect:"dark",content:t.$t("distribution.message.developingWithDrawal"),placement:"top"},{default:o(()=>[i(v,{type:"primary",round:"",size:"small",class:"btn"},{default:o(()=>[h(s(t.$t("distribution.button.withdrawal")),1)]),_:1})]),_:1},8,["content"])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",at,[e("div",lt,[i(b,{icon:"fa-solid fa-percent",class:"icon"})]),e("div",dt,[e("p",ct,s(t.$t("distribution.title.percentage")),1),e("p",ut,s(t.distributionStatus?.level?.percentage)+"%",1)])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",pt,[e("div",mt,[i(b,{icon:"fa-regular fa-user",class:"icon"})]),e("div",ht,[e("p",_t,s(t.$t("distribution.title.inviteesCount")),1),e("p",bt,s(t.inviteesCount),1)]),i(v,{type:"primary",round:"",size:"small",class:"btn",onClick:t.goInvitees},{default:o(()=>[h(s(t.$t("distribution.button.detail")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1})]),_:1}),i(_,{gutter:15},{default:o(()=>[i(d,{md:12,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"level-info mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",ft,[e("h4",vt,s(t.$t("distribution.title.levelInfo")),1),e("div",gt,[e("div",kt,[e("p",null,s(t.$t("distribution.title.currentLevel"))+": L"+s(t.distributionStatus?.level?.level),1),e("p",null,s(t.$t("distribution.title.currentPercentage"))+": "+s(t.distributionLevelMap[t.distributionStatus?.level?.level]?.percentage)+"% ",1)]),e("div",yt,[e("p",null,s(t.$t("distribution.title.nextLevel"))+": L"+s(t.distributionStatus?.level?.level+1),1),e("p",null,s(t.$t("distribution.title.nextPercentage"))+": "+s(t.distributionLevelMap[t.distributionStatus?.level?.level+1]?.percentage)+"% ",1)])]),i(L,{"text-inside":!0,"stroke-width":20,percentage:t.getPercentageForNextLevel(),class:"mb-2"},null,8,["percentage"]),e("p",$t,s(t.$t("distribution.message.deltaPriceForNextLevel"))+": $"+s(t.getDeltaForNextLevel()),1),i($),t.distributionLevels?(n(),l(S,{key:0,data:t.distributionLevels,stripe:""},{default:o(()=>[i(g,{label:t.$t("distribution.field.level")},{default:o(m=>[e("span",wt,"L"+s(m.row?.level),1)]),_:1},8,["label"]),i(g,{label:t.$t("distribution.field.threshold")},{default:o(m=>[e("span",Lt,"$"+s(m.row?.threshold),1)]),_:1},8,["label"]),i(g,{label:t.$t("distribution.field.percentage")},{default:o(m=>[e("span",St,s(m.row?.percentage)+"%",1)]),_:1},8,["label"])]),_:1},8,["data"])):k("",!0)]))]),_:1})]),_:1}),i(d,{md:12,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"distribution-info mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",Et,[e("h4",Ct,s(t.$t("distribution.title.distributionLink")),1),i($),e("div",Dt,[k("",!0),e("a",{href:t.distributionLink,class:"link"},s(t.distributionLink),9,It),i(E,{content:t.distributionLink},null,8,["content"])]),e("div",Ft,[t.distributionLink?(n(),l(C,{key:0,value:t.distributionLink,size:180,margin:2,class:"block mb-2 ml-auto mr-auto",type:"image/png",color:t.qrColor},null,8,["value","color"])):k("",!0),e("p",Tt,s(t.$t("distribution.message.distributionQrDescription")),1)]),e("p",Nt,[h(s(t.$t("distribution.message.distributionLinkDescription"))+" ",1),e("span",Pt,[i(y,{effect:"dark",content:t.$t("distribution.message.distributionLinkDescription2"),placement:"top"},{default:o(()=>[h(s(t.$t("distribution.message.technicalDetail")),1)]),_:1},8,["content"])])])]))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const _e=P(Y,[["render",qt],["__scopeId","data-v-1ca0740d"]]);export{_e as default};
1
+ import{C as D}from"./CopyToClipboard-DWv68cQC.js";import{aj as I,ak as F,al as T,am as N,D as P}from"./index-BrzGoc9w.js";import{d as q,a as w,s as B}from"./distribution-v_sbPJ4V.js";import{g as O}from"./price-iy-Anphf.js";import{F as M}from"./index.es-DE_kijvM.js";import{a as R}from"./index-EtCgXRWO.js";import{E as z,a as U}from"./index-CbXHAIom.js";import{E as V}from"./index-D69Ws_Mf.js";import{E as H}from"./index-DBzHZ-GT.js";import{E as A}from"./index-DSRfEjST.js";import{E as G}from"./index-tqJB1jHk.js";import{E as Q,a as j}from"./index-CV9K6jrH.js";import{E as J}from"./index-tHp45E0F.js";import{d as W,x as l,y as o,C as i,E as e,F as s,H as p,I as h,J as k,D as r,q as n}from"./vendor-vue-C5BV5QrY.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-Cvgzdobq.js";import"./vendor-vue-router-Bl-Po99g.js";import"./index-BqJZyYQm.js";import"./typescript-TkgQUed9.js";import"./index-DR-gGUll.js";import"./_Uint8Array-D2WQC74G.js";import"./_initCloneObject-FTaNr8RK.js";import"./isPlainObject-CotdIs2s.js";import"./_baseIteratee-CjWBu9n7.js";import"./isEqual-DiEF_W0X.js";import"./castArray-BjuY6S6U.js";import"./debounce-nUXpLGnC.js";import"./index-DA467GJv.js";import"./use-form-item-Ba4HUS6_.js";import"./index-d3hpeMTQ.js";import"./index-BuyEbX8F.js";const Y=W({name:"ConsoleDistributionList",components:{CopyToClipboard:D,FontAwesomeIcon:M,QrCode:I,ElProgress:J,ElRow:j,ElCol:Q,ElButton:G,ElDivider:A,ElCard:H,ElTooltip:V,ElTable:U,ElTableColumn:z,ElSkeleton:R},data(){return{invitees:[],inviteesCount:void 0,distributionLevels:[],distributionLink:void 0,distributionStatus:void 0,loading:!1}},computed:{redirect(){return this.$route.query.redirect},page(){return parseInt(this.$route.query.page?.toString()||"1")},qrColor(){const t=document.documentElement.classList.contains("dark");return{dark:t?"#ffffff":"#000000",light:t?"#1e1e1e":"#ffffff"}},distributionLevelMap(){let t={};return this.distributionLevels.forEach(a=>{t[a.level]=a}),t}},watch:{page:{handler(){this.onFetchData()}}},async mounted(){this.onFetchData(),this.onGenerateDistributionLink()},methods:{getPriceString:O,goHistory(){this.$router.push({name:N})},goInvitees(){this.$router.push({name:T})},onPageChange(t){this.$router.push({name:this.$route.name?.toString(),query:{page:t}})},getPercentageForNextLevel(){const t=this.distributionLevelMap[this.distributionStatus?.level?.level]?.threshold,a=this.distributionLevelMap[this.distributionStatus?.level?.level+1]?.threshold;return Math.floor((this.distributionStatus?.price-t)/(a-t)*100)},getDeltaForNextLevel(){const t=this.distributionLevelMap[this.distributionStatus?.level?.level+1]?.threshold;return Math.floor(t-this.distributionStatus?.price)},async onFetchData(){this.loading=!0,await w.initialize(),Promise.all([this.onFetchDistributionStatus(),this.onFetchDistributionLevels(),this.onFetchInvitees()]).finally(()=>{this.loading=!1})},async onGenerateDistributionLink(){const a=`${window.location.origin}?inviter_id=${this.$store.getters.user.id}`;try{const f=(await B.create(a))?.data?.data?.url;this.distributionLink=(f||a).replace("surl.id","share.acedata.cloud")}catch{this.distributionLink=a}},async onFetchDistributionStatus(){const{data:t}=await w.getAll({user_id:this.$store.getters.user.id});t.items&&t.items.length>0&&(this.distributionStatus=t.items[0])},async onFetchDistributionLevels(){const{data:t}=await q.getAll({limit:20,user_id:this.$store.getters.user.id});this.distributionLevels=t.items},async onFetchInvitees(){const{data:t}=await F.getInvitees({});this.invitees=t.items,this.inviteesCount=t.count}}}),K={class:"title"},X={key:1},Z={class:"icon-wrapper"},x={class:"text-left"},tt={class:"description"},et={class:"value"},it={key:1},st={class:"icon-wrapper"},ot={class:"text-left"},nt={class:"description"},rt={class:"value"},at={key:1},lt={class:"icon-wrapper"},dt={class:"text-left"},ct={class:"description"},ut={class:"value"},pt={key:1},mt={class:"icon-wrapper"},ht={class:"text-left"},_t={class:"description"},bt={class:"value"},ft={key:1},vt={class:"title"},gt={class:"clear-both overflow-hidden"},kt={class:"float-left description"},yt={class:"float-right description"},$t={class:"description"},wt={class:"level"},Lt={class:"level"},St={class:"level"},Et={key:1},Ct={class:"title"},Dt={class:"link-wrapper text-center"},It=["href"],Ft={class:"qr-wrapper ml-auto mr-auto"},Tt={class:"mt-0"},Nt={class:"description"},Pt={class:"more"};function qt(t,a,f,Bt,Ot,Mt){const d=r("el-col"),_=r("el-row"),c=r("el-skeleton"),b=r("font-awesome-icon"),v=r("el-button"),u=r("el-card"),y=r("el-tooltip"),L=r("el-progress"),$=r("el-divider"),g=r("el-table-column"),S=r("el-table"),E=r("copy-to-clipboard"),C=r("qr-code");return n(),l(_,{class:"panel"},{default:o(()=>[i(d,{span:24},{default:o(()=>[i(_,null,{default:o(()=>[i(d,{span:24},{default:o(()=>[e("h2",K,s(t.$t("common.title.distribution")),1)]),_:1})]),_:1}),i(_,{gutter:15},{default:o(()=>[i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",X,[e("div",Z,[i(b,{icon:"fa-solid fa-wallet",class:"icon"})]),e("div",x,[e("p",tt,s(t.$t("distribution.title.price")),1),e("p",et,s(t.getPriceString({value:t.distributionStatus?.price})),1)]),i(v,{type:"primary",round:"",size:"small",class:"btn",onClick:t.goHistory},{default:o(()=>[h(s(t.$t("distribution.button.detail")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",it,[e("div",st,[i(b,{icon:"fa-solid fa-coins",class:"icon"})]),e("div",ot,[e("p",nt,s(t.$t("distribution.title.reward")),1),e("p",rt,s(t.getPriceString({value:t.distributionStatus?.reward})),1)]),i(y,{effect:"dark",content:t.$t("distribution.message.developingWithDrawal"),placement:"top"},{default:o(()=>[i(v,{type:"primary",round:"",size:"small",class:"btn"},{default:o(()=>[h(s(t.$t("distribution.button.withdrawal")),1)]),_:1})]),_:1},8,["content"])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",at,[e("div",lt,[i(b,{icon:"fa-solid fa-percent",class:"icon"})]),e("div",dt,[e("p",ct,s(t.$t("distribution.title.percentage")),1),e("p",ut,s(t.distributionStatus?.level?.percentage)+"%",1)])]))]),_:1})]),_:1}),i(d,{md:6,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"item-mini mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",pt,[e("div",mt,[i(b,{icon:"fa-regular fa-user",class:"icon"})]),e("div",ht,[e("p",_t,s(t.$t("distribution.title.inviteesCount")),1),e("p",bt,s(t.inviteesCount),1)]),i(v,{type:"primary",round:"",size:"small",class:"btn",onClick:t.goInvitees},{default:o(()=>[h(s(t.$t("distribution.button.detail")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1})]),_:1}),i(_,{gutter:15},{default:o(()=>[i(d,{md:12,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"level-info mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",ft,[e("h4",vt,s(t.$t("distribution.title.levelInfo")),1),e("div",gt,[e("div",kt,[e("p",null,s(t.$t("distribution.title.currentLevel"))+": L"+s(t.distributionStatus?.level?.level),1),e("p",null,s(t.$t("distribution.title.currentPercentage"))+": "+s(t.distributionLevelMap[t.distributionStatus?.level?.level]?.percentage)+"% ",1)]),e("div",yt,[e("p",null,s(t.$t("distribution.title.nextLevel"))+": L"+s(t.distributionStatus?.level?.level+1),1),e("p",null,s(t.$t("distribution.title.nextPercentage"))+": "+s(t.distributionLevelMap[t.distributionStatus?.level?.level+1]?.percentage)+"% ",1)])]),i(L,{"text-inside":!0,"stroke-width":20,percentage:t.getPercentageForNextLevel(),class:"mb-2"},null,8,["percentage"]),e("p",$t,s(t.$t("distribution.message.deltaPriceForNextLevel"))+": $"+s(t.getDeltaForNextLevel()),1),i($),t.distributionLevels?(n(),l(S,{key:0,data:t.distributionLevels,stripe:""},{default:o(()=>[i(g,{label:t.$t("distribution.field.level")},{default:o(m=>[e("span",wt,"L"+s(m.row?.level),1)]),_:1},8,["label"]),i(g,{label:t.$t("distribution.field.threshold")},{default:o(m=>[e("span",Lt,"$"+s(m.row?.threshold),1)]),_:1},8,["label"]),i(g,{label:t.$t("distribution.field.percentage")},{default:o(m=>[e("span",St,s(m.row?.percentage)+"%",1)]),_:1},8,["label"])]),_:1},8,["data"])):k("",!0)]))]),_:1})]),_:1}),i(d,{md:12,xs:24},{default:o(()=>[i(u,{shadow:"hover",class:"distribution-info mb-4"},{default:o(()=>[t.loading?(n(),l(c,{key:0})):(n(),p("div",Et,[e("h4",Ct,s(t.$t("distribution.title.distributionLink")),1),i($),e("div",Dt,[k("",!0),e("a",{href:t.distributionLink,class:"link"},s(t.distributionLink),9,It),i(E,{content:t.distributionLink},null,8,["content"])]),e("div",Ft,[t.distributionLink?(n(),l(C,{key:0,value:t.distributionLink,size:180,margin:2,class:"block mb-2 ml-auto mr-auto",type:"image/png",color:t.qrColor},null,8,["value","color"])):k("",!0),e("p",Tt,s(t.$t("distribution.message.distributionQrDescription")),1)]),e("p",Nt,[h(s(t.$t("distribution.message.distributionLinkDescription"))+" ",1),e("span",Pt,[i(y,{effect:"dark",content:t.$t("distribution.message.distributionLinkDescription2"),placement:"top"},{default:o(()=>[h(s(t.$t("distribution.message.technicalDetail")),1)]),_:1},8,["content"])])])]))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const _e=P(Y,[["render",qt],["__scopeId","data-v-1ca0740d"]]);export{_e as default};