@acedatacloud/nexior 3.288.1 → 3.289.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 (193) hide show
  1. package/dist/assets/{ApiCodeButton-CbspoT24.js → ApiCodeButton-BzII84az.js} +1 -1
  2. package/dist/assets/{AskUserQuestionCard-Dp0CnBOB.js → AskUserQuestionCard-BnUTBDfU.js} +1 -1
  3. package/dist/assets/{Auth-DuOQb0We.js → Auth-CZnt7jXV.js} +1 -1
  4. package/dist/assets/{Bare-CAem9nxW.js → Bare-DJqNp53d.js} +1 -1
  5. package/dist/assets/{BotPlaceholder-ndPKuMby.js → BotPlaceholder-D7zfHz_b.js} +1 -1
  6. package/dist/assets/{BottomFooter-DVcwoLTg.js → BottomFooter-CRnosSfD.js} +1 -1
  7. package/dist/assets/{Callback-CiemuZqF.js → Callback-BuERLLuO.js} +1 -1
  8. package/dist/assets/{CodeSnippet-DgHlOuvk.js → CodeSnippet-DtDTYxjx.js} +1 -1
  9. package/dist/assets/{Console-Ddq-bi0d.js → Console-C3cdAJWU.js} +1 -1
  10. package/dist/assets/{Consumption-BQ_fzwjs.js → Consumption-BO-NecEx.js} +1 -1
  11. package/dist/assets/{Conversation-uzRElspm.js → Conversation-0X7OzJLz.js} +2 -2
  12. package/dist/assets/{CopyToClipboard-BLSWZiRy.js → CopyToClipboard-Cl1jNt36.js} +1 -1
  13. package/dist/assets/{Detail-CTU7XJCq.js → Detail-BR5W7WRE.js} +2 -2
  14. package/dist/assets/{Extra-DA9RNd6h.js → Extra-BX17UrkC.js} +1 -1
  15. package/dist/assets/{FilePreview-BZZll-m4.js → FilePreview-kWieRjFk.js} +1 -1
  16. package/dist/assets/{Hailuo-Cbtdz82n.js → Hailuo-DCw0pK47.js} +1 -1
  17. package/dist/assets/{History-CNz-MMce.js → History-BcoovvMQ.js} +1 -1
  18. package/dist/assets/{ImagePreview-0eBUpu4w.js → ImagePreview-CT_M0vNp.js} +1 -1
  19. package/dist/assets/{ImageWrapper-6qqUwcdC.js → ImageWrapper-IAJ0Wrtp.js} +1 -1
  20. package/dist/assets/{Index-DEGSSeml.js → Index-4gQ4i31D.js} +1 -1
  21. package/dist/assets/{Index-D2MRb0LT.js → Index-4t0HOqly.js} +1 -1
  22. package/dist/assets/{Index-5LHOxyWL.js → Index-AAnaMXwV.js} +1 -1
  23. package/dist/assets/{Index-CytnqpiB.js → Index-B0DxDxVX.js} +1 -1
  24. package/dist/assets/{Index-8fbIpD6e.js → Index-BOZ7Hvxr.js} +1 -1
  25. package/dist/assets/Index-BVNauw-z.js +1 -0
  26. package/dist/assets/{Index-BoPns4sb.js → Index-Bzq8sMI9.js} +1 -1
  27. package/dist/assets/{Index-B-IVlugw.js → Index-C0I7Sg4t.js} +1 -1
  28. package/dist/assets/{Index-Btv3whny.js → Index-C48cuTDd.js} +1 -1
  29. package/dist/assets/{Index-4CD2PLYT.js → Index-CIKPvGcC.js} +1 -1
  30. package/dist/assets/{Index-Di8m6Nzw.js → Index-CYXX2rgl.js} +1 -1
  31. package/dist/assets/{Index-CidWpAm6.js → Index-C_s3ValF.js} +1 -1
  32. package/dist/assets/{Index-_1Yy6P5U.js → Index-CkT6NMV-.js} +1 -1
  33. package/dist/assets/{Index-Cidop-_8.js → Index-CrjiRqtR.js} +1 -1
  34. package/dist/assets/{Index-qqu9OM-q.js → Index-Cx70dckR.js} +1 -1
  35. package/dist/assets/{Index-DdiL_cgW.js → Index-D75HZsLS.js} +1 -1
  36. package/dist/assets/{Index-Cqytn64j.js → Index-D8-rilSX.js} +1 -1
  37. package/dist/assets/{Index-XrrFJx0F.js → Index-DIhTsi9s.js} +1 -1
  38. package/dist/assets/{Index-CxbpNloV.js → Index-Dxc6sNQH.js} +1 -1
  39. package/dist/assets/{Index-B_TpnpFx.js → Index-Dyrd6kbj.js} +1 -1
  40. package/dist/assets/{Index-Cp328Wqu.js → Index-FET7RKn0.js} +1 -1
  41. package/dist/assets/{Index-C3rrOqwX.js → Index-H38a7LTk.js} +1 -1
  42. package/dist/assets/{Index-CFHh_KQg.js → Index-_A7quZL8.js} +1 -1
  43. package/dist/assets/{Index-AXj4NJey.js → Index-a3Yp5hsP.js} +1 -1
  44. package/dist/assets/{Index-Cxf0kzCR.js → Index-jIfZLiJj.js} +1 -1
  45. package/dist/assets/{Index-DZpzpd_-.js → Index-jTZHjNIV.js} +1 -1
  46. package/dist/assets/{Index-BBePWr5h.js → Index-qX8POuL6.js} +1 -1
  47. package/dist/assets/{Index-C-dmmp7b.js → Index-xQ-TAUd7.js} +1 -1
  48. package/dist/assets/{InfoIcon-CU-fDVqg.js → InfoIcon-USHeASGn.js} +1 -1
  49. package/dist/assets/{Invitees-BKGyHibw.js → Invitees-CdqTYh28.js} +1 -1
  50. package/dist/assets/{List-D2al6Dsr.js → List-BdJ7o4zt.js} +1 -1
  51. package/dist/assets/{List-DTx3dprE.js → List-Bwfn9l89.js} +1 -1
  52. package/dist/assets/{List-DRf1uQsO.js → List-h4-b_scO.js} +1 -1
  53. package/dist/assets/{Main-BS0AOMrX.js → Main-Qtry1bCP.js} +1 -1
  54. package/dist/assets/{Model-sBgmf5JI.js → Model-BAuRKZq1.js} +1 -1
  55. package/dist/assets/{Navigator-CmwiBTLn.js → Navigator-B8a0haIL.js} +2 -2
  56. package/dist/assets/{NoTasks-CQM6Pdv-.js → NoTasks-DyMvhJaa.js} +1 -1
  57. package/dist/assets/{NotFound-CnNH96sG.js → NotFound-DJ7BmuW7.js} +1 -1
  58. package/dist/assets/{Pagination-ejG8bNuy.js → Pagination-BNl-lRlf.js} +1 -1
  59. package/dist/assets/{Pay-DvnIQZg6.js → Pay-C0VmS96D.js} +1 -1
  60. package/dist/assets/{Player-GlRE3GNW.js → Player-BPi0xiCC.js} +1 -1
  61. package/dist/assets/{PromptTextarea-D3u2AkPm.js → PromptTextarea-Bm_B6NIj.js} +1 -1
  62. package/dist/assets/{RealtimeCall-Be6WjDk4.js → RealtimeCall--psklUVC.js} +1 -1
  63. package/dist/assets/ScheduledTasks-CpL2HTdm.js +2 -0
  64. package/dist/assets/ScheduledTasks-qfINDoqc.css +1 -0
  65. package/dist/assets/{Status-DTUhphs8.js → Status-DjMYG9Tq.js} +1 -1
  66. package/dist/assets/{Subscribe-Bqv3wxDo.js → Subscribe-fltJoYzU.js} +1 -1
  67. package/dist/assets/{TabSwitcher-CETceiQX.js → TabSwitcher-BKE_-nhN.js} +1 -1
  68. package/dist/assets/{Tts-DY0r45Sl.js → Tts-ahB8wlLY.js} +1 -1
  69. package/dist/assets/{VideoPlayer-k5ZkaiWG.js → VideoPlayer-B3ru5f-1.js} +1 -1
  70. package/dist/assets/{avatar-DCP0isOR.js → avatar-9PVxUlv_.js} +1 -1
  71. package/dist/assets/{basic-DDzXpa8L.js → basic-BiEg5brn.js} +1 -1
  72. package/dist/assets/{chat-DwvnYEdj.js → chat-BRicGTJT.js} +1 -1
  73. package/dist/assets/{chat-eGXECjdV.js → chat-Bfl8tNQe.js} +1 -1
  74. package/dist/assets/{chat-y2wtzrjX.js → chat-Bso6jVnB.js} +1 -1
  75. package/dist/assets/{chat-DJ9o3mq8.js → chat-C7orWMsZ.js} +1 -1
  76. package/dist/assets/{chat-Dqe4UI1y.js → chat-CBucq_Mi.js} +1 -1
  77. package/dist/assets/{chat-CXO7jUng.js → chat-CFYwgXxg.js} +1 -1
  78. package/dist/assets/{chat-mf3C6nsU.js → chat-CMFrx8Xs.js} +1 -1
  79. package/dist/assets/{chat-BolzyvhK.js → chat-CUL_GKt2.js} +1 -1
  80. package/dist/assets/{chat-6XsqGgfq.js → chat-CXwfx87w.js} +1 -1
  81. package/dist/assets/{chat-DrlFnoJs.js → chat-CjXv27l_.js} +1 -1
  82. package/dist/assets/{chat-cl69oQoe.js → chat-Cja8ZujH.js} +1 -1
  83. package/dist/assets/{chat-BNt-8Mu5.js → chat-CvvWclVD.js} +1 -1
  84. package/dist/assets/{chat-DEMjYrcm.js → chat-DBXjTCta.js} +1 -1
  85. package/dist/assets/{chat-DW8liw_L.js → chat-DVLcIDrM.js} +1 -1
  86. package/dist/assets/{chat-Cv_MJS6T.js → chat-DbcZAzWO.js} +1 -1
  87. package/dist/assets/{chat-CpODtvTs.js → chat-JTku71DL.js} +1 -1
  88. package/dist/assets/{chat-BVnh2ZE-.js → chat-T2sW_DNn.js} +1 -1
  89. package/dist/assets/{chat-CNJp3fpL.js → chat-kBCyl4pf.js} +1 -1
  90. package/dist/assets/{chat-j_G8Xf-n.js → chat-wXbWPtAn.js} +1 -1
  91. package/dist/assets/codingBridge-B9qJUdN4.js +2 -0
  92. package/dist/assets/{codingBridgeNotify-Be7ScCJw.js → codingBridgeNotify-CplWWO8B.js} +2 -2
  93. package/dist/assets/{collapse-CXjwxKgB.js → collapse-FhDiTT7u.js} +1 -1
  94. package/dist/assets/{constants-B8GksWUk.js → constants-C0JMy8iD.js} +1 -1
  95. package/dist/assets/{createTaskActions-DmlUtiIT.js → createTaskActions-BDQMBzAL.js} +1 -1
  96. package/dist/assets/{date-picker-Ctiga9tL.js → date-picker-gkwItzuJ.js} +1 -1
  97. package/dist/assets/{digitalhuman-CKQXj87V.js → digitalhuman-CmqiU8Et.js} +1 -1
  98. package/dist/assets/{dropdown-Cb4v7KmH.js → dropdown-BUDXhonB.js} +1 -1
  99. package/dist/assets/{esm-CQmUs2Gq.js → esm--1JhOEqY.js} +2 -2
  100. package/dist/assets/esm-BesQ1VPG.js +1 -0
  101. package/dist/assets/{esm-BuBxaiR5.js → esm-C4uSrrRu.js} +3 -3
  102. package/dist/assets/{esm-DNbQBSmC.js → esm-CnOOTgje.js} +1 -1
  103. package/dist/assets/{esm-Bkzc0Rfl.js → esm-DXk0zuur.js} +1 -1
  104. package/dist/assets/{esm-CUArLNem.js → esm-DuH4XLsg.js} +1 -1
  105. package/dist/assets/{esm-Q57Ev_Ig.js → esm-WhsbjwYd.js} +2 -2
  106. package/dist/assets/{fish-DYEOL9Cn.js → fish-IL4smTPO.js} +1 -1
  107. package/dist/assets/{flux-Bt6usSiB.js → flux-D9k8dibk.js} +1 -1
  108. package/dist/assets/{grokvideo-CcCcAt42.js → grokvideo-DPuq8Q9M.js} +1 -1
  109. package/dist/assets/{hailuo-ChhRMZ5T.js → hailuo-BjlLBPnv.js} +1 -1
  110. package/dist/assets/{headshots-DHjWwjdN.js → headshots-CRf3q7uy.js} +1 -1
  111. package/dist/assets/{image-DlNErQRh.js → image-B_6Fj4EB.js} +1 -1
  112. package/dist/assets/{index-BwjtEnD7.js → index-CLtyZDwQ.js} +5 -5
  113. package/dist/assets/{index.browser.esm-BmkWgNey.js → index.browser.esm-Cjt_x1Ra.js} +1 -1
  114. package/dist/assets/{index.es-BDpT8wGD.js → index.es-D8ME2iYQ.js} +1 -1
  115. package/dist/assets/{input-number-CGM8cbgt.js → input-number-BCOOMsis.js} +1 -1
  116. package/dist/assets/{kling-BS2FEoi7.js → kling-BTl39qPV.js} +1 -1
  117. package/dist/assets/{luma-Bv6zkQoe.js → luma-DvjrcvOe.js} +1 -1
  118. package/dist/assets/maestro-3xUCLWYX.js +1 -0
  119. package/dist/assets/maestro-BCLvaOFv.js +1 -0
  120. package/dist/assets/maestro-Bq2ngG5Z.js +1 -0
  121. package/dist/assets/maestro-C3ShK3e2.js +1 -0
  122. package/dist/assets/{maestro-Cg3R6gct.js → maestro-CKaRRhwH.js} +1 -1
  123. package/dist/assets/maestro-CP_nVc1B.js +1 -0
  124. package/dist/assets/maestro-CQjv03Cn.js +1 -0
  125. package/dist/assets/maestro-CTQJrqSM.js +1 -0
  126. package/dist/assets/maestro-Ci_dacX6.js +1 -0
  127. package/dist/assets/maestro-Cz30fVVL.js +1 -0
  128. package/dist/assets/maestro-D-Fq4NSq.js +1 -0
  129. package/dist/assets/maestro-D3BUYfXF.js +1 -0
  130. package/dist/assets/maestro-DDin9opD.js +1 -0
  131. package/dist/assets/maestro-DOCkP6gX.js +1 -0
  132. package/dist/assets/maestro-DbRoAlEY.js +1 -0
  133. package/dist/assets/maestro-OdMXSBea.js +1 -0
  134. package/dist/assets/maestro-SVCIk-Fn.js +1 -0
  135. package/dist/assets/maestro-chPSsbHN.js +1 -0
  136. package/dist/assets/maestro-pTXHOaUQ.js +1 -0
  137. package/dist/assets/{midjourney-D6Ed2zWY.js → midjourney-D6Oh49NY.js} +1 -1
  138. package/dist/assets/{nanobanana-Dr_JnkKx.js → nanobanana-Bb5saScl.js} +1 -1
  139. package/dist/assets/{openaiimage-BwoIItga.js → openaiimage-DcWMdPq3.js} +1 -1
  140. package/dist/assets/{pagination-jSEp0xuo.js → pagination-Cb-xOqjA.js} +1 -1
  141. package/dist/assets/{sora-BgjOm_2I.js → pika-BgBEIO6l.js} +1 -1
  142. package/dist/assets/{pixverse-BgZIeuIw.js → pixverse-BjQTYwOw.js} +1 -1
  143. package/dist/assets/{popover-Doke6oNv.js → popover-Ba0H04KV.js} +1 -1
  144. package/dist/assets/{producer-BQK8QBsw.js → producer-CTDvOFoA.js} +1 -1
  145. package/dist/assets/{qrart-j9kl4_KY.js → qrart-DVof85BM.js} +1 -1
  146. package/dist/assets/{realtime-DwSTZ2HZ.js → realtime-ppX0RcvP.js} +1 -1
  147. package/dist/assets/{row-4wbzA_Fq.js → row-BOK0tMmu.js} +1 -1
  148. package/dist/assets/{seedance-BvYbZf4e.js → seedance-DkbLtG4I.js} +1 -1
  149. package/dist/assets/{seedream-oMoxI5MX.js → seedream-DxQnJeg4.js} +1 -1
  150. package/dist/assets/{select-C3mNnL7n.js → select-KKt7bbWU.js} +1 -1
  151. package/dist/assets/{serp-qeyLw-MF.js → serp-DIJazUlc.js} +1 -1
  152. package/dist/assets/{slider-BnWWWtqv.js → slider-CdtMVqTk.js} +1 -1
  153. package/dist/assets/{solana-wallets-vvJxtECo.js → solana-wallets-CUr9C4AU.js} +2 -2
  154. package/dist/assets/{solana-wallets-vue-C5I2Ra-q.js → solana-wallets-vue-C5FEDYHr.js} +1 -1
  155. package/dist/assets/{pika-DZxgtcag.js → sora-DdLSAv5P.js} +1 -1
  156. package/dist/assets/{suno-B_9Om83L.js → suno-BOEFaMhC.js} +1 -1
  157. package/dist/assets/{switch-DO6bEsWi.js → switch-B2xMHmjr.js} +1 -1
  158. package/dist/assets/{tabs-CmAUxAQX.js → tabs-DiP72m79.js} +1 -1
  159. package/dist/assets/{time-picker-BFI4nLKt.js → time-picker-C44RZpxe.js} +1 -1
  160. package/dist/assets/{upload-DhpeQ9FW.js → upload-cejq9L6P.js} +1 -1
  161. package/dist/assets/{veo-ChNlgGJ1.js → veo-CVgL1JJ4.js} +1 -1
  162. package/dist/assets/{wan-Bg_MSQIM.js → wan-B5FqrF6B.js} +1 -1
  163. package/dist/assets/{web-XJ3FFW8x.js → web-Cu9p6gn4.js} +1 -1
  164. package/dist/assets/{web-DaE6mqUU.js → web-DP9ODD9m.js} +1 -1
  165. package/dist/assets/{web-BLoXIOpt.js → web-DR3EJ-qb.js} +1 -1
  166. package/dist/assets/{web-BsfUAQBt.js → web-OI3JINYZ.js} +1 -1
  167. package/dist/assets/{web-eNq51bAN.js → web-zTyto2wg.js} +1 -1
  168. package/dist/assets/{webextrator-CUxh8Ahu.js → webextrator-BlAWMV5B.js} +1 -1
  169. package/dist/index.html +2 -2
  170. package/package.json +1 -1
  171. package/dist/assets/Index-Du_nz3Vp.js +0 -1
  172. package/dist/assets/ScheduledTasks-BoQfQDEu.css +0 -1
  173. package/dist/assets/ScheduledTasks-i8kUfcS3.js +0 -2
  174. package/dist/assets/codingBridge-BvuGsp6R.js +0 -2
  175. package/dist/assets/esm-DNOlyyUE.js +0 -1
  176. package/dist/assets/maestro-3b1pcdMX.js +0 -1
  177. package/dist/assets/maestro-BBdxpvo-.js +0 -1
  178. package/dist/assets/maestro-BHHtMNrl.js +0 -1
  179. package/dist/assets/maestro-BTbnulYQ.js +0 -1
  180. package/dist/assets/maestro-BhFHj6K-.js +0 -1
  181. package/dist/assets/maestro-BrkKrpyV.js +0 -1
  182. package/dist/assets/maestro-C2i4poZI.js +0 -1
  183. package/dist/assets/maestro-C8f13sv7.js +0 -1
  184. package/dist/assets/maestro-CfgIlOes.js +0 -1
  185. package/dist/assets/maestro-ClpV7cRs.js +0 -1
  186. package/dist/assets/maestro-Cob-ZUve.js +0 -1
  187. package/dist/assets/maestro-D1OvSfM2.js +0 -1
  188. package/dist/assets/maestro-D335JKxv.js +0 -1
  189. package/dist/assets/maestro-D_mQ9wnK.js +0 -1
  190. package/dist/assets/maestro-T5zfwtIa.js +0 -1
  191. package/dist/assets/maestro-dWLaRdvY.js +0 -1
  192. package/dist/assets/maestro-e1Bu5py7.js +0 -1
  193. package/dist/assets/maestro-yk4yQ4AI.js +0 -1
@@ -1 +1 @@
1
- var e={"thinking.inProgress":{message:`Thinking...`,description:`Label displayed while the model is generating the reasoning process`},"thinking.done":{message:`Reasoning Process`,description:`Label used to collapse the display of the reasoning process after the model completes reasoning`},"button.thinkDeeper":{message:`Think Deeper`,description:`Button for deeper thinking`},"button.deepsearch":{message:`Deep Search`,description:`Button for deep search`},"button.search":{message:`Search`,description:`Search button`},"button.edit":{message:`Edit Message`,description:`Edit the sent message`},"modelGroup.chatgpt":{message:`ChatGPT`,description:`Name of the service model, i.e., GPT`},"modelGroup.chatgptDescription":{message:`AI model developed by OpenAI`,description:`Description of the ChatGPT model`},"modelGroup.deepseek":{message:`DeepSeek`,description:`Name of the service model, i.e., DeepSeek`},"modelGroup.deepseekDescription":{message:`AI model developed by DeepSeek Inc.`,description:`Description of the DeepSeek model`},"modelGroup.grok":{message:`Grok`,description:`Name of the service model, i.e., Grok`},"modelGroup.grokDescription":{message:`AI model developed by xAI`,description:`Description of the Grok model`},"modelGroup.gemini":{message:`Gemini`,description:`Name of the service model, i.e., Gemini`},"modelGroup.geminiDescription":{message:`AI model developed by Google`,description:`Description of the Gemini model group`},"modelGroup.claude":{message:`Claude`,description:`Name of the service model, i.e., Claude`},"modelGroup.claudeDescription":{message:`AI model developed by Anthropic`,description:`Description of the Claude model group`},"modelGroup.kimi":{message:`Kimi`,description:`Name of the service model, i.e., Kimi`},"modelGroup.kimiDescription":{message:`AI model developed by Dark Side of the Moon Inc.`,description:`Description of the Kimi model group`},"modelGroup.glm":{message:`GLM`,description:`Name of the service model, i.e., GLM`},"modelGroup.glmDescription":{message:`Large language model developed by Zhipu AI`,description:`Description of the GLM model group`},"model.55":{message:`gpt-5.5`,description:`Name of the service model, i.e., GPT 5.5`},"model.55Description":{message:`Latest flagship GPT 5.5 model`,description:`Description of the GPT 5.5 model`},"model.54":{message:`gpt-5.4`,description:`Name of the service model, i.e., GPT 5.4`},"model.54Description":{message:`Latest flagship GPT 5.4 model`,description:`Description of the GPT 5.4 model`},"model.54Mini":{message:`gpt-5.4-mini`,description:`Name of the service model, i.e., GPT 5.4 Mini`},"model.54MiniDescription":{message:`Faster and lighter GPT 5.4 model`,description:`Description of the GPT 5.4 Mini model`},"model.freeTag":{message:`Free`,description:`Badge shown next to free models in the model selector`},"model.deepseekChat":{message:`3.0`,description:`Name of the service model, i.e., DeepSeek Chat`},"model.deepseekChatDescription":{message:`Suitable for everyday tasks`,description:`Description of the DeepSeek Chat model`},"model.deepseekReasoner":{message:`R1`,description:`Name of the service model, i.e., DeepSeek Reasoner`},"model.deepseekReasonerDescription":{message:`Suitable for reasoning and deep thinking questions`,description:`Description of the DeepSeek Reasoner model`},"model.deepseekChat32":{message:`3.2`,description:`Name of the service model, i.e., DeepSeek V3.2 Exp`},"model.deepseekChat32Description":{message:`Latest experimental version`,description:`Description of the DeepSeek V3.2 experimental model`},"model.deepseekV4Flash":{message:`4.0`,description:`Name of the service model, i.e., DeepSeek V4 Flash`},"model.deepseekV4FlashDescription":{message:`Latest lightweight flagship, 1M context`,description:`Description of the DeepSeek V4 Flash model`},"model.grok4":{message:`grok-4`,description:`Name of the service model, i.e., Grok 4`},"model.grok4Description":{message:`Currently the most advanced model`,description:`Description of the Grok 4 model`},"model.grok3":{message:`grok-3`,description:`Name of the service model`},"model.grok3Description":{message:`Suitable for most tasks`,description:`Description of the Grok3 model`},"model.gemini30Pro":{message:`gemini-3.0-pro`,description:`Name of the service model, i.e., Gemini 3.0 Pro`},"model.gemini30ProDescription":{message:`Currently the most advanced model`,description:`Description of the Gemini 3.0 Pro model`},"model.gemini31Pro":{message:`gemini-3.1-pro`,description:`Name of the service model, i.e., Gemini 3.0 Pro`},"model.gemini31ProDescription":{message:`Currently the most advanced model`,description:`Description of the Gemini 3.0 Pro model`},"model.gemini25Pro":{message:`gemini-2.5-pro`,description:`Name of the service model, i.e., Gemini 2.5 Pro`},"model.gemini25ProDescription":{message:`Suitable for complex reasoning tasks`,description:`Description of the Gemini 2.5 Pro model`},"model.gemini25Flash":{message:`gemini-2.5-flash`,description:`Name of the service model, i.e., Gemini 2.5 Flash`},"model.gemini25FlashDescription":{message:`Faster and lighter model`,description:`Description of the Gemini 2.5 Flash model`},"model.gemini35Flash":{message:`gemini-3.5-flash`,description:`Name of the service model, i.e., Gemini 2.5 Flash`},"model.gemini35FlashDescription":{message:`Faster and lighter model`,description:`Description of the Gemini 2.5 Flash model`},"model.claudeOpus48":{message:`claude-opus-4.8`,description:`Name of the service model, i.e., Claude Opus 4.8`},"model.claudeOpus48Description":{message:`Currently the most advanced model`,description:`Description of the Claude Opus 4.8 model`},"model.claudeSonnet46":{message:`claude-sonnet-4.6`,description:`The model name of the service, which is Claude Sonnet 4.6`},"model.claudeSonnet46Description":{message:`Suitable for most tasks`,description:`Description of the Claude Sonnet 4.6 model`},"model.claudeHaiku45":{message:`claude-haiku-4.5`,description:`Name of the service model, i.e., Claude Haiku 4.5`},"model.claudeHaiku45Description":{message:`Lightweight and fast model`,description:`Description of the Claude Haiku 4.5 model`},"model.kimiK25":{message:`kimi-k2.5`,description:`Name of the service model, i.e., Kimi K2.5`},"model.kimiK25Description":{message:`Currently the most advanced model`,description:`Description of the Kimi K2.5 model`},"model.kimiK2Thinking":{message:`kimi-k2 reasoning`,description:`Name of the service model, i.e., Kimi K2 reasoning`},"model.kimiK2ThinkingDescription":{message:`Suitable for reasoning and deep thinking questions`,description:`Description of the Kimi K2 reasoning model`},"model.kimiK2ThinkingTurbo":{message:`kimi-k2 turbo reasoning`,description:`Name of the service model, i.e., Kimi K2 turbo reasoning`},"model.kimiK2ThinkingTurboDescription":{message:`Faster reasoning model`,description:`Description of the Kimi K2 turbo reasoning model`},"model.glm51":{message:`glm-5.1`,description:`Name of the service model, i.e., GLM 5.1`},"model.glm51Description":{message:`Latest flagship model from Zhipu`,description:`Description of the GLM 5.1 model`},"model.glm47":{message:`glm-4.7`,description:`Name of the service model, i.e., GLM 4.7`},"model.glm47Description":{message:`Balanced performance and cost`,description:`Description of the GLM 4.7 model`},"message.startNewChat":{message:`Start new conversation`,description:`Message on the webpage informing the user to start a new conversation`},"message.uploadFile":{message:`Upload file`,description:`Message on the webpage informing the user to upload a file`},"message.noToken":{message:`Please apply for the relevant service first`,description:`Message on the webpage informing the user to apply for the relevant service first`},"message.newMessagePlaceholder":{message:`Please enter your question...`,description:`Placeholder on the webpage informing the user to enter a question`},"message.noInput":{message:`Question cannot be empty`,description:`Message on the webpage informing the user that the question cannot be empty`},"message.uploadReferencesExceed":{message:`You can upload a maximum of 1 file`,description:`Message on the webpage informing the user that they can upload a maximum of 1 file`},"message.uploadReferencesError":{message:`File upload failed, please try again later`,description:`Message on the webpage informing the user that the file upload failed, please try again later`},"message.notApplied":{message:`You have not applied for this service, please apply first`,description:`Message on the webpage informing the user that they have not applied for this service, please apply first`},"message.tryForFree":{message:`Try for free`,description:`Message on the webpage informing the user about a free trial`},"message.question1":{message:`Create a training plan`,description:`Example question to start a conversation, asking the user to write a JavaScript code that outputs Hello World`},"message.question2":{message:`Make a personal webpage`,description:`Example question to start a conversation, asking the user to write an email to Mike informing him that they just moved`},"message.question3":{message:`Design an interesting programming game`,description:`Example question to start a conversation, asking the user to explain the basic principles of quantum computing in simple terms`},"message.question4":{message:`Experience Seoul like a local`,description:`Example question to start a conversation, asking the user to explain the impact of virtual reality on artistic creation`},"message.question5":{message:`Which is larger, 9.8 or 9.11?`,description:`Example question to start a conversation, asking to compare the sizes of two numbers`},"message.question6":{message:`What impact does AI have on the future?`,description:`Example question to start a conversation, asking about the impact of AI on the future`},"message.question7":{message:`How to improve learning efficiency?`,description:`Example question to start a conversation, asking how to improve one's learning efficiency`},"message.question8":{message:`How to improve concentration?`,description:`Example question to start a conversation, asking how to improve one's concentration`},"message.errorApiError":{message:`Response failed, please try again later`,description:`Message on the webpage informing the user that the response failed, please try again later`},"message.errorBadRequest":{message:`Request content is not valid, please rephrase your question`,description:`Message on the webpage informing the user that the request content is not valid, please rephrase your question`},"message.errorNoConversation":{message:`Conversation does not exist or has expired, please start a new conversation`,description:`Message on the webpage informing the user that the conversation does not exist or has expired, please start a new conversation`},"message.errorContentTooLarge":{message:`Question content is too long, please shorten it and try again`,description:`Message on the webpage informing the user that the question content is too long, please shorten it and try again`},"message.errorTooManyRequests":{message:`Your requests are too frequent, please try again later`,description:`Message in the webpage informing the user that their requests are too frequent and to try again later`},"message.errorBusy":{message:`Server is busy, please try again later.`,description:`Message on the webpage informing the user that the server is busy and to try again later.`},"message.errorUsedUp":{message:`You have used up your package quota, please purchase more to continue using.`,description:`Message on the webpage informing the user that they have used up their package quota and need to purchase more to continue.`},"message.errorUnknown":{message:`An unknown error occurred on the server, please try again later or contact support.`,description:`Message on the webpage informing the user that an unknown error occurred on the server and to try again later or contact support.`},"message.errorTimeout":{message:`Response timed out, please try again later.`,description:`Message on the webpage informing the user that the response timed out and to try again later.`},"message.errorNotApplied":{message:`You have not applied for this service, please apply first before continuing to ask questions.`,description:`Message on the webpage informing the user that they have not applied for the service and need to apply first before continuing.`},"message.confirmDelete":{message:`Confirm deletion`,description:`Message on the webpage asking the user to confirm deletion.`},"message.howToUse":{message:`AI may make mistakes, please verify important information.`,description:`Message on the webpage informing the user that AI may make mistakes and to verify important information.`},"title.chat":{message:`AI Chat`,description:`Title of the webpage, which is AI Chat.`},"title.example":{message:`Example`,description:`Title of the webpage, which is Example.`},"title.capabilities":{message:`Capabilities`,description:`Title of the webpage, which is Capabilities.`},"title.limitations":{message:`Limitations`,description:`Title on the webpage indicating that this section is about the technical limitations of the service.`},"title.complexQuestion":{message:`Answering Complex Questions`,description:`Title on the webpage indicating that this section is about the service's ability to answer complex questions.`},"title.professionalQuestion":{message:`Consulting Professional Questions`,description:`Title on the webpage indicating that this section is about the service's ability to consult on professional questions.`},"title.getTips":{message:`Get Inspiration and Ideas`,description:`Title on the webpage indicating that this section is about the service's ability to provide inspiration and ideas.`},"group.today":{message:`Today`,description:`Group name on the webpage, which is Today.`},"group.yesterday":{message:`Yesterday`,description:`Group name on the webpage, which is Yesterday.`},"group.thisWeek":{message:`This Week`,description:`Group name on the webpage, which is This Week.`},"group.earlier":{message:`Earlier`,description:`Group name on the webpage, which is Earlier.`},"connections.tooltip":{message:`Connection Management`,description:`Tooltip for the button that redirects to the auth.acedata.cloud connection management page.`},"skill.tooltip":{message:`Skill Management`,description:`Tooltip for the button that redirects to the auth.acedata.cloud skill management page.`},"composer.addAction":{message:`Add Content`,description:`Tooltip for the plus button below the input box, which expands to upload files, open skills, or manage connections.`},"composer.addFiles":{message:`Add Photos or Files`,description:`Item in the popup menu of the plus button: upload images or files.`},"composer.skills":{message:`Skills`,description:`Item in the popup menu of the plus button: open skill management.`},"composer.connections":{message:`Connections`,description:`Item in the popup menu of the plus button: open connection management.`},"agent.title":{message:`Desktop Agent`,description:`Title of the agent management dialog.`},"agent.tooltip":{message:`Desktop Agent`,description:`Tooltip for the agent button.`},"agent.connected":{message:`Connected`,description:`Status indicating the agent is connected.`},"agent.notConnected":{message:`Not Connected`,description:`Status indicating the agent is not connected.`},"agent.description":{message:`Connect the desktop agent to access local files, run commands, and use the local MCP server in AI conversations.`,description:`Description of the agent.`},"agent.name":{message:`Agent Name`,description:`Label for the agent name.`},"agent.tools":{message:`Available Tools`,description:`Label for the number of agent tools.`},"agent.connectedSince":{message:`Connected Since`,description:`Label for the agent connection time.`},"agent.connectedHint":{message:`Your desktop agent is connected and ready to use.`,description:`Hint indicating the agent is connected.`},"agent.installLabel":{message:`Install Desktop Agent:`,description:`Installation instruction label`},"agent.runLabel":{message:`Run Agent:`,description:`Label for the run instruction`},"askUserQuestion.submit":{message:`Submit`,description:`Submit button for the last question in the ask-user-question wizard`},"askUserQuestion.next":{message:`Next Question`,description:`Advance to the next question in the ask-user-question wizard`},"askUserQuestion.back":{message:`Previous Question`,description:`Go back to the previous question in the ask-user-question wizard`},"askUserQuestion.skipAll":{message:`Skip All`,description:`Skip the entire ask-user-question wizard, allowing the model to continue without answers`},"askUserQuestion.other":{message:`Other`,description:`Pseudo-option; selecting this will expand a custom text input box for the question`},"askUserQuestion.otherDesc":{message:`Enter your own answer`,description:`Helper text below the other option`},"askUserQuestion.placeholder":{message:`Please enter your answer…`,description:`Placeholder text for the custom answer input box for each question`},"askUserQuestion.multiSelectHint":{message:`Select one or more options`,description:`Hint displayed when multiple choice questions are supported`},"askUserQuestion.collapsedAnswerLabel":{message:`Your Answer`,description:`Fallback text when a specific answer cannot be extracted from historical output`},"consent.title":{message:`Connector authorization needed`,description:`Title of the connector consent card`},"consent.matchAny":{message:`Authorize any of these`,description:`Label: any one of the listed connectors satisfies this requirement`},"consent.matchAll":{message:`Authorize all of these`,description:`Label: every listed connector must be authorized`},"consent.authorize":{message:`Authorize`,description:`Authorize button; opens the third-party OAuth flow`},"consent.skip":{message:`Skip`,description:`Skip button; continue without authorizing any connector`},"consent.continue":{message:`Continue`,description:`Continue button shown after we detect (post-OAuth) that the connector is now connected; submitting authorizes it.`},"consent.selectScopes":{message:`Select {provider} Authorization Scopes`,description:`Title of the scope picker dialog opened from the consent card; {provider} is the upstream provider name (e.g. Gmail).`},"consent.selectScopesHint":{message:`Select the permissions you wish to authorize. Multiple selections are allowed; by default, only basic login information is granted.`,description:`Body copy explaining that the user can opt out of specific scopes; rendered above the checkbox group.`},"consent.installFailed":{message:`Authorization failed. Please try again.`,description:`Toast shown when the AuthBackend install endpoint returns an error from the consent card.`},"consent.statusConnected":{message:`Connected`,description:`Pill badge for already-connected connectors`},"consent.statusUnconnected":{message:`Unavailable`,description:`Pill badge for unconnected connectors with no install URL`},"consent.resolvedAuthorized":{message:`Authorized: {list}`,description:`Resolved banner after authorization; {list} = comma-separated connector ids`},"consent.resolvedSkipped":{message:`Connector authorization skipped`,description:`Resolved banner when the user clicked Skip`},"scheduledTasks.navTitle":{message:`Scheduled Tasks`},"scheduledTasks.title":{message:`Scheduled Tasks`},"scheduledTasks.create":{message:`New`},"scheduledTasks.edit":{message:`Edit Task`},"scheduledTasks.empty":{message:`No scheduled tasks yet. Click "New" to create one.`},"scheduledTasks.noRuns":{message:`No runs yet`},"scheduledTasks.loadError":{message:`Failed to load`},"scheduledTasks.deleteConfirm":{message:`Delete "{name}"? The task will stop running.`},"scheduledTasks.viewResult":{message:`View Result`},"scheduledTasks.jitterHint":{message:`±60s jitter`},"scheduledTasks.runCount":{message:`Ran {count} time(s)`},"scheduledTasks.state.enabled":{message:`Active`},"scheduledTasks.state.disabled":{message:`Paused`},"scheduledTasks.state.error":{message:`Error`},"scheduledTasks.run.queued":{message:`Queued`},"scheduledTasks.run.running":{message:`Running`},"scheduledTasks.run.success":{message:`Success`},"scheduledTasks.run.failed":{message:`Failed`},"scheduledTasks.run.needs_user_input":{message:`Needs action`},"scheduledTasks.scheduleType.daily":{message:`Daily`},"scheduledTasks.scheduleType.hourly":{message:`Hourly`},"scheduledTasks.scheduleType.weekly":{message:`Weekly`},"scheduledTasks.scheduleType.cron":{message:`Cron expression`},"scheduledTasks.form.name":{message:`Task name`},"scheduledTasks.form.namePlaceholder":{message:`e.g. Daily news summary`},"scheduledTasks.form.model":{message:`Model`},"scheduledTasks.form.prompt":{message:`Prompt`},"scheduledTasks.form.promptPlaceholder":{message:`Enter your scheduled question or instruction. Supports {'{{date}}'}, {'{{run_count}}'}, {'{{last_output}}'} variables.`},"scheduledTasks.form.promptHint":{message:`Variables: {'{{date}}'} today, {'{{run_count}}'} run number, {'{{last_output}}'} last output snippet`},"scheduledTasks.form.schedule":{message:`Frequency`},"scheduledTasks.form.time":{message:`Time`},"scheduledTasks.form.weekday":{message:`Weekday`},"scheduledTasks.form.cron":{message:`Cron expression`},"scheduledTasks.form.required":{message:`Please fill in task name and prompt`}};export{e as default};
1
+ var e={"thinking.inProgress":{message:`Thinking...`,description:`Label displayed while the model is generating the reasoning process`},"thinking.done":{message:`Reasoning Process`,description:`Label used to collapse the display of the reasoning process after the model completes reasoning`},"button.thinkDeeper":{message:`Think Deeper`,description:`Button for deeper thinking`},"button.deepsearch":{message:`Deep Search`,description:`Button for deep search`},"button.search":{message:`Search`,description:`Search button`},"button.edit":{message:`Edit Message`,description:`Edit the sent message`},"modelGroup.chatgpt":{message:`ChatGPT`,description:`Name of the service model, i.e., GPT`},"modelGroup.chatgptDescription":{message:`AI model developed by OpenAI`,description:`Description of the ChatGPT model`},"modelGroup.deepseek":{message:`DeepSeek`,description:`Name of the service model, i.e., DeepSeek`},"modelGroup.deepseekDescription":{message:`AI model developed by DeepSeek Inc.`,description:`Description of the DeepSeek model`},"modelGroup.grok":{message:`Grok`,description:`Name of the service model, i.e., Grok`},"modelGroup.grokDescription":{message:`AI model developed by xAI`,description:`Description of the Grok model`},"modelGroup.gemini":{message:`Gemini`,description:`Name of the service model, i.e., Gemini`},"modelGroup.geminiDescription":{message:`AI model developed by Google`,description:`Description of the Gemini model group`},"modelGroup.claude":{message:`Claude`,description:`Name of the service model, i.e., Claude`},"modelGroup.claudeDescription":{message:`AI model developed by Anthropic`,description:`Description of the Claude model group`},"modelGroup.kimi":{message:`Kimi`,description:`Name of the service model, i.e., Kimi`},"modelGroup.kimiDescription":{message:`AI model developed by Dark Side of the Moon Inc.`,description:`Description of the Kimi model group`},"modelGroup.glm":{message:`GLM`,description:`Name of the service model, i.e., GLM`},"modelGroup.glmDescription":{message:`Large language model developed by Zhipu AI`,description:`Description of the GLM model group`},"model.55":{message:`gpt-5.5`,description:`Name of the service model, i.e., GPT 5.5`},"model.55Description":{message:`Latest flagship GPT 5.5 model`,description:`Description of the GPT 5.5 model`},"model.54":{message:`gpt-5.4`,description:`Name of the service model, i.e., GPT 5.4`},"model.54Description":{message:`Latest flagship GPT 5.4 model`,description:`Description of the GPT 5.4 model`},"model.54Mini":{message:`gpt-5.4-mini`,description:`Name of the service model, i.e., GPT 5.4 Mini`},"model.54MiniDescription":{message:`Faster and lighter GPT 5.4 model`,description:`Description of the GPT 5.4 Mini model`},"model.freeTag":{message:`Free`,description:`Badge shown next to free models in the model selector`},"model.deepseekChat":{message:`3.0`,description:`Name of the service model, i.e., DeepSeek Chat`},"model.deepseekChatDescription":{message:`Suitable for everyday tasks`,description:`Description of the DeepSeek Chat model`},"model.deepseekReasoner":{message:`R1`,description:`Name of the service model, i.e., DeepSeek Reasoner`},"model.deepseekReasonerDescription":{message:`Suitable for reasoning and deep thinking questions`,description:`Description of the DeepSeek Reasoner model`},"model.deepseekChat32":{message:`3.2`,description:`Name of the service model, i.e., DeepSeek V3.2 Exp`},"model.deepseekChat32Description":{message:`Latest experimental version`,description:`Description of the DeepSeek V3.2 experimental model`},"model.deepseekV4Flash":{message:`4.0`,description:`Name of the service model, i.e., DeepSeek V4 Flash`},"model.deepseekV4FlashDescription":{message:`Latest lightweight flagship, 1M context`,description:`Description of the DeepSeek V4 Flash model`},"model.grok4":{message:`grok-4`,description:`Name of the service model, i.e., Grok 4`},"model.grok4Description":{message:`Currently the most advanced model`,description:`Description of the Grok 4 model`},"model.grok3":{message:`grok-3`,description:`Name of the service model`},"model.grok3Description":{message:`Suitable for most tasks`,description:`Description of the Grok3 model`},"model.gemini30Pro":{message:`gemini-3.0-pro`,description:`Name of the service model, i.e., Gemini 3.0 Pro`},"model.gemini30ProDescription":{message:`Currently the most advanced model`,description:`Description of the Gemini 3.0 Pro model`},"model.gemini31Pro":{message:`gemini-3.1-pro`,description:`Name of the service model, i.e., Gemini 3.0 Pro`},"model.gemini31ProDescription":{message:`Currently the most advanced model`,description:`Description of the Gemini 3.0 Pro model`},"model.gemini25Pro":{message:`gemini-2.5-pro`,description:`Name of the service model, i.e., Gemini 2.5 Pro`},"model.gemini25ProDescription":{message:`Suitable for complex reasoning tasks`,description:`Description of the Gemini 2.5 Pro model`},"model.gemini25Flash":{message:`gemini-2.5-flash`,description:`Name of the service model, i.e., Gemini 2.5 Flash`},"model.gemini25FlashDescription":{message:`Faster and lighter model`,description:`Description of the Gemini 2.5 Flash model`},"model.gemini35Flash":{message:`gemini-3.5-flash`,description:`Name of the service model, i.e., Gemini 2.5 Flash`},"model.gemini35FlashDescription":{message:`Faster and lighter model`,description:`Description of the Gemini 2.5 Flash model`},"model.claudeOpus48":{message:`claude-opus-4.8`,description:`Name of the service model, i.e., Claude Opus 4.8`},"model.claudeOpus48Description":{message:`Currently the most advanced model`,description:`Description of the Claude Opus 4.8 model`},"model.claudeSonnet46":{message:`claude-sonnet-4.6`,description:`The model name of the service, which is Claude Sonnet 4.6`},"model.claudeSonnet46Description":{message:`Suitable for most tasks`,description:`Description of the Claude Sonnet 4.6 model`},"model.claudeHaiku45":{message:`claude-haiku-4.5`,description:`Name of the service model, i.e., Claude Haiku 4.5`},"model.claudeHaiku45Description":{message:`Lightweight and fast model`,description:`Description of the Claude Haiku 4.5 model`},"model.kimiK25":{message:`kimi-k2.5`,description:`Name of the service model, i.e., Kimi K2.5`},"model.kimiK25Description":{message:`Currently the most advanced model`,description:`Description of the Kimi K2.5 model`},"model.kimiK2Thinking":{message:`kimi-k2 reasoning`,description:`Name of the service model, i.e., Kimi K2 reasoning`},"model.kimiK2ThinkingDescription":{message:`Suitable for reasoning and deep thinking questions`,description:`Description of the Kimi K2 reasoning model`},"model.kimiK2ThinkingTurbo":{message:`kimi-k2 turbo reasoning`,description:`Name of the service model, i.e., Kimi K2 turbo reasoning`},"model.kimiK2ThinkingTurboDescription":{message:`Faster reasoning model`,description:`Description of the Kimi K2 turbo reasoning model`},"model.glm51":{message:`glm-5.1`,description:`Name of the service model, i.e., GLM 5.1`},"model.glm51Description":{message:`Latest flagship model from Zhipu`,description:`Description of the GLM 5.1 model`},"model.glm47":{message:`glm-4.7`,description:`Name of the service model, i.e., GLM 4.7`},"model.glm47Description":{message:`Balanced performance and cost`,description:`Description of the GLM 4.7 model`},"message.startNewChat":{message:`Start new conversation`,description:`Message on the webpage informing the user to start a new conversation`},"message.uploadFile":{message:`Upload file`,description:`Message on the webpage informing the user to upload a file`},"message.noToken":{message:`Please apply for the relevant service first`,description:`Message on the webpage informing the user to apply for the relevant service first`},"message.newMessagePlaceholder":{message:`Please enter your question...`,description:`Placeholder on the webpage informing the user to enter a question`},"message.noInput":{message:`Question cannot be empty`,description:`Message on the webpage informing the user that the question cannot be empty`},"message.uploadReferencesExceed":{message:`You can upload a maximum of 1 file`,description:`Message on the webpage informing the user that they can upload a maximum of 1 file`},"message.uploadReferencesError":{message:`File upload failed, please try again later`,description:`Message on the webpage informing the user that the file upload failed, please try again later`},"message.notApplied":{message:`You have not applied for this service, please apply first`,description:`Message on the webpage informing the user that they have not applied for this service, please apply first`},"message.tryForFree":{message:`Try for free`,description:`Message on the webpage informing the user about a free trial`},"message.question1":{message:`Create a training plan`,description:`Example question to start a conversation, asking the user to write a JavaScript code that outputs Hello World`},"message.question2":{message:`Make a personal webpage`,description:`Example question to start a conversation, asking the user to write an email to Mike informing him that they just moved`},"message.question3":{message:`Design an interesting programming game`,description:`Example question to start a conversation, asking the user to explain the basic principles of quantum computing in simple terms`},"message.question4":{message:`Experience Seoul like a local`,description:`Example question to start a conversation, asking the user to explain the impact of virtual reality on artistic creation`},"message.question5":{message:`Which is larger, 9.8 or 9.11?`,description:`Example question to start a conversation, asking to compare the sizes of two numbers`},"message.question6":{message:`What impact does AI have on the future?`,description:`Example question to start a conversation, asking about the impact of AI on the future`},"message.question7":{message:`How to improve learning efficiency?`,description:`Example question to start a conversation, asking how to improve one's learning efficiency`},"message.question8":{message:`How to improve concentration?`,description:`Example question to start a conversation, asking how to improve one's concentration`},"message.errorApiError":{message:`Response failed, please try again later`,description:`Message on the webpage informing the user that the response failed, please try again later`},"message.errorBadRequest":{message:`Request content is not valid, please rephrase your question`,description:`Message on the webpage informing the user that the request content is not valid, please rephrase your question`},"message.errorNoConversation":{message:`Conversation does not exist or has expired, please start a new conversation`,description:`Message on the webpage informing the user that the conversation does not exist or has expired, please start a new conversation`},"message.errorContentTooLarge":{message:`Question content is too long, please shorten it and try again`,description:`Message on the webpage informing the user that the question content is too long, please shorten it and try again`},"message.errorTooManyRequests":{message:`Your requests are too frequent, please try again later`,description:`Message in the webpage informing the user that their requests are too frequent and to try again later`},"message.errorBusy":{message:`Server is busy, please try again later.`,description:`Message on the webpage informing the user that the server is busy and to try again later.`},"message.errorUsedUp":{message:`You have used up your package quota, please purchase more to continue using.`,description:`Message on the webpage informing the user that they have used up their package quota and need to purchase more to continue.`},"message.errorUnknown":{message:`An unknown error occurred on the server, please try again later or contact support.`,description:`Message on the webpage informing the user that an unknown error occurred on the server and to try again later or contact support.`},"message.errorTimeout":{message:`Response timed out, please try again later.`,description:`Message on the webpage informing the user that the response timed out and to try again later.`},"message.errorNotApplied":{message:`You have not applied for this service, please apply first before continuing to ask questions.`,description:`Message on the webpage informing the user that they have not applied for the service and need to apply first before continuing.`},"message.confirmDelete":{message:`Confirm deletion`,description:`Message on the webpage asking the user to confirm deletion.`},"message.howToUse":{message:`AI may make mistakes, please verify important information.`,description:`Message on the webpage informing the user that AI may make mistakes and to verify important information.`},"title.chat":{message:`AI Chat`,description:`Title of the webpage, which is AI Chat.`},"title.example":{message:`Example`,description:`Title of the webpage, which is Example.`},"title.capabilities":{message:`Capabilities`,description:`Title of the webpage, which is Capabilities.`},"title.limitations":{message:`Limitations`,description:`Title on the webpage indicating that this section is about the technical limitations of the service.`},"title.complexQuestion":{message:`Answering Complex Questions`,description:`Title on the webpage indicating that this section is about the service's ability to answer complex questions.`},"title.professionalQuestion":{message:`Consulting Professional Questions`,description:`Title on the webpage indicating that this section is about the service's ability to consult on professional questions.`},"title.getTips":{message:`Get Inspiration and Ideas`,description:`Title on the webpage indicating that this section is about the service's ability to provide inspiration and ideas.`},"group.today":{message:`Today`,description:`Group name on the webpage, which is Today.`},"group.yesterday":{message:`Yesterday`,description:`Group name on the webpage, which is Yesterday.`},"group.thisWeek":{message:`This Week`,description:`Group name on the webpage, which is This Week.`},"group.earlier":{message:`Earlier`,description:`Group name on the webpage, which is Earlier.`},"connections.tooltip":{message:`Connection Management`,description:`Tooltip for the button that redirects to the auth.acedata.cloud connection management page.`},"skill.tooltip":{message:`Skill Management`,description:`Tooltip for the button that redirects to the auth.acedata.cloud skill management page.`},"composer.addAction":{message:`Add Content`,description:`Tooltip for the plus button below the input box, which expands to upload files, open skills, or manage connections.`},"composer.addFiles":{message:`Add Photos or Files`,description:`Item in the popup menu of the plus button: upload images or files.`},"composer.skills":{message:`Skills`,description:`Item in the popup menu of the plus button: open skill management.`},"composer.connections":{message:`Connections`,description:`Item in the popup menu of the plus button: open connection management.`},"agent.title":{message:`Desktop Agent`,description:`Title of the agent management dialog.`},"agent.tooltip":{message:`Desktop Agent`,description:`Tooltip for the agent button.`},"agent.connected":{message:`Connected`,description:`Status indicating the agent is connected.`},"agent.notConnected":{message:`Not Connected`,description:`Status indicating the agent is not connected.`},"agent.description":{message:`Connect the desktop agent to access local files, run commands, and use the local MCP server in AI conversations.`,description:`Description of the agent.`},"agent.name":{message:`Agent Name`,description:`Label for the agent name.`},"agent.tools":{message:`Available Tools`,description:`Label for the number of agent tools.`},"agent.connectedSince":{message:`Connected Since`,description:`Label for the agent connection time.`},"agent.connectedHint":{message:`Your desktop agent is connected and ready to use.`,description:`Hint indicating the agent is connected.`},"agent.installLabel":{message:`Install Desktop Agent:`,description:`Installation instruction label`},"agent.runLabel":{message:`Run Agent:`,description:`Label for the run instruction`},"askUserQuestion.submit":{message:`Submit`,description:`Submit button for the last question in the ask-user-question wizard`},"askUserQuestion.next":{message:`Next Question`,description:`Advance to the next question in the ask-user-question wizard`},"askUserQuestion.back":{message:`Previous Question`,description:`Go back to the previous question in the ask-user-question wizard`},"askUserQuestion.skipAll":{message:`Skip All`,description:`Skip the entire ask-user-question wizard, allowing the model to continue without answers`},"askUserQuestion.other":{message:`Other`,description:`Pseudo-option; selecting this will expand a custom text input box for the question`},"askUserQuestion.otherDesc":{message:`Enter your own answer`,description:`Helper text below the other option`},"askUserQuestion.placeholder":{message:`Please enter your answer…`,description:`Placeholder text for the custom answer input box for each question`},"askUserQuestion.multiSelectHint":{message:`Select one or more options`,description:`Hint displayed when multiple choice questions are supported`},"askUserQuestion.collapsedAnswerLabel":{message:`Your Answer`,description:`Fallback text when a specific answer cannot be extracted from historical output`},"consent.title":{message:`Connector authorization needed`,description:`Title of the connector consent card`},"consent.matchAny":{message:`Authorize any of these`,description:`Label: any one of the listed connectors satisfies this requirement`},"consent.matchAll":{message:`Authorize all of these`,description:`Label: every listed connector must be authorized`},"consent.authorize":{message:`Authorize`,description:`Authorize button; opens the third-party OAuth flow`},"consent.skip":{message:`Skip`,description:`Skip button; continue without authorizing any connector`},"consent.continue":{message:`Continue`,description:`Continue button shown after we detect (post-OAuth) that the connector is now connected; submitting authorizes it.`},"consent.selectScopes":{message:`Select {provider} Authorization Scopes`,description:`Title of the scope picker dialog opened from the consent card; {provider} is the upstream provider name (e.g. Gmail).`},"consent.selectScopesHint":{message:`Select the permissions you wish to authorize. Multiple selections are allowed; by default, only basic login information is granted.`,description:`Body copy explaining that the user can opt out of specific scopes; rendered above the checkbox group.`},"consent.installFailed":{message:`Authorization failed. Please try again.`,description:`Toast shown when the AuthBackend install endpoint returns an error from the consent card.`},"consent.statusConnected":{message:`Connected`,description:`Pill badge for already-connected connectors`},"consent.statusUnconnected":{message:`Unavailable`,description:`Pill badge for unconnected connectors with no install URL`},"consent.resolvedAuthorized":{message:`Authorized: {list}`,description:`Resolved banner after authorization; {list} = comma-separated connector ids`},"consent.resolvedSkipped":{message:`Connector authorization skipped`,description:`Resolved banner when the user clicked Skip`},"scheduledTasks.navTitle":{message:`Scheduled Tasks`},"scheduledTasks.title":{message:`Scheduled Tasks`},"scheduledTasks.create":{message:`New`},"scheduledTasks.edit":{message:`Edit Task`},"scheduledTasks.empty":{message:`No scheduled tasks yet. Click "New" to create one.`},"scheduledTasks.noRuns":{message:`No runs yet`},"scheduledTasks.loadError":{message:`Failed to load`},"scheduledTasks.deleteConfirm":{message:`Delete "{name}"? The task will stop running.`},"scheduledTasks.viewResult":{message:`View Result`},"scheduledTasks.noConversation":{message:`No conversation`},"scheduledTasks.jitterHint":{message:`±60s jitter`},"scheduledTasks.runCount":{message:`Ran {count} time(s)`},"scheduledTasks.state.enabled":{message:`Active`},"scheduledTasks.state.disabled":{message:`Paused`},"scheduledTasks.state.error":{message:`Error`},"scheduledTasks.run.queued":{message:`Queued`},"scheduledTasks.run.running":{message:`Running`},"scheduledTasks.run.success":{message:`Success`},"scheduledTasks.run.failed":{message:`Failed`},"scheduledTasks.run.needs_user_input":{message:`Needs action`},"scheduledTasks.scheduleType.daily":{message:`Daily`},"scheduledTasks.scheduleType.hourly":{message:`Hourly`},"scheduledTasks.scheduleType.weekly":{message:`Weekly`},"scheduledTasks.scheduleType.cron":{message:`Cron expression`},"scheduledTasks.form.name":{message:`Task name`},"scheduledTasks.form.namePlaceholder":{message:`e.g. Daily news summary`},"scheduledTasks.form.model":{message:`Model`},"scheduledTasks.form.prompt":{message:`Prompt`},"scheduledTasks.form.promptPlaceholder":{message:`Enter your scheduled question or instruction. Supports {'{{date}}'}, {'{{run_count}}'}, {'{{last_output}}'} variables.`},"scheduledTasks.form.promptHint":{message:`Variables: {'{{date}}'} today, {'{{run_count}}'} run number, {'{{last_output}}'} last output snippet`},"scheduledTasks.form.schedule":{message:`Frequency`},"scheduledTasks.form.time":{message:`Time`},"scheduledTasks.form.weekday":{message:`Weekday`},"scheduledTasks.form.cron":{message:`Cron expression`},"scheduledTasks.form.required":{message:`Please fill in task name and prompt`}};export{e as default};
@@ -0,0 +1,2 @@
1
+ import{A as e,B as t,C as n,D as r,E as i,F as a,H as o,I as s,L as c,M as l,N as u,O as d,P as f,R as p,S as m,T as h,V as g,Yi as _,_ as v,a as y,b,c as x,d as S,f as C,g as w,h as ee,i as te,j as ne,k as re,l as ie,m as ae,n as oe,o as T,p as E,r as D,s as O,t as k,u as A,v as j,w as M,x as N,y as P,z as F}from"./constants-C0JMy8iD.js";import{Ar as I,Ir as L,Kn as R,Rr as z,Zt as B}from"./index-CLtyZDwQ.js";import{a as se,i as V,n as H,o as U,r as W}from"./codingBridgeNotify-CplWWO8B.js";var G=()=>typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID().replace(/-/g,``):`${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`,K=()=>{try{return typeof localStorage<`u`&&localStorage.getItem(`cbDebug`)===`1`}catch{return!1}},q=(e,t)=>{if(!K())return;let n=t?.payload??{};console.debug(`[codingBridge]`,e,{type:t?.type,id:t?.id,node_id:t?.node_id??t?.from_node,action:n?.action,event:n?.event,session_id:n?.session_id,trace_id:n?.trace_id})},ce=class{ws;token;handlers;reconnectDelay=o;reconnectTimer;closedByUser=!1;constructor(e,t){this.token=e,this.handlers=t}get isOpen(){return this.ws?.readyState===WebSocket.OPEN}connect(){this.closedByUser=!1,this.open()}open(){if(this.ws&&(this.ws.readyState===WebSocket.OPEN||this.ws.readyState===WebSocket.CONNECTING))return;let e=`${_}?token=${encodeURIComponent(this.token)}`,t;try{t=new WebSocket(e)}catch(e){console.warn(`[codingBridge] failed to open socket`,e),this.scheduleReconnect();return}this.ws=t,t.onopen=()=>{this.reconnectDelay=o,this.handlers.onOpen?.()},t.onmessage=e=>this.onMessage(e),t.onclose=()=>{this.handlers.onClose?.(),this.closedByUser||this.scheduleReconnect()},t.onerror=()=>{t.close()}}onMessage(e){let n;try{n=JSON.parse(e.data)}catch{return}let r=n?.payload??{};switch(q(`recv`,n),n?.type){case t:this.handlers.onEvent?.(r,n?.from_node);break;case p:this.handlers.onNodesSnapshot?.(r.nodes??[]);break;case F:this.handlers.onNodeStatus?.(r.node_id,r.status);break;case w:this.handlers.onRelayError?.(r.code??`error`,r.message??``);break;default:break}}scheduleReconnect(){if(this.closedByUser||this.reconnectTimer)return;let e=this.reconnectDelay;this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.open()},e),this.reconnectDelay=Math.min(this.reconnectDelay*2,g)}sendEnvelope(e,t){if(!this.isOpen)return;let n={v:2,id:G(),ts:Date.now(),type:e,...t};q(`send`,n),this.ws?.send(JSON.stringify(n))}sendToNode(e,t){this.sendEnvelope(ee,{node_id:e,payload:t})}listNodes(){this.sendEnvelope(E,{})}resume(e){this.sendEnvelope(ae,{payload:{resume_from:e}})}close(){if(this.closedByUser=!0,this.reconnectTimer&&=(clearTimeout(this.reconnectTimer),void 0),this.ws){this.ws.onclose=null,this.ws.onerror=null,this.ws.onmessage=null,this.ws.onopen=null;try{this.ws.close()}catch{}this.ws=void 0}}},J,Y=()=>typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID().replace(/-/g,``):`${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`,X=(e,t,n)=>({id:Y(),session_id:e,kind:t,ts:Date.now(),...n}),Z=e=>{try{let t=JSON.parse(e);if(t&&typeof t==`object`)return t}catch{}return{answers:{}}},le=e=>{let t=Z(e).answers??{};return Object.entries(t).map(([e,t])=>`${e} → ${Array.isArray(t)?t.join(`, `):t}`).join(`
2
+ `)},ue=(e,t)=>{H({title:`Approval needed`,body:`Claude wants to use ${t.tool||`a tool`}. Tap to review.`,data:t},t=>{t.node_id&&e(`selectNode`,t.node_id)})},Q=(t,o,p,g,_)=>{let y=g?.event,x=g?.session_id,S=g?.trace_id,C=g?.seq;if(typeof C==`number`&&x){let e=p.lastSeq[x];if(e!==void 0&&C<=e)return;t(`setLastSeq`,{session_id:x,seq:C})}switch(x&&S&&t(`updateSession`,{session_id:x,trace_id:S}),y){case ne:t(`upsertSession`,{session_id:x,node_id:_,status:`running`,cwd:g.cwd,model:g.model,...g.effort===void 0?{}:{effort:g.effort},...g.permission_mode===void 0?{}:{permission_mode:g.permission_mode},trace_id:S});break;case r:{let e=g.sdk_session_id;x&&e&&e!==x&&t(`renameSession`,{from:x,to:e});break}case f:{let e=g.id;e&&p.events[x]?.find(t=>t.kind===`text`&&t.stream_id===e)?t(`appendDelta`,{session_id:x,stream_id:e,text:g.text??``}):t(`appendEvent`,X(x,`text`,{text:g.text??``,stream_id:e,streaming:!0,trace_id:S}));break}case u:{let e=g.id;e&&p.events[x]?.find(t=>t.kind===`text`&&t.stream_id===e)?t(`finalizeStream`,{session_id:x,stream_id:e,text:g.text}):t(`appendEvent`,X(x,`text`,{text:g.text,trace_id:S}));break}case a:t(`appendEvent`,X(x,`thinking`,{text:g.text,trace_id:S}));break;case c:t(`appendEvent`,X(x,`tool_use`,{tool:g.tool,tool_use_id:g.tool_use_id,input:g.input,trace_id:S}));break;case s:t(`appendEvent`,X(x,`tool_result`,{tool_use_id:g.tool_use_id,content:g.content,is_error:g.is_error,trace_id:S}));break;case m:t(`addPermission`,{request_id:g.request_id,session_id:x,node_id:_,tool:g.tool,input:g.input,title:g.title,display_name:g.display_name,description:g.description}),ue(o,{node_id:_,session_id:x,request_id:g.request_id,tool:g.display_name||g.title||g.tool});break;case N:for(let e of g.requests??[])t(`addPermission`,{request_id:e.request_id,session_id:e.session_id,node_id:_,tool:e.tool,input:e.input,title:e.title,display_name:e.display_name,description:e.description});break;case n:t(`removePermission`,g.request_id);break;case re:t(`finalizeAllStreams`,{session_id:x}),t(`appendEvent`,X(x,`result`,{subtype:g.subtype,is_error:g.is_error,text:g.result,cost_usd:g.cost_usd,cut_uuid:g.cut_uuid,sdk_session_id:g.sdk_session_id,trace_id:S})),t(`updateSession`,{session_id:x,status:`idle`,cost_usd:g.cost_usd});break;case d:t(`appendEvent`,X(x,`notice`,{text:g.text,subtype:g.code,command:g.command,level:g.level}));break;case i:t(`finalizeAllStreams`,{session_id:x}),t(`appendEvent`,X(x,`error`,{text:g.message,trace_id:S})),t(`updateSession`,{session_id:x,status:`error`}),t(`updateStatus`,{key:`getHistoryDetail`,value:I.Success});break;case h:t(`finalizeAllStreams`,{session_id:x}),t(`updateSession`,{session_id:x,status:`closed`});break;case e:t(`rewindToCut`,{session_id:x,cut_uuid:g.cut_uuid}),g.prompt&&t(`appendEvent`,X(x,`prompt`,{text:g.prompt,trace_id:S})),t(`updateSession`,{session_id:x,status:`running`});break;case l:o(`resyncSession`,x);break;case M:for(let e of g.sessions??[])t(`upsertSession`,{session_id:e.session_id,node_id:_,status:e.status??`running`,started:!0,cwd:e.cwd,model:e.model,...e.effort===void 0?{}:{effort:e.effort},...e.permission_mode===void 0?{}:{permission_mode:e.permission_mode}});break;case b:if(_){t(`setHistory`,{node_id:_,sessions:g.sessions??[]}),t(`updateStatus`,{key:`getHistory`,value:I.Success});let e=p.historyRef;e&&e.node_id===_&&!p.currentSessionId&&o(`reattachSession`,e)}break;case P:de(t,p,g,_),t(`updateStatus`,{key:`getHistoryDetail`,value:I.Success});break;case j:t(`setDirectory`,{path:g.path,parent:g.parent??null,sep:g.sep??`/`,entries:g.entries??[],truncated:g.truncated,error:g.error});break;case v:_&&t(`setCapabilities`,{node_id:_,capabilities:{providers:g.providers??[]}});break;default:break}},de=(e,t,n,r)=>{let i=n?.session_id,a=fe(n?.provider);if(!i||!r)return;let o=a===`claude`||a===`codex`||a===`copilot`,s=t.sessions[i],c=!!s&&(s.started===!0||s.status===`running`||s.status===`starting`),l=t.lastComposer?.[r]??{};e(`upsertSession`,{session_id:i,node_id:r,status:c?s.status:`idle`,cwd:n.cwd??s?.cwd??l.cwd,model:n.model??s?.model??l.model,effort:n.effort??s?.effort??l.effort,permission_mode:n.permission_mode??s?.permission_mode??l.permissionMode,provider:a,started:!!c,readonly:!o&&!c});let u=t.events[i]?.length??0,d=(n.events??[]).length,f=s?.status===`running`||s?.status===`starting`;c&&u>0&&(f||u>=d)||e(`setEvents`,{session_id:i,events:(n.events??[]).map((e,t)=>({id:Y(),session_id:i,kind:e.kind,ts:typeof e.ts==`number`?e.ts:Date.now()+t,text:e.text,tool:e.tool,tool_use_id:e.tool_use_id,input:e.input,content:e.content,is_error:e.is_error,subtype:e.subtype,cost_usd:e.cost_usd}))}),e(`setCurrentNode`,r),e(`setCurrentSession`,i),e(`setHistoryRef`,{node_id:r,provider:a,session_id:i})},fe=e=>e===`codex`||e===`copilot`?e:`claude`,$={namespaced:!0,state:R,mutations:{resetAll:e=>{Object.assign(e,R())},updateStatus:(e,t)=>{e.status[t.key]=t.value},setConnection:(e,t)=>{e.connection=t},setNodes:(e,t)=>{e.nodes=t},mergeNodeSnapshot:(e,t)=>{let n=new Set(t.map(e=>e.node_id));for(let t of e.nodes)t.status=n.has(t.node_id)?`online`:`offline`;for(let n of t)e.nodes.some(e=>e.node_id===n.node_id)||e.nodes.push({...n,status:`online`})},setNodeStatus:(e,t)=>{let n=e.nodes.find(e=>e.node_id===t.node_id);n&&(n.status=t.status)},setCurrentNode:(e,t)=>{e.currentNodeId=t},setCurrentSession:(e,t)=>{e.currentSessionId=t},upsertSession:(e,t)=>{e.sessions[t.session_id]={...e.sessions[t.session_id],...t},e.events[t.session_id]||(e.events[t.session_id]=[])},updateSession:(e,t)=>{let n=e.sessions[t.session_id];n&&(e.sessions[t.session_id]={...n,...t})},renameSession:(e,t)=>{let{from:n,to:r}=t;if(n===r||!e.sessions[n])return;e.sessions[r]={...e.sessions[r],...e.sessions[n],session_id:r},delete e.sessions[n];let i=e.events[n];i&&(i.length||!e.events[r]?.length)&&(e.events[r]=i),delete e.events[n],delete e.lastSeq[n],e.lastSeq[r]=0;for(let t of e.permissions)t.session_id===n&&(t.session_id=r);e.currentSessionId===n&&(e.currentSessionId=r),e.historyRef?.session_id===n&&(e.historyRef={...e.historyRef,session_id:r})},appendEvent:(e,t)=>{e.events[t.session_id]||(e.events[t.session_id]=[]),e.events[t.session_id].push(t)},truncateEventsBefore:(e,t)=>{let n=e.events[t.session_id];if(!n)return;let r=n.findIndex(e=>e.id===t.event_id);r>=0&&(e.events[t.session_id]=n.slice(0,r))},rewindToCut:(e,t)=>{let n=e.events[t.session_id];if(!n)return;if(!t.cut_uuid){e.events[t.session_id]=[];return}let r=n.findIndex(e=>e.kind===`result`&&e.cut_uuid===t.cut_uuid);r>=0&&(e.events[t.session_id]=n.slice(0,r+1))},setLastSeq:(e,t)=>{let n=e.lastSeq[t.session_id]??0;t.seq>n&&(e.lastSeq[t.session_id]=t.seq)},appendDelta:(e,t)=>{let n=e.events[t.session_id];if(!n)return;let r=n.find(e=>e.kind===`text`&&e.stream_id===t.stream_id);r&&(r.text=(r.text??``)+(t.text??``))},finalizeStream:(e,t)=>{let n=e.events[t.session_id];if(!n)return;let r=n.find(e=>e.kind===`text`&&e.stream_id===t.stream_id);r&&(typeof t.text==`string`&&(r.text=t.text),r.streaming=!1)},finalizeAllStreams:(e,t)=>{let n=e.events[t.session_id];if(n)for(let e of n)e.streaming&&=!1},setEvents:(e,t)=>{e.events[t.session_id]=t.events},setHistory:(e,t)=>{e.history[t.node_id]=t.sessions},setHistoryRef:(e,t)=>{e.historyRef=t},setDirectory:(e,t)=>{e.directory=t,e.directoryLoading=!1},setDirectoryLoading:(e,t)=>{e.directoryLoading=t},setLastComposer:(e,t)=>{e.lastComposer={...e.lastComposer,[t.node_id]:{...e.lastComposer[t.node_id],...t.prefs}}},setCapabilities:(e,t)=>{e.capabilities[t.node_id]=t.capabilities},addPermission:(e,t)=>{e.permissions.some(e=>e.request_id===t.request_id)||e.permissions.push(t)},removePermission:(e,t)=>{e.permissions=e.permissions.filter(e=>e.request_id!==t)},removeNodeData:(e,t)=>{delete e.history[t],delete e.capabilities[t],e.historyRef?.node_id===t&&(e.historyRef=void 0);for(let n of Object.values(e.sessions))n.node_id===t&&(delete e.sessions[n.session_id],delete e.events[n.session_id],delete e.lastSeq[n.session_id],e.currentSessionId===n.session_id&&(e.currentSessionId=void 0))}},actions:{resetAll:({commit:e})=>{e(`resetAll`)},getApplications:async()=>{},setApplication:async()=>{},getNodes:async({commit:e,rootState:t})=>{let n=t.token?.access;if(!n)return[];e(`updateStatus`,{key:`getNodes`,value:I.Request});try{let{data:t}=await B.getNodes({token:n});return e(`setNodes`,t.nodes??[]),e(`updateStatus`,{key:`getNodes`,value:I.Success}),t.nodes??[]}catch(t){throw e(`updateStatus`,{key:`getNodes`,value:I.Error}),t}},claimPair:async({commit:e,dispatch:t,rootState:n},r)=>{let i=n.token?.access;if(!i)throw Error(`not authenticated`);e(`updateStatus`,{key:`claimPair`,value:I.Request});try{let{data:n}=await B.claimPair(r.trim(),{token:i});return e(`updateStatus`,{key:`claimPair`,value:I.Success}),await t(`getNodes`),n.node_name}catch(t){throw e(`updateStatus`,{key:`claimPair`,value:I.Error}),t}},deleteNode:async({commit:e,dispatch:t,state:n,rootState:r},i)=>{let a=r.token?.access;if(!a)throw Error(`not authenticated`);e(`updateStatus`,{key:`deleteNode`,value:I.Request});try{await B.deleteNode(i,{token:a}),e(`removeNodeData`,i),n.currentNodeId===i&&(e(`setCurrentNode`,void 0),e(`setCurrentSession`,void 0)),e(`updateStatus`,{key:`deleteNode`,value:I.Success}),await t(`getNodes`)}catch(t){throw e(`updateStatus`,{key:`deleteNode`,value:I.Error}),t}},connect:({commit:e,dispatch:t,state:n,rootState:r})=>{let i=r.token?.access;i&&(J?.isOpen||(J?.close(),e(`setConnection`,`connecting`),J=new ce(i,{onOpen:()=>{e(`setConnection`,`connected`);let r={...n.lastSeq};Object.keys(r).length&&J?.resume(r),n.currentNodeId&&(t(`getHistory`,n.currentNodeId),t(`getCapabilities`,n.currentNodeId),t(`requestSessions`,n.currentNodeId),t(`requestPendingPermissions`,n.currentNodeId))},onClose:()=>e(`setConnection`,`disconnected`),onEvent:(r,i)=>Q(e,t,n,r,i),onNodesSnapshot:t=>{e(`mergeNodeSnapshot`,t)},onNodeStatus:(r,i)=>{e(`setNodeStatus`,{node_id:r,status:i}),i===`online`&&r===n.currentNodeId&&(t(`getHistory`,r),t(`getCapabilities`,r),t(`requestSessions`,r),t(`requestPendingPermissions`,r))},onRelayError:(e,t)=>console.warn(`[codingBridge] relay error`,e,t)}),J.connect()))},disconnect:({commit:e})=>{J?.close(),J=void 0,e(`setConnection`,`disconnected`)},selectNode:({commit:e,dispatch:t,state:n},r)=>{if(e(`setCurrentNode`,r),!r){e(`setCurrentSession`,void 0);return}let i=Object.values(n.sessions).filter(e=>e.node_id===r).map(e=>e.session_id);e(`setCurrentSession`,i.length?i[i.length-1]:void 0),t(`getHistory`,r),t(`getCapabilities`,r),t(`requestSessions`,r),t(`requestPendingPermissions`,r)},requestSessions:({state:e},t)=>{let n=t??e.currentNodeId;!n||!J||J.sendToNode(n,{action:O})},requestPendingPermissions:({state:e},t)=>{let n=t??e.currentNodeId;!n||!J||J.sendToNode(n,{action:y})},enableNotifications:async({dispatch:e,rootState:t})=>{let n=t.token?.access;if(!n)return`unsupported`;if(z()){let t=await W(t=>{t?.node_id&&(e(`selectNode`,t.node_id),e(`requestPendingPermissions`,t.node_id))});return t?(await B.savePushSubscription({kind:L()?`apns`:`fcm`,token:t,ua:navigator.userAgent},{token:n}),`enabled`):`denied`}let r=await V();if(r===`unsupported`)return`unsupported`;if(r!==`granted`)return`denied`;try{let{data:e}=await B.getPushConfig();if(e.web_push_enabled&&e.vapid_public_key){let t=await se(e.vapid_public_key);t&&await B.savePushSubscription({kind:`webpush`,subscription:t,ua:navigator.userAgent},{token:n})}}catch(e){console.warn(`[codingBridge] web push setup skipped`,e)}return`enabled`},disableNotifications:async({rootState:e})=>{let t=e.token?.access;if(z()||!t)return;let n=await U();if(n)try{await B.deletePushSubscription({endpoint:n},{token:t})}catch(e){console.warn(`[codingBridge] failed to deregister web push`,e)}},newSession:({commit:e})=>{e(`setCurrentSession`,void 0),e(`setHistoryRef`,void 0)},sendPrompt:({commit:e,state:t},n)=>{let r=t.currentNodeId,i=n.prompt?.trim(),a=n.images?.length?n.images:void 0,o=n.attachments?.length?n.attachments:void 0;if(!r||!J||!i&&!a&&!o)return;let s=Y(),c=t.currentSessionId,l=c?t.sessions[c]:void 0;if(!l||!l.started){let t=l?.provider||n.provider||`claude`;l?(c=l.session_id,e(`updateSession`,{session_id:c,status:`starting`,trace_id:s,...n.cwd?{cwd:n.cwd}:{},...n.model===void 0?{}:{model:n.model},...n.effort===void 0?{}:{effort:n.effort},...n.permissionMode===void 0?{}:{permission_mode:n.permissionMode}})):(c=Y(),e(`upsertSession`,{session_id:c,node_id:r,status:`starting`,cwd:n.cwd,model:n.model,effort:n.effort,permission_mode:n.permissionMode,provider:t,trace_id:s}),e(`setCurrentSession`,c),e(`setHistoryRef`,{node_id:r,provider:t,session_id:c})),e(`appendEvent`,X(c,`prompt`,{text:i,images:a,attachments:o,trace_id:s})),e(`updateSession`,{session_id:c,started:!0}),J.sendToNode(r,{action:C,session_id:c,trace_id:s,prompt:i,cwd:n.cwd||l?.cwd||void 0,model:n.model||l?.model||void 0,permission_mode:n.permissionMode||`bypassPermissions`,provider:t,effort:n.effort||void 0,images:a,attachments:o,resume_session_id:l?.session_id||void 0})}else e(`updateSession`,{session_id:c,trace_id:s}),e(`appendEvent`,X(c,`prompt`,{text:i,images:a,attachments:o,trace_id:s})),e(`updateSession`,{session_id:c,status:`running`,model:n.model||void 0,...n.effort===void 0?{}:{effort:n.effort},...n.permissionMode===void 0?{}:{permission_mode:n.permissionMode}}),J.sendToNode(r,{action:S,session_id:c,trace_id:s,prompt:i,model:n.model??``,...n.effort===void 0?{}:{effort:n.effort},...n.permissionMode===void 0?{}:{permission_mode:n.permissionMode},images:a,attachments:o})},editPrompt:({commit:e,state:t},n)=>{let r=t.currentNodeId,i=t.currentSessionId,a=n.prompt?.trim();if(!r||!i||!J||!a)return;let o=t.sessions[i],s=t.events[i]??[],c=s.findIndex(e=>e.id===n.eventId);if(!o||c<0)return;let l;for(let e=c-1;e>=0;e--)if(s[e].kind===`result`&&s[e].cut_uuid){l=s[e].cut_uuid;break}let u=n.images?.length?n.images:void 0,d=n.attachments?.length?n.attachments:void 0,f=Y();e(`truncateEventsBefore`,{session_id:i,event_id:n.eventId}),e(`updateSession`,{session_id:i,status:`running`,trace_id:f,model:n.model||o.model||void 0,...n.effort===void 0?{}:{effort:n.effort},...n.permissionMode===void 0?{}:{permission_mode:n.permissionMode}}),e(`appendEvent`,X(i,`prompt`,{text:a,images:u,attachments:d,trace_id:f})),J.sendToNode(r,{action:ie,session_id:i,trace_id:f,cut_uuid:l,prompt:a,model:n.model||o.model||void 0,permission_mode:n.permissionMode||void 0,effort:n.effort||void 0,images:u,attachments:d,restore_code:!!n.restoreCode})},retryLastPrompt:({commit:e,dispatch:t,state:n})=>{let r=n.currentSessionId;if(!r)return;let i=n.sessions[r],a=[...n.events[r]??[]].reverse().find(e=>e.kind===`prompt`);!i||!a||(e(`updateSession`,{session_id:r,started:!1}),t(`sendPrompt`,{prompt:a.text??``,cwd:i.cwd,model:i.model,provider:i.provider,images:a.images,attachments:a.attachments}))},interruptSession:({state:e})=>{let t=e.currentSessionId,n=e.currentNodeId;!t||!n||!J||J.sendToNode(n,{action:A,session_id:t})},closeSession:({commit:e,state:t},n)=>{let r=n??t.currentSessionId;if(!r)return;let i=t.sessions[r]?.node_id??t.currentNodeId;i&&J&&J.sendToNode(i,{action:x,session_id:r}),e(`updateSession`,{session_id:r,status:`closed`}),t.currentSessionId===r&&e(`setCurrentSession`,void 0)},resolvePermission:({commit:e,state:t},n)=>{let r=t.permissions.find(e=>e.request_id===n.request_id);r&&(J?.sendToNode(r.node_id,{action:T,request_id:n.request_id,decision:n.decision}),e(`removePermission`,n.request_id))},answerQuestion:({commit:e,state:t},n)=>{let r=t.permissions.find(e=>e.request_id===n.request_id);r&&(J?.sendToNode(r.node_id,{action:T,request_id:n.request_id,decision:`allow`,answer:Z(n.output),answer_text:le(n.output)}),e(`removePermission`,n.request_id))},getHistory:({commit:e,state:t},n)=>{let r=n??t.currentNodeId;!r||!J||(e(`updateStatus`,{key:`getHistory`,value:I.Request}),J.sendToNode(r,{action:te,limit:200}))},getHistoryDetail:({commit:e},t)=>{!t?.node_id||!t?.session_id||!J||(e(`updateStatus`,{key:`getHistoryDetail`,value:I.Request}),J.sendToNode(t.node_id,{action:D,provider:t.provider,session_id:t.session_id}),setTimeout(()=>e(`updateStatus`,{key:`getHistoryDetail`,value:I.Success}),12e3))},reattachSession:({state:e,commit:t,dispatch:n},r)=>{!r?.node_id||!r?.session_id||(t(`setCurrentNode`,r.node_id),t(`setCurrentSession`,r.session_id),n(`getHistoryDetail`,r),n(`requestSessions`,r.node_id),n(`requestPendingPermissions`,r.node_id),J?.resume({[r.session_id]:e.lastSeq[r.session_id]??0}))},resyncSession:({state:e,dispatch:t},n)=>{let r=e.sessions[n];r?.node_id&&t(`getHistoryDetail`,{node_id:r.node_id,session_id:n,provider:r.provider??`claude`})},browseDir:({commit:e,state:t},n)=>{let r=t.currentNodeId;!r||!J||(e(`setDirectoryLoading`,!0),J.sendToNode(r,{action:oe,path:n||void 0}))},clearDirectory:({commit:e})=>{e(`setDirectory`,void 0)},getCapabilities:({state:e},t)=>{let n=t??e.currentNodeId;!n||!J||J.sendToNode(n,{action:k})}}};export{$ as codingBridge,$ as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esm-Q57Ev_Ig.js","assets/index-BwjtEnD7.js","assets/rolldown-runtime--c01j_DQ.js","assets/preload-helper-zJ_50EbN.js","assets/constants-B8GksWUk.js","assets/vendor-chart-BJCvKk8-.js","assets/vendor-axios-Ck2ffRoh.js","assets/button-BydTr5nV.js","assets/use-deprecated-B-NFNg3W.js","assets/install-CmiepWqE.js","assets/en-CpRrS3Ur.js","assets/runtime-B1Eal4u3.js","assets/vendor-vue-CCKiwo0U.js","assets/vendor-dayjs-C9ICuEWn.js","assets/use-dialog-BA0DNk5w.js","assets/teleport-BEkn5-id.js","assets/aria-CQaCu-Fx.js","assets/event-BGnHezxC.js","assets/scroll-CgpW_lTC.js","assets/vnode-BKrYEsqE.js","assets/use-aria-QsRrwtXj.js","assets/vendor-vue-router-WDnlh53U.js","assets/index-C9sJvT6s.css","assets/esm-DNOlyyUE.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"./preload-helper-zJ_50EbN.js";import{Rr as t}from"./index-BwjtEnD7.js";var n=`/sw.js`,r=()=>typeof window<`u`&&`Notification`in window,i=()=>typeof navigator<`u`&&`serviceWorker`in navigator,a=()=>i()&&`PushManager`in window,o=()=>r()?Notification.permission:`unsupported`,s=e=>{let t=(e+`=`.repeat((4-e.length%4)%4)).replace(/-/g,`+`).replace(/_/g,`/`),n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r},c=async()=>{if(!i())return null;try{return await navigator.serviceWorker.getRegistration(n)??await navigator.serviceWorker.register(n)}catch(e){return console.warn(`[codingBridge] service worker registration failed`,e),null}},l=async()=>{if(!r())return`unsupported`;if(Notification.permission!==`default`)return Notification.permission;try{return await Notification.requestPermission()}catch{return`denied`}},u=(e,n)=>{if(!(typeof document<`u`&&document.visibilityState===`visible`)){if(t()){d(e);return}if(!(!r()||Notification.permission!==`granted`))try{let t=new Notification(e.title,{body:e.body,tag:e.data.request_id||`coding-bridge-permission`,data:e.data});t.onclick=()=>{try{window.focus()}catch{}n?.(e.data),t.close()}}catch(e){console.warn(`[codingBridge] failed to raise local notification`,e)}}},d=async t=>{try{let{LocalNotifications:n}=await e(async()=>{let{LocalNotifications:e}=await import(`./esm-Q57Ev_Ig.js`);return{LocalNotifications:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]));if((await n.checkPermissions()).display!==`granted`&&(await n.requestPermissions()).display!==`granted`)return;await n.schedule({notifications:[{id:f(t.data.request_id||`permission`),title:t.title,body:t.body,extra:t.data}]})}catch(e){console.warn(`[codingBridge] native local notification failed`,e)}},f=e=>{let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)|0;return Math.abs(t)%2147483e3},p=async e=>{if(!a()||!e||await l()!==`granted`)return null;let t=await c();if(!t)return null;try{return(await t.pushManager.getSubscription()??await t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:s(e)})).toJSON()}catch(e){return console.warn(`[codingBridge] web push subscribe failed`,e),null}},m=async()=>{if(!a())return null;let e=await(await c())?.pushManager.getSubscription();if(!e)return null;let t=e.endpoint;try{await e.unsubscribe()}catch{}return t},h=async n=>{if(!t())return null;try{let{PushNotifications:t}=await e(async()=>{let{PushNotifications:e}=await import(`./esm-DNOlyyUE.js`);return{PushNotifications:e}},__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),r=await t.requestPermissions();if(r.receive!==`granted`)return console.warn(`[codingBridge] push permission not granted (receive=${r.receive})`),null;let i=await new Promise(e=>{let n=setTimeout(()=>{console.warn(`[codingBridge] push registration timed out — no device token`),e(null)},1e4);t.addListener(`registration`,t=>{clearTimeout(n),e(t.value)}),t.addListener(`registrationError`,t=>{clearTimeout(n),console.warn(`[codingBridge] push registrationError`,t),e(null)}),t.register()});return n&&t.addListener(`pushNotificationActionPerformed`,e=>{n(e.notification?.data??{})}),i}catch(e){return e?.code===`UNIMPLEMENTED`?console.warn(`[codingBridge] PushNotifications plugin not available in this build`,e):console.warn(`[codingBridge] native push registration failed`,e),null}};export{p as a,l as i,u as n,m as o,h as r,r as s,o as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esm-WhsbjwYd.js","assets/index-CLtyZDwQ.js","assets/rolldown-runtime--c01j_DQ.js","assets/preload-helper-zJ_50EbN.js","assets/constants-C0JMy8iD.js","assets/vendor-chart-BJCvKk8-.js","assets/vendor-axios-Ck2ffRoh.js","assets/button-BydTr5nV.js","assets/use-deprecated-B-NFNg3W.js","assets/install-CmiepWqE.js","assets/en-CpRrS3Ur.js","assets/runtime-B1Eal4u3.js","assets/vendor-vue-CCKiwo0U.js","assets/vendor-dayjs-C9ICuEWn.js","assets/use-dialog-BA0DNk5w.js","assets/teleport-BEkn5-id.js","assets/aria-CQaCu-Fx.js","assets/event-BGnHezxC.js","assets/scroll-CgpW_lTC.js","assets/vnode-BKrYEsqE.js","assets/use-aria-QsRrwtXj.js","assets/vendor-vue-router-WDnlh53U.js","assets/index-C9sJvT6s.css","assets/esm-BesQ1VPG.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"./preload-helper-zJ_50EbN.js";import{Rr as t}from"./index-CLtyZDwQ.js";var n=`/sw.js`,r=()=>typeof window<`u`&&`Notification`in window,i=()=>typeof navigator<`u`&&`serviceWorker`in navigator,a=()=>i()&&`PushManager`in window,o=()=>r()?Notification.permission:`unsupported`,s=e=>{let t=(e+`=`.repeat((4-e.length%4)%4)).replace(/-/g,`+`).replace(/_/g,`/`),n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r},c=async()=>{if(!i())return null;try{return await navigator.serviceWorker.getRegistration(n)??await navigator.serviceWorker.register(n)}catch(e){return console.warn(`[codingBridge] service worker registration failed`,e),null}},l=async()=>{if(!r())return`unsupported`;if(Notification.permission!==`default`)return Notification.permission;try{return await Notification.requestPermission()}catch{return`denied`}},u=(e,n)=>{if(!(typeof document<`u`&&document.visibilityState===`visible`)){if(t()){d(e);return}if(!(!r()||Notification.permission!==`granted`))try{let t=new Notification(e.title,{body:e.body,tag:e.data.request_id||`coding-bridge-permission`,data:e.data});t.onclick=()=>{try{window.focus()}catch{}n?.(e.data),t.close()}}catch(e){console.warn(`[codingBridge] failed to raise local notification`,e)}}},d=async t=>{try{let{LocalNotifications:n}=await e(async()=>{let{LocalNotifications:e}=await import(`./esm-WhsbjwYd.js`);return{LocalNotifications:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]));if((await n.checkPermissions()).display!==`granted`&&(await n.requestPermissions()).display!==`granted`)return;await n.schedule({notifications:[{id:f(t.data.request_id||`permission`),title:t.title,body:t.body,extra:t.data}]})}catch(e){console.warn(`[codingBridge] native local notification failed`,e)}},f=e=>{let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)|0;return Math.abs(t)%2147483e3},p=async e=>{if(!a()||!e||await l()!==`granted`)return null;let t=await c();if(!t)return null;try{return(await t.pushManager.getSubscription()??await t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:s(e)})).toJSON()}catch(e){return console.warn(`[codingBridge] web push subscribe failed`,e),null}},m=async()=>{if(!a())return null;let e=await(await c())?.pushManager.getSubscription();if(!e)return null;let t=e.endpoint;try{await e.unsubscribe()}catch{}return t},h=async n=>{if(!t())return null;try{let{PushNotifications:t}=await e(async()=>{let{PushNotifications:e}=await import(`./esm-BesQ1VPG.js`);return{PushNotifications:e}},__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),r=await t.requestPermissions();if(r.receive!==`granted`)return console.warn(`[codingBridge] push permission not granted (receive=${r.receive})`),null;let i=await new Promise(e=>{let n=setTimeout(()=>{console.warn(`[codingBridge] push registration timed out — no device token`),e(null)},1e4);t.addListener(`registration`,t=>{clearTimeout(n),e(t.value)}),t.addListener(`registrationError`,t=>{clearTimeout(n),console.warn(`[codingBridge] push registrationError`,t),e(null)}),t.register()});return n&&t.addListener(`pushNotificationActionPerformed`,e=>{n(e.notification?.data??{})}),i}catch(e){return e?.code===`UNIMPLEMENTED`?console.warn(`[codingBridge] PushNotifications plugin not available in this build`,e):console.warn(`[codingBridge] native push registration failed`,e),null}};export{p as a,l as i,u as n,m as o,h as r,r as s,o as t};
@@ -1 +1 @@
1
- import{A as e,Bt as t,D as n,E as r,F as i,N as a,O as o,Ot as s,P as c,Pt as l,Q as u,Vt as d,Wt as f,Z as p,b as m,bt as h,ct as g,dt as _,et as v,rt as y,ut as b,v as x,y as S,z as C,zt as w}from"./vendor-chart-BJCvKk8-.js";import{a as T,c as E,i as D,t as O}from"./install-CmiepWqE.js";import{i as k,n as A,r as j,s as M}from"./runtime-B1Eal4u3.js";import{Ct as N,_ as P,l as ee,m as F,nt as I,wt as L}from"./use-deprecated-B-NFNg3W.js";import{t as R}from"./castArray-B2xuZZNf.js";import{r as z,t as B}from"./event-BGnHezxC.js";import{t as V}from"./collapse-transition-C9jp2nDh.js";import{Qr as H}from"./index-BwjtEnD7.js";var U=e=>M(e)||t(e)||l(e),W=A({accordion:Boolean,modelValue:{type:j([Array,String,Number]),default:()=>H([])},expandIconPosition:{type:j([String]),default:`right`},beforeCollapse:{type:j(Function)}}),G={[z]:U,[B]:U},K=Symbol(`collapseContextKey`),q=`ElCollapse`,J=(e,t)=>{let n=h(R(e.modelValue)),r=r=>{n.value=r;let i=e.accordion?n.value[0]:n.value;t(z,i),t(B,i)},i=t=>{if(e.accordion)r([n.value[0]===t?``:t]);else{let e=[...n.value],i=e.indexOf(t);i>-1?e.splice(i,1):e.push(t),r(e)}};return g(()=>e.modelValue,()=>n.value=R(e.modelValue),{deep:!0}),u(K,{activeNames:n,handleItemClick:async t=>{let{beforeCollapse:n}=e;if(!n){i(t);return}let r=n(t);[w(r),k(r)].includes(!0)||L(q,"beforeCollapse must return type `Promise<boolean>` or `boolean`"),w(r)?r.then(e=>{e!==!1&&i(t)}).catch(e=>{N(q,`some error occurred: ${e}`)}):r&&i(t)}}),{activeNames:n,setActiveNames:r}},Y=e=>{let t=E(`collapse`);return{rootKls:r(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},X=T(i({...i({name:`ElCollapse`}),props:W,emits:G,setup(t,{expose:n,emit:r}){let i=t,{activeNames:a,setActiveNames:o}=J(i,r),{rootKls:c}=Y(i);return n({activeNames:a,setActiveNames:o}),(t,n)=>(p(),e(`div`,{class:d(s(c))},[v(t.$slots,`default`)],2))}}),[[`__file`,`collapse.vue`]]),Z=A({title:{type:String,default:``},name:{type:j([String,Number]),default:void 0},icon:{type:F,default:P},disabled:Boolean}),Q=e=>{let t=C(K),{namespace:n}=E(`collapse`),i=h(!1),a=h(!1),o=ee(),c=r(()=>o.current++),l=r(()=>e.name??`${n.value}-id-${o.prefix}-${s(c)}`);return{focusing:i,id:c,isActive:r(()=>t?.activeNames.value.includes(s(l))),handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:i.value=!0},50)},handleHeaderClick:n=>{e.disabled||n.target?.closest(`input, textarea, select`)||(t?.handleItemClick(s(l)),i.value=!1,a.value=!0)},handleEnterClick:e=>{e.target?.closest(`input, textarea, select`)||(e.preventDefault(),t?.handleItemClick(s(l)))}}},te=(e,{focusing:t,isActive:n,id:i})=>{let a=E(`collapse`),o=r(()=>[a.b(`item`),a.is(`active`,s(n)),a.is(`disabled`,e.disabled)]),c=r(()=>[a.be(`item`,`header`),a.is(`active`,s(n)),{focusing:s(t)&&!e.disabled}]),l=r(()=>[a.be(`item`,`arrow`),a.is(`active`,s(n))]);return{itemTitleKls:r(()=>[a.be(`item`,`title`)]),arrowKls:l,headKls:c,rootKls:o,itemWrapperKls:r(()=>a.be(`item`,`wrap`)),itemContentKls:r(()=>a.be(`item`,`content`)),scopedContentId:r(()=>a.b(`content-${s(i)}`)),scopedHeadId:r(()=>a.b(`head-${s(i)}`))}},$=T(i({...i({name:`ElCollapseItem`}),props:Z,setup(t,{expose:r}){let i=t,{focusing:l,id:u,isActive:h,handleFocus:g,handleHeaderClick:C,handleEnterClick:w}=Q(i),{arrowKls:T,headKls:E,rootKls:D,itemTitleKls:O,itemWrapperKls:k,itemContentKls:A,scopedContentId:j,scopedHeadId:M}=te(i,{focusing:l,isActive:h,id:u});return r({isActive:h}),(t,r)=>(p(),e(`div`,{class:d(s(D))},[n(`div`,{id:s(M),class:d(s(E)),"aria-expanded":s(h),"aria-controls":s(j),"aria-describedby":s(j),tabindex:t.disabled?-1:0,role:`button`,onClick:s(C),onKeydown:S(m(s(w),[`stop`]),[`space`,`enter`]),onFocus:s(g),onBlur:e=>l.value=!1},[n(`span`,{class:d(s(O))},[v(t.$slots,`title`,{isActive:s(h)},()=>[a(f(t.title),1)])],2),v(t.$slots,`icon`,{isActive:s(h)},()=>[c(s(I),{class:d(s(T))},{default:b(()=>[(p(),o(y(t.icon)))]),_:1},8,[`class`])])],42,[`id`,`aria-expanded`,`aria-controls`,`aria-describedby`,`tabindex`,`onClick`,`onKeydown`,`onFocus`,`onBlur`]),c(s(V),null,{default:b(()=>[_(n(`div`,{id:s(j),role:`region`,class:d(s(k)),"aria-hidden":!s(h),"aria-labelledby":s(M)},[n(`div`,{class:d(s(A))},[v(t.$slots,`default`)],2)],10,[`id`,`aria-hidden`,`aria-labelledby`]),[[x,s(h)]])]),_:3})],2))}}),[[`__file`,`collapse-item.vue`]]),ne=O(X,{CollapseItem:$}),re=D($);export{re as n,ne as t};
1
+ import{A as e,Bt as t,D as n,E as r,F as i,N as a,O as o,Ot as s,P as c,Pt as l,Q as u,Vt as d,Wt as f,Z as p,b as m,bt as h,ct as g,dt as _,et as v,rt as y,ut as b,v as x,y as S,z as C,zt as w}from"./vendor-chart-BJCvKk8-.js";import{a as T,c as E,i as D,t as O}from"./install-CmiepWqE.js";import{i as k,n as A,r as j,s as M}from"./runtime-B1Eal4u3.js";import{Ct as N,_ as P,l as ee,m as F,nt as I,wt as L}from"./use-deprecated-B-NFNg3W.js";import{t as R}from"./castArray-B2xuZZNf.js";import{r as z,t as B}from"./event-BGnHezxC.js";import{t as V}from"./collapse-transition-C9jp2nDh.js";import{Qr as H}from"./index-CLtyZDwQ.js";var U=e=>M(e)||t(e)||l(e),W=A({accordion:Boolean,modelValue:{type:j([Array,String,Number]),default:()=>H([])},expandIconPosition:{type:j([String]),default:`right`},beforeCollapse:{type:j(Function)}}),G={[z]:U,[B]:U},K=Symbol(`collapseContextKey`),q=`ElCollapse`,J=(e,t)=>{let n=h(R(e.modelValue)),r=r=>{n.value=r;let i=e.accordion?n.value[0]:n.value;t(z,i),t(B,i)},i=t=>{if(e.accordion)r([n.value[0]===t?``:t]);else{let e=[...n.value],i=e.indexOf(t);i>-1?e.splice(i,1):e.push(t),r(e)}};return g(()=>e.modelValue,()=>n.value=R(e.modelValue),{deep:!0}),u(K,{activeNames:n,handleItemClick:async t=>{let{beforeCollapse:n}=e;if(!n){i(t);return}let r=n(t);[w(r),k(r)].includes(!0)||L(q,"beforeCollapse must return type `Promise<boolean>` or `boolean`"),w(r)?r.then(e=>{e!==!1&&i(t)}).catch(e=>{N(q,`some error occurred: ${e}`)}):r&&i(t)}}),{activeNames:n,setActiveNames:r}},Y=e=>{let t=E(`collapse`);return{rootKls:r(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},X=T(i({...i({name:`ElCollapse`}),props:W,emits:G,setup(t,{expose:n,emit:r}){let i=t,{activeNames:a,setActiveNames:o}=J(i,r),{rootKls:c}=Y(i);return n({activeNames:a,setActiveNames:o}),(t,n)=>(p(),e(`div`,{class:d(s(c))},[v(t.$slots,`default`)],2))}}),[[`__file`,`collapse.vue`]]),Z=A({title:{type:String,default:``},name:{type:j([String,Number]),default:void 0},icon:{type:F,default:P},disabled:Boolean}),Q=e=>{let t=C(K),{namespace:n}=E(`collapse`),i=h(!1),a=h(!1),o=ee(),c=r(()=>o.current++),l=r(()=>e.name??`${n.value}-id-${o.prefix}-${s(c)}`);return{focusing:i,id:c,isActive:r(()=>t?.activeNames.value.includes(s(l))),handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:i.value=!0},50)},handleHeaderClick:n=>{e.disabled||n.target?.closest(`input, textarea, select`)||(t?.handleItemClick(s(l)),i.value=!1,a.value=!0)},handleEnterClick:e=>{e.target?.closest(`input, textarea, select`)||(e.preventDefault(),t?.handleItemClick(s(l)))}}},te=(e,{focusing:t,isActive:n,id:i})=>{let a=E(`collapse`),o=r(()=>[a.b(`item`),a.is(`active`,s(n)),a.is(`disabled`,e.disabled)]),c=r(()=>[a.be(`item`,`header`),a.is(`active`,s(n)),{focusing:s(t)&&!e.disabled}]),l=r(()=>[a.be(`item`,`arrow`),a.is(`active`,s(n))]);return{itemTitleKls:r(()=>[a.be(`item`,`title`)]),arrowKls:l,headKls:c,rootKls:o,itemWrapperKls:r(()=>a.be(`item`,`wrap`)),itemContentKls:r(()=>a.be(`item`,`content`)),scopedContentId:r(()=>a.b(`content-${s(i)}`)),scopedHeadId:r(()=>a.b(`head-${s(i)}`))}},$=T(i({...i({name:`ElCollapseItem`}),props:Z,setup(t,{expose:r}){let i=t,{focusing:l,id:u,isActive:h,handleFocus:g,handleHeaderClick:C,handleEnterClick:w}=Q(i),{arrowKls:T,headKls:E,rootKls:D,itemTitleKls:O,itemWrapperKls:k,itemContentKls:A,scopedContentId:j,scopedHeadId:M}=te(i,{focusing:l,isActive:h,id:u});return r({isActive:h}),(t,r)=>(p(),e(`div`,{class:d(s(D))},[n(`div`,{id:s(M),class:d(s(E)),"aria-expanded":s(h),"aria-controls":s(j),"aria-describedby":s(j),tabindex:t.disabled?-1:0,role:`button`,onClick:s(C),onKeydown:S(m(s(w),[`stop`]),[`space`,`enter`]),onFocus:s(g),onBlur:e=>l.value=!1},[n(`span`,{class:d(s(O))},[v(t.$slots,`title`,{isActive:s(h)},()=>[a(f(t.title),1)])],2),v(t.$slots,`icon`,{isActive:s(h)},()=>[c(s(I),{class:d(s(T))},{default:b(()=>[(p(),o(y(t.icon)))]),_:1},8,[`class`])])],42,[`id`,`aria-expanded`,`aria-controls`,`aria-describedby`,`tabindex`,`onClick`,`onKeydown`,`onFocus`,`onBlur`]),c(s(V),null,{default:b(()=>[_(n(`div`,{id:s(j),role:`region`,class:d(s(k)),"aria-hidden":!s(h),"aria-labelledby":s(M)},[n(`div`,{class:d(s(A))},[v(t.$slots,`default`)],2)],10,[`id`,`aria-hidden`,`aria-labelledby`]),[[x,s(h)]])]),_:3})],2))}}),[[`__file`,`collapse-item.vue`]]),ne=O(X,{CollapseItem:$}),re=D($);export{re as n,ne as t};