@acedatacloud/nexior 3.147.0 → 3.149.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 (242) hide show
  1. package/dist/assets/{Auth-DByhpSBv.js → Auth-BOSPVi2n.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-Dm4otfD4.js → BotPlaceholder-BKhD4o1V.js} +1 -1
  3. package/dist/assets/{Callback-D2jOtpcz.js → Callback-CRW8vbZ0.js} +1 -1
  4. package/dist/assets/{Console-CbN7Fw5e.js → Console-DvJLad0Z.js} +1 -1
  5. package/dist/assets/{Consumption-ONDtMvc3.js → Consumption-BSxbPwUZ.js} +1 -1
  6. package/dist/assets/Conversation-BJAbsumh.js +25 -0
  7. package/dist/assets/{Conversation-8QQpKxQ2.css → Conversation-m8Vpf7Wb.css} +1 -1
  8. package/dist/assets/{CopyToClipboard-BMP80HB1.js → CopyToClipboard-CsLxcMhX.js} +1 -1
  9. package/dist/assets/{Detail-CkmUuK5U.js → Detail-dSALQCje.js} +2 -2
  10. package/dist/assets/{EditArray-CRg3v6TS.js → EditArray-uZa0ERqS.js} +1 -1
  11. package/dist/assets/{Extra-C-R3Cr3I.js → Extra-CAkEnaf7.js} +1 -1
  12. package/dist/assets/{FilePreview-DbJ6JHmH.js → FilePreview-CS2nsKZO.js} +1 -1
  13. package/dist/assets/{History-ByulO3La.js → History-CI_6Ez7F.js} +1 -1
  14. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-SkbqcCaS.js → IconPark.vue_vue_type_script_setup_true_lang-B_LmSwUt.js} +1 -1
  15. package/dist/assets/{ImagePreview-B7TB9R4K.js → ImagePreview-CT-5_aa-.js} +1 -1
  16. package/dist/assets/{ImageWrapper-Bn4Mo6DP.js → ImageWrapper-CIFGSLtn.js} +1 -1
  17. package/dist/assets/{Index-CNmsO212.js → Index-6a6pQeUD.js} +1 -1
  18. package/dist/assets/{Index-DDYEkPHE.js → Index-B-0OcSvM.js} +1 -1
  19. package/dist/assets/{Index-DHC08hIK.js → Index-BPtl_LCR.js} +1 -1
  20. package/dist/assets/{Index-CBuxDGu_.js → Index-BX_0Z5b_.js} +1 -1
  21. package/dist/assets/{Index-DOEbT3oo.js → Index-BvHnstpe.js} +1 -1
  22. package/dist/assets/{Index-Y7iIrAHg.js → Index-BwYBq6n1.js} +1 -1
  23. package/dist/assets/{Index-BCWhTlYv.js → Index-C42SzFDQ.js} +1 -1
  24. package/dist/assets/{Index-CphEK_1Z.js → Index-Cajs1pnS.js} +1 -1
  25. package/dist/assets/{Index-CuitZEJq.js → Index-D0GGNF_A.js} +1 -1
  26. package/dist/assets/{Index-9BH43EN7.js → Index-D4jE07gU.js} +1 -1
  27. package/dist/assets/{Index-CAp9SWic.js → Index-D8Cdf6wG.js} +1 -1
  28. package/dist/assets/{Index-QvxN8d9d.js → Index-DBXRugTP.js} +1 -1
  29. package/dist/assets/{Index-DsquTXXQ.css → Index-DD_3SAvG.css} +1 -1
  30. package/dist/assets/{Index-DBlUL-4E.js → Index-DEneqnIE.js} +1 -1
  31. package/dist/assets/{Index-CgUG0OR2.js → Index-DMchmaD3.js} +1 -1
  32. package/dist/assets/{Index-BubJiCZF.js → Index-DT-fHTbR.js} +1 -1
  33. package/dist/assets/{Index-DWuB7uDf.js → Index-DVKquyyt.js} +1 -1
  34. package/dist/assets/{Index-BdFoIcyS.js → Index-DW_SdLyV.js} +1 -1
  35. package/dist/assets/{Index-Bmw6dTds.js → Index-DfMcKwXr.js} +1 -1
  36. package/dist/assets/{Index-DEorf77h.js → Index-DfeflnVV.js} +1 -1
  37. package/dist/assets/{Index-CSVG5ioy.js → Index-DhgjWlzJ.js} +1 -1
  38. package/dist/assets/{Index-DbNXBrHk.js → Index-GfbsX2_s.js} +1 -1
  39. package/dist/assets/{Index-BfwDk9GL.js → Index-S0ZwixNZ.js} +1 -1
  40. package/dist/assets/{Index-D7Zx5hQ0.js → Index-Z-iO3bVO.js} +1 -1
  41. package/dist/assets/{Index-fI1H8AIZ.js → Index-b1G893CT.js} +1 -1
  42. package/dist/assets/{Invitees-DUiq-UKa.js → Invitees-ZGlFnhNA.js} +1 -1
  43. package/dist/assets/{List-97h9ANy1.js → List-BV6D1jrG.js} +1 -1
  44. package/dist/assets/{List-b3SVKMxh.js → List-DRaSN7BC.js} +1 -1
  45. package/dist/assets/{List-BGwpbHHY.js → List-nyfDF85g.js} +1 -1
  46. package/dist/assets/{Main-CFdZgMP6.js → Main-BIw3ire-.js} +1 -1
  47. package/dist/assets/{Navigator-MqkL-Njx.js → Navigator-D1foRkrx.js} +1 -1
  48. package/dist/assets/{NoTasks-B-8kqwJZ.js → NoTasks-CFo3OI99.js} +1 -1
  49. package/dist/assets/{NotFound-qIQAj3Xr.js → NotFound-DxYMYCeF.js} +1 -1
  50. package/dist/assets/{OAuthCallback-DiSKiClu.js → OAuthCallback-Bj3S29-o.js} +1 -1
  51. package/dist/assets/{Pagination-hO4pJf46.js → Pagination-B1JPUmvD.js} +1 -1
  52. package/dist/assets/{Status-Bs8sajhE.js → Status-D86ibELy.js} +1 -1
  53. package/dist/assets/{Subscribe-DEYMWacX.js → Subscribe-DBZ7BLQl.js} +1 -1
  54. package/dist/assets/{VideoPlayer-CiCUB_ln.js → VideoPlayer-A0kXpsly.js} +1 -1
  55. package/dist/assets/{_Uint8Array-CsLFINqA.js → _Uint8Array-CK0EX2jY.js} +1 -1
  56. package/dist/assets/{_baseClone-C8MQPABx.js → _baseClone-DDAOo-cd.js} +1 -1
  57. package/dist/assets/{_baseIteratee-VzLHbp72.js → _baseIteratee-C0FL-p03.js} +1 -1
  58. package/dist/assets/{_initCloneObject-ULQkxMrA.js → _initCloneObject-cXxN3gax.js} +1 -1
  59. package/dist/assets/{add-CycoYlvg.js → add-CrQBB63D.js} +1 -1
  60. package/dist/assets/{all-wallets-DKNKxTqe.js → all-wallets-pgvudl7D.js} +1 -1
  61. package/dist/assets/{app-store-HFT8Y6sl.js → app-store-BfxvdkIq.js} +1 -1
  62. package/dist/assets/{apple-CzuVqJrN.js → apple-BFrw8ucx.js} +1 -1
  63. package/dist/assets/{arrow-bottom-CI7lYP9E.js → arrow-bottom-DjmmMiVf.js} +1 -1
  64. package/dist/assets/{arrow-bottom-circle-CfIjB7sJ.js → arrow-bottom-circle-C8QfDjZe.js} +1 -1
  65. package/dist/assets/{arrow-left-B9yWFv0n.js → arrow-left-Bcc3RTX8.js} +1 -1
  66. package/dist/assets/{arrow-right-Cz7LkJfw.js → arrow-right-BDY3Jn6z.js} +1 -1
  67. package/dist/assets/{arrow-top-GYavK7PC.js → arrow-top-C9zmFGxf.js} +1 -1
  68. package/dist/assets/{avatar-DOPk2_wU.js → avatar-_dUAF0RM.js} +1 -1
  69. package/dist/assets/{bank-B8SHWjoc.js → bank-C5ySKk4d.js} +1 -1
  70. package/dist/assets/{basic-_TSu1mkT.js → basic-D2q1DZKo.js} +1 -1
  71. package/dist/assets/{browser-By5vHEDa.js → browser-BcZFJc4O.js} +1 -1
  72. package/dist/assets/{byokCredential-B7lL-HDa.js → byokCredential-DrjNjv5O.js} +1 -1
  73. package/dist/assets/{card-CVFkSZlj.js → card-DrHjpKUc.js} +1 -1
  74. package/dist/assets/{castArray-7_h4ryCS.js → castArray-DpqcvbXE.js} +1 -1
  75. package/dist/assets/{chat-BpMfUTzR.js → chat-BJZL-BLf.js} +1 -1
  76. package/dist/assets/{chat-BreiLx2Y.js → chat-CSNt1o-J.js} +1 -1
  77. package/dist/assets/{chat-BGw45rYV.js → chat-ne8DX9U3.js} +1 -1
  78. package/dist/assets/{checkmark-CjyJ0rdA.js → checkmark-B0wm8IvR.js} +1 -1
  79. package/dist/assets/{checkmark-bold-VDHZBxku.js → checkmark-bold-YMSbTXPJ.js} +1 -1
  80. package/dist/assets/{chevron-bottom-D52N4S4H.js → chevron-bottom-ChZQsyEB.js} +1 -1
  81. package/dist/assets/{chevron-left-DL7w2m0z.js → chevron-left-Brvwhm5N.js} +1 -1
  82. package/dist/assets/{chevron-right-EME0wZWM.js → chevron-right-CCuLe0Vm.js} +1 -1
  83. package/dist/assets/{chevron-top-DVM2RlL-.js → chevron-top-8LuNfKyS.js} +1 -1
  84. package/dist/assets/{chrome-store--TB_R7b3.js → chrome-store-0HWooM9p.js} +1 -1
  85. package/dist/assets/{clock-8s2E-K3T.js → clock-DZuWn4ie.js} +1 -1
  86. package/dist/assets/{close-CoJErbDb.js → close-DoPCQRvo.js} +1 -1
  87. package/dist/assets/{coinPlaceholder-gRphcAh4.js → coinPlaceholder-CXs41yFN.js} +1 -1
  88. package/dist/assets/{compass-DT4Z_uD9.js → compass-CkPuctd1.js} +1 -1
  89. package/dist/assets/{copy-gEhVoKEw.js → copy-Dk6AgFd6.js} +1 -1
  90. package/dist/assets/{cursor-DY1ZJdSh.js → cursor-CKLEaqwV.js} +1 -1
  91. package/dist/assets/{cursor-transparent-b6ikTaCK.js → cursor-transparent-1nmk2GzZ.js} +1 -1
  92. package/dist/assets/{debounce-DB6zHvwJ.js → debounce-Diu9orn8.js} +1 -1
  93. package/dist/assets/{desktop-D8Gx3dMY.js → desktop-B-ruaJGI.js} +1 -1
  94. package/dist/assets/{disconnect-DXduzhN8.js → disconnect-D-Hy4SBS.js} +1 -1
  95. package/dist/assets/{discord-B7j1nY1t.js → discord-FQLvv8Hb.js} +1 -1
  96. package/dist/assets/{distribution-CVCBSTgy.js → distribution-CY6XlNyY.js} +1 -1
  97. package/dist/assets/{dropdown-CRQGEEtN.js → dropdown-QzYJs4ne.js} +1 -1
  98. package/dist/assets/{etherscan-BinUXDvC.js → etherscan-DrBNprod.js} +1 -1
  99. package/dist/assets/{exclamation-triangle-C299zWiY.js → exclamation-triangle-k9FlPRln.js} +1 -1
  100. package/dist/assets/{extension-D5m-Xha1.js → extension-wvm5tbjO.js} +1 -1
  101. package/dist/assets/{external-link-DhzBXAlX.js → external-link-vFFMoz0r.js} +1 -1
  102. package/dist/assets/{facebook-BW911WyE.js → facebook-CvulZi0h.js} +1 -1
  103. package/dist/assets/{farcaster-B3aBO6zs.js → farcaster-BXNkIxqi.js} +1 -1
  104. package/dist/assets/{filters-C-d-rhr5.js → filters-CsFJcYFe.js} +1 -1
  105. package/dist/assets/{flux-BZflNr3e.js → flux-CnRwluKL.js} +1 -1
  106. package/dist/assets/{github-CX8gg8-l.js → github-BRJrAu6k.js} +1 -1
  107. package/dist/assets/{google-DR5zsQBJ.js → google-4H6cwme6.js} +1 -1
  108. package/dist/assets/{hailuo-DGvPSzCH.js → hailuo-IDV_8G0b.js} +1 -1
  109. package/dist/assets/{headshots-7lRktnLr.js → headshots-BMRYlSKp.js} +1 -1
  110. package/dist/assets/{help-circle-C0_tFiBr.js → help-circle-GTL4k5Ty.js} +1 -1
  111. package/dist/assets/{id-CYdMpxUZ.js → id-DcYri4I_.js} +1 -1
  112. package/dist/assets/{image-Bb8NjmCr.js → image-DtYtwJHx.js} +1 -1
  113. package/dist/assets/{index-DgtmgbDr.js → index-1QiIqj1A.js} +1 -1
  114. package/dist/assets/{index-Ciud4PMj.js → index-A4RnJ3qW.js} +1 -1
  115. package/dist/assets/{index-B3utwuyb.js → index-B017Ikl8.js} +1 -1
  116. package/dist/assets/{index-BUiuY-GV.js → index-B2MAz0fH.js} +1 -1
  117. package/dist/assets/{index-E6Fwwtd6.js → index-B9Vtw9td.js} +1 -1
  118. package/dist/assets/{index-LbgbCrhW.js → index-BCPTmwwS.js} +1 -1
  119. package/dist/assets/{index-uN-DbEwj.js → index-BDRXSCsz.js} +1 -1
  120. package/dist/assets/{index-D5nwfcmc.js → index-BIGzvrV9.js} +1 -1
  121. package/dist/assets/{index-C1R47LXO.js → index-BKyeQ5Zt.js} +1 -1
  122. package/dist/assets/{index-D8ijceQe.js → index-BM1XXeS7.js} +1 -1
  123. package/dist/assets/{index-CVwy_Ed1.js → index-BSkUppfU.js} +1 -1
  124. package/dist/assets/{index-BPTyzprg.js → index-BXGpt7mB.js} +1 -1
  125. package/dist/assets/{index-Cfm5TcpA.js → index-BZdafMId.js} +1 -1
  126. package/dist/assets/{index-CIsuyU3r.js → index-BltQcUxM.js} +3 -3
  127. package/dist/assets/{index-DnP6prVq.js → index-BwCFQxMM.js} +1 -1
  128. package/dist/assets/{index-PszTydnx.js → index-BykI0kt0.js} +1 -1
  129. package/dist/assets/{index-C4KHAdmJ.js → index-C4WsMRUy.js} +1 -1
  130. package/dist/assets/{index-DHBU4f9C.js → index-C6_PhRT1.js} +1 -1
  131. package/dist/assets/{index-BoLTZmvv.js → index-C9ihyAfw.js} +1 -1
  132. package/dist/assets/{index-B9h47UCD.js → index-CGG8zz6A.js} +5 -5
  133. package/dist/assets/{index-h56YlOsG.js → index-CIvb3ksC.js} +1 -1
  134. package/dist/assets/{index-BHFLCWId.js → index-CNPW_mQd.js} +1 -1
  135. package/dist/assets/{index-r0dpdwDZ.js → index-CNeJTEzy.js} +1 -1
  136. package/dist/assets/{index-BvxUjFFi.js → index-COZsQ1B1.js} +4 -4
  137. package/dist/assets/{index-CTjltMHn.js → index-CQ47pckm.js} +1 -1
  138. package/dist/assets/{index-BlJJZ-FK.js → index-CSE3SfRa.js} +1 -1
  139. package/dist/assets/{index-s7rUFjhE.js → index-CSdVn5Rm.js} +1 -1
  140. package/dist/assets/{index-C7ZtLk9o.js → index-CUEcVQtj.js} +1 -1
  141. package/dist/assets/{index-7bp5wXd1.js → index-CWBtvAjl.js} +1 -1
  142. package/dist/assets/{index-D9JVwsd7.js → index-CXB5P27t.js} +1 -1
  143. package/dist/assets/{index-pNQe1IhV.js → index-CiVpjWZE.js} +1 -1
  144. package/dist/assets/{index-Ca5Nap0z.js → index-ClnBRAx3.js} +1 -1
  145. package/dist/assets/{index-CrnpemQd.js → index-Cn1BwQ-h.js} +1 -1
  146. package/dist/assets/{index-DFefNVXg.js → index-CoHs7z3O.js} +1 -1
  147. package/dist/assets/{index-CZVcGuAd.js → index-CryUte94.js} +1 -1
  148. package/dist/assets/{index-CnqGlxcN.js → index-CuIwSURW.js} +1 -1
  149. package/dist/assets/{index-CmD2kc06.js → index-D-k75pLi.js} +1 -1
  150. package/dist/assets/{index-CiolqKNE.js → index-D0togSRE.js} +1 -1
  151. package/dist/assets/{index-pyE0lAm7.js → index-D22YqvE9.js} +1 -1
  152. package/dist/assets/{index-BSxsMqKC.js → index-D4sUeSwO.js} +1 -1
  153. package/dist/assets/{index-CUvOYM9o.js → index-D6y94ZnS.js} +1 -1
  154. package/dist/assets/{index-DL7cWj7I.js → index-D9gh2OHz.js} +1 -1
  155. package/dist/assets/{index-mVZBNen2.js → index-DSoFIFk1.js} +1 -1
  156. package/dist/assets/{index-C0ELHTHi.js → index-DTUH8HHW.js} +1 -1
  157. package/dist/assets/{index-csLOFEV9.js → index-DfG1c9UT.js} +1 -1
  158. package/dist/assets/{index-DfLSVuzK.js → index-DgUda4S0.js} +1 -1
  159. package/dist/assets/{index-CK-FSy5r.js → index-Dn07JTW-.js} +1 -1
  160. package/dist/assets/{index-DJSVg0Pj.js → index-DoCARQgf.js} +1 -1
  161. package/dist/assets/{index-CDgJvd-m.js → index-DrRoewZ6.js} +1 -1
  162. package/dist/assets/{index-CCKMz_0n.js → index-DsXB3tLI.js} +1 -1
  163. package/dist/assets/{index-DIjkphiQ.js → index-DuwCv4Z6.js} +2 -2
  164. package/dist/assets/{index-HJTUt22_.js → index-Dzs5VqnM.js} +1 -1
  165. package/dist/assets/{index-DfBMHPId.js → index-ImGTTZAz.js} +1 -1
  166. package/dist/assets/{index-DkUT9Sk0.js → index-JH4qEFLn.js} +1 -1
  167. package/dist/assets/{index-D5UhdhU4.js → index-S1J99JT2.js} +1 -1
  168. package/dist/assets/{index-BpypPkOP.js → index-XXQ4QMYW.js} +1 -1
  169. package/dist/assets/{index-BU9840ub.js → index-hi4qmkrN.js} +1 -1
  170. package/dist/assets/{index-GR0DOSaB.js → index-qUzqNhme.js} +1 -1
  171. package/dist/assets/{index-eEBfkKER.js → index-tpAkOTvm.js} +1 -1
  172. package/dist/assets/{index-DII_S4CL.js → index-vKc9tAYe.js} +1 -1
  173. package/dist/assets/{index.browser.esm-j3h3mdoY.js → index.browser.esm-C9Trn5Cw.js} +1 -1
  174. package/dist/assets/{index.es-CrttZSrc.js → index.es-DwPL92aq.js} +1 -1
  175. package/dist/assets/{info-BNQm3kZY.js → info-BmokUs8Y.js} +1 -1
  176. package/dist/assets/{info-circle-D_M1uRs2.js → info-circle--TA9krFL.js} +1 -1
  177. package/dist/assets/{isEqual-D6B5l3d6.js → isEqual-8TlGrPn8.js} +1 -1
  178. package/dist/assets/{isPlainObject-BP4X79bi.js → isPlainObject-DqqW_7l6.js} +1 -1
  179. package/dist/assets/{kling-B9y84PDr.js → kling-CVLrfjL6.js} +1 -1
  180. package/dist/assets/{lightbulb-oOozJ-40.js → lightbulb-fUI407Na.js} +1 -1
  181. package/dist/assets/{luma-Buc2fB5B.js → luma-CES2oyor.js} +1 -1
  182. package/dist/assets/{mail-B9BR0sdV.js → mail-DdmY6JDa.js} +1 -1
  183. package/dist/assets/{midjourney-CBWkxxng.js → midjourney-EMVA1LdI.js} +1 -1
  184. package/dist/assets/{mobile-DkVIJHQr.js → mobile-s5EII7el.js} +1 -1
  185. package/dist/assets/{more-DN4aupQF.js → more-A48lhuPL.js} +1 -1
  186. package/dist/assets/{nanobanana-BvnsUJYM.js → nanobanana-BzOm7-aZ.js} +1 -1
  187. package/dist/assets/{network-placeholder-CoGuNcjw.js → network-placeholder-BPtAL6f2.js} +1 -1
  188. package/dist/assets/{nftPlaceholder-BmKUHL67.js → nftPlaceholder-B_qtpJBK.js} +1 -1
  189. package/dist/assets/{off-bjUsJjO7.js → off-aSU8h412.js} +1 -1
  190. package/dist/assets/{openaiimage-Zo1oqdrS.js → openaiimage-D01du9Qr.js} +1 -1
  191. package/dist/assets/{order-ByF7qR3A.js → order-CC0sFUer.js} +1 -1
  192. package/dist/assets/{pagination-BkDK8QUo.js → pagination-DxTISyuD.js} +1 -1
  193. package/dist/assets/{pika-DorWZ64r.js → pika--Ku8Dvtn.js} +1 -1
  194. package/dist/assets/{pixverse-BxY-VpQT.js → pixverse-BWl3w9CC.js} +1 -1
  195. package/dist/assets/{play-store-D9ekBIIj.js → play-store-BecT8g75.js} +1 -1
  196. package/dist/assets/{plus-6l1AS-lF.js → plus-DqjxEgR_.js} +1 -1
  197. package/dist/assets/{price-BkvvXqnE.js → price-DlwCKnPc.js} +1 -1
  198. package/dist/assets/{producer-C955Sdou.js → producer-I-4RHLMG.js} +1 -1
  199. package/dist/assets/{qr-code-qp2DGLj1.js → qr-code-D6WcQU3b.js} +1 -1
  200. package/dist/assets/{qrart-CNwCeQhj.js → qrart-BziUIhzf.js} +1 -1
  201. package/dist/assets/{recycle-horizontal-jQTXGKDE.js → recycle-horizontal-CXJ3JFC7.js} +1 -1
  202. package/dist/assets/{refresh-Cyl4RzTI.js → refresh-B0H0SP4D.js} +1 -1
  203. package/dist/assets/{reown-logo-CjnY4zWc.js → reown-logo-W28Sxosb.js} +1 -1
  204. package/dist/assets/{search-DWgk054o.js → search-CLTwDF5G.js} +1 -1
  205. package/dist/assets/{secp256k1-T-ERFygZ.js → secp256k1-BJIz7MWE.js} +1 -1
  206. package/dist/assets/{secp256k1-5R6VUJ6J.js → secp256k1-DJOfxGiB.js} +1 -1
  207. package/dist/assets/{seedance-CveHd42p.js → seedance-BLj5TS46.js} +1 -1
  208. package/dist/assets/{seedream-b3mCAJuV.js → seedream-DEnvlFNS.js} +1 -1
  209. package/dist/assets/{send-BwuMOBN8.js → send-BaTMAe1K.js} +1 -1
  210. package/dist/assets/{service-2hdsb4WE.js → service-PuejfHLK.js} +1 -1
  211. package/dist/assets/{solana-wallets-D-UQhMiC.js → solana-wallets-DsF1brYB.js} +2 -2
  212. package/dist/assets/{solana-wallets-vue-DqmpYxn9.js → solana-wallets-vue-XlDtYs_H.js} +1 -1
  213. package/dist/assets/{sora-B_bzj8AT.js → sora-XF8Nyj69.js} +1 -1
  214. package/dist/assets/{suno-4MDC-V0m.js → suno-2ok_c0Pf.js} +1 -1
  215. package/dist/assets/{swapHorizontal-Du-FW0uJ.js → swapHorizontal-YxVsGGJJ.js} +1 -1
  216. package/dist/assets/{swapHorizontalBold-BQps-rmY.js → swapHorizontalBold-CAmPJ1bM.js} +1 -1
  217. package/dist/assets/{swapHorizontalMedium-XLf-SHHr.js → swapHorizontalMedium-BhIQtfCO.js} +1 -1
  218. package/dist/assets/{swapHorizontalRoundedBold-BPaLu_VW.js → swapHorizontalRoundedBold-xGAJLYG-.js} +1 -1
  219. package/dist/assets/{swapVertical-C22Dst41.js → swapVertical-CqokAuzv.js} +1 -1
  220. package/dist/assets/{telegram-3fLdEpPp.js → telegram-CNpZDUTM.js} +1 -1
  221. package/dist/assets/{three-dots-CYOpEJIb.js → three-dots-AILB1Z5U.js} +1 -1
  222. package/dist/assets/{twitch-CJSQj9ZE.js → twitch-Q-qkr3jF.js} +1 -1
  223. package/dist/assets/{twitterIcon-D-LFHVoB.js → twitterIcon-BZEGioux.js} +1 -1
  224. package/dist/assets/{typescript-B1EqkZTz.js → typescript-DH1Spjtc.js} +1 -1
  225. package/dist/assets/{use-form-item-CckYMD9d.js → use-form-item-Bg3I0TbP.js} +1 -1
  226. package/dist/assets/validator-Cva8mRHI.js +1 -0
  227. package/dist/assets/{veo-wPLVRQDX.js → veo-DX_hZ6Eo.js} +1 -1
  228. package/dist/assets/{verify-filled-CizCs-Yd.js → verify-filled-B8JPww8r.js} +1 -1
  229. package/dist/assets/{verify-CQtqy2sV.js → verify-kQdSQFTQ.js} +1 -1
  230. package/dist/assets/{w3m-modal-DCcaXs6S.js → w3m-modal-B-i6qaGe.js} +1 -1
  231. package/dist/assets/{wallet-Dc2Ejzef.js → wallet-CXQXgSuU.js} +1 -1
  232. package/dist/assets/{wallet-placeholder-DIpZqjhY.js → wallet-placeholder-CbDHGyWs.js} +1 -1
  233. package/dist/assets/{walletconnect-C1BNPwO9.js → walletconnect-39Wnob4q.js} +1 -1
  234. package/dist/assets/{wan-C96nuIaJ.js → wan-D2UBu4vF.js} +1 -1
  235. package/dist/assets/{warning-circle-BJSxMGUI.js → warning-circle-BCcD8hhG.js} +1 -1
  236. package/dist/assets/{web-_n3xdC57.js → web-CjWjGXDj.js} +1 -1
  237. package/dist/assets/{web-upTDeY5R.js → web-c1Cwnr42.js} +1 -1
  238. package/dist/assets/{x-Dgqv9OXM.js → x-CBOcIk8D.js} +1 -1
  239. package/dist/index.html +1 -1
  240. package/package.json +1 -1
  241. package/dist/assets/Conversation-ZGkH8kaj.js +0 -25
  242. package/dist/assets/validator-ei3g__md.js +0 -1
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const w=C`<svg
1
+ import{w as C}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const w=C`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="16"
4
4
  height="16"
@@ -1,3 +1,3 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const c=o` <svg fill="none" viewBox="0 0 13 4">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const c=o` <svg fill="none" viewBox="0 0 13 4">
2
2
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
3
3
  </svg>`;export{c as cursorSvg};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const c=o`<svg fill="none" viewBox="0 0 14 6">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const c=o`<svg fill="none" viewBox="0 0 14 6">
2
2
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
3
3
  <path
4
4
  style="stroke: var(--wui-color-inverse-100);"
@@ -1 +1 @@
1
- import{b2 as L,b3 as h,b4 as M}from"./index-BvxUjFFi.js";var N=/\s/;function B(n){for(var r=n.length;r--&&N.test(n.charAt(r)););return r}var R=/^\s+/;function $(n){return n&&n.slice(0,B(n)+1).replace(R,"")}var k=NaN,F=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,j=/^0o[0-7]+$/i,D=parseInt;function S(n){if(typeof n=="number")return n;if(L(n))return k;if(h(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=h(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=$(n);var t=_.test(n);return t||j.test(n)?D(n.slice(2),t?2:8):F.test(n)?k:+n}var b=function(){return M.Date.now()},H="Expected a function",P=Math.max,U=Math.min;function q(n,r,t){var u,c,l,s,i,f,d=0,v=!1,o=!1,T=!0;if(typeof n!="function")throw new TypeError(H);r=S(r)||0,h(t)&&(v=!!t.leading,o="maxWait"in t,l=o?P(S(t.maxWait)||0,r):l,T="trailing"in t?!!t.trailing:T);function x(e){var a=u,m=c;return u=c=void 0,d=e,s=n.apply(m,a),s}function W(e){return d=e,i=setTimeout(g,r),v?x(e):s}function O(e){var a=e-f,m=e-d,E=r-a;return o?U(E,l-m):E}function p(e){var a=e-f,m=e-d;return f===void 0||a>=r||a<0||o&&m>=l}function g(){var e=b();if(p(e))return y(e);i=setTimeout(g,O(e))}function y(e){return i=void 0,T&&u?x(e):(u=c=void 0,s)}function A(){i!==void 0&&clearTimeout(i),d=0,u=f=c=i=void 0}function C(){return i===void 0?s:y(b())}function I(){var e=b(),a=p(e);if(u=arguments,c=this,f=e,a){if(i===void 0)return W(f);if(o)return clearTimeout(i),i=setTimeout(g,r),x(f)}return i===void 0&&(i=setTimeout(g,r)),s}return I.cancel=A,I.flush=C,I}export{q as d};
1
+ import{b2 as L,b3 as h,b4 as M}from"./index-COZsQ1B1.js";var N=/\s/;function B(n){for(var r=n.length;r--&&N.test(n.charAt(r)););return r}var R=/^\s+/;function $(n){return n&&n.slice(0,B(n)+1).replace(R,"")}var k=NaN,F=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,j=/^0o[0-7]+$/i,D=parseInt;function S(n){if(typeof n=="number")return n;if(L(n))return k;if(h(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=h(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=$(n);var t=_.test(n);return t||j.test(n)?D(n.slice(2),t?2:8):F.test(n)?k:+n}var b=function(){return M.Date.now()},H="Expected a function",P=Math.max,U=Math.min;function q(n,r,t){var u,c,l,s,i,f,d=0,v=!1,o=!1,T=!0;if(typeof n!="function")throw new TypeError(H);r=S(r)||0,h(t)&&(v=!!t.leading,o="maxWait"in t,l=o?P(S(t.maxWait)||0,r):l,T="trailing"in t?!!t.trailing:T);function x(e){var a=u,m=c;return u=c=void 0,d=e,s=n.apply(m,a),s}function W(e){return d=e,i=setTimeout(g,r),v?x(e):s}function O(e){var a=e-f,m=e-d,E=r-a;return o?U(E,l-m):E}function p(e){var a=e-f,m=e-d;return f===void 0||a>=r||a<0||o&&m>=l}function g(){var e=b();if(p(e))return y(e);i=setTimeout(g,O(e))}function y(e){return i=void 0,T&&u?x(e):(u=c=void 0,s)}function A(){i!==void 0&&clearTimeout(i),d=0,u=f=c=i=void 0}function C(){return i===void 0?s:y(b())}function I(){var e=b(),a=p(e);if(u=arguments,c=this,f=e,a){if(i===void 0)return W(f);if(o)return clearTimeout(i),i=setTimeout(g,r),x(f)}return i===void 0&&(i=setTimeout(g,r)),s}return I.cancel=A,I.flush=C,I}export{q as d};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as i}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#5865F2" />
@@ -1 +1 @@
1
- import{l as i}from"./index-BvxUjFFi.js";class e{key="distribution-histories";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const l=new e;class r{key="distribution-statuses";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}async initialize(){return await i.post(`/${this.key}/initialize/`)}}const c=new r;class a{key="distribution-levels";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const u=new a;class n{key="shorturl";async create(t){return await i.post(`/${this.key}`,{content:t})}}const y=new n;export{c as a,l as b,u as d,y as s};
1
+ import{l as i}from"./index-COZsQ1B1.js";class e{key="distribution-histories";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const l=new e;class r{key="distribution-statuses";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}async initialize(){return await i.post(`/${this.key}/initialize/`)}}const c=new r;class a{key="distribution-levels";async getAll(t){return await i.get(`/${this.key}/`,{params:t})}}const u=new a;class n{key="shorturl";async create(t){return await i.post(`/${this.key}`,{content:t})}}const y=new n;export{c as a,l as b,u as d,y as s};
@@ -1 +1 @@
1
- import{b as E,r as S,c as b}from"./index-Cfm5TcpA.js";import{z as C,I as m,aV as e,J as o,O as L}from"./index-BvxUjFFi.js";import{z as y,d as T,i as $,o as M,u as f,a8 as h,b as _,p as I}from"./vendor-vue-NSDaktjZ.js";const w=T({inheritAttrs:!1});function v(n,s,a,r,i,d){return y(n.$slots,"default")}var A=C(w,[["render",v],["__file","collection.vue"]]);const B=T({name:"ElCollectionItem",inheritAttrs:!1});function K(n,s,a,r,i,d){return y(n.$slots,"default")}var P=C(B,[["render",K],["__file","collection-item.vue"]]);const x="data-el-collection-item",Y=n=>{const s=`El${n}Collection`,a=`${s}Item`,r=Symbol(s),i=Symbol(a),d={...A,name:s,setup(){const u=_(),c=new Map;I(r,{itemMap:c,getItems:()=>{const l=f(u);if(!l)return[];const t=Array.from(l.querySelectorAll(`[${x}]`));return[...c.values()].sort((g,N)=>t.indexOf(g.ref)-t.indexOf(N.ref))},collectionRef:u})}},O={...P,name:a,setup(u,{attrs:c}){const p=_(),l=$(r,void 0);I(i,{collectionItemRef:p}),M(()=>{const t=f(p);t&&l.itemMap.set(t,{ref:t,...c})}),h(()=>{const t=f(p);l.itemMap.delete(t)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:d,ElCollectionItem:O}},V=m({trigger:b.trigger,triggerKeys:{type:o(Array),default:()=>[e.enter,e.numpadEnter,e.space,e.down]},effect:{...E.effect,default:"light"},type:{type:o(String)},placement:{type:o(String),default:"bottom"},popperOptions:{type:o(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:o([Number,String]),default:0},maxHeight:{type:o([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:S,default:"menu"},buttonProps:{type:o(Object)},teleported:E.teleported,persistent:{type:Boolean,default:!0}}),U=m({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:L}}),k=m({onKeydown:{type:o(Function)}}),j=[e.down,e.pageDown,e.home],J=[e.up,e.pageUp,e.end],q=[...j,...J],{ElCollection:G,ElCollectionItem:H,COLLECTION_INJECTION_KEY:W,COLLECTION_ITEM_INJECTION_KEY:Q}=Y("Dropdown");export{Q as C,G as E,q as F,J as L,U as a,x as b,Y as c,V as d,H as e,k as f,W as g};
1
+ import{b as E,r as S,c as b}from"./index-BZdafMId.js";import{z as C,I as m,aV as e,J as o,O as L}from"./index-COZsQ1B1.js";import{z as y,d as T,i as $,o as M,u as f,a8 as h,b as _,p as I}from"./vendor-vue-NSDaktjZ.js";const w=T({inheritAttrs:!1});function v(n,s,a,r,i,d){return y(n.$slots,"default")}var A=C(w,[["render",v],["__file","collection.vue"]]);const B=T({name:"ElCollectionItem",inheritAttrs:!1});function K(n,s,a,r,i,d){return y(n.$slots,"default")}var P=C(B,[["render",K],["__file","collection-item.vue"]]);const x="data-el-collection-item",Y=n=>{const s=`El${n}Collection`,a=`${s}Item`,r=Symbol(s),i=Symbol(a),d={...A,name:s,setup(){const u=_(),c=new Map;I(r,{itemMap:c,getItems:()=>{const l=f(u);if(!l)return[];const t=Array.from(l.querySelectorAll(`[${x}]`));return[...c.values()].sort((g,N)=>t.indexOf(g.ref)-t.indexOf(N.ref))},collectionRef:u})}},O={...P,name:a,setup(u,{attrs:c}){const p=_(),l=$(r,void 0);I(i,{collectionItemRef:p}),M(()=>{const t=f(p);t&&l.itemMap.set(t,{ref:t,...c})}),h(()=>{const t=f(p);l.itemMap.delete(t)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:d,ElCollectionItem:O}},V=m({trigger:b.trigger,triggerKeys:{type:o(Array),default:()=>[e.enter,e.numpadEnter,e.space,e.down]},effect:{...E.effect,default:"light"},type:{type:o(String)},placement:{type:o(String),default:"bottom"},popperOptions:{type:o(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:o([Number,String]),default:0},maxHeight:{type:o([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:S,default:"menu"},buttonProps:{type:o(Object)},teleported:E.teleported,persistent:{type:Boolean,default:!0}}),U=m({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:L}}),k=m({onKeydown:{type:o(Function)}}),j=[e.down,e.pageDown,e.home],J=[e.up,e.pageUp,e.end],q=[...j,...J],{ElCollection:G,ElCollectionItem:H,COLLECTION_INJECTION_KEY:W,COLLECTION_ITEM_INJECTION_KEY:Q}=Y("Dropdown");export{Q as C,G as E,q as F,J as L,U as a,x as b,Y as c,V as d,H as e,k as f,W as g};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const w=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ import{w as C}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const w=C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
3
3
  </svg>
4
4
  `;export{w as exclamationTriangleSvg};
@@ -1,4 +1,4 @@
1
- import{w as a}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=a`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as a}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const n=a`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as i}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1877F2" />
@@ -1,4 +1,4 @@
1
- import{w as h}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const e=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ import{w as h}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const e=h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
2
2
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
3
3
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1 +1 @@
1
- import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-BvxUjFFi.js";class n{async task(a,t){return await e.post("/flux/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/flux/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/flux/images",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new n;export{c as f};
1
+ import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-COZsQ1B1.js";class n{async task(a,t){return await e.post("/flux/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/flux/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/flux/images",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new n;export{c as f};
@@ -1,4 +1,4 @@
1
- import{w as i}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const m=i`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const g=o`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const g=o`<svg fill="none" viewBox="0 0 40 40">
2
2
  <path
3
3
  fill="#4285F4"
4
4
  d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
@@ -1 +1 @@
1
- import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-BvxUjFFi.js";class i{async task(a,t){return await e.post("/hailuo/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/hailuo/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/hailuo/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new i;export{c as h};
1
+ import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-COZsQ1B1.js";class i{async task(a,t){return await e.post("/hailuo/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/hailuo/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/hailuo/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new i;export{c as h};
@@ -1 +1 @@
1
- import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-BvxUjFFi.js";class s{async task(a,t){return await e.post("/headshots/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/headshots/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/headshots/generate",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new s;export{c as h};
1
+ import{a as e}from"./vendor-axios-B8_nURbH.js";import{B as o}from"./index-COZsQ1B1.js";class s{async task(a,t){return await e.post("/headshots/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/headshots/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/headshots/generate",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const c=new s;export{c as h};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
@@ -1,4 +1,4 @@
1
- import{w as c}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const l=c`<svg
1
+ import{w as c}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const l=c`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./index-B9h47UCD.js";import"./index.browser.esm-j3h3mdoY.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-BvxUjFFi.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
1
+ import{w as C}from"./index-CGG8zz6A.js";import"./index.browser.esm-C9Trn5Cw.js";import"./vendor-dayjs-v0j1UNZp.js";import"./index-COZsQ1B1.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-vue-router-Kg6s1a65.js";import"./index-9HGDSJTR.js";import"./signer-VxQoXw0x.js";import"./types-Cvj5H4DH.js";const v=C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
2
2
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
3
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
4
4
  </svg>`;export{v as imageSvg};
@@ -1 +1 @@
1
- import{ay as A,aw as c,a7 as m,aK as T}from"./index-BvxUjFFi.js";import{S as f}from"./suno-DFuCGH70.js";import{s as w}from"./service-2hdsb4WE.js";import{s as l}from"./suno-4MDC-V0m.js";import{m as b}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const S=({commit:e})=>{e("resetAll")},I=async({commit:e,dispatch:s},t)=>{if(console.debug("set application",t),e("setApplication",t),!t){console.debug("application is null, return");return}const o=t?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),e("setCredential",o)):(console.debug("credential not exists, start to create credential for application",t),await s("createCredential"))},P=async({commit:e},s)=>{console.debug("set applications",s),e("setApplications",s)},y=async({commit:e},s)=>{console.debug("set service",s),e("setService",s)},C=async({commit:e},s)=>{console.debug("set credential",s),e("setCredential",s)},$=async({commit:e,state:s})=>{const t=s.application;if(console.debug("prepare to create credential for application",t),!t){console.error("Application not found");return}console.debug("creating create credential for application",t);const{data:o}=await A.create({application_id:t?.id,host:window.location.origin});return console.debug("created credential success",o),e("setCredential",o),console.debug("end createCredential"),o},h=async({commit:e,state:s})=>{s.status.getService=c.Request;try{const{data:t}=await w.get(f);return s.status.getService=c.Success,e("setService",t),t}catch{s.status.getService=c.Error,e("setService",void 0)}},_=async({commit:e,state:s,rootState:t})=>{console.debug("start to get applications for chat"),s.status.getApplications=c.Request;const o=s.application;console.debug("current application",o);try{const{data:n}=await m.getAll({user_id:t?.user?.id,service_id:f});return s.status.getApplications=c.Success,e("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),s.status.getApplications=c.Error,e("setApplications",void 0),e("setApplication",void 0)}},x=({commit:e},s)=>{e("setConfig",s)},O=({commit:e},s)=>{e("setTasks",s)},E=({commit:e},s)=>{e("setTasksItems",s)},R=({commit:e},s)=>{e("setTasksTotal",s)},q=({commit:e},s)=>{e("setTasksActive",s)},D=({commit:e},s)=>{e("setAudio",s)},L=async({commit:e,state:s,rootState:t},{offset:o,limit:n,createdAtMin:a,createdAtMax:i})=>new Promise((k,d)=>{console.debug("start to get tasks",o,n,i,a);const p=s.credential?.token;if(!p)return d("no token");l.tasks({userId:t?.user?.id,createdAtMin:a,createdAtMax:i,type:"audios"},{token:p}).then(r=>{console.debug("get imagine tasks success",r.data.items);const u=s?.tasks?.items||[];console.debug("existing items",u);const g=r.data.items||[];console.debug("new items",g);const v=b(u,g);e("setTasksItems",v),e("setTasksTotal",r.data.count),k(r.data.items)}).catch(r=>d(r))}),F=async({commit:e,state:s,rootState:t})=>{const n=s.credential?.token;if(!n)return[];const a=t?.user?.id;if(!a)return[];try{const{data:i}=await l.personasList({user_id:a},{token:n});return e("setPersonas",i.items||[]),i.items||[]}catch(i){return console.error("get personas failed",i),[]}},K=async({state:e,dispatch:s,rootState:t},o)=>{const a=e.credential?.token;if(!a)return!1;try{return await l.personasDelete({persona_id:o,user_id:t?.user?.id},{token:a}),await s("getPersonas"),!0}catch(i){return console.error("delete persona failed",i),!1}},N={setService:y,getService:h,resetAll:S,setCredential:C,setConfig:x,setApplication:I,setApplications:P,getApplications:_,setTasks:O,setTasksItems:E,setTasksTotal:R,setTasksActive:q,getTasks:L,setAudio:D,getPersonas:F,deletePersona:K,createCredential:$},U=e=>{e.service=void 0,e.application=void 0,e.applications=void 0,e.config=void 0,e.credential=void 0,e.tasks=void 0,e.personas=void 0},V=(e,s)=>{e.applications=s},z=(e,s)=>{e.service=s},B=(e,s)=>{e.credential=s},G=(e,s)=>{e.application=s},H=(e,s)=>{e.config=s},J=(e,s)=>{const t={...e.tasks,items:s};e.tasks=t},Q=(e,s)=>{const t={...e.tasks,total:s};e.tasks=t},W=(e,s)=>{const t={...e.tasks,active:s};e.tasks=t},X=(e,s)=>{e.audio=s},Y=(e,s)=>{e.tasks=s},Z=(e,s)=>{e.personas=s},j=(e,s)=>{if(!s)return;Array.isArray(e.favoritePersonaIds)||(e.favoritePersonaIds=[]);const t=e.favoritePersonaIds.indexOf(s);t>=0?e.favoritePersonaIds.splice(t,1):e.favoritePersonaIds.push(s)},M={setTasks:Y,setApplication:G,setApplications:V,setConfig:H,setCredential:B,setService:z,setTasksActive:W,setTasksItems:J,setTasksTotal:Q,setAudio:X,setPersonas:Z,togglePersonaFavorite:j,resetAll:U},de={namespaced:!0,state:T,mutations:M,actions:N};export{de as default,de as suno};
1
+ import{ay as A,aw as c,a7 as m,aK as T}from"./index-COZsQ1B1.js";import{S as f}from"./suno-DFuCGH70.js";import{s as w}from"./service-PuejfHLK.js";import{s as l}from"./suno-2ok_c0Pf.js";import{m as b}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const S=({commit:e})=>{e("resetAll")},I=async({commit:e,dispatch:s},t)=>{if(console.debug("set application",t),e("setApplication",t),!t){console.debug("application is null, return");return}const o=t?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),e("setCredential",o)):(console.debug("credential not exists, start to create credential for application",t),await s("createCredential"))},P=async({commit:e},s)=>{console.debug("set applications",s),e("setApplications",s)},y=async({commit:e},s)=>{console.debug("set service",s),e("setService",s)},C=async({commit:e},s)=>{console.debug("set credential",s),e("setCredential",s)},$=async({commit:e,state:s})=>{const t=s.application;if(console.debug("prepare to create credential for application",t),!t){console.error("Application not found");return}console.debug("creating create credential for application",t);const{data:o}=await A.create({application_id:t?.id,host:window.location.origin});return console.debug("created credential success",o),e("setCredential",o),console.debug("end createCredential"),o},h=async({commit:e,state:s})=>{s.status.getService=c.Request;try{const{data:t}=await w.get(f);return s.status.getService=c.Success,e("setService",t),t}catch{s.status.getService=c.Error,e("setService",void 0)}},_=async({commit:e,state:s,rootState:t})=>{console.debug("start to get applications for chat"),s.status.getApplications=c.Request;const o=s.application;console.debug("current application",o);try{const{data:n}=await m.getAll({user_id:t?.user?.id,service_id:f});return s.status.getApplications=c.Success,e("setApplications",n.items),n.items}catch(n){console.error("get applications failed",n),s.status.getApplications=c.Error,e("setApplications",void 0),e("setApplication",void 0)}},x=({commit:e},s)=>{e("setConfig",s)},O=({commit:e},s)=>{e("setTasks",s)},E=({commit:e},s)=>{e("setTasksItems",s)},R=({commit:e},s)=>{e("setTasksTotal",s)},q=({commit:e},s)=>{e("setTasksActive",s)},D=({commit:e},s)=>{e("setAudio",s)},L=async({commit:e,state:s,rootState:t},{offset:o,limit:n,createdAtMin:a,createdAtMax:i})=>new Promise((k,d)=>{console.debug("start to get tasks",o,n,i,a);const p=s.credential?.token;if(!p)return d("no token");l.tasks({userId:t?.user?.id,createdAtMin:a,createdAtMax:i,type:"audios"},{token:p}).then(r=>{console.debug("get imagine tasks success",r.data.items);const u=s?.tasks?.items||[];console.debug("existing items",u);const g=r.data.items||[];console.debug("new items",g);const v=b(u,g);e("setTasksItems",v),e("setTasksTotal",r.data.count),k(r.data.items)}).catch(r=>d(r))}),F=async({commit:e,state:s,rootState:t})=>{const n=s.credential?.token;if(!n)return[];const a=t?.user?.id;if(!a)return[];try{const{data:i}=await l.personasList({user_id:a},{token:n});return e("setPersonas",i.items||[]),i.items||[]}catch(i){return console.error("get personas failed",i),[]}},K=async({state:e,dispatch:s,rootState:t},o)=>{const a=e.credential?.token;if(!a)return!1;try{return await l.personasDelete({persona_id:o,user_id:t?.user?.id},{token:a}),await s("getPersonas"),!0}catch(i){return console.error("delete persona failed",i),!1}},N={setService:y,getService:h,resetAll:S,setCredential:C,setConfig:x,setApplication:I,setApplications:P,getApplications:_,setTasks:O,setTasksItems:E,setTasksTotal:R,setTasksActive:q,getTasks:L,setAudio:D,getPersonas:F,deletePersona:K,createCredential:$},U=e=>{e.service=void 0,e.application=void 0,e.applications=void 0,e.config=void 0,e.credential=void 0,e.tasks=void 0,e.personas=void 0},V=(e,s)=>{e.applications=s},z=(e,s)=>{e.service=s},B=(e,s)=>{e.credential=s},G=(e,s)=>{e.application=s},H=(e,s)=>{e.config=s},J=(e,s)=>{const t={...e.tasks,items:s};e.tasks=t},Q=(e,s)=>{const t={...e.tasks,total:s};e.tasks=t},W=(e,s)=>{const t={...e.tasks,active:s};e.tasks=t},X=(e,s)=>{e.audio=s},Y=(e,s)=>{e.tasks=s},Z=(e,s)=>{e.personas=s},j=(e,s)=>{if(!s)return;Array.isArray(e.favoritePersonaIds)||(e.favoritePersonaIds=[]);const t=e.favoritePersonaIds.indexOf(s);t>=0?e.favoritePersonaIds.splice(t,1):e.favoritePersonaIds.push(s)},M={setTasks:Y,setApplication:G,setApplications:V,setConfig:H,setCredential:B,setService:z,setTasksActive:W,setTasksItems:J,setTasksTotal:Q,setAudio:X,setPersonas:Z,togglePersonaFavorite:j,resetAll:U},de={namespaced:!0,state:T,mutations:M,actions:N};export{de as default,de as suno};
@@ -1 +1 @@
1
- import{S as Q,i as F,c as f,k as ee,w as ae,n as le,b as U,g as _,ad as ge,t as W,d as E,X as ne,q as x,x as te,y as oe,E as X,Q as C,u as n,G as N,H as S,M as $,al as z,am as G,z as R,O as Ce,I as ue,F as se,J as P,V as ie,R as xe,p as Ve,a4 as ye}from"./vendor-vue-NSDaktjZ.js";import{am as re,M as Y,L as T,U as D,Q as Se,a2 as A,R as ce,N as M,P as Z,bI as O,af as w,z as K,A as j,I as Le,J as Be,b5 as de,D as Ee}from"./index-BvxUjFFi.js";import{u as be,p as Ie}from"./index-C4KHAdmJ.js";import{u as q,a as ve}from"./use-form-item-CckYMD9d.js";import{i as _e}from"./isEqual-D6B5l3d6.js";const me={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:re,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...be(["ariaControls"])},fe={[D]:e=>Q(e)||Y(e)||T(e),change:e=>Q(e)||Y(e)||T(e)},I=Symbol("checkboxGroupContextKey"),Fe=({model:e,isChecked:c})=>{const i=F(I,void 0),l=f(()=>{var r,d;const t=(r=i?.max)==null?void 0:r.value,v=(d=i?.min)==null?void 0:d.value;return!A(t)&&e.value.length>=t&&!c.value||!A(v)&&e.value.length<=v&&c.value});return{isDisabled:Se(f(()=>i?.disabled.value||l.value)),isLimitDisabled:l}},Ne=(e,{model:c,isLimitExceeded:i,hasOwnLabel:l,isDisabled:b,isLabeledByFormItem:r})=>{const d=F(I,void 0),{formItem:t}=q(),{emit:v}=ee();function s(a){var h,k,u,p;return[!0,e.trueValue,e.trueLabel].includes(a)?(k=(h=e.trueValue)!=null?h:e.trueLabel)!=null?k:!0:(p=(u=e.falseValue)!=null?u:e.falseLabel)!=null?p:!1}function o(a,h){v(M,s(a),h)}function m(a){if(i.value)return;const h=a.target;v(M,s(h.checked),a)}async function V(a){i.value||!l.value&&!b.value&&r.value&&(a.composedPath().some(u=>u.tagName==="LABEL")||(c.value=s([!1,e.falseValue,e.falseLabel].includes(c.value)),await le(),o(c.value,a)))}const L=f(()=>d?.validateEvent||e.validateEvent);return ae(()=>e.modelValue,()=>{L.value&&t?.validate("change").catch(a=>ce())}),{handleChange:m,onClickRoot:V}},$e=e=>{const c=U(!1),{emit:i}=ee(),l=F(I,void 0),b=f(()=>A(l)===!1),r=U(!1),d=f({get(){var t,v;return b.value?(t=l?.modelValue)==null?void 0:t.value:(v=e.modelValue)!=null?v:c.value},set(t){var v,s;b.value&&_(t)?(r.value=((v=l?.max)==null?void 0:v.value)!==void 0&&t.length>l?.max.value&&t.length>d.value.length,r.value===!1&&((s=l?.changeEvent)==null||s.call(l,t))):(i(D,t),c.value=t)}});return{model:d,isGroup:b,isLimitExceeded:r}},ze=(e,c,{model:i})=>{const l=F(I,void 0),b=U(!1),r=f(()=>O(e.value)?e.label:e.value),d=f(()=>{const o=i.value;return T(o)?o:_(o)?ge(r.value)?o.map(W).some(m=>_e(m,r.value)):o.map(W).includes(r.value):o!=null?o===e.trueValue||o===e.trueLabel:!!o}),t=Z(f(()=>{var o;return(o=l?.size)==null?void 0:o.value}),{prop:!0}),v=Z(f(()=>{var o;return(o=l?.size)==null?void 0:o.value})),s=f(()=>!!c.default||!O(r.value));return{checkboxButtonSize:t,isChecked:d,isFocused:b,checkboxSize:v,hasOwnLabel:s,actualValue:r}},he=(e,c)=>{const{formItem:i}=q(),{model:l,isGroup:b,isLimitExceeded:r}=$e(e),{isFocused:d,isChecked:t,checkboxButtonSize:v,checkboxSize:s,hasOwnLabel:o,actualValue:m}=ze(e,c,{model:l}),{isDisabled:V}=Fe({model:l,isChecked:t}),{inputId:L,isLabeledByFormItem:a}=ve(e,{formItemContext:i,disableIdGeneration:o,disableIdManagement:b}),{handleChange:h,onClickRoot:k}=Ne(e,{model:l,isLimitExceeded:r,hasOwnLabel:o,isDisabled:V,isLabeledByFormItem:a});return(()=>{function p(){var y,g;_(l.value)&&!l.value.includes(m.value)?l.value.push(m.value):l.value=(g=(y=e.trueValue)!=null?y:e.trueLabel)!=null?g:!0}e.checked&&p()})(),w({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>b.value&&O(e.value))),w({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>!!e.trueLabel)),w({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>!!e.falseLabel)),{inputId:L,isLabeledByFormItem:a,isChecked:t,isDisabled:V,isFocused:d,checkboxButtonSize:v,checkboxSize:s,hasOwnLabel:o,model:l,actualValue:m,handleChange:h,onClickRoot:k}},Ge=E({name:"ElCheckbox"}),De=E({...Ge,props:me,emits:fe,setup(e){const c=e,i=ne(),{inputId:l,isLabeledByFormItem:b,isChecked:r,isDisabled:d,isFocused:t,checkboxSize:v,hasOwnLabel:s,model:o,actualValue:m,handleChange:V,onClickRoot:L}=he(c,i),a=j("checkbox"),h=f(()=>[a.b(),a.m(v.value),a.is("disabled",d.value),a.is("bordered",c.border),a.is("checked",r.value)]),k=f(()=>[a.e("input"),a.is("disabled",d.value),a.is("checked",r.value),a.is("indeterminate",c.indeterminate),a.is("focus",t.value)]);return(u,p)=>(x(),te(ie(!n(s)&&n(b)?"span":"label"),{class:C(n(h)),"aria-controls":u.indeterminate?u.ariaControls:null,onClick:n(L)},{default:oe(()=>{var y,g,H,J;return[X("span",{class:C(n(k))},[u.trueValue||u.falseValue||u.trueLabel||u.falseLabel?N((x(),S("input",{key:0,id:n(l),"onUpdate:modelValue":B=>z(o)?o.value=B:null,class:C(n(a).e("original")),type:"checkbox",indeterminate:u.indeterminate,name:u.name,tabindex:u.tabindex,disabled:n(d),"true-value":(g=(y=u.trueValue)!=null?y:u.trueLabel)!=null?g:!0,"false-value":(J=(H=u.falseValue)!=null?H:u.falseLabel)!=null?J:!1,onChange:n(V),onFocus:B=>t.value=!0,onBlur:B=>t.value=!1,onClick:$(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[G,n(o)]]):N((x(),S("input",{key:1,id:n(l),"onUpdate:modelValue":B=>z(o)?o.value=B:null,class:C(n(a).e("original")),type:"checkbox",indeterminate:u.indeterminate,disabled:n(d),value:n(m),name:u.name,tabindex:u.tabindex,onChange:n(V),onFocus:B=>t.value=!0,onBlur:B=>t.value=!1,onClick:$(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[G,n(o)]]),X("span",{class:C(n(a).e("inner"))},null,2)],2),n(s)?(x(),S("span",{key:0,class:C(n(a).e("label"))},[R(u.$slots,"default"),u.$slots.default?P("v-if",!0):(x(),S(Ce,{key:0},[ue(se(u.label),1)],64))],2)):P("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var we=K(De,[["__file","checkbox.vue"]]);const Ue=E({name:"ElCheckboxButton"}),Pe=E({...Ue,props:me,emits:fe,setup(e){const c=e,i=ne(),{isFocused:l,isChecked:b,isDisabled:r,checkboxButtonSize:d,model:t,actualValue:v,handleChange:s}=he(c,i),o=F(I,void 0),m=j("checkbox"),V=f(()=>{var a,h,k,u;const p=(h=(a=o?.fill)==null?void 0:a.value)!=null?h:"";return{backgroundColor:p,borderColor:p,color:(u=(k=o?.textColor)==null?void 0:k.value)!=null?u:"",boxShadow:p?`-1px 0 0 0 ${p}`:void 0}}),L=f(()=>[m.b("button"),m.bm("button",d.value),m.is("disabled",r.value),m.is("checked",b.value),m.is("focus",l.value)]);return(a,h)=>{var k,u,p,y;return x(),S("label",{class:C(n(L))},[a.trueValue||a.falseValue||a.trueLabel||a.falseLabel?N((x(),S("input",{key:0,"onUpdate:modelValue":g=>z(t)?t.value=g:null,class:C(n(m).be("button","original")),type:"checkbox",name:a.name,tabindex:a.tabindex,disabled:n(r),"true-value":(u=(k=a.trueValue)!=null?k:a.trueLabel)!=null?u:!0,"false-value":(y=(p=a.falseValue)!=null?p:a.falseLabel)!=null?y:!1,onChange:n(s),onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onClick:$(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[G,n(t)]]):N((x(),S("input",{key:1,"onUpdate:modelValue":g=>z(t)?t.value=g:null,class:C(n(m).be("button","original")),type:"checkbox",name:a.name,tabindex:a.tabindex,disabled:n(r),value:n(v),onChange:n(s),onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onClick:$(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[G,n(t)]]),a.$slots.default||a.label?(x(),S("span",{key:2,class:C(n(m).be("button","inner")),style:xe(n(b)?n(V):void 0)},[R(a.$slots,"default",{},()=>[ue(se(a.label),1)])],6)):P("v-if",!0)],2)}}});var ke=K(Pe,[["__file","checkbox-button.vue"]]);const Te=Le({modelValue:{type:Be(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:re,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...be(["ariaLabel"])}),Ae={[D]:e=>_(e),change:e=>_(e)},Me=E({name:"ElCheckboxGroup"}),Oe=E({...Me,props:Te,emits:Ae,setup(e,{emit:c}){const i=e,l=j("checkbox"),{formItem:b}=q(),{inputId:r,isLabeledByFormItem:d}=ve(i,{formItemContext:b}),t=async s=>{c(D,s),await le(),c(M,s)},v=f({get(){return i.modelValue},set(s){t(s)}});return Ve(I,{...Ie(ye(i),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:v,changeEvent:t}),ae(()=>i.modelValue,()=>{i.validateEvent&&b?.validate("change").catch(s=>ce())}),(s,o)=>{var m;return x(),te(ie(s.tag),{id:n(r),class:C(n(l).b("group")),role:"group","aria-label":n(d)?void 0:s.ariaLabel||"checkbox-group","aria-labelledby":n(d)?(m=n(b))==null?void 0:m.labelId:void 0},{default:oe(()=>[R(s.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var pe=K(Oe,[["__file","checkbox-group.vue"]]);const Je=Ee(we,{CheckboxButton:ke,CheckboxGroup:pe});de(ke);const Qe=de(pe);export{Je as E,Qe as a};
1
+ import{S as Q,i as F,c as f,k as ee,w as ae,n as le,b as U,g as _,ad as ge,t as W,d as E,X as ne,q as x,x as te,y as oe,E as X,Q as C,u as n,G as N,H as S,M as $,al as z,am as G,z as R,O as Ce,I as ue,F as se,J as P,V as ie,R as xe,p as Ve,a4 as ye}from"./vendor-vue-NSDaktjZ.js";import{am as re,M as Y,L as T,U as D,Q as Se,a2 as A,R as ce,N as M,P as Z,bI as O,af as w,z as K,A as j,I as Le,J as Be,b5 as de,D as Ee}from"./index-COZsQ1B1.js";import{u as be,p as Ie}from"./index-C4WsMRUy.js";import{u as q,a as ve}from"./use-form-item-Bg3I0TbP.js";import{i as _e}from"./isEqual-8TlGrPn8.js";const me={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:re,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...be(["ariaControls"])},fe={[D]:e=>Q(e)||Y(e)||T(e),change:e=>Q(e)||Y(e)||T(e)},I=Symbol("checkboxGroupContextKey"),Fe=({model:e,isChecked:c})=>{const i=F(I,void 0),l=f(()=>{var r,d;const t=(r=i?.max)==null?void 0:r.value,v=(d=i?.min)==null?void 0:d.value;return!A(t)&&e.value.length>=t&&!c.value||!A(v)&&e.value.length<=v&&c.value});return{isDisabled:Se(f(()=>i?.disabled.value||l.value)),isLimitDisabled:l}},Ne=(e,{model:c,isLimitExceeded:i,hasOwnLabel:l,isDisabled:b,isLabeledByFormItem:r})=>{const d=F(I,void 0),{formItem:t}=q(),{emit:v}=ee();function s(a){var h,k,u,p;return[!0,e.trueValue,e.trueLabel].includes(a)?(k=(h=e.trueValue)!=null?h:e.trueLabel)!=null?k:!0:(p=(u=e.falseValue)!=null?u:e.falseLabel)!=null?p:!1}function o(a,h){v(M,s(a),h)}function m(a){if(i.value)return;const h=a.target;v(M,s(h.checked),a)}async function V(a){i.value||!l.value&&!b.value&&r.value&&(a.composedPath().some(u=>u.tagName==="LABEL")||(c.value=s([!1,e.falseValue,e.falseLabel].includes(c.value)),await le(),o(c.value,a)))}const L=f(()=>d?.validateEvent||e.validateEvent);return ae(()=>e.modelValue,()=>{L.value&&t?.validate("change").catch(a=>ce())}),{handleChange:m,onClickRoot:V}},$e=e=>{const c=U(!1),{emit:i}=ee(),l=F(I,void 0),b=f(()=>A(l)===!1),r=U(!1),d=f({get(){var t,v;return b.value?(t=l?.modelValue)==null?void 0:t.value:(v=e.modelValue)!=null?v:c.value},set(t){var v,s;b.value&&_(t)?(r.value=((v=l?.max)==null?void 0:v.value)!==void 0&&t.length>l?.max.value&&t.length>d.value.length,r.value===!1&&((s=l?.changeEvent)==null||s.call(l,t))):(i(D,t),c.value=t)}});return{model:d,isGroup:b,isLimitExceeded:r}},ze=(e,c,{model:i})=>{const l=F(I,void 0),b=U(!1),r=f(()=>O(e.value)?e.label:e.value),d=f(()=>{const o=i.value;return T(o)?o:_(o)?ge(r.value)?o.map(W).some(m=>_e(m,r.value)):o.map(W).includes(r.value):o!=null?o===e.trueValue||o===e.trueLabel:!!o}),t=Z(f(()=>{var o;return(o=l?.size)==null?void 0:o.value}),{prop:!0}),v=Z(f(()=>{var o;return(o=l?.size)==null?void 0:o.value})),s=f(()=>!!c.default||!O(r.value));return{checkboxButtonSize:t,isChecked:d,isFocused:b,checkboxSize:v,hasOwnLabel:s,actualValue:r}},he=(e,c)=>{const{formItem:i}=q(),{model:l,isGroup:b,isLimitExceeded:r}=$e(e),{isFocused:d,isChecked:t,checkboxButtonSize:v,checkboxSize:s,hasOwnLabel:o,actualValue:m}=ze(e,c,{model:l}),{isDisabled:V}=Fe({model:l,isChecked:t}),{inputId:L,isLabeledByFormItem:a}=ve(e,{formItemContext:i,disableIdGeneration:o,disableIdManagement:b}),{handleChange:h,onClickRoot:k}=Ne(e,{model:l,isLimitExceeded:r,hasOwnLabel:o,isDisabled:V,isLabeledByFormItem:a});return(()=>{function p(){var y,g;_(l.value)&&!l.value.includes(m.value)?l.value.push(m.value):l.value=(g=(y=e.trueValue)!=null?y:e.trueLabel)!=null?g:!0}e.checked&&p()})(),w({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>b.value&&O(e.value))),w({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>!!e.trueLabel)),w({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},f(()=>!!e.falseLabel)),{inputId:L,isLabeledByFormItem:a,isChecked:t,isDisabled:V,isFocused:d,checkboxButtonSize:v,checkboxSize:s,hasOwnLabel:o,model:l,actualValue:m,handleChange:h,onClickRoot:k}},Ge=E({name:"ElCheckbox"}),De=E({...Ge,props:me,emits:fe,setup(e){const c=e,i=ne(),{inputId:l,isLabeledByFormItem:b,isChecked:r,isDisabled:d,isFocused:t,checkboxSize:v,hasOwnLabel:s,model:o,actualValue:m,handleChange:V,onClickRoot:L}=he(c,i),a=j("checkbox"),h=f(()=>[a.b(),a.m(v.value),a.is("disabled",d.value),a.is("bordered",c.border),a.is("checked",r.value)]),k=f(()=>[a.e("input"),a.is("disabled",d.value),a.is("checked",r.value),a.is("indeterminate",c.indeterminate),a.is("focus",t.value)]);return(u,p)=>(x(),te(ie(!n(s)&&n(b)?"span":"label"),{class:C(n(h)),"aria-controls":u.indeterminate?u.ariaControls:null,onClick:n(L)},{default:oe(()=>{var y,g,H,J;return[X("span",{class:C(n(k))},[u.trueValue||u.falseValue||u.trueLabel||u.falseLabel?N((x(),S("input",{key:0,id:n(l),"onUpdate:modelValue":B=>z(o)?o.value=B:null,class:C(n(a).e("original")),type:"checkbox",indeterminate:u.indeterminate,name:u.name,tabindex:u.tabindex,disabled:n(d),"true-value":(g=(y=u.trueValue)!=null?y:u.trueLabel)!=null?g:!0,"false-value":(J=(H=u.falseValue)!=null?H:u.falseLabel)!=null?J:!1,onChange:n(V),onFocus:B=>t.value=!0,onBlur:B=>t.value=!1,onClick:$(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[G,n(o)]]):N((x(),S("input",{key:1,id:n(l),"onUpdate:modelValue":B=>z(o)?o.value=B:null,class:C(n(a).e("original")),type:"checkbox",indeterminate:u.indeterminate,disabled:n(d),value:n(m),name:u.name,tabindex:u.tabindex,onChange:n(V),onFocus:B=>t.value=!0,onBlur:B=>t.value=!1,onClick:$(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[G,n(o)]]),X("span",{class:C(n(a).e("inner"))},null,2)],2),n(s)?(x(),S("span",{key:0,class:C(n(a).e("label"))},[R(u.$slots,"default"),u.$slots.default?P("v-if",!0):(x(),S(Ce,{key:0},[ue(se(u.label),1)],64))],2)):P("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var we=K(De,[["__file","checkbox.vue"]]);const Ue=E({name:"ElCheckboxButton"}),Pe=E({...Ue,props:me,emits:fe,setup(e){const c=e,i=ne(),{isFocused:l,isChecked:b,isDisabled:r,checkboxButtonSize:d,model:t,actualValue:v,handleChange:s}=he(c,i),o=F(I,void 0),m=j("checkbox"),V=f(()=>{var a,h,k,u;const p=(h=(a=o?.fill)==null?void 0:a.value)!=null?h:"";return{backgroundColor:p,borderColor:p,color:(u=(k=o?.textColor)==null?void 0:k.value)!=null?u:"",boxShadow:p?`-1px 0 0 0 ${p}`:void 0}}),L=f(()=>[m.b("button"),m.bm("button",d.value),m.is("disabled",r.value),m.is("checked",b.value),m.is("focus",l.value)]);return(a,h)=>{var k,u,p,y;return x(),S("label",{class:C(n(L))},[a.trueValue||a.falseValue||a.trueLabel||a.falseLabel?N((x(),S("input",{key:0,"onUpdate:modelValue":g=>z(t)?t.value=g:null,class:C(n(m).be("button","original")),type:"checkbox",name:a.name,tabindex:a.tabindex,disabled:n(r),"true-value":(u=(k=a.trueValue)!=null?k:a.trueLabel)!=null?u:!0,"false-value":(y=(p=a.falseValue)!=null?p:a.falseLabel)!=null?y:!1,onChange:n(s),onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onClick:$(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[G,n(t)]]):N((x(),S("input",{key:1,"onUpdate:modelValue":g=>z(t)?t.value=g:null,class:C(n(m).be("button","original")),type:"checkbox",name:a.name,tabindex:a.tabindex,disabled:n(r),value:n(v),onChange:n(s),onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onClick:$(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[G,n(t)]]),a.$slots.default||a.label?(x(),S("span",{key:2,class:C(n(m).be("button","inner")),style:xe(n(b)?n(V):void 0)},[R(a.$slots,"default",{},()=>[ue(se(a.label),1)])],6)):P("v-if",!0)],2)}}});var ke=K(Pe,[["__file","checkbox-button.vue"]]);const Te=Le({modelValue:{type:Be(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:re,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...be(["ariaLabel"])}),Ae={[D]:e=>_(e),change:e=>_(e)},Me=E({name:"ElCheckboxGroup"}),Oe=E({...Me,props:Te,emits:Ae,setup(e,{emit:c}){const i=e,l=j("checkbox"),{formItem:b}=q(),{inputId:r,isLabeledByFormItem:d}=ve(i,{formItemContext:b}),t=async s=>{c(D,s),await le(),c(M,s)},v=f({get(){return i.modelValue},set(s){t(s)}});return Ve(I,{...Ie(ye(i),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:v,changeEvent:t}),ae(()=>i.modelValue,()=>{i.validateEvent&&b?.validate("change").catch(s=>ce())}),(s,o)=>{var m;return x(),te(ie(s.tag),{id:n(r),class:C(n(l).b("group")),role:"group","aria-label":n(d)?void 0:s.ariaLabel||"checkbox-group","aria-labelledby":n(d)?(m=n(b))==null?void 0:m.labelId:void 0},{default:oe(()=>[R(s.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var pe=K(Oe,[["__file","checkbox-group.vue"]]);const Je=Ee(we,{CheckboxButton:ke,CheckboxGroup:pe});de(ke);const Qe=de(pe);export{Je as E,Qe as a};
@@ -1 +1 @@
1
- import{ay as T,aw as n,a7 as f,aG as u}from"./index-BvxUjFFi.js";import{S as g}from"./sora-Dyuoglk1.js";import{s as b}from"./service-2hdsb4WE.js";import{s as S}from"./sora-B_bzj8AT.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:G,createCredential:O},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:H,setCredential:z,setService:j,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:V},ot={namespaced:!0,state:u,mutations:Q,actions:L};export{ot as default,ot as sora};
1
+ import{ay as T,aw as n,a7 as f,aG as u}from"./index-COZsQ1B1.js";import{S as g}from"./sora-Dyuoglk1.js";import{s as b}from"./service-PuejfHLK.js";import{s as S}from"./sora-XF8Nyj69.js";import{m as w}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},$=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},D=({commit:t},e)=>{t("setTasksActive",e)},G=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");S.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=w(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),L={setService:y,getService:x,resetAll:C,setCredential:h,setConfig:E,setApplication:I,setApplications:$,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:D,getTasks:G,createCredential:O},V=t=>{Object.assign(t,u())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},H=(t,e)=>{t.config=e},J=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},M=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},Q={setTasks:N,setApplication:B,setApplications:F,setConfig:H,setCredential:z,setService:j,setTasksActive:M,setTasksItems:J,setTasksTotal:K,resetAll:V},ot={namespaced:!0,state:u,mutations:Q,actions:L};export{ot as default,ot as sora};
@@ -1 +1 @@
1
- import{g as ue,ai as k,d as _,q as y,x as U,y as R,H as L,O as ke,N as Ee,U as de,u as t,Q as m,z as $,J as g,E as N,M as B,C as w,F as Z,R as Ce,aj as $e,b as ce,c as X,i as Re,a as J,an as x,m as Fe,w as ee,a8 as Se,Z as te,A as se,p as we,j as Le}from"./vendor-vue-NSDaktjZ.js";import{V as Y,al as pe,I as q,J as v,z as M,ag as Pe,A,Q as H,S as O,bS as Te,Y as Ue,$ as _e,a0 as De,bs as Oe,bT as Be,bU as je,R as Ne,D as Ae}from"./index-BvxUjFFi.js";import{E as qe}from"./index-CnqGlxcN.js";import{m as Q,b as Me}from"./typescript-B1EqkZTz.js";import{b as He}from"./_baseClone-C8MQPABx.js";import{i as Ke}from"./isEqual-D6B5l3d6.js";var ze=1,Ie=4;function ae(o){return He(o,ze|Ie)}const fe=Symbol("uploadContextKey"),Ve="ElUpload";class Ge extends Error{constructor(l,a,c,i){super(l),this.name="UploadAjaxError",this.status=a,this.method=c,this.url=i}}function oe(o,l,a){let c;return a.response?c=`${a.response.error||a.response}`:a.responseText?c=`${a.responseText}`:c=`fail to ${l.method} ${o} ${a.status}`,new Ge(c,a.status,l.method,o)}function Xe(o){const l=o.responseText||o.response;if(!l)return l;try{return JSON.parse(l)}catch{return l}}const Je=o=>{typeof XMLHttpRequest>"u"&&Y(Ve,"XMLHttpRequest is undefined");const l=new XMLHttpRequest,a=o.action;l.upload&&l.upload.addEventListener("progress",d=>{const f=d;f.percent=d.total>0?d.loaded/d.total*100:0,o.onProgress(f)});const c=new FormData;if(o.data)for(const[d,f]of Object.entries(o.data))ue(f)&&f.length?c.append(d,...f):c.append(d,f);c.append(o.filename,o.file,o.file.name),l.addEventListener("error",()=>{o.onError(oe(a,o,l))}),l.addEventListener("load",()=>{if(l.status<200||l.status>=300)return o.onError(oe(a,o,l));o.onSuccess(Xe(l))}),l.open(o.method,a,!0),o.withCredentials&&"withCredentials"in l&&(l.withCredentials=!0);const i=o.headers||{};if(i instanceof Headers)i.forEach((d,f)=>l.setRequestHeader(f,d));else for(const[d,f]of Object.entries(i))pe(f)||l.setRequestHeader(d,String(f));return l.send(c),l},ve=["text","picture","picture-card"];let Qe=1;const W=()=>Date.now()+Qe++,me=q({action:{type:String,default:"#"},headers:{type:v(Object)},method:{type:String,default:"post"},data:{type:v([Object,Function,Promise]),default:()=>Q({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:v(Array),default:()=>Q([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:v(Function),default:Je},disabled:Boolean,limit:Number}),We=q({...me,beforeUpload:{type:v(Function),default:k},beforeRemove:{type:v(Function)},onRemove:{type:v(Function),default:k},onChange:{type:v(Function),default:k},onPreview:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k},crossorigin:{type:v(String)}}),Ye=q({files:{type:v(Array),default:()=>Q([])},disabled:Boolean,handlePreview:{type:v(Function),default:k},listType:{type:String,values:ve,default:"text"},crossorigin:{type:v(String)}}),Ze={remove:o=>!!o},xe=_({name:"ElUploadList"}),et=_({...xe,props:Ye,emits:Ze,setup(o,{emit:l}){const a=o,{t:c}=Pe(),i=A("upload"),d=A("icon"),f=A("list"),C=H(),h=ce(!1),b=X(()=>[i.b("list"),i.bm("list",a.listType),i.is("disabled",a.disabled)]),E=p=>{l("remove",p)};return(p,P)=>(y(),U($e,{tag:"ul",class:m(t(b)),name:t(f).b()},{default:R(()=>[(y(!0),L(ke,null,Ee(p.files,(s,n)=>(y(),L("li",{key:s.uid||s.name,class:m([t(i).be("list","item"),t(i).is(s.status),{focusing:h.value}]),tabindex:"0",onKeydown:de(e=>!t(C)&&E(s),["delete"]),onFocus:e=>h.value=!0,onBlur:e=>h.value=!1,onClick:e=>h.value=!1},[$(p.$slots,"default",{file:s,index:n},()=>[p.listType==="picture"||s.status!=="uploading"&&p.listType==="picture-card"?(y(),L("img",{key:0,class:m(t(i).be("list","item-thumbnail")),src:s.url,crossorigin:p.crossorigin,alt:""},null,10,["src","crossorigin"])):g("v-if",!0),s.status==="uploading"||p.listType!=="picture-card"?(y(),L("div",{key:1,class:m(t(i).be("list","item-info"))},[N("a",{class:m(t(i).be("list","item-name")),onClick:B(e=>p.handlePreview(s),["prevent"])},[w(t(O),{class:m(t(d).m("document"))},{default:R(()=>[w(t(Te))]),_:1},8,["class"]),N("span",{class:m(t(i).be("list","item-file-name")),title:s.name},Z(s.name),11,["title"])],10,["onClick"]),s.status==="uploading"?(y(),U(t(qe),{key:0,type:p.listType==="picture-card"?"circle":"line","stroke-width":p.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:Ce(p.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):g("v-if",!0)],2)):g("v-if",!0),N("label",{class:m(t(i).be("list","item-status-label"))},[p.listType==="text"?(y(),U(t(O),{key:0,class:m([t(d).m("upload-success"),t(d).m("circle-check")])},{default:R(()=>[w(t(Ue))]),_:1},8,["class"])):["picture-card","picture"].includes(p.listType)?(y(),U(t(O),{key:1,class:m([t(d).m("upload-success"),t(d).m("check")])},{default:R(()=>[w(t(_e))]),_:1},8,["class"])):g("v-if",!0)],2),t(C)?g("v-if",!0):(y(),U(t(O),{key:2,class:m(t(d).m("close")),onClick:e=>E(s)},{default:R(()=>[w(t(De))]),_:2},1032,["class","onClick"])),g(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),g(" This is a bug which needs to be fixed "),g(" TODO: Fix the incorrect navigation interaction "),t(C)?g("v-if",!0):(y(),L("i",{key:3,class:m(t(d).m("close-tip"))},Z(t(c)("el.upload.deleteTip")),3)),p.listType==="picture-card"?(y(),L("span",{key:4,class:m(t(i).be("list","item-actions"))},[N("span",{class:m(t(i).be("list","item-preview")),onClick:e=>p.handlePreview(s)},[w(t(O),{class:m(t(d).m("zoom-in"))},{default:R(()=>[w(t(Oe))]),_:1},8,["class"])],10,["onClick"]),t(C)?g("v-if",!0):(y(),L("span",{key:0,class:m(t(i).be("list","item-delete")),onClick:e=>E(s)},[w(t(O),{class:m(t(d).m("delete"))},{default:R(()=>[w(t(Be))]),_:1},8,["class"])],10,["onClick"]))],2)):g("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),$(p.$slots,"append")]),_:3},8,["class","name"]))}});var ne=M(et,[["__file","upload-list.vue"]]);const tt=q({disabled:Boolean}),st={file:o=>ue(o)},ye="ElUploadDrag",at=_({name:ye}),ot=_({...at,props:tt,emits:st,setup(o,{emit:l}){Re(fe)||Y(ye,"usage: <el-upload><el-upload-dragger /></el-upload>");const c=A("upload"),i=ce(!1),d=H(),f=b=>{if(d.value)return;i.value=!1,b.stopPropagation();const E=Array.from(b.dataTransfer.files),p=b.dataTransfer.items||[];E.forEach((P,s)=>{var n;const e=p[s],u=(n=e?.webkitGetAsEntry)==null?void 0:n.call(e);u&&(P.isDirectory=u.isDirectory)}),l("file",E)},C=()=>{d.value||(i.value=!0)},h=b=>{b.currentTarget.contains(b.relatedTarget)||(i.value=!1)};return(b,E)=>(y(),L("div",{class:m([t(c).b("dragger"),t(c).is("dragover",i.value)]),onDrop:B(f,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(h,["prevent"])},[$(b.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var nt=M(ot,[["__file","upload-dragger.vue"]]);const rt=q({...me,beforeUpload:{type:v(Function),default:k},onRemove:{type:v(Function),default:k},onStart:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k}}),lt=_({name:"ElUploadContent",inheritAttrs:!1}),it=_({...lt,props:rt,setup(o,{expose:l}){const a=o,c=A("upload"),i=H(),d=J({}),f=J(),C=e=>{if(e.length===0)return;const{autoUpload:u,limit:r,fileList:F,multiple:S,onStart:T,onExceed:K}=a;if(r&&F.length+e.length>r){K(e,F);return}S||(e=e.slice(0,1));for(const z of e){const j=z;j.uid=W(),T(j),u&&h(j)}},h=async e=>{if(f.value.value="",!a.beforeUpload)return E(e);let u,r={};try{const S=a.data,T=a.beforeUpload(e);r=x(a.data)?ae(a.data):a.data,u=await T,x(a.data)&&Ke(S,r)&&(r=ae(a.data))}catch{u=!1}if(u===!1){a.onRemove(e);return}let F=e;u instanceof Blob&&(u instanceof File?F=u:F=new File([u],e.name,{type:e.type})),E(Object.assign(F,{uid:e.uid}),r)},b=async(e,u)=>Fe(e)?e(u):e,E=async(e,u)=>{const{headers:r,data:F,method:S,withCredentials:T,name:K,action:z,onProgress:j,onSuccess:ge,onError:be,httpRequest:he}=a;try{u=await b(u??F,e)}catch{a.onRemove(e);return}const{uid:I}=e,V={headers:r||{},withCredentials:T,file:e,data:u,method:S,filename:K,action:z,onProgress:D=>{j(D,e)},onSuccess:D=>{ge(D,e),delete d.value[I]},onError:D=>{be(D,e),delete d.value[I]}},G=he(V);d.value[I]=G,G instanceof Promise&&G.then(V.onSuccess,V.onError)},p=e=>{const u=e.target.files;u&&C(Array.from(u))},P=()=>{i.value||(f.value.value="",f.value.click())},s=()=>{P()};return l({abort:e=>{je(d.value).filter(e?([r])=>String(e.uid)===r:()=>!0).forEach(([r,F])=>{F instanceof XMLHttpRequest&&F.abort(),delete d.value[r]})},upload:h}),(e,u)=>(y(),L("div",{class:m([t(c).b(),t(c).m(e.listType),t(c).is("drag",e.drag),t(c).is("disabled",t(i))]),tabindex:t(i)?"-1":"0",onClick:P,onKeydown:de(B(s,["self"]),["enter","space"])},[e.drag?(y(),U(nt,{key:0,disabled:t(i),onFile:C},{default:R(()=>[$(e.$slots,"default")]),_:3},8,["disabled"])):$(e.$slots,"default",{key:1}),N("input",{ref_key:"inputRef",ref:f,class:m(t(c).e("input")),name:e.name,disabled:t(i),multiple:e.multiple,accept:e.accept,type:"file",onChange:p,onClick:B(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var re=M(it,[["__file","upload-content.vue"]]);const le="ElUpload",ie=o=>{var l;(l=o.url)!=null&&l.startsWith("blob:")&&URL.revokeObjectURL(o.url)},ut=(o,l)=>{const a=Me(o,"fileList",void 0,{passive:!0}),c=s=>a.value.find(n=>n.uid===s.uid);function i(s){var n;(n=l.value)==null||n.abort(s)}function d(s=["ready","uploading","success","fail"]){a.value=a.value.filter(n=>!s.includes(n.status))}function f(s){a.value=a.value.filter(n=>n.uid!==s.uid)}const C=(s,n)=>{const e=c(n);e&&(console.error(s),e.status="fail",f(e),o.onError(s,e,a.value),o.onChange(e,a.value))},h=(s,n)=>{const e=c(n);e&&(o.onProgress(s,e,a.value),e.status="uploading",e.percentage=Math.round(s.percent))},b=(s,n)=>{const e=c(n);e&&(e.status="success",e.response=s,o.onSuccess(s,e,a.value),o.onChange(e,a.value))},E=s=>{pe(s.uid)&&(s.uid=W());const n={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(o.listType==="picture-card"||o.listType==="picture")try{n.url=URL.createObjectURL(s)}catch(e){Ne(le,e.message),o.onError(e,n,a.value)}a.value=[...a.value,n],o.onChange(n,a.value)},p=async s=>{const n=s instanceof File?c(s):s;n||Y(le,"file to be removed not found");const e=u=>{i(u),f(u),o.onRemove(u,a.value),ie(u)};o.beforeRemove?await o.beforeRemove(n,a.value)!==!1&&e(n):e(n)};function P(){a.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var n;return s&&((n=l.value)==null?void 0:n.upload(s))})}return ee(()=>o.listType,s=>{s!=="picture-card"&&s!=="picture"||(a.value=a.value.map(n=>{const{raw:e,url:u}=n;if(!u&&e)try{n.url=URL.createObjectURL(e)}catch(r){o.onError(r,n,a.value)}return n}))}),ee(a,s=>{for(const n of s)n.uid||(n.uid=W()),n.status||(n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:a,abort:i,clearFiles:d,handleError:C,handleProgress:h,handleStart:E,handleSuccess:b,handleRemove:p,submit:P,revokeFileObjectURL:ie}},dt=_({name:"ElUpload"}),ct=_({...dt,props:We,setup(o,{expose:l}){const a=o,c=H(),i=J(),{abort:d,submit:f,clearFiles:C,uploadFiles:h,handleStart:b,handleError:E,handleRemove:p,handleSuccess:P,handleProgress:s,revokeFileObjectURL:n}=ut(a,i),e=X(()=>a.listType==="picture-card"),u=X(()=>({...a,fileList:h.value,onStart:b,onProgress:s,onSuccess:P,onError:E,onRemove:p}));return Se(()=>{h.value.forEach(n)}),we(fe,{accept:Le(a,"accept")}),l({abort:d,submit:f,clearFiles:C,handleStart:b,handleRemove:p}),(r,F)=>(y(),L("div",null,[t(e)&&r.showFileList?(y(),U(ne,{key:0,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({append:R(()=>[w(re,se({ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)]),_:2},[r.$slots.file?{name:"default",fn:R(({file:S,index:T})=>[$(r.$slots,"file",{file:S,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0),!t(e)||t(e)&&!r.showFileList?(y(),U(re,se({key:1,ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)):g("v-if",!0),r.$slots.trigger?$(r.$slots,"default",{key:2}):g("v-if",!0),$(r.$slots,"tip"),!t(e)&&r.showFileList?(y(),U(ne,{key:3,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({_:2},[r.$slots.file?{name:"default",fn:R(({file:S,index:T})=>[$(r.$slots,"file",{file:S,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0)]))}});var pt=M(ct,[["__file","upload.vue"]]);const ht=Ae(pt);export{ht as E};
1
+ import{g as ue,ai as k,d as _,q as y,x as U,y as R,H as L,O as ke,N as Ee,U as de,u as t,Q as m,z as $,J as g,E as N,M as B,C as w,F as Z,R as Ce,aj as $e,b as ce,c as X,i as Re,a as J,an as x,m as Fe,w as ee,a8 as Se,Z as te,A as se,p as we,j as Le}from"./vendor-vue-NSDaktjZ.js";import{V as Y,al as pe,I as q,J as v,z as M,ag as Pe,A,Q as H,S as O,bS as Te,Y as Ue,$ as _e,a0 as De,bs as Oe,bT as Be,bU as je,R as Ne,D as Ae}from"./index-COZsQ1B1.js";import{E as qe}from"./index-CuIwSURW.js";import{m as Q,b as Me}from"./typescript-DH1Spjtc.js";import{b as He}from"./_baseClone-DDAOo-cd.js";import{i as Ke}from"./isEqual-8TlGrPn8.js";var ze=1,Ie=4;function ae(o){return He(o,ze|Ie)}const fe=Symbol("uploadContextKey"),Ve="ElUpload";class Ge extends Error{constructor(l,a,c,i){super(l),this.name="UploadAjaxError",this.status=a,this.method=c,this.url=i}}function oe(o,l,a){let c;return a.response?c=`${a.response.error||a.response}`:a.responseText?c=`${a.responseText}`:c=`fail to ${l.method} ${o} ${a.status}`,new Ge(c,a.status,l.method,o)}function Xe(o){const l=o.responseText||o.response;if(!l)return l;try{return JSON.parse(l)}catch{return l}}const Je=o=>{typeof XMLHttpRequest>"u"&&Y(Ve,"XMLHttpRequest is undefined");const l=new XMLHttpRequest,a=o.action;l.upload&&l.upload.addEventListener("progress",d=>{const f=d;f.percent=d.total>0?d.loaded/d.total*100:0,o.onProgress(f)});const c=new FormData;if(o.data)for(const[d,f]of Object.entries(o.data))ue(f)&&f.length?c.append(d,...f):c.append(d,f);c.append(o.filename,o.file,o.file.name),l.addEventListener("error",()=>{o.onError(oe(a,o,l))}),l.addEventListener("load",()=>{if(l.status<200||l.status>=300)return o.onError(oe(a,o,l));o.onSuccess(Xe(l))}),l.open(o.method,a,!0),o.withCredentials&&"withCredentials"in l&&(l.withCredentials=!0);const i=o.headers||{};if(i instanceof Headers)i.forEach((d,f)=>l.setRequestHeader(f,d));else for(const[d,f]of Object.entries(i))pe(f)||l.setRequestHeader(d,String(f));return l.send(c),l},ve=["text","picture","picture-card"];let Qe=1;const W=()=>Date.now()+Qe++,me=q({action:{type:String,default:"#"},headers:{type:v(Object)},method:{type:String,default:"post"},data:{type:v([Object,Function,Promise]),default:()=>Q({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:v(Array),default:()=>Q([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:v(Function),default:Je},disabled:Boolean,limit:Number}),We=q({...me,beforeUpload:{type:v(Function),default:k},beforeRemove:{type:v(Function)},onRemove:{type:v(Function),default:k},onChange:{type:v(Function),default:k},onPreview:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k},crossorigin:{type:v(String)}}),Ye=q({files:{type:v(Array),default:()=>Q([])},disabled:Boolean,handlePreview:{type:v(Function),default:k},listType:{type:String,values:ve,default:"text"},crossorigin:{type:v(String)}}),Ze={remove:o=>!!o},xe=_({name:"ElUploadList"}),et=_({...xe,props:Ye,emits:Ze,setup(o,{emit:l}){const a=o,{t:c}=Pe(),i=A("upload"),d=A("icon"),f=A("list"),C=H(),h=ce(!1),b=X(()=>[i.b("list"),i.bm("list",a.listType),i.is("disabled",a.disabled)]),E=p=>{l("remove",p)};return(p,P)=>(y(),U($e,{tag:"ul",class:m(t(b)),name:t(f).b()},{default:R(()=>[(y(!0),L(ke,null,Ee(p.files,(s,n)=>(y(),L("li",{key:s.uid||s.name,class:m([t(i).be("list","item"),t(i).is(s.status),{focusing:h.value}]),tabindex:"0",onKeydown:de(e=>!t(C)&&E(s),["delete"]),onFocus:e=>h.value=!0,onBlur:e=>h.value=!1,onClick:e=>h.value=!1},[$(p.$slots,"default",{file:s,index:n},()=>[p.listType==="picture"||s.status!=="uploading"&&p.listType==="picture-card"?(y(),L("img",{key:0,class:m(t(i).be("list","item-thumbnail")),src:s.url,crossorigin:p.crossorigin,alt:""},null,10,["src","crossorigin"])):g("v-if",!0),s.status==="uploading"||p.listType!=="picture-card"?(y(),L("div",{key:1,class:m(t(i).be("list","item-info"))},[N("a",{class:m(t(i).be("list","item-name")),onClick:B(e=>p.handlePreview(s),["prevent"])},[w(t(O),{class:m(t(d).m("document"))},{default:R(()=>[w(t(Te))]),_:1},8,["class"]),N("span",{class:m(t(i).be("list","item-file-name")),title:s.name},Z(s.name),11,["title"])],10,["onClick"]),s.status==="uploading"?(y(),U(t(qe),{key:0,type:p.listType==="picture-card"?"circle":"line","stroke-width":p.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:Ce(p.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):g("v-if",!0)],2)):g("v-if",!0),N("label",{class:m(t(i).be("list","item-status-label"))},[p.listType==="text"?(y(),U(t(O),{key:0,class:m([t(d).m("upload-success"),t(d).m("circle-check")])},{default:R(()=>[w(t(Ue))]),_:1},8,["class"])):["picture-card","picture"].includes(p.listType)?(y(),U(t(O),{key:1,class:m([t(d).m("upload-success"),t(d).m("check")])},{default:R(()=>[w(t(_e))]),_:1},8,["class"])):g("v-if",!0)],2),t(C)?g("v-if",!0):(y(),U(t(O),{key:2,class:m(t(d).m("close")),onClick:e=>E(s)},{default:R(()=>[w(t(De))]),_:2},1032,["class","onClick"])),g(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),g(" This is a bug which needs to be fixed "),g(" TODO: Fix the incorrect navigation interaction "),t(C)?g("v-if",!0):(y(),L("i",{key:3,class:m(t(d).m("close-tip"))},Z(t(c)("el.upload.deleteTip")),3)),p.listType==="picture-card"?(y(),L("span",{key:4,class:m(t(i).be("list","item-actions"))},[N("span",{class:m(t(i).be("list","item-preview")),onClick:e=>p.handlePreview(s)},[w(t(O),{class:m(t(d).m("zoom-in"))},{default:R(()=>[w(t(Oe))]),_:1},8,["class"])],10,["onClick"]),t(C)?g("v-if",!0):(y(),L("span",{key:0,class:m(t(i).be("list","item-delete")),onClick:e=>E(s)},[w(t(O),{class:m(t(d).m("delete"))},{default:R(()=>[w(t(Be))]),_:1},8,["class"])],10,["onClick"]))],2)):g("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),$(p.$slots,"append")]),_:3},8,["class","name"]))}});var ne=M(et,[["__file","upload-list.vue"]]);const tt=q({disabled:Boolean}),st={file:o=>ue(o)},ye="ElUploadDrag",at=_({name:ye}),ot=_({...at,props:tt,emits:st,setup(o,{emit:l}){Re(fe)||Y(ye,"usage: <el-upload><el-upload-dragger /></el-upload>");const c=A("upload"),i=ce(!1),d=H(),f=b=>{if(d.value)return;i.value=!1,b.stopPropagation();const E=Array.from(b.dataTransfer.files),p=b.dataTransfer.items||[];E.forEach((P,s)=>{var n;const e=p[s],u=(n=e?.webkitGetAsEntry)==null?void 0:n.call(e);u&&(P.isDirectory=u.isDirectory)}),l("file",E)},C=()=>{d.value||(i.value=!0)},h=b=>{b.currentTarget.contains(b.relatedTarget)||(i.value=!1)};return(b,E)=>(y(),L("div",{class:m([t(c).b("dragger"),t(c).is("dragover",i.value)]),onDrop:B(f,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(h,["prevent"])},[$(b.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var nt=M(ot,[["__file","upload-dragger.vue"]]);const rt=q({...me,beforeUpload:{type:v(Function),default:k},onRemove:{type:v(Function),default:k},onStart:{type:v(Function),default:k},onSuccess:{type:v(Function),default:k},onProgress:{type:v(Function),default:k},onError:{type:v(Function),default:k},onExceed:{type:v(Function),default:k}}),lt=_({name:"ElUploadContent",inheritAttrs:!1}),it=_({...lt,props:rt,setup(o,{expose:l}){const a=o,c=A("upload"),i=H(),d=J({}),f=J(),C=e=>{if(e.length===0)return;const{autoUpload:u,limit:r,fileList:F,multiple:S,onStart:T,onExceed:K}=a;if(r&&F.length+e.length>r){K(e,F);return}S||(e=e.slice(0,1));for(const z of e){const j=z;j.uid=W(),T(j),u&&h(j)}},h=async e=>{if(f.value.value="",!a.beforeUpload)return E(e);let u,r={};try{const S=a.data,T=a.beforeUpload(e);r=x(a.data)?ae(a.data):a.data,u=await T,x(a.data)&&Ke(S,r)&&(r=ae(a.data))}catch{u=!1}if(u===!1){a.onRemove(e);return}let F=e;u instanceof Blob&&(u instanceof File?F=u:F=new File([u],e.name,{type:e.type})),E(Object.assign(F,{uid:e.uid}),r)},b=async(e,u)=>Fe(e)?e(u):e,E=async(e,u)=>{const{headers:r,data:F,method:S,withCredentials:T,name:K,action:z,onProgress:j,onSuccess:ge,onError:be,httpRequest:he}=a;try{u=await b(u??F,e)}catch{a.onRemove(e);return}const{uid:I}=e,V={headers:r||{},withCredentials:T,file:e,data:u,method:S,filename:K,action:z,onProgress:D=>{j(D,e)},onSuccess:D=>{ge(D,e),delete d.value[I]},onError:D=>{be(D,e),delete d.value[I]}},G=he(V);d.value[I]=G,G instanceof Promise&&G.then(V.onSuccess,V.onError)},p=e=>{const u=e.target.files;u&&C(Array.from(u))},P=()=>{i.value||(f.value.value="",f.value.click())},s=()=>{P()};return l({abort:e=>{je(d.value).filter(e?([r])=>String(e.uid)===r:()=>!0).forEach(([r,F])=>{F instanceof XMLHttpRequest&&F.abort(),delete d.value[r]})},upload:h}),(e,u)=>(y(),L("div",{class:m([t(c).b(),t(c).m(e.listType),t(c).is("drag",e.drag),t(c).is("disabled",t(i))]),tabindex:t(i)?"-1":"0",onClick:P,onKeydown:de(B(s,["self"]),["enter","space"])},[e.drag?(y(),U(nt,{key:0,disabled:t(i),onFile:C},{default:R(()=>[$(e.$slots,"default")]),_:3},8,["disabled"])):$(e.$slots,"default",{key:1}),N("input",{ref_key:"inputRef",ref:f,class:m(t(c).e("input")),name:e.name,disabled:t(i),multiple:e.multiple,accept:e.accept,type:"file",onChange:p,onClick:B(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var re=M(it,[["__file","upload-content.vue"]]);const le="ElUpload",ie=o=>{var l;(l=o.url)!=null&&l.startsWith("blob:")&&URL.revokeObjectURL(o.url)},ut=(o,l)=>{const a=Me(o,"fileList",void 0,{passive:!0}),c=s=>a.value.find(n=>n.uid===s.uid);function i(s){var n;(n=l.value)==null||n.abort(s)}function d(s=["ready","uploading","success","fail"]){a.value=a.value.filter(n=>!s.includes(n.status))}function f(s){a.value=a.value.filter(n=>n.uid!==s.uid)}const C=(s,n)=>{const e=c(n);e&&(console.error(s),e.status="fail",f(e),o.onError(s,e,a.value),o.onChange(e,a.value))},h=(s,n)=>{const e=c(n);e&&(o.onProgress(s,e,a.value),e.status="uploading",e.percentage=Math.round(s.percent))},b=(s,n)=>{const e=c(n);e&&(e.status="success",e.response=s,o.onSuccess(s,e,a.value),o.onChange(e,a.value))},E=s=>{pe(s.uid)&&(s.uid=W());const n={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(o.listType==="picture-card"||o.listType==="picture")try{n.url=URL.createObjectURL(s)}catch(e){Ne(le,e.message),o.onError(e,n,a.value)}a.value=[...a.value,n],o.onChange(n,a.value)},p=async s=>{const n=s instanceof File?c(s):s;n||Y(le,"file to be removed not found");const e=u=>{i(u),f(u),o.onRemove(u,a.value),ie(u)};o.beforeRemove?await o.beforeRemove(n,a.value)!==!1&&e(n):e(n)};function P(){a.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var n;return s&&((n=l.value)==null?void 0:n.upload(s))})}return ee(()=>o.listType,s=>{s!=="picture-card"&&s!=="picture"||(a.value=a.value.map(n=>{const{raw:e,url:u}=n;if(!u&&e)try{n.url=URL.createObjectURL(e)}catch(r){o.onError(r,n,a.value)}return n}))}),ee(a,s=>{for(const n of s)n.uid||(n.uid=W()),n.status||(n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:a,abort:i,clearFiles:d,handleError:C,handleProgress:h,handleStart:E,handleSuccess:b,handleRemove:p,submit:P,revokeFileObjectURL:ie}},dt=_({name:"ElUpload"}),ct=_({...dt,props:We,setup(o,{expose:l}){const a=o,c=H(),i=J(),{abort:d,submit:f,clearFiles:C,uploadFiles:h,handleStart:b,handleError:E,handleRemove:p,handleSuccess:P,handleProgress:s,revokeFileObjectURL:n}=ut(a,i),e=X(()=>a.listType==="picture-card"),u=X(()=>({...a,fileList:h.value,onStart:b,onProgress:s,onSuccess:P,onError:E,onRemove:p}));return Se(()=>{h.value.forEach(n)}),we(fe,{accept:Le(a,"accept")}),l({abort:d,submit:f,clearFiles:C,handleStart:b,handleRemove:p}),(r,F)=>(y(),L("div",null,[t(e)&&r.showFileList?(y(),U(ne,{key:0,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({append:R(()=>[w(re,se({ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)]),_:2},[r.$slots.file?{name:"default",fn:R(({file:S,index:T})=>[$(r.$slots,"file",{file:S,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0),!t(e)||t(e)&&!r.showFileList?(y(),U(re,se({key:1,ref_key:"uploadRef",ref:i},t(u)),{default:R(()=>[r.$slots.trigger?$(r.$slots,"trigger",{key:0}):g("v-if",!0),!r.$slots.trigger&&r.$slots.default?$(r.$slots,"default",{key:1}):g("v-if",!0)]),_:3},16)):g("v-if",!0),r.$slots.trigger?$(r.$slots,"default",{key:2}):g("v-if",!0),$(r.$slots,"tip"),!t(e)&&r.showFileList?(y(),U(ne,{key:3,disabled:t(c),"list-type":r.listType,files:t(h),crossorigin:r.crossorigin,"handle-preview":r.onPreview,onRemove:t(p)},te({_:2},[r.$slots.file?{name:"default",fn:R(({file:S,index:T})=>[$(r.$slots,"file",{file:S,index:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):g("v-if",!0)]))}});var pt=M(ct,[["__file","upload.vue"]]);const ht=Ae(pt);export{ht as E};
@@ -1 +1 @@
1
- import{aw as o,a7 as f,aQ as g,ay as b,aR as k}from"./index-BvxUjFFi.js";import{s as S}from"./service-2hdsb4WE.js";import{s as w}from"./seedream-b3mCAJuV.js";import{m as C}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const I=({commit:t})=>{t("resetAll")},$=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},E=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},R=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for seedream"),e.status.getApplications=o.Request;try{const{data:a}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},D=({commit:t},e)=>{t("setTasksTotal",e)},L=({commit:t},e)=>{t("setTasksActive",e)},M=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:m,createdAtMax:T})=>(e.status.getTasks=o.Request,new Promise((v,r)=>{console.debug("start to get tasks",a,n);const l=e.credential;console.debug("current credential",l);const d=l?.token;if(!d)return e.status.getTasks=o.Error,r("no token");w.tasks({userId:s?.user?.id,offset:a,limit:n,createdAtMin:m,createdAtMax:T,type:"images"},{token:d}).then(i=>{console.debug("get images tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const u=i.data.items||[];console.debug("new items",u);const A=C(p,u);t("setTasksItems",A),t("setTasksTotal",i.data.count),e.status.getTasks=o.Success,v(i.data.items)}).catch(i=>(e.status.getTasks=o.Error,r(i)))})),Q={createCredential:R,setService:y,getService:x,resetAll:I,setCredential:h,setConfig:_,setApplications:E,setApplication:$,getApplications:O,setTasks:P,setTasksItems:q,setTasksTotal:D,setTasksActive:L,getTasks:M},c={items:void 0,total:void 0,active:void 0},V=t=>{Object.assign(t,k())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks||c,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks||c,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks||c,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},U={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:K,setTasksItems:H,setTasksTotal:J,resetAll:V},ot={namespaced:!0,state:k,mutations:U,actions:Q};export{ot as default,ot as seedream};
1
+ import{aw as o,a7 as f,aQ as g,ay as b,aR as k}from"./index-COZsQ1B1.js";import{s as S}from"./service-PuejfHLK.js";import{s as w}from"./seedream-DEnvlFNS.js";import{m as C}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const I=({commit:t})=>{t("resetAll")},$=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(n=>n?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},E=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},y=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},h=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},R=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await b.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=o.Request;try{const{data:s}=await S.get(g);return e.status.getService=o.Success,t("setService",s),s}catch{e.status.getService=o.Error,t("setService",void 0)}},O=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for seedream"),e.status.getApplications=o.Request;try{const{data:a}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=o.Success,t("setApplications",a.items),a.items}catch(a){console.error("get applications failed",a),e.status.getApplications=o.Error,t("setApplications",void 0),t("setApplication",void 0)}},_=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},q=({commit:t},e)=>{t("setTasksItems",e)},D=({commit:t},e)=>{t("setTasksTotal",e)},L=({commit:t},e)=>{t("setTasksActive",e)},M=async({commit:t,state:e,rootState:s},{offset:a,limit:n,createdAtMin:m,createdAtMax:T})=>(e.status.getTasks=o.Request,new Promise((v,r)=>{console.debug("start to get tasks",a,n);const l=e.credential;console.debug("current credential",l);const d=l?.token;if(!d)return e.status.getTasks=o.Error,r("no token");w.tasks({userId:s?.user?.id,offset:a,limit:n,createdAtMin:m,createdAtMax:T,type:"images"},{token:d}).then(i=>{console.debug("get images tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const u=i.data.items||[];console.debug("new items",u);const A=C(p,u);t("setTasksItems",A),t("setTasksTotal",i.data.count),e.status.getTasks=o.Success,v(i.data.items)}).catch(i=>(e.status.getTasks=o.Error,r(i)))})),Q={createCredential:R,setService:y,getService:x,resetAll:I,setCredential:h,setConfig:_,setApplications:E,setApplication:$,getApplications:O,setTasks:P,setTasksItems:q,setTasksTotal:D,setTasksActive:L,getTasks:M},c={items:void 0,total:void 0,active:void 0},V=t=>{Object.assign(t,k())},j=(t,e)=>{t.service=e},z=(t,e)=>{t.credential=e},B=(t,e)=>{t.application=e},F=(t,e)=>{t.applications=e},G=(t,e)=>{t.config=e},H=(t,e)=>{const s={...t.tasks||c,items:e};t.tasks=s},J=(t,e)=>{const s={...t.tasks||c,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks||c,active:e};t.tasks=s},N=(t,e)=>{t.tasks=e},U={setTasks:N,setApplication:B,setApplications:F,setConfig:G,setCredential:z,setService:j,setTasksActive:K,setTasksItems:H,setTasksTotal:J,resetAll:V},ot={namespaced:!0,state:k,mutations:U,actions:Q};export{ot as default,ot as seedream};
@@ -1 +1 @@
1
- import{ay as T,aw as n,a7 as f,aJ as u}from"./index-BvxUjFFi.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-2hdsb4WE.js";import{h as w}from"./hailuo-DGvPSzCH.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},H=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),D={setService:$,getService:x,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:H,getTasks:L,createCredential:O},J=t=>{Object.assign(t,u())},U=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},B=(t,e)=>{t.config=e},F=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},G=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:j,setApplications:z,setConfig:B,setCredential:V,setService:U,setTasksActive:K,setTasksItems:F,setTasksTotal:G,resetAll:J},ot={namespaced:!0,state:u,mutations:N,actions:D};export{ot as default,ot as hailuo};
1
+ import{ay as T,aw as n,a7 as f,aJ as u}from"./index-COZsQ1B1.js";import{H as g}from"./hailuo-C8Dw-0xR.js";import{s as b}from"./service-PuejfHLK.js";import{h as w}from"./hailuo-IDV_8G0b.js";import{m as S}from"./merge-C5jDS2au.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";const C=({commit:t})=>{t("resetAll")},I=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),!s){console.debug("application is null, return");return}const a=s?.credentials?.find(o=>o?.host===window.location.origin);a?(console.debug("credential exists, set credential",a),t("setCredential",a)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},h=async({commit:t},e)=>{console.debug("set applications",e),t("setApplications",e)},$=async({commit:t},e)=>{console.debug("set service",e),t("setService",e)},y=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},O=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application",s),!s){console.error("Application not found");return}console.debug("creating create credential for application",s);const{data:a}=await T.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",a),t("setCredential",a),console.debug("end createCredential"),a},x=async({commit:t,state:e})=>{e.status.getService=n.Request;try{const{data:s}=await b.get(g);return e.status.getService=n.Success,t("setService",s),s}catch{e.status.getService=n.Error,t("setService",void 0)}},_=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=n.Request;const a=e.application;console.debug("current application",a);try{const{data:o}=await f.getAll({user_id:s?.user?.id,service_id:g});return e.status.getApplications=n.Success,t("setApplications",o.items),o.items}catch(o){console.error("get applications failed",o),e.status.getApplications=n.Error,t("setApplications",void 0),t("setApplication",void 0)}},E=({commit:t},e)=>{t("setConfig",e)},P=({commit:t},e)=>{t("setTasks",e)},R=({commit:t},e)=>{t("setTasksItems",e)},q=({commit:t},e)=>{t("setTasksTotal",e)},H=({commit:t},e)=>{t("setTasksActive",e)},L=async({commit:t,state:e,rootState:s},{offset:a,limit:o,createdAtMin:k,createdAtMax:A})=>new Promise((m,c)=>{console.debug("start to get tasks",a,o);const r=e.credential;console.debug("current credential",r);const l=r?.token;if(!l)return c("no token");w.tasks({userId:s?.user?.id,createdAtMin:k,createdAtMax:A,type:"videos"},{token:l}).then(i=>{console.debug("get videos tasks success",i.data.items);const p=e?.tasks?.items||[];console.debug("existing items",p);const d=i.data.items||[];console.debug("new items",d);const v=S(p,d);t("setTasksItems",v),t("setTasksTotal",i.data.count),m(i.data.items)}).catch(i=>c(i))}),D={setService:$,getService:x,resetAll:C,setCredential:y,setConfig:E,setApplication:I,setApplications:h,getApplications:_,setTasks:P,setTasksItems:R,setTasksTotal:q,setTasksActive:H,getTasks:L,createCredential:O},J=t=>{Object.assign(t,u())},U=(t,e)=>{t.service=e},V=(t,e)=>{t.credential=e},j=(t,e)=>{t.application=e},z=(t,e)=>{t.applications=e},B=(t,e)=>{t.config=e},F=(t,e)=>{const s={...t.tasks,items:e};t.tasks=s},G=(t,e)=>{const s={...t.tasks,total:e};t.tasks=s},K=(t,e)=>{const s={...t.tasks,active:e};t.tasks=s},M=(t,e)=>{t.tasks=e},N={setTasks:M,setApplication:j,setApplications:z,setConfig:B,setCredential:V,setService:U,setTasksActive:K,setTasksItems:F,setTasksTotal:G,resetAll:J},ot={namespaced:!0,state:u,mutations:N,actions:D};export{ot as default,ot as hailuo};
@@ -1 +1 @@
1
- import{aw as i,a7 as g,ax as d,ay as v,az as p}from"./index-BvxUjFFi.js";import{c as u}from"./chat-BGw45rYV.js";import{s as f}from"./service-2hdsb4WE.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";import"./errorCode-Cqj9Td_Z.js";const C=({commit:t})=>{t("resetAll")},A=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),console.debug("application is set"),!s){console.debug("application is null, return");return}const o=s?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),t("setCredential",o)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},b=async({commit:t},e)=>{console.debug("set applications for chat",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service for chat",e),t("setService",e)},S=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},m=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application for chat",s),!s){console.error("Application not found");return}console.debug("creating create credential for application for chat",s);const{data:o}=await v.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",o),t("setCredential",o),console.debug("end createCredential"),o},w=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await f.get(d);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;try{const{data:o}=await g.getAll({user_id:s?.user?.id,service_id:d});return console.debug("get applications success for chat",o),e.status.getApplications=i.Success,t("setApplications",o.items),console.debug("set applications for chat",o.items),o.items}catch(o){console.error("get applications failed for chat",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},M=async({commit:t},e)=>{t("setModel",e)},$=async({commit:t},e)=>{t("setModelGroup",e)},y=async({commit:t,state:e},s)=>{console.debug("set conversation",s);const o=e.conversations||[],n=o?.findIndex(r=>r.id===s.id);n>-1?o[n]=s:o?.unshift(s),t("setConversations",o),console.debug("set conversation success",o)},G=async({commit:t},e)=>{console.debug("set conversations",e),t("setConversations",e)},E=async({commit:t,state:e,rootState:s})=>{e.status.getConversations=i.Request;const n=e.credential?.token,r=e.modelGroup?.name;if(!n||!r)return e.status.getConversations=i.Error,t("setConversations",[]),[];try{const{data:c}=await u.getConversations({userId:s.user?.id,modelGroup:r},{token:n});return console.debug("get conversations success",c?.items?.length,"group=",r),e.status.getConversations=i.Success,t("setConversations",c.items),c.items}catch{return e.status.getConversations=i.Error,t("setConversations",[]),[]}},I=async({commit:t,state:e},s)=>{const o=e.credential?.token;if(!(!o||!s))try{const{data:n}=await u.getConversation(s,{token:o}),r=e.conversations||[],c=r.findIndex(a=>a.id===s),l=c>-1?{...r[c],...n}:n;if(c>-1){const a=[...r];a[c]=l,t("setConversations",a)}return l}catch(n){console.error("getConversation failed",s,n);return}},O={resetAll:C,createCredential:m,setModel:M,setModelGroup:$,getService:w,setService:h,setCredential:S,setApplication:A,setApplications:b,getApplications:x,setConversation:y,setConversations:G,getConversations:E,getConversation:I},_=t=>{Object.assign(t,p())},k=(t,e)=>{t.model=e},R=(t,e)=>{t.modelGroup=e},q=(t,e)=>{t.credential=e},D=(t,e)=>{t.application=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.service=e},H=(t,e)=>{t.conversations=e},P=(t,e)=>{t.pendingDraft=e||""},T={setModel:k,setModelGroup:R,setService:z,setCredential:q,setConversations:H,setApplication:D,setApplications:j,setPendingDraft:P,resetAll:_},U={namespaced:!0,state:p,mutations:T,actions:O};export{U as chat,U as default};
1
+ import{aw as i,a7 as g,ax as d,ay as v,az as p}from"./index-COZsQ1B1.js";import{c as u}from"./chat-ne8DX9U3.js";import{s as f}from"./service-PuejfHLK.js";import"./vendor-vue-NSDaktjZ.js";import"./vendor-axios-B8_nURbH.js";import"./vendor-dayjs-v0j1UNZp.js";import"./vendor-vue-router-Kg6s1a65.js";import"./errorCode-Cqj9Td_Z.js";const C=({commit:t})=>{t("resetAll")},A=async({commit:t,dispatch:e},s)=>{if(console.debug("set application",s),t("setApplication",s),console.debug("application is set"),!s){console.debug("application is null, return");return}const o=s?.credentials?.find(n=>n?.host===window.location.origin);o?(console.debug("credential exists, set credential",o),t("setCredential",o)):(console.debug("credential not exists, start to create credential for application",s),await e("createCredential"))},b=async({commit:t},e)=>{console.debug("set applications for chat",e),t("setApplications",e)},h=async({commit:t},e)=>{console.debug("set service for chat",e),t("setService",e)},S=async({commit:t},e)=>{console.debug("set credential",e),t("setCredential",e)},m=async({commit:t,state:e})=>{const s=e.application;if(console.debug("prepare to create credential for application for chat",s),!s){console.error("Application not found");return}console.debug("creating create credential for application for chat",s);const{data:o}=await v.create({application_id:s?.id,host:window.location.origin});return console.debug("created credential success",o),t("setCredential",o),console.debug("end createCredential"),o},w=async({commit:t,state:e})=>{e.status.getService=i.Request;try{const{data:s}=await f.get(d);return e.status.getService=i.Success,t("setService",s),s}catch{e.status.getService=i.Error,t("setService",void 0)}},x=async({commit:t,state:e,rootState:s})=>{console.debug("start to get applications for chat"),e.status.getApplications=i.Request;try{const{data:o}=await g.getAll({user_id:s?.user?.id,service_id:d});return console.debug("get applications success for chat",o),e.status.getApplications=i.Success,t("setApplications",o.items),console.debug("set applications for chat",o.items),o.items}catch(o){console.error("get applications failed for chat",o),e.status.getApplications=i.Error,t("setApplications",void 0),t("setApplication",void 0)}},M=async({commit:t},e)=>{t("setModel",e)},$=async({commit:t},e)=>{t("setModelGroup",e)},y=async({commit:t,state:e},s)=>{console.debug("set conversation",s);const o=e.conversations||[],n=o?.findIndex(r=>r.id===s.id);n>-1?o[n]=s:o?.unshift(s),t("setConversations",o),console.debug("set conversation success",o)},G=async({commit:t},e)=>{console.debug("set conversations",e),t("setConversations",e)},E=async({commit:t,state:e,rootState:s})=>{e.status.getConversations=i.Request;const n=e.credential?.token,r=e.modelGroup?.name;if(!n||!r)return e.status.getConversations=i.Error,t("setConversations",[]),[];try{const{data:c}=await u.getConversations({userId:s.user?.id,modelGroup:r},{token:n});return console.debug("get conversations success",c?.items?.length,"group=",r),e.status.getConversations=i.Success,t("setConversations",c.items),c.items}catch{return e.status.getConversations=i.Error,t("setConversations",[]),[]}},I=async({commit:t,state:e},s)=>{const o=e.credential?.token;if(!(!o||!s))try{const{data:n}=await u.getConversation(s,{token:o}),r=e.conversations||[],c=r.findIndex(a=>a.id===s),l=c>-1?{...r[c],...n}:n;if(c>-1){const a=[...r];a[c]=l,t("setConversations",a)}return l}catch(n){console.error("getConversation failed",s,n);return}},O={resetAll:C,createCredential:m,setModel:M,setModelGroup:$,getService:w,setService:h,setCredential:S,setApplication:A,setApplications:b,getApplications:x,setConversation:y,setConversations:G,getConversations:E,getConversation:I},_=t=>{Object.assign(t,p())},k=(t,e)=>{t.model=e},R=(t,e)=>{t.modelGroup=e},q=(t,e)=>{t.credential=e},D=(t,e)=>{t.application=e},j=(t,e)=>{t.applications=e},z=(t,e)=>{t.service=e},H=(t,e)=>{t.conversations=e},P=(t,e)=>{t.pendingDraft=e||""},T={setModel:k,setModelGroup:R,setService:z,setCredential:q,setConversations:H,setApplication:D,setApplications:j,setPendingDraft:P,resetAll:_},U={namespaced:!0,state:p,mutations:T,actions:O};export{U as chat,U as default};
@@ -1 +1 @@
1
- import{d as A,X as q,c as b,q as o,x as H,y as l,C as d,T as M,u as e,G as O,E as C,A as V,M as U,Q as t,H as i,z as u,F as j,J as r,L as G,b as E}from"./vendor-vue-NSDaktjZ.js";import{ad as J,I as Q,ae as X,z as K,af as W,A as Y,ag as Z,ah as _,ai as x,aj as ee,S as ae,a0 as se,ak as te,T as oe,D as re}from"./index-BvxUjFFi.js";const le=Q({...X,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),de=J,ie=A({name:"ElDrawer",inheritAttrs:!1}),ne=A({...ie,props:le,emits:de,setup(g,{expose:S}){const n=g,F=q();W({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},b(()=>!!F.title));const f=E(),m=E(),s=Y("drawer"),{t:R}=Z(),{afterEnter:y,afterLeave:h,beforeLeave:T,visible:c,rendered:L,titleId:p,bodyId:k,zIndex:z,onModalClick:D,onOpenAutoFocus:B,onCloseAutoFocus:P,onFocusoutPrevented:$,onCloseRequested:I,handleClose:v}=_(n,f),N=b(()=>n.direction==="rtl"||n.direction==="ltr"),w=b(()=>oe(n.size));return S({handleClose:v,afterEnter:y,afterLeave:h}),(a,fe)=>(o(),H(e(te),{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},{default:l(()=>[d(M,{name:e(s).b("fade"),onAfterEnter:e(y),onAfterLeave:e(h),onBeforeLeave:e(T),persisted:""},{default:l(()=>[O(d(e(x),{mask:a.modal,"overlay-class":a.modalClass,"z-index":e(z),onClick:e(D)},{default:l(()=>[d(e(ee),{loop:"",trapped:e(c),"focus-trap-el":f.value,"focus-start-el":m.value,onFocusAfterTrapped:e(B),onFocusAfterReleased:e(P),onFocusoutPrevented:e($),onReleaseRequested:e(I)},{default:l(()=>[C("div",V({ref_key:"drawerRef",ref:f,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(p),"aria-describedby":e(k)},a.$attrs,{class:[e(s).b(),a.direction,e(c)&&"open"],style:e(N)?"width: "+e(w):"height: "+e(w),role:"dialog",onClick:U(()=>{},["stop"])}),[C("span",{ref_key:"focusStartRef",ref:m,class:t(e(s).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(o(),i("header",{key:0,class:t([e(s).e("header"),a.headerClass])},[a.$slots.title?u(a.$slots,"title",{key:1},()=>[r(" DEPRECATED SLOT ")]):u(a.$slots,"header",{key:0,close:e(v),titleId:e(p),titleClass:e(s).e("title")},()=>[a.$slots.title?r("v-if",!0):(o(),i("span",{key:0,id:e(p),role:"heading","aria-level":a.headerAriaLevel,class:t(e(s).e("title"))},j(a.title),11,["id","aria-level"]))]),a.showClose?(o(),i("button",{key:2,"aria-label":e(R)("el.drawer.close"),class:t(e(s).e("close-btn")),type:"button",onClick:e(v)},[d(e(ae),{class:t(e(s).e("close"))},{default:l(()=>[d(e(se))]),_:1},8,["class"])],10,["aria-label","onClick"])):r("v-if",!0)],2)):r("v-if",!0),e(L)?(o(),i("div",{key:1,id:e(k),class:t([e(s).e("body"),a.bodyClass])},[u(a.$slots,"default")],10,["id"])):r("v-if",!0),a.$slots.footer?(o(),i("div",{key:2,class:t([e(s).e("footer"),a.footerClass])},[u(a.$slots,"footer")],2)):r("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[G,e(c)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var ue=K(ne,[["__file","drawer.vue"]]);const ve=re(ue);export{ve as E};
1
+ import{d as A,X as q,c as b,q as o,x as H,y as l,C as d,T as M,u as e,G as O,E as C,A as V,M as U,Q as t,H as i,z as u,F as j,J as r,L as G,b as E}from"./vendor-vue-NSDaktjZ.js";import{ad as J,I as Q,ae as X,z as K,af as W,A as Y,ag as Z,ah as _,ai as x,aj as ee,S as ae,a0 as se,ak as te,T as oe,D as re}from"./index-COZsQ1B1.js";const le=Q({...X,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),de=J,ie=A({name:"ElDrawer",inheritAttrs:!1}),ne=A({...ie,props:le,emits:de,setup(g,{expose:S}){const n=g,F=q();W({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},b(()=>!!F.title));const f=E(),m=E(),s=Y("drawer"),{t:R}=Z(),{afterEnter:y,afterLeave:h,beforeLeave:T,visible:c,rendered:L,titleId:p,bodyId:k,zIndex:z,onModalClick:D,onOpenAutoFocus:B,onCloseAutoFocus:P,onFocusoutPrevented:$,onCloseRequested:I,handleClose:v}=_(n,f),N=b(()=>n.direction==="rtl"||n.direction==="ltr"),w=b(()=>oe(n.size));return S({handleClose:v,afterEnter:y,afterLeave:h}),(a,fe)=>(o(),H(e(te),{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},{default:l(()=>[d(M,{name:e(s).b("fade"),onAfterEnter:e(y),onAfterLeave:e(h),onBeforeLeave:e(T),persisted:""},{default:l(()=>[O(d(e(x),{mask:a.modal,"overlay-class":a.modalClass,"z-index":e(z),onClick:e(D)},{default:l(()=>[d(e(ee),{loop:"",trapped:e(c),"focus-trap-el":f.value,"focus-start-el":m.value,onFocusAfterTrapped:e(B),onFocusAfterReleased:e(P),onFocusoutPrevented:e($),onReleaseRequested:e(I)},{default:l(()=>[C("div",V({ref_key:"drawerRef",ref:f,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(p),"aria-describedby":e(k)},a.$attrs,{class:[e(s).b(),a.direction,e(c)&&"open"],style:e(N)?"width: "+e(w):"height: "+e(w),role:"dialog",onClick:U(()=>{},["stop"])}),[C("span",{ref_key:"focusStartRef",ref:m,class:t(e(s).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(o(),i("header",{key:0,class:t([e(s).e("header"),a.headerClass])},[a.$slots.title?u(a.$slots,"title",{key:1},()=>[r(" DEPRECATED SLOT ")]):u(a.$slots,"header",{key:0,close:e(v),titleId:e(p),titleClass:e(s).e("title")},()=>[a.$slots.title?r("v-if",!0):(o(),i("span",{key:0,id:e(p),role:"heading","aria-level":a.headerAriaLevel,class:t(e(s).e("title"))},j(a.title),11,["id","aria-level"]))]),a.showClose?(o(),i("button",{key:2,"aria-label":e(R)("el.drawer.close"),class:t(e(s).e("close-btn")),type:"button",onClick:e(v)},[d(e(ae),{class:t(e(s).e("close"))},{default:l(()=>[d(e(se))]),_:1},8,["class"])],10,["aria-label","onClick"])):r("v-if",!0)],2)):r("v-if",!0),e(L)?(o(),i("div",{key:1,id:e(k),class:t([e(s).e("body"),a.bodyClass])},[u(a.$slots,"default")],10,["id"])):r("v-if",!0),a.$slots.footer?(o(),i("div",{key:2,class:t([e(s).e("footer"),a.footerClass])},[u(a.$slots,"footer")],2)):r("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[G,e(c)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var ue=K(ne,[["__file","drawer.vue"]]);const ve=re(ue);export{ve as E};