@acedatacloud/nexior 2.16.2 → 2.17.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 (88) hide show
  1. package/dist/assets/{Auth.c6bce8b3.js → Auth.43a64a68.js} +1 -1
  2. package/dist/assets/{Callback.563aa19a.js → Callback.a306ed4d.js} +1 -1
  3. package/dist/assets/{Chatdoc.4c22c965.js → Chatdoc.3bb2c729.js} +1 -1
  4. package/dist/assets/{Console.954af5f6.js → Console.02f9e3f5.js} +1 -1
  5. package/dist/assets/Conversation.02fe0df1.js +1 -0
  6. package/dist/assets/{Conversation.db86a557.css → Conversation.af781032.css} +1 -1
  7. package/dist/assets/Conversation.b39cf28a.js +1 -0
  8. package/dist/assets/{CopyToClipboard.70ad0a47.js → CopyToClipboard.4ce8036a.js} +1 -1
  9. package/dist/assets/{DarkSelector.c35769ce.js → DarkSelector.67469104.js} +1 -1
  10. package/dist/assets/{Detail.cb49d7b1.js → Detail.1e5b666e.js} +1 -1
  11. package/dist/assets/{Extra.172e8c07.js → Extra.bdff3849.js} +1 -1
  12. package/dist/assets/{History.cb910879.js → History.7cf61b31.js} +1 -1
  13. package/dist/assets/{ImageNavigator.44e7645d.js → ImageNavigator.1b18c692.js} +1 -1
  14. package/dist/assets/{Index.12fdceec.js → Index.1b8b999b.js} +1 -1
  15. package/dist/assets/{Index.6c2ba8eb.js → Index.37833169.js} +1 -1
  16. package/dist/assets/{Index.08924a9d.js → Index.5699ed83.js} +1 -1
  17. package/dist/assets/{Index.36823bc5.js → Index.6b007e2a.js} +1 -1
  18. package/dist/assets/Index.73524d7c.js +1 -0
  19. package/dist/assets/{Index.1b95745d.js → Index.73ea71b1.js} +1 -1
  20. package/dist/assets/Index.75e8d94c.js +3 -0
  21. package/dist/assets/{Index.c9f6843b.js → Index.849ec28a.js} +1 -1
  22. package/dist/assets/{Index.91724f44.js → Index.8d976918.js} +1 -1
  23. package/dist/assets/{Index.61730192.js → Index.9f36a989.js} +1 -1
  24. package/dist/assets/{Index.efd752d2.js → Index.ad3efe7d.js} +1 -1
  25. package/dist/assets/{Index.436505b7.js → Index.c6a6747d.js} +1 -1
  26. package/dist/assets/{Index.6c2f87d2.js → Index.ce77cb81.js} +1 -1
  27. package/dist/assets/{Index.dd914d26.js → Index.e36959a3.js} +1 -1
  28. package/dist/assets/{InfoIcon.0d72ff26.js → InfoIcon.666b1460.js} +1 -1
  29. package/dist/assets/{Invitees.abc02851.js → Invitees.b02c5538.js} +1 -1
  30. package/dist/assets/{List.5dacb543.js → List.8aab4310.js} +1 -1
  31. package/dist/assets/{List.f3c6c667.js → List.e90ad8a7.js} +1 -1
  32. package/dist/assets/{List.5c6b67b4.js → List.fe0ab8e4.js} +1 -1
  33. package/dist/assets/{Login.59cba0c8.js → Login.96b81e2b.js} +1 -1
  34. package/dist/assets/{Main.5f3b725c.js → Main.04e0ea7b.js} +1 -1
  35. package/dist/assets/{Manage.4c13d241.js → Manage.e82602e3.js} +1 -1
  36. package/dist/assets/{MarkdownRenderer.f00d66e6.js → MarkdownRenderer.c1c1726f.js} +1 -1
  37. package/dist/assets/{Navigator.38a6fdd9.js → Navigator.0f0d3202.js} +1 -1
  38. package/dist/assets/{Pagination.10e8cfd1.js → Pagination.e5e2a82c.js} +1 -1
  39. package/dist/assets/{Setting.8d81c3ff.js → Setting.18cf0f3b.js} +1 -1
  40. package/dist/assets/{Status.3ed09234.js → Status.67d14c74.js} +1 -1
  41. package/dist/assets/{Subscribe.92cd7a18.js → Subscribe.e966bb68.js} +1 -1
  42. package/dist/assets/{VideoNavigator.a5c28887.js → VideoNavigator.fec4ac25.js} +1 -1
  43. package/dist/assets/chat.0dd3c04e.js +1 -0
  44. package/dist/assets/chat.1e8b40bf.js +1 -0
  45. package/dist/assets/chat.379b17a5.js +1 -0
  46. package/dist/assets/chat.3ade106d.js +1 -0
  47. package/dist/assets/chat.6a266fc8.js +1 -0
  48. package/dist/assets/chat.8c367ef4.js +1 -0
  49. package/dist/assets/chat.8d1bcd70.js +1 -0
  50. package/dist/assets/chat.97c0d9f9.js +1 -0
  51. package/dist/assets/chat.a3ce67d6.js +1 -0
  52. package/dist/assets/chat.ae80e93e.js +1 -0
  53. package/dist/assets/chat.b11aae29.js +1 -0
  54. package/dist/assets/chat.bc7e7fce.js +1 -0
  55. package/dist/assets/chat.c31206ea.js +1 -0
  56. package/dist/assets/chat.c54999d7.js +1 -0
  57. package/dist/assets/chat.e571be9b.js +1 -0
  58. package/dist/assets/chat.ec6b9b27.js +1 -0
  59. package/dist/assets/chat.f0186f55.js +1 -0
  60. package/dist/assets/chat.f67dccf0.js +1 -0
  61. package/dist/assets/{distribution.ce22eb3a.js → distribution.dc63b14b.js} +1 -1
  62. package/dist/assets/{index.54863a79.js → index.8651fee2.js} +3 -3
  63. package/dist/assets/{order.2e7291db.js → order.cf725e3f.js} +1 -1
  64. package/dist/assets/{price.641fbd15.js → price.11060216.js} +1 -1
  65. package/dist/index.html +1 -1
  66. package/package.json +1 -1
  67. package/dist/assets/Conversation.05e0b9a0.js +0 -1
  68. package/dist/assets/Conversation.ce51e7cb.js +0 -1
  69. package/dist/assets/Index.59dc020b.js +0 -1
  70. package/dist/assets/Index.a95c90ad.js +0 -3
  71. package/dist/assets/chat.0259ba8b.js +0 -1
  72. package/dist/assets/chat.17dac350.js +0 -1
  73. package/dist/assets/chat.1a84dfe6.js +0 -1
  74. package/dist/assets/chat.1ed130b1.js +0 -1
  75. package/dist/assets/chat.2249a770.js +0 -1
  76. package/dist/assets/chat.461512c7.js +0 -1
  77. package/dist/assets/chat.4eec9d13.js +0 -1
  78. package/dist/assets/chat.5b3b6e73.js +0 -1
  79. package/dist/assets/chat.5bdb1fa9.js +0 -1
  80. package/dist/assets/chat.7f5f30fd.js +0 -1
  81. package/dist/assets/chat.816635a4.js +0 -1
  82. package/dist/assets/chat.88a37127.js +0 -1
  83. package/dist/assets/chat.aba815b5.js +0 -1
  84. package/dist/assets/chat.c09e9754.js +0 -1
  85. package/dist/assets/chat.c1313474.js +0 -1
  86. package/dist/assets/chat.c5786f25.js +0 -1
  87. package/dist/assets/chat.cba3af00.js +0 -1
  88. package/dist/assets/chat.ceae5335.js +0 -1
@@ -1,3 +1,3 @@
1
- var Ge=Object.defineProperty,Qe=Object.defineProperties;var Ye=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var G=(s,e,o)=>e in s?Ge(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,d=(s,e)=>{for(var o in e||(e={}))Xe.call(e,o)&&G(s,o,e[o]);if(oe)for(var o of oe(e))Ke.call(e,o)&&G(s,o,e[o]);return s},j=(s,e)=>Qe(s,Ye(e));var N=(s,e,o)=>(G(s,typeof e!="symbol"?e+"":e,o),o);import{v as Je,w as Ze,x as b,z as et,A as tt,B as st,C as ot,D as rt,F as z,G as it,H as nt,I as at}from"./vendor-others.179d4404.js";import{a as O}from"./vendor-axios.168e6950.js";import{_ as _t,H as ce,al as C,e as ct,V as X,M as H,W as ut,o as S,f as dt,L as q,S as K,T as pt,U as Et,aD as lt}from"./vendor-@vue.fc29b169.js";import{Q as mt}from"./vendor-qrcode.8db51d62.js";import{E as vt,a as At,b as Tt,z as It,v as Rt}from"./vendor-element-plus.f90d6803.js";import{l as m,f as Ot,a as Dt,b as Lt,c as Pt,d as jt,e as gt,g as ht,h as Vt,i as kt,j as ft,k as bt,m as yt,n as wt,o as $t,p as Ct,q as xt,r as St,s as Ut,t as Nt,u as zt,v as Mt,w as qt,x as Bt,y as Ht,z as Ft,A as Wt,B as Gt,C as Qt,D as Yt,E as Xt,F as Kt,G as Jt,H as Zt,I as es,J as ts,K as ss,L as os,M as rs,N as is,O as ns,P as as,Q as _s,R as cs,S as us,T as ds,U as ps,V as Es,W as ls,X as ms,Y as vs,Z as As,_ as Ts,$ as Is,a0 as Rs,a1 as Os,a2 as Ds,a3 as Ls,a4 as Ps,a5 as js,a6 as gs,a7 as hs,a8 as Vs,a9 as ks,aa as fs,ab as bs,ac as ys,ad as ws,ae as $s,af as Cs,ag as xs,ah as Ss,ai as Us,aj as Ns,ak as zs,al as Ms,am as qs,an as Bs,ao as Hs,ap as Fs}from"./vendor-fortawesome.3e228e5c.js";const Ws=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const c of r)if(c.type==="childList")for(const n of c.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function o(r){const c={};return r.integrity&&(c.integrity=r.integrity),r.referrerpolicy&&(c.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?c.credentials="include":r.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(r){if(r.ep)return;r.ep=!0;const c=o(r);fetch(r.href,c)}};Ws();const U=window.location.origin==="https://hub-test.acedata.cloud",ue=U?"https://platform-test.acedata.cloud":"https://platform.acedata.cloud",J=U?"https://hub-test.acedata.cloud":"https://hub.acedata.cloud",de=U?"https://auth-test.acedata.cloud":"https://auth.acedata.cloud",D=U?"https://api-test.acedata.cloud":"https://api.acedata.cloud";new URL(ue).host;const F=new URL(J).host;new URL(de).host;new URL(D).host;const re="create",Gs="update",Q="delete",Y="retrieve",M="retrieve_batch",Qs="modulepreload",ie={},Ys="/",t=function(e,o){return!o||o.length===0?e():Promise.all(o.map(i=>{if(i=`${Ys}${i}`,i in ie)return;ie[i]=!0;const r=i.endsWith(".css"),c=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${c}`))return;const n=document.createElement("link");if(n.rel=r?"stylesheet":Qs,r||(n.as="script",n.crossOrigin=""),n.href=i,document.head.appendChild(n),r)return new Promise((a,u)=>{n.addEventListener("load",a),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e())};function Xs(s){switch(s){case"./ar/api.json":return t(()=>import("./api.a332bb5c.js"),[]);case"./ar/application.json":return t(()=>import("./application.e6a79b83.js"),[]);case"./ar/chat.json":return t(()=>import("./chat.c5786f25.js"),[]);case"./ar/chatdoc.json":return t(()=>import("./chatdoc.c9102d6b.js"),[]);case"./ar/common.json":return t(()=>import("./common.49d7894d.js"),[]);case"./ar/console.json":return t(()=>import("./console.3eac0149.js"),[]);case"./ar/credential.json":return t(()=>import("./credential.eb41fe73.js"),[]);case"./ar/distribution.json":return t(()=>import("./distribution.b5b433ca.js"),[]);case"./ar/flux.json":return t(()=>import("./flux.ebccaa4e.js"),[]);case"./ar/hailuo.json":return t(()=>import("./hailuo.37108325.js"),[]);case"./ar/headshots.json":return t(()=>import("./headshots.5fdd5f0b.js"),[]);case"./ar/index.json":return t(()=>import("./index.8677a92c.js"),[]);case"./ar/luma.json":return t(()=>import("./luma.a2c4798b.js"),[]);case"./ar/midjourney.json":return t(()=>import("./midjourney.6fdf3710.js"),[]);case"./ar/order.json":return t(()=>import("./order.a215bde7.js"),[]);case"./ar/pika.json":return t(()=>import("./pika.5821905a.js"),[]);case"./ar/proxy.json":return t(()=>import("./proxy.e373b98b.js"),[]);case"./ar/qrart.json":return t(()=>import("./qrart.aa7386b1.js"),[]);case"./ar/service.json":return t(()=>import("./service.d728679c.js"),[]);case"./ar/site.json":return t(()=>import("./site.c5d2323b.js"),[]);case"./ar/suno.json":return t(()=>import("./suno.067d08d5.js"),[]);case"./ar/usage.json":return t(()=>import("./usage.d72320b1.js"),[]);case"./ar/user.json":return t(()=>import("./user.08c501a5.js"),[]);case"./de/api.json":return t(()=>import("./api.818af659.js"),[]);case"./de/application.json":return t(()=>import("./application.7e46e171.js"),[]);case"./de/chat.json":return t(()=>import("./chat.aba815b5.js"),[]);case"./de/chatdoc.json":return t(()=>import("./chatdoc.a330c226.js"),[]);case"./de/common.json":return t(()=>import("./common.0bb76e04.js"),[]);case"./de/console.json":return t(()=>import("./console.6f8b5c9d.js"),[]);case"./de/credential.json":return t(()=>import("./credential.842dfa48.js"),[]);case"./de/distribution.json":return t(()=>import("./distribution.a9896fef.js"),[]);case"./de/flux.json":return t(()=>import("./flux.6bff76dc.js"),[]);case"./de/hailuo.json":return t(()=>import("./hailuo.3b8f72eb.js"),[]);case"./de/headshots.json":return t(()=>import("./headshots.6501db19.js"),[]);case"./de/index.json":return t(()=>import("./index.b44a7261.js"),[]);case"./de/luma.json":return t(()=>import("./luma.992755c1.js"),[]);case"./de/midjourney.json":return t(()=>import("./midjourney.4116bbd1.js"),[]);case"./de/order.json":return t(()=>import("./order.02f20e45.js"),[]);case"./de/pika.json":return t(()=>import("./pika.8c2e668b.js"),[]);case"./de/proxy.json":return t(()=>import("./proxy.6197ed3c.js"),[]);case"./de/qrart.json":return t(()=>import("./qrart.37c2f506.js"),[]);case"./de/service.json":return t(()=>import("./service.be2b65e6.js"),[]);case"./de/site.json":return t(()=>import("./site.de131573.js"),[]);case"./de/suno.json":return t(()=>import("./suno.aa1e6bd8.js"),[]);case"./de/usage.json":return t(()=>import("./usage.04f0f71e.js"),[]);case"./de/user.json":return t(()=>import("./user.8c2740d5.js"),[]);case"./el/api.json":return t(()=>import("./api.73a91481.js"),[]);case"./el/application.json":return t(()=>import("./application.3e1aa320.js"),[]);case"./el/chat.json":return t(()=>import("./chat.461512c7.js"),[]);case"./el/chatdoc.json":return t(()=>import("./chatdoc.38093bef.js"),[]);case"./el/common.json":return t(()=>import("./common.ae083051.js"),[]);case"./el/console.json":return t(()=>import("./console.f2b5361b.js"),[]);case"./el/credential.json":return t(()=>import("./credential.04598fa3.js"),[]);case"./el/distribution.json":return t(()=>import("./distribution.fec7067a.js"),[]);case"./el/flux.json":return t(()=>import("./flux.82000e74.js"),[]);case"./el/hailuo.json":return t(()=>import("./hailuo.b58fe7ac.js"),[]);case"./el/headshots.json":return t(()=>import("./headshots.56eae7e4.js"),[]);case"./el/index.json":return t(()=>import("./index.3dcc9f0d.js"),[]);case"./el/luma.json":return t(()=>import("./luma.90f454c9.js"),[]);case"./el/midjourney.json":return t(()=>import("./midjourney.a515e2c2.js"),[]);case"./el/order.json":return t(()=>import("./order.1c358a68.js"),[]);case"./el/pika.json":return t(()=>import("./pika.86c7b2e1.js"),[]);case"./el/proxy.json":return t(()=>import("./proxy.77adcc26.js"),[]);case"./el/qrart.json":return t(()=>import("./qrart.53d9e410.js"),[]);case"./el/service.json":return t(()=>import("./service.62f9c8e6.js"),[]);case"./el/site.json":return t(()=>import("./site.53ec062b.js"),[]);case"./el/suno.json":return t(()=>import("./suno.62991510.js"),[]);case"./el/usage.json":return t(()=>import("./usage.771626b6.js"),[]);case"./el/user.json":return t(()=>import("./user.97a64233.js"),[]);case"./en/api.json":return t(()=>import("./api.7dc36d47.js"),[]);case"./en/application.json":return t(()=>import("./application.0fac8022.js"),[]);case"./en/chat.json":return t(()=>import("./chat.816635a4.js"),[]);case"./en/chatdoc.json":return t(()=>import("./chatdoc.c99b8fc5.js"),[]);case"./en/common.json":return t(()=>import("./common.df148e38.js"),[]);case"./en/console.json":return t(()=>import("./console.7aefcf17.js"),[]);case"./en/credential.json":return t(()=>import("./credential.1193646d.js"),[]);case"./en/distribution.json":return t(()=>import("./distribution.40bd61b0.js"),[]);case"./en/flux.json":return t(()=>import("./flux.aa8f0ba0.js"),[]);case"./en/hailuo.json":return t(()=>import("./hailuo.603baf35.js"),[]);case"./en/headshots.json":return t(()=>import("./headshots.1a490a07.js"),[]);case"./en/index.json":return t(()=>import("./index.db83989d.js"),[]);case"./en/luma.json":return t(()=>import("./luma.68816b5a.js"),[]);case"./en/midjourney.json":return t(()=>import("./midjourney.a7d2fe5f.js"),[]);case"./en/order.json":return t(()=>import("./order.9ac50540.js"),[]);case"./en/pika.json":return t(()=>import("./pika.9ff73e9f.js"),[]);case"./en/proxy.json":return t(()=>import("./proxy.d6167c9e.js"),[]);case"./en/qrart.json":return t(()=>import("./qrart.43211b0c.js"),[]);case"./en/service.json":return t(()=>import("./service.847fd288.js"),[]);case"./en/site.json":return t(()=>import("./site.9d5b0661.js"),[]);case"./en/suno.json":return t(()=>import("./suno.406d72fb.js"),[]);case"./en/usage.json":return t(()=>import("./usage.b2867a7c.js"),[]);case"./en/user.json":return t(()=>import("./user.3529d32e.js"),[]);case"./es/api.json":return t(()=>import("./api.213cd308.js"),[]);case"./es/application.json":return t(()=>import("./application.538c1d62.js"),[]);case"./es/chat.json":return t(()=>import("./chat.c09e9754.js"),[]);case"./es/chatdoc.json":return t(()=>import("./chatdoc.be4f6cf9.js"),[]);case"./es/common.json":return t(()=>import("./common.3f10865b.js"),[]);case"./es/console.json":return t(()=>import("./console.a2466212.js"),[]);case"./es/credential.json":return t(()=>import("./credential.af11f12c.js"),[]);case"./es/distribution.json":return t(()=>import("./distribution.04b256bf.js"),[]);case"./es/flux.json":return t(()=>import("./flux.cc80368d.js"),[]);case"./es/hailuo.json":return t(()=>import("./hailuo.b75c4887.js"),[]);case"./es/headshots.json":return t(()=>import("./headshots.592a7a6d.js"),[]);case"./es/index.json":return t(()=>import("./index.f964e456.js"),[]);case"./es/luma.json":return t(()=>import("./luma.31f6450b.js"),[]);case"./es/midjourney.json":return t(()=>import("./midjourney.d5dccaef.js"),[]);case"./es/order.json":return t(()=>import("./order.a8b6322f.js"),[]);case"./es/pika.json":return t(()=>import("./pika.524e74df.js"),[]);case"./es/proxy.json":return t(()=>import("./proxy.eecf47a3.js"),[]);case"./es/qrart.json":return t(()=>import("./qrart.93d793b1.js"),[]);case"./es/service.json":return t(()=>import("./service.99fe12fc.js"),[]);case"./es/site.json":return t(()=>import("./site.dca111ff.js"),[]);case"./es/suno.json":return t(()=>import("./suno.1a4dee58.js"),[]);case"./es/usage.json":return t(()=>import("./usage.4880575b.js"),[]);case"./es/user.json":return t(()=>import("./user.167a4041.js"),[]);case"./fi/api.json":return t(()=>import("./api.0f034ae6.js"),[]);case"./fi/application.json":return t(()=>import("./application.07ad8042.js"),[]);case"./fi/chat.json":return t(()=>import("./chat.1a84dfe6.js"),[]);case"./fi/chatdoc.json":return t(()=>import("./chatdoc.eb31a140.js"),[]);case"./fi/common.json":return t(()=>import("./common.b423a5ed.js"),[]);case"./fi/console.json":return t(()=>import("./console.c66adbdf.js"),[]);case"./fi/credential.json":return t(()=>import("./credential.f872a714.js"),[]);case"./fi/distribution.json":return t(()=>import("./distribution.d131e1b9.js"),[]);case"./fi/flux.json":return t(()=>import("./flux.3712c862.js"),[]);case"./fi/hailuo.json":return t(()=>import("./hailuo.76df33b6.js"),[]);case"./fi/headshots.json":return t(()=>import("./headshots.c94c35eb.js"),[]);case"./fi/index.json":return t(()=>import("./index.37465f4e.js"),[]);case"./fi/luma.json":return t(()=>import("./luma.eb9a8302.js"),[]);case"./fi/midjourney.json":return t(()=>import("./midjourney.e167aae9.js"),[]);case"./fi/order.json":return t(()=>import("./order.d217f5ff.js"),[]);case"./fi/pika.json":return t(()=>import("./pika.389c95d2.js"),[]);case"./fi/proxy.json":return t(()=>import("./proxy.133d11fd.js"),[]);case"./fi/qrart.json":return t(()=>import("./qrart.ee490b29.js"),[]);case"./fi/service.json":return t(()=>import("./service.2508f46e.js"),[]);case"./fi/site.json":return t(()=>import("./site.7e02b1ab.js"),[]);case"./fi/suno.json":return t(()=>import("./suno.f9072af1.js"),[]);case"./fi/usage.json":return t(()=>import("./usage.b0968cb7.js"),[]);case"./fi/user.json":return t(()=>import("./user.6ed11ce4.js"),[]);case"./fr/api.json":return t(()=>import("./api.3170d3cc.js"),[]);case"./fr/application.json":return t(()=>import("./application.be4edbdb.js"),[]);case"./fr/chat.json":return t(()=>import("./chat.5bdb1fa9.js"),[]);case"./fr/chatdoc.json":return t(()=>import("./chatdoc.82bb469d.js"),[]);case"./fr/common.json":return t(()=>import("./common.659f33c4.js"),[]);case"./fr/console.json":return t(()=>import("./console.ef2fcc3d.js"),[]);case"./fr/credential.json":return t(()=>import("./credential.d432557a.js"),[]);case"./fr/distribution.json":return t(()=>import("./distribution.632802b2.js"),[]);case"./fr/flux.json":return t(()=>import("./flux.d3981c83.js"),[]);case"./fr/hailuo.json":return t(()=>import("./hailuo.3894ef18.js"),[]);case"./fr/headshots.json":return t(()=>import("./headshots.b7f623fd.js"),[]);case"./fr/index.json":return t(()=>import("./index.1a15ffa9.js"),[]);case"./fr/luma.json":return t(()=>import("./luma.18e6d08f.js"),[]);case"./fr/midjourney.json":return t(()=>import("./midjourney.eafd626e.js"),[]);case"./fr/order.json":return t(()=>import("./order.278cc8ec.js"),[]);case"./fr/pika.json":return t(()=>import("./pika.b6e68e7c.js"),[]);case"./fr/proxy.json":return t(()=>import("./proxy.31dfefac.js"),[]);case"./fr/qrart.json":return t(()=>import("./qrart.8005bd82.js"),[]);case"./fr/service.json":return t(()=>import("./service.ebc8e30e.js"),[]);case"./fr/site.json":return t(()=>import("./site.44c62f61.js"),[]);case"./fr/suno.json":return t(()=>import("./suno.2b0db2f6.js"),[]);case"./fr/usage.json":return t(()=>import("./usage.b40a1557.js"),[]);case"./fr/user.json":return t(()=>import("./user.637aff20.js"),[]);case"./it/api.json":return t(()=>import("./api.fc827dfb.js"),[]);case"./it/application.json":return t(()=>import("./application.74e344c5.js"),[]);case"./it/chat.json":return t(()=>import("./chat.2249a770.js"),[]);case"./it/chatdoc.json":return t(()=>import("./chatdoc.6f26a6c3.js"),[]);case"./it/common.json":return t(()=>import("./common.d5838598.js"),[]);case"./it/console.json":return t(()=>import("./console.5a8befab.js"),[]);case"./it/credential.json":return t(()=>import("./credential.f4a14d2a.js"),[]);case"./it/distribution.json":return t(()=>import("./distribution.2445a0a4.js"),[]);case"./it/flux.json":return t(()=>import("./flux.85acdc01.js"),[]);case"./it/hailuo.json":return t(()=>import("./hailuo.0a3d1340.js"),[]);case"./it/headshots.json":return t(()=>import("./headshots.1cbbfdec.js"),[]);case"./it/index.json":return t(()=>import("./index.c087482b.js"),[]);case"./it/luma.json":return t(()=>import("./luma.e7b2fcf0.js"),[]);case"./it/midjourney.json":return t(()=>import("./midjourney.b64f9044.js"),[]);case"./it/order.json":return t(()=>import("./order.3e7803d7.js"),[]);case"./it/pika.json":return t(()=>import("./pika.8d1748d4.js"),[]);case"./it/proxy.json":return t(()=>import("./proxy.329911e7.js"),[]);case"./it/qrart.json":return t(()=>import("./qrart.c5db1454.js"),[]);case"./it/service.json":return t(()=>import("./service.6d83c187.js"),[]);case"./it/site.json":return t(()=>import("./site.2b75a139.js"),[]);case"./it/suno.json":return t(()=>import("./suno.0d0b3167.js"),[]);case"./it/usage.json":return t(()=>import("./usage.fa1a36cb.js"),[]);case"./it/user.json":return t(()=>import("./user.280e7fdd.js"),[]);case"./ja/api.json":return t(()=>import("./api.40468439.js"),[]);case"./ja/application.json":return t(()=>import("./application.44ac4a6b.js"),[]);case"./ja/chat.json":return t(()=>import("./chat.c1313474.js"),[]);case"./ja/chatdoc.json":return t(()=>import("./chatdoc.6e05604b.js"),[]);case"./ja/common.json":return t(()=>import("./common.d5497470.js"),[]);case"./ja/console.json":return t(()=>import("./console.60252e24.js"),[]);case"./ja/credential.json":return t(()=>import("./credential.d4f63a8b.js"),[]);case"./ja/distribution.json":return t(()=>import("./distribution.4abbea61.js"),[]);case"./ja/flux.json":return t(()=>import("./flux.35de7d11.js"),[]);case"./ja/hailuo.json":return t(()=>import("./hailuo.d63e17d4.js"),[]);case"./ja/headshots.json":return t(()=>import("./headshots.ad352e10.js"),[]);case"./ja/index.json":return t(()=>import("./index.391197bf.js"),[]);case"./ja/luma.json":return t(()=>import("./luma.52656c21.js"),[]);case"./ja/midjourney.json":return t(()=>import("./midjourney.e4c1f3aa.js"),[]);case"./ja/order.json":return t(()=>import("./order.5b71322d.js"),[]);case"./ja/pika.json":return t(()=>import("./pika.1047a022.js"),[]);case"./ja/proxy.json":return t(()=>import("./proxy.1b499543.js"),[]);case"./ja/qrart.json":return t(()=>import("./qrart.7a0262e3.js"),[]);case"./ja/service.json":return t(()=>import("./service.8cd05403.js"),[]);case"./ja/site.json":return t(()=>import("./site.7c4177ff.js"),[]);case"./ja/suno.json":return t(()=>import("./suno.a1c54502.js"),[]);case"./ja/usage.json":return t(()=>import("./usage.3299fdd7.js"),[]);case"./ja/user.json":return t(()=>import("./user.073bb362.js"),[]);case"./ko/api.json":return t(()=>import("./api.1072ae11.js"),[]);case"./ko/application.json":return t(()=>import("./application.69f2d78e.js"),[]);case"./ko/chat.json":return t(()=>import("./chat.cba3af00.js"),[]);case"./ko/chatdoc.json":return t(()=>import("./chatdoc.4963b715.js"),[]);case"./ko/common.json":return t(()=>import("./common.86058aa9.js"),[]);case"./ko/console.json":return t(()=>import("./console.1ac9637c.js"),[]);case"./ko/credential.json":return t(()=>import("./credential.74124158.js"),[]);case"./ko/distribution.json":return t(()=>import("./distribution.f1e4ae1b.js"),[]);case"./ko/flux.json":return t(()=>import("./flux.704493e1.js"),[]);case"./ko/hailuo.json":return t(()=>import("./hailuo.b5941733.js"),[]);case"./ko/headshots.json":return t(()=>import("./headshots.ae3d4804.js"),[]);case"./ko/index.json":return t(()=>import("./index.815395c4.js"),[]);case"./ko/luma.json":return t(()=>import("./luma.0a2d1bc5.js"),[]);case"./ko/midjourney.json":return t(()=>import("./midjourney.e142e4ba.js"),[]);case"./ko/order.json":return t(()=>import("./order.add6d5c2.js"),[]);case"./ko/pika.json":return t(()=>import("./pika.33eccc59.js"),[]);case"./ko/proxy.json":return t(()=>import("./proxy.a3f16b8e.js"),[]);case"./ko/qrart.json":return t(()=>import("./qrart.9d5d6cb7.js"),[]);case"./ko/service.json":return t(()=>import("./service.d83bf89d.js"),[]);case"./ko/site.json":return t(()=>import("./site.9b960df6.js"),[]);case"./ko/suno.json":return t(()=>import("./suno.256e43be.js"),[]);case"./ko/usage.json":return t(()=>import("./usage.3b165b46.js"),[]);case"./ko/user.json":return t(()=>import("./user.eee57bcd.js"),[]);case"./pl/api.json":return t(()=>import("./api.ae1c3f85.js"),[]);case"./pl/application.json":return t(()=>import("./application.1ffb2c4e.js"),[]);case"./pl/chat.json":return t(()=>import("./chat.0259ba8b.js"),[]);case"./pl/chatdoc.json":return t(()=>import("./chatdoc.cb5d28e1.js"),[]);case"./pl/common.json":return t(()=>import("./common.332fa235.js"),[]);case"./pl/console.json":return t(()=>import("./console.1bb43f37.js"),[]);case"./pl/credential.json":return t(()=>import("./credential.c70da515.js"),[]);case"./pl/distribution.json":return t(()=>import("./distribution.f28ca36e.js"),[]);case"./pl/flux.json":return t(()=>import("./flux.4a85f636.js"),[]);case"./pl/hailuo.json":return t(()=>import("./hailuo.aa84f90f.js"),[]);case"./pl/headshots.json":return t(()=>import("./headshots.a6439b75.js"),[]);case"./pl/index.json":return t(()=>import("./index.63b639eb.js"),[]);case"./pl/luma.json":return t(()=>import("./luma.e617a083.js"),[]);case"./pl/midjourney.json":return t(()=>import("./midjourney.bfa5a88f.js"),[]);case"./pl/order.json":return t(()=>import("./order.8d3d3f7d.js"),[]);case"./pl/pika.json":return t(()=>import("./pika.abbb4ef6.js"),[]);case"./pl/proxy.json":return t(()=>import("./proxy.27ed7c24.js"),[]);case"./pl/qrart.json":return t(()=>import("./qrart.ced8eb0c.js"),[]);case"./pl/service.json":return t(()=>import("./service.5ff88101.js"),[]);case"./pl/site.json":return t(()=>import("./site.2c4bc670.js"),[]);case"./pl/suno.json":return t(()=>import("./suno.bbc0ba33.js"),[]);case"./pl/usage.json":return t(()=>import("./usage.4a0c5964.js"),[]);case"./pl/user.json":return t(()=>import("./user.f9c585bf.js"),[]);case"./pt/api.json":return t(()=>import("./api.729038af.js"),[]);case"./pt/application.json":return t(()=>import("./application.2e2dc69d.js"),[]);case"./pt/chat.json":return t(()=>import("./chat.5b3b6e73.js"),[]);case"./pt/chatdoc.json":return t(()=>import("./chatdoc.369240c0.js"),[]);case"./pt/common.json":return t(()=>import("./common.12de3aff.js"),[]);case"./pt/console.json":return t(()=>import("./console.d241b50f.js"),[]);case"./pt/credential.json":return t(()=>import("./credential.193339b9.js"),[]);case"./pt/distribution.json":return t(()=>import("./distribution.2dae690c.js"),[]);case"./pt/flux.json":return t(()=>import("./flux.3ba35e0e.js"),[]);case"./pt/hailuo.json":return t(()=>import("./hailuo.48169a81.js"),[]);case"./pt/headshots.json":return t(()=>import("./headshots.9f5c1eb1.js"),[]);case"./pt/index.json":return t(()=>import("./index.2f2bd2f0.js"),[]);case"./pt/luma.json":return t(()=>import("./luma.3d28b187.js"),[]);case"./pt/midjourney.json":return t(()=>import("./midjourney.2ccedef1.js"),[]);case"./pt/order.json":return t(()=>import("./order.29387b0c.js"),[]);case"./pt/pika.json":return t(()=>import("./pika.c4450136.js"),[]);case"./pt/proxy.json":return t(()=>import("./proxy.a908dbb4.js"),[]);case"./pt/qrart.json":return t(()=>import("./qrart.a06ccb3a.js"),[]);case"./pt/service.json":return t(()=>import("./service.f4552453.js"),[]);case"./pt/site.json":return t(()=>import("./site.7a809230.js"),[]);case"./pt/suno.json":return t(()=>import("./suno.f8f4e59f.js"),[]);case"./pt/usage.json":return t(()=>import("./usage.f2504542.js"),[]);case"./pt/user.json":return t(()=>import("./user.d80f3bba.js"),[]);case"./ru/api.json":return t(()=>import("./api.69c809ee.js"),[]);case"./ru/application.json":return t(()=>import("./application.cc12550d.js"),[]);case"./ru/chat.json":return t(()=>import("./chat.7f5f30fd.js"),[]);case"./ru/chatdoc.json":return t(()=>import("./chatdoc.26e34f62.js"),[]);case"./ru/common.json":return t(()=>import("./common.76e73cc9.js"),[]);case"./ru/console.json":return t(()=>import("./console.ae88ad84.js"),[]);case"./ru/credential.json":return t(()=>import("./credential.fdfc75af.js"),[]);case"./ru/distribution.json":return t(()=>import("./distribution.169757d7.js"),[]);case"./ru/flux.json":return t(()=>import("./flux.e9ef5810.js"),[]);case"./ru/hailuo.json":return t(()=>import("./hailuo.d4c2b8de.js"),[]);case"./ru/headshots.json":return t(()=>import("./headshots.6a51ab17.js"),[]);case"./ru/index.json":return t(()=>import("./index.f13c8e0d.js"),[]);case"./ru/luma.json":return t(()=>import("./luma.0e37bf0d.js"),[]);case"./ru/midjourney.json":return t(()=>import("./midjourney.189899ef.js"),[]);case"./ru/order.json":return t(()=>import("./order.524b686a.js"),[]);case"./ru/pika.json":return t(()=>import("./pika.22a83988.js"),[]);case"./ru/proxy.json":return t(()=>import("./proxy.438efd9f.js"),[]);case"./ru/qrart.json":return t(()=>import("./qrart.cee3a84a.js"),[]);case"./ru/service.json":return t(()=>import("./service.49b63035.js"),[]);case"./ru/site.json":return t(()=>import("./site.96eba8d6.js"),[]);case"./ru/suno.json":return t(()=>import("./suno.06f488a0.js"),[]);case"./ru/usage.json":return t(()=>import("./usage.0cf4c0cc.js"),[]);case"./ru/user.json":return t(()=>import("./user.ec9b9e19.js"),[]);case"./sr/api.json":return t(()=>import("./api.cc772840.js"),[]);case"./sr/application.json":return t(()=>import("./application.746d8c67.js"),[]);case"./sr/chat.json":return t(()=>import("./chat.ceae5335.js"),[]);case"./sr/chatdoc.json":return t(()=>import("./chatdoc.5968870d.js"),[]);case"./sr/common.json":return t(()=>import("./common.bc10c6d4.js"),[]);case"./sr/console.json":return t(()=>import("./console.606e5a51.js"),[]);case"./sr/credential.json":return t(()=>import("./credential.5ea3ce28.js"),[]);case"./sr/distribution.json":return t(()=>import("./distribution.203b5891.js"),[]);case"./sr/flux.json":return t(()=>import("./flux.0ede9546.js"),[]);case"./sr/hailuo.json":return t(()=>import("./hailuo.7ca07086.js"),[]);case"./sr/headshots.json":return t(()=>import("./headshots.fd93138d.js"),[]);case"./sr/index.json":return t(()=>import("./index.93a0aa5d.js"),[]);case"./sr/luma.json":return t(()=>import("./luma.4a08cf42.js"),[]);case"./sr/midjourney.json":return t(()=>import("./midjourney.3a6a941b.js"),[]);case"./sr/order.json":return t(()=>import("./order.d2ad515f.js"),[]);case"./sr/pika.json":return t(()=>import("./pika.2f258e5c.js"),[]);case"./sr/proxy.json":return t(()=>import("./proxy.e01ba053.js"),[]);case"./sr/qrart.json":return t(()=>import("./qrart.ad515162.js"),[]);case"./sr/service.json":return t(()=>import("./service.26f94202.js"),[]);case"./sr/site.json":return t(()=>import("./site.3ebc262d.js"),[]);case"./sr/suno.json":return t(()=>import("./suno.c7868d9e.js"),[]);case"./sr/usage.json":return t(()=>import("./usage.a438d3e1.js"),[]);case"./sr/user.json":return t(()=>import("./user.63e6d5b1.js"),[]);case"./sv/api.json":return t(()=>import("./api.49b52521.js"),[]);case"./sv/application.json":return t(()=>import("./application.e25e0a92.js"),[]);case"./sv/chat.json":return t(()=>import("./chat.1ed130b1.js"),[]);case"./sv/chatdoc.json":return t(()=>import("./chatdoc.8b1244bd.js"),[]);case"./sv/common.json":return t(()=>import("./common.2d0527ed.js"),[]);case"./sv/console.json":return t(()=>import("./console.0dd7da82.js"),[]);case"./sv/credential.json":return t(()=>import("./credential.f3da317c.js"),[]);case"./sv/distribution.json":return t(()=>import("./distribution.00e29fe2.js"),[]);case"./sv/flux.json":return t(()=>import("./flux.5f78b248.js"),[]);case"./sv/hailuo.json":return t(()=>import("./hailuo.db591cd1.js"),[]);case"./sv/headshots.json":return t(()=>import("./headshots.563e619d.js"),[]);case"./sv/index.json":return t(()=>import("./index.e0fe452a.js"),[]);case"./sv/luma.json":return t(()=>import("./luma.d078b9c2.js"),[]);case"./sv/midjourney.json":return t(()=>import("./midjourney.024feb94.js"),[]);case"./sv/order.json":return t(()=>import("./order.c70b9393.js"),[]);case"./sv/pika.json":return t(()=>import("./pika.570fa7f4.js"),[]);case"./sv/proxy.json":return t(()=>import("./proxy.45f75aef.js"),[]);case"./sv/qrart.json":return t(()=>import("./qrart.f2295254.js"),[]);case"./sv/service.json":return t(()=>import("./service.f87877d7.js"),[]);case"./sv/site.json":return t(()=>import("./site.53081110.js"),[]);case"./sv/suno.json":return t(()=>import("./suno.130d375e.js"),[]);case"./sv/usage.json":return t(()=>import("./usage.fea8e259.js"),[]);case"./sv/user.json":return t(()=>import("./user.6107ec3a.js"),[]);case"./uk/api.json":return t(()=>import("./api.c8f12c88.js"),[]);case"./uk/application.json":return t(()=>import("./application.391cc2f4.js"),[]);case"./uk/chat.json":return t(()=>import("./chat.4eec9d13.js"),[]);case"./uk/chatdoc.json":return t(()=>import("./chatdoc.e6a3302d.js"),[]);case"./uk/common.json":return t(()=>import("./common.3366b53f.js"),[]);case"./uk/console.json":return t(()=>import("./console.1ef2a589.js"),[]);case"./uk/credential.json":return t(()=>import("./credential.57d6cf16.js"),[]);case"./uk/distribution.json":return t(()=>import("./distribution.e37416a9.js"),[]);case"./uk/flux.json":return t(()=>import("./flux.63ef3571.js"),[]);case"./uk/hailuo.json":return t(()=>import("./hailuo.6eaa7dc4.js"),[]);case"./uk/headshots.json":return t(()=>import("./headshots.880f2cb1.js"),[]);case"./uk/index.json":return t(()=>import("./index.86722d1a.js"),[]);case"./uk/luma.json":return t(()=>import("./luma.ce424894.js"),[]);case"./uk/midjourney.json":return t(()=>import("./midjourney.c6623005.js"),[]);case"./uk/order.json":return t(()=>import("./order.3ac01c79.js"),[]);case"./uk/pika.json":return t(()=>import("./pika.9c511404.js"),[]);case"./uk/proxy.json":return t(()=>import("./proxy.5342d506.js"),[]);case"./uk/qrart.json":return t(()=>import("./qrart.17db44d9.js"),[]);case"./uk/service.json":return t(()=>import("./service.e6e75f15.js"),[]);case"./uk/site.json":return t(()=>import("./site.1884a74b.js"),[]);case"./uk/suno.json":return t(()=>import("./suno.131a13da.js"),[]);case"./uk/usage.json":return t(()=>import("./usage.d3fdd7f1.js"),[]);case"./uk/user.json":return t(()=>import("./user.b9d90188.js"),[]);case"./zh-CN/api.json":return t(()=>import("./api.89ab9415.js"),[]);case"./zh-CN/application.json":return t(()=>import("./application.40ba0f44.js"),[]);case"./zh-CN/chat.json":return t(()=>import("./chat.17dac350.js"),[]);case"./zh-CN/chatdoc.json":return t(()=>import("./chatdoc.d6fa331d.js"),[]);case"./zh-CN/common.json":return t(()=>import("./common.bc6d3758.js"),[]);case"./zh-CN/console.json":return t(()=>import("./console.7460147d.js"),[]);case"./zh-CN/credential.json":return t(()=>import("./credential.338b5853.js"),[]);case"./zh-CN/distribution.json":return t(()=>import("./distribution.5edcdee0.js"),[]);case"./zh-CN/flux.json":return t(()=>import("./flux.4dc922cd.js"),[]);case"./zh-CN/hailuo.json":return t(()=>import("./hailuo.95a516b3.js"),[]);case"./zh-CN/headshots.json":return t(()=>import("./headshots.cf88ab1d.js"),[]);case"./zh-CN/index.json":return t(()=>import("./index.0988453d.js"),[]);case"./zh-CN/luma.json":return t(()=>import("./luma.3c482943.js"),[]);case"./zh-CN/midjourney.json":return t(()=>import("./midjourney.9f515f7b.js"),[]);case"./zh-CN/order.json":return t(()=>import("./order.e6baafc7.js"),[]);case"./zh-CN/pika.json":return t(()=>import("./pika.1f71c4a3.js"),[]);case"./zh-CN/proxy.json":return t(()=>import("./proxy.424636df.js"),[]);case"./zh-CN/qrart.json":return t(()=>import("./qrart.54f977a7.js"),[]);case"./zh-CN/service.json":return t(()=>import("./service.825fb571.js"),[]);case"./zh-CN/site.json":return t(()=>import("./site.d923e8bd.js"),[]);case"./zh-CN/suno.json":return t(()=>import("./suno.c7d66002.js"),[]);case"./zh-CN/usage.json":return t(()=>import("./usage.f849bfdf.js"),[]);case"./zh-CN/user.json":return t(()=>import("./user.226c4ac3.js"),[]);case"./zh-TW/api.json":return t(()=>import("./api.0ed4a0ea.js"),[]);case"./zh-TW/application.json":return t(()=>import("./application.a4d96684.js"),[]);case"./zh-TW/chat.json":return t(()=>import("./chat.88a37127.js"),[]);case"./zh-TW/chatdoc.json":return t(()=>import("./chatdoc.a7a590fd.js"),[]);case"./zh-TW/common.json":return t(()=>import("./common.ef8768a3.js"),[]);case"./zh-TW/console.json":return t(()=>import("./console.b5e9a43c.js"),[]);case"./zh-TW/credential.json":return t(()=>import("./credential.276e510d.js"),[]);case"./zh-TW/distribution.json":return t(()=>import("./distribution.dc7ef2a5.js"),[]);case"./zh-TW/flux.json":return t(()=>import("./flux.08705b63.js"),[]);case"./zh-TW/hailuo.json":return t(()=>import("./hailuo.2cb82586.js"),[]);case"./zh-TW/headshots.json":return t(()=>import("./headshots.4c83a9b2.js"),[]);case"./zh-TW/index.json":return t(()=>import("./index.0542cd26.js"),[]);case"./zh-TW/luma.json":return t(()=>import("./luma.baf56472.js"),[]);case"./zh-TW/midjourney.json":return t(()=>import("./midjourney.50c422d9.js"),[]);case"./zh-TW/order.json":return t(()=>import("./order.fb26e6cb.js"),[]);case"./zh-TW/pika.json":return t(()=>import("./pika.4a35a435.js"),[]);case"./zh-TW/proxy.json":return t(()=>import("./proxy.91a75f89.js"),[]);case"./zh-TW/qrart.json":return t(()=>import("./qrart.1541146d.js"),[]);case"./zh-TW/service.json":return t(()=>import("./service.5820e29d.js"),[]);case"./zh-TW/site.json":return t(()=>import("./site.f7c684ed.js"),[]);case"./zh-TW/suno.json":return t(()=>import("./suno.d55c5890.js"),[]);case"./zh-TW/usage.json":return t(()=>import("./usage.88bceb01.js"),[]);case"./zh-TW/user.json":return t(()=>import("./user.04f9b8d7.js"),[]);default:return new Promise(function(e,o){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+s)))})}}function Ks(s){switch(s){case"./ar/api.json":return t(()=>import("./api.a332bb5c.js"),[]);case"./ar/application.json":return t(()=>import("./application.e6a79b83.js"),[]);case"./ar/chat.json":return t(()=>import("./chat.c5786f25.js"),[]);case"./ar/chatdoc.json":return t(()=>import("./chatdoc.c9102d6b.js"),[]);case"./ar/common.json":return t(()=>import("./common.49d7894d.js"),[]);case"./ar/console.json":return t(()=>import("./console.3eac0149.js"),[]);case"./ar/credential.json":return t(()=>import("./credential.eb41fe73.js"),[]);case"./ar/distribution.json":return t(()=>import("./distribution.b5b433ca.js"),[]);case"./ar/flux.json":return t(()=>import("./flux.ebccaa4e.js"),[]);case"./ar/hailuo.json":return t(()=>import("./hailuo.37108325.js"),[]);case"./ar/headshots.json":return t(()=>import("./headshots.5fdd5f0b.js"),[]);case"./ar/index.json":return t(()=>import("./index.8677a92c.js"),[]);case"./ar/luma.json":return t(()=>import("./luma.a2c4798b.js"),[]);case"./ar/midjourney.json":return t(()=>import("./midjourney.6fdf3710.js"),[]);case"./ar/order.json":return t(()=>import("./order.a215bde7.js"),[]);case"./ar/pika.json":return t(()=>import("./pika.5821905a.js"),[]);case"./ar/proxy.json":return t(()=>import("./proxy.e373b98b.js"),[]);case"./ar/qrart.json":return t(()=>import("./qrart.aa7386b1.js"),[]);case"./ar/service.json":return t(()=>import("./service.d728679c.js"),[]);case"./ar/site.json":return t(()=>import("./site.c5d2323b.js"),[]);case"./ar/suno.json":return t(()=>import("./suno.067d08d5.js"),[]);case"./ar/usage.json":return t(()=>import("./usage.d72320b1.js"),[]);case"./ar/user.json":return t(()=>import("./user.08c501a5.js"),[]);case"./de/api.json":return t(()=>import("./api.818af659.js"),[]);case"./de/application.json":return t(()=>import("./application.7e46e171.js"),[]);case"./de/chat.json":return t(()=>import("./chat.aba815b5.js"),[]);case"./de/chatdoc.json":return t(()=>import("./chatdoc.a330c226.js"),[]);case"./de/common.json":return t(()=>import("./common.0bb76e04.js"),[]);case"./de/console.json":return t(()=>import("./console.6f8b5c9d.js"),[]);case"./de/credential.json":return t(()=>import("./credential.842dfa48.js"),[]);case"./de/distribution.json":return t(()=>import("./distribution.a9896fef.js"),[]);case"./de/flux.json":return t(()=>import("./flux.6bff76dc.js"),[]);case"./de/hailuo.json":return t(()=>import("./hailuo.3b8f72eb.js"),[]);case"./de/headshots.json":return t(()=>import("./headshots.6501db19.js"),[]);case"./de/index.json":return t(()=>import("./index.b44a7261.js"),[]);case"./de/luma.json":return t(()=>import("./luma.992755c1.js"),[]);case"./de/midjourney.json":return t(()=>import("./midjourney.4116bbd1.js"),[]);case"./de/order.json":return t(()=>import("./order.02f20e45.js"),[]);case"./de/pika.json":return t(()=>import("./pika.8c2e668b.js"),[]);case"./de/proxy.json":return t(()=>import("./proxy.6197ed3c.js"),[]);case"./de/qrart.json":return t(()=>import("./qrart.37c2f506.js"),[]);case"./de/service.json":return t(()=>import("./service.be2b65e6.js"),[]);case"./de/site.json":return t(()=>import("./site.de131573.js"),[]);case"./de/suno.json":return t(()=>import("./suno.aa1e6bd8.js"),[]);case"./de/usage.json":return t(()=>import("./usage.04f0f71e.js"),[]);case"./de/user.json":return t(()=>import("./user.8c2740d5.js"),[]);case"./el/api.json":return t(()=>import("./api.73a91481.js"),[]);case"./el/application.json":return t(()=>import("./application.3e1aa320.js"),[]);case"./el/chat.json":return t(()=>import("./chat.461512c7.js"),[]);case"./el/chatdoc.json":return t(()=>import("./chatdoc.38093bef.js"),[]);case"./el/common.json":return t(()=>import("./common.ae083051.js"),[]);case"./el/console.json":return t(()=>import("./console.f2b5361b.js"),[]);case"./el/credential.json":return t(()=>import("./credential.04598fa3.js"),[]);case"./el/distribution.json":return t(()=>import("./distribution.fec7067a.js"),[]);case"./el/flux.json":return t(()=>import("./flux.82000e74.js"),[]);case"./el/hailuo.json":return t(()=>import("./hailuo.b58fe7ac.js"),[]);case"./el/headshots.json":return t(()=>import("./headshots.56eae7e4.js"),[]);case"./el/index.json":return t(()=>import("./index.3dcc9f0d.js"),[]);case"./el/luma.json":return t(()=>import("./luma.90f454c9.js"),[]);case"./el/midjourney.json":return t(()=>import("./midjourney.a515e2c2.js"),[]);case"./el/order.json":return t(()=>import("./order.1c358a68.js"),[]);case"./el/pika.json":return t(()=>import("./pika.86c7b2e1.js"),[]);case"./el/proxy.json":return t(()=>import("./proxy.77adcc26.js"),[]);case"./el/qrart.json":return t(()=>import("./qrart.53d9e410.js"),[]);case"./el/service.json":return t(()=>import("./service.62f9c8e6.js"),[]);case"./el/site.json":return t(()=>import("./site.53ec062b.js"),[]);case"./el/suno.json":return t(()=>import("./suno.62991510.js"),[]);case"./el/usage.json":return t(()=>import("./usage.771626b6.js"),[]);case"./el/user.json":return t(()=>import("./user.97a64233.js"),[]);case"./en/api.json":return t(()=>import("./api.7dc36d47.js"),[]);case"./en/application.json":return t(()=>import("./application.0fac8022.js"),[]);case"./en/chat.json":return t(()=>import("./chat.816635a4.js"),[]);case"./en/chatdoc.json":return t(()=>import("./chatdoc.c99b8fc5.js"),[]);case"./en/common.json":return t(()=>import("./common.df148e38.js"),[]);case"./en/console.json":return t(()=>import("./console.7aefcf17.js"),[]);case"./en/credential.json":return t(()=>import("./credential.1193646d.js"),[]);case"./en/distribution.json":return t(()=>import("./distribution.40bd61b0.js"),[]);case"./en/flux.json":return t(()=>import("./flux.aa8f0ba0.js"),[]);case"./en/hailuo.json":return t(()=>import("./hailuo.603baf35.js"),[]);case"./en/headshots.json":return t(()=>import("./headshots.1a490a07.js"),[]);case"./en/index.json":return t(()=>import("./index.db83989d.js"),[]);case"./en/luma.json":return t(()=>import("./luma.68816b5a.js"),[]);case"./en/midjourney.json":return t(()=>import("./midjourney.a7d2fe5f.js"),[]);case"./en/order.json":return t(()=>import("./order.9ac50540.js"),[]);case"./en/pika.json":return t(()=>import("./pika.9ff73e9f.js"),[]);case"./en/proxy.json":return t(()=>import("./proxy.d6167c9e.js"),[]);case"./en/qrart.json":return t(()=>import("./qrart.43211b0c.js"),[]);case"./en/service.json":return t(()=>import("./service.847fd288.js"),[]);case"./en/site.json":return t(()=>import("./site.9d5b0661.js"),[]);case"./en/suno.json":return t(()=>import("./suno.406d72fb.js"),[]);case"./en/usage.json":return t(()=>import("./usage.b2867a7c.js"),[]);case"./en/user.json":return t(()=>import("./user.3529d32e.js"),[]);case"./es/api.json":return t(()=>import("./api.213cd308.js"),[]);case"./es/application.json":return t(()=>import("./application.538c1d62.js"),[]);case"./es/chat.json":return t(()=>import("./chat.c09e9754.js"),[]);case"./es/chatdoc.json":return t(()=>import("./chatdoc.be4f6cf9.js"),[]);case"./es/common.json":return t(()=>import("./common.3f10865b.js"),[]);case"./es/console.json":return t(()=>import("./console.a2466212.js"),[]);case"./es/credential.json":return t(()=>import("./credential.af11f12c.js"),[]);case"./es/distribution.json":return t(()=>import("./distribution.04b256bf.js"),[]);case"./es/flux.json":return t(()=>import("./flux.cc80368d.js"),[]);case"./es/hailuo.json":return t(()=>import("./hailuo.b75c4887.js"),[]);case"./es/headshots.json":return t(()=>import("./headshots.592a7a6d.js"),[]);case"./es/index.json":return t(()=>import("./index.f964e456.js"),[]);case"./es/luma.json":return t(()=>import("./luma.31f6450b.js"),[]);case"./es/midjourney.json":return t(()=>import("./midjourney.d5dccaef.js"),[]);case"./es/order.json":return t(()=>import("./order.a8b6322f.js"),[]);case"./es/pika.json":return t(()=>import("./pika.524e74df.js"),[]);case"./es/proxy.json":return t(()=>import("./proxy.eecf47a3.js"),[]);case"./es/qrart.json":return t(()=>import("./qrart.93d793b1.js"),[]);case"./es/service.json":return t(()=>import("./service.99fe12fc.js"),[]);case"./es/site.json":return t(()=>import("./site.dca111ff.js"),[]);case"./es/suno.json":return t(()=>import("./suno.1a4dee58.js"),[]);case"./es/usage.json":return t(()=>import("./usage.4880575b.js"),[]);case"./es/user.json":return t(()=>import("./user.167a4041.js"),[]);case"./fi/api.json":return t(()=>import("./api.0f034ae6.js"),[]);case"./fi/application.json":return t(()=>import("./application.07ad8042.js"),[]);case"./fi/chat.json":return t(()=>import("./chat.1a84dfe6.js"),[]);case"./fi/chatdoc.json":return t(()=>import("./chatdoc.eb31a140.js"),[]);case"./fi/common.json":return t(()=>import("./common.b423a5ed.js"),[]);case"./fi/console.json":return t(()=>import("./console.c66adbdf.js"),[]);case"./fi/credential.json":return t(()=>import("./credential.f872a714.js"),[]);case"./fi/distribution.json":return t(()=>import("./distribution.d131e1b9.js"),[]);case"./fi/flux.json":return t(()=>import("./flux.3712c862.js"),[]);case"./fi/hailuo.json":return t(()=>import("./hailuo.76df33b6.js"),[]);case"./fi/headshots.json":return t(()=>import("./headshots.c94c35eb.js"),[]);case"./fi/index.json":return t(()=>import("./index.37465f4e.js"),[]);case"./fi/luma.json":return t(()=>import("./luma.eb9a8302.js"),[]);case"./fi/midjourney.json":return t(()=>import("./midjourney.e167aae9.js"),[]);case"./fi/order.json":return t(()=>import("./order.d217f5ff.js"),[]);case"./fi/pika.json":return t(()=>import("./pika.389c95d2.js"),[]);case"./fi/proxy.json":return t(()=>import("./proxy.133d11fd.js"),[]);case"./fi/qrart.json":return t(()=>import("./qrart.ee490b29.js"),[]);case"./fi/service.json":return t(()=>import("./service.2508f46e.js"),[]);case"./fi/site.json":return t(()=>import("./site.7e02b1ab.js"),[]);case"./fi/suno.json":return t(()=>import("./suno.f9072af1.js"),[]);case"./fi/usage.json":return t(()=>import("./usage.b0968cb7.js"),[]);case"./fi/user.json":return t(()=>import("./user.6ed11ce4.js"),[]);case"./fr/api.json":return t(()=>import("./api.3170d3cc.js"),[]);case"./fr/application.json":return t(()=>import("./application.be4edbdb.js"),[]);case"./fr/chat.json":return t(()=>import("./chat.5bdb1fa9.js"),[]);case"./fr/chatdoc.json":return t(()=>import("./chatdoc.82bb469d.js"),[]);case"./fr/common.json":return t(()=>import("./common.659f33c4.js"),[]);case"./fr/console.json":return t(()=>import("./console.ef2fcc3d.js"),[]);case"./fr/credential.json":return t(()=>import("./credential.d432557a.js"),[]);case"./fr/distribution.json":return t(()=>import("./distribution.632802b2.js"),[]);case"./fr/flux.json":return t(()=>import("./flux.d3981c83.js"),[]);case"./fr/hailuo.json":return t(()=>import("./hailuo.3894ef18.js"),[]);case"./fr/headshots.json":return t(()=>import("./headshots.b7f623fd.js"),[]);case"./fr/index.json":return t(()=>import("./index.1a15ffa9.js"),[]);case"./fr/luma.json":return t(()=>import("./luma.18e6d08f.js"),[]);case"./fr/midjourney.json":return t(()=>import("./midjourney.eafd626e.js"),[]);case"./fr/order.json":return t(()=>import("./order.278cc8ec.js"),[]);case"./fr/pika.json":return t(()=>import("./pika.b6e68e7c.js"),[]);case"./fr/proxy.json":return t(()=>import("./proxy.31dfefac.js"),[]);case"./fr/qrart.json":return t(()=>import("./qrart.8005bd82.js"),[]);case"./fr/service.json":return t(()=>import("./service.ebc8e30e.js"),[]);case"./fr/site.json":return t(()=>import("./site.44c62f61.js"),[]);case"./fr/suno.json":return t(()=>import("./suno.2b0db2f6.js"),[]);case"./fr/usage.json":return t(()=>import("./usage.b40a1557.js"),[]);case"./fr/user.json":return t(()=>import("./user.637aff20.js"),[]);case"./it/api.json":return t(()=>import("./api.fc827dfb.js"),[]);case"./it/application.json":return t(()=>import("./application.74e344c5.js"),[]);case"./it/chat.json":return t(()=>import("./chat.2249a770.js"),[]);case"./it/chatdoc.json":return t(()=>import("./chatdoc.6f26a6c3.js"),[]);case"./it/common.json":return t(()=>import("./common.d5838598.js"),[]);case"./it/console.json":return t(()=>import("./console.5a8befab.js"),[]);case"./it/credential.json":return t(()=>import("./credential.f4a14d2a.js"),[]);case"./it/distribution.json":return t(()=>import("./distribution.2445a0a4.js"),[]);case"./it/flux.json":return t(()=>import("./flux.85acdc01.js"),[]);case"./it/hailuo.json":return t(()=>import("./hailuo.0a3d1340.js"),[]);case"./it/headshots.json":return t(()=>import("./headshots.1cbbfdec.js"),[]);case"./it/index.json":return t(()=>import("./index.c087482b.js"),[]);case"./it/luma.json":return t(()=>import("./luma.e7b2fcf0.js"),[]);case"./it/midjourney.json":return t(()=>import("./midjourney.b64f9044.js"),[]);case"./it/order.json":return t(()=>import("./order.3e7803d7.js"),[]);case"./it/pika.json":return t(()=>import("./pika.8d1748d4.js"),[]);case"./it/proxy.json":return t(()=>import("./proxy.329911e7.js"),[]);case"./it/qrart.json":return t(()=>import("./qrart.c5db1454.js"),[]);case"./it/service.json":return t(()=>import("./service.6d83c187.js"),[]);case"./it/site.json":return t(()=>import("./site.2b75a139.js"),[]);case"./it/suno.json":return t(()=>import("./suno.0d0b3167.js"),[]);case"./it/usage.json":return t(()=>import("./usage.fa1a36cb.js"),[]);case"./it/user.json":return t(()=>import("./user.280e7fdd.js"),[]);case"./ja/api.json":return t(()=>import("./api.40468439.js"),[]);case"./ja/application.json":return t(()=>import("./application.44ac4a6b.js"),[]);case"./ja/chat.json":return t(()=>import("./chat.c1313474.js"),[]);case"./ja/chatdoc.json":return t(()=>import("./chatdoc.6e05604b.js"),[]);case"./ja/common.json":return t(()=>import("./common.d5497470.js"),[]);case"./ja/console.json":return t(()=>import("./console.60252e24.js"),[]);case"./ja/credential.json":return t(()=>import("./credential.d4f63a8b.js"),[]);case"./ja/distribution.json":return t(()=>import("./distribution.4abbea61.js"),[]);case"./ja/flux.json":return t(()=>import("./flux.35de7d11.js"),[]);case"./ja/hailuo.json":return t(()=>import("./hailuo.d63e17d4.js"),[]);case"./ja/headshots.json":return t(()=>import("./headshots.ad352e10.js"),[]);case"./ja/index.json":return t(()=>import("./index.391197bf.js"),[]);case"./ja/luma.json":return t(()=>import("./luma.52656c21.js"),[]);case"./ja/midjourney.json":return t(()=>import("./midjourney.e4c1f3aa.js"),[]);case"./ja/order.json":return t(()=>import("./order.5b71322d.js"),[]);case"./ja/pika.json":return t(()=>import("./pika.1047a022.js"),[]);case"./ja/proxy.json":return t(()=>import("./proxy.1b499543.js"),[]);case"./ja/qrart.json":return t(()=>import("./qrart.7a0262e3.js"),[]);case"./ja/service.json":return t(()=>import("./service.8cd05403.js"),[]);case"./ja/site.json":return t(()=>import("./site.7c4177ff.js"),[]);case"./ja/suno.json":return t(()=>import("./suno.a1c54502.js"),[]);case"./ja/usage.json":return t(()=>import("./usage.3299fdd7.js"),[]);case"./ja/user.json":return t(()=>import("./user.073bb362.js"),[]);case"./ko/api.json":return t(()=>import("./api.1072ae11.js"),[]);case"./ko/application.json":return t(()=>import("./application.69f2d78e.js"),[]);case"./ko/chat.json":return t(()=>import("./chat.cba3af00.js"),[]);case"./ko/chatdoc.json":return t(()=>import("./chatdoc.4963b715.js"),[]);case"./ko/common.json":return t(()=>import("./common.86058aa9.js"),[]);case"./ko/console.json":return t(()=>import("./console.1ac9637c.js"),[]);case"./ko/credential.json":return t(()=>import("./credential.74124158.js"),[]);case"./ko/distribution.json":return t(()=>import("./distribution.f1e4ae1b.js"),[]);case"./ko/flux.json":return t(()=>import("./flux.704493e1.js"),[]);case"./ko/hailuo.json":return t(()=>import("./hailuo.b5941733.js"),[]);case"./ko/headshots.json":return t(()=>import("./headshots.ae3d4804.js"),[]);case"./ko/index.json":return t(()=>import("./index.815395c4.js"),[]);case"./ko/luma.json":return t(()=>import("./luma.0a2d1bc5.js"),[]);case"./ko/midjourney.json":return t(()=>import("./midjourney.e142e4ba.js"),[]);case"./ko/order.json":return t(()=>import("./order.add6d5c2.js"),[]);case"./ko/pika.json":return t(()=>import("./pika.33eccc59.js"),[]);case"./ko/proxy.json":return t(()=>import("./proxy.a3f16b8e.js"),[]);case"./ko/qrart.json":return t(()=>import("./qrart.9d5d6cb7.js"),[]);case"./ko/service.json":return t(()=>import("./service.d83bf89d.js"),[]);case"./ko/site.json":return t(()=>import("./site.9b960df6.js"),[]);case"./ko/suno.json":return t(()=>import("./suno.256e43be.js"),[]);case"./ko/usage.json":return t(()=>import("./usage.3b165b46.js"),[]);case"./ko/user.json":return t(()=>import("./user.eee57bcd.js"),[]);case"./pl/api.json":return t(()=>import("./api.ae1c3f85.js"),[]);case"./pl/application.json":return t(()=>import("./application.1ffb2c4e.js"),[]);case"./pl/chat.json":return t(()=>import("./chat.0259ba8b.js"),[]);case"./pl/chatdoc.json":return t(()=>import("./chatdoc.cb5d28e1.js"),[]);case"./pl/common.json":return t(()=>import("./common.332fa235.js"),[]);case"./pl/console.json":return t(()=>import("./console.1bb43f37.js"),[]);case"./pl/credential.json":return t(()=>import("./credential.c70da515.js"),[]);case"./pl/distribution.json":return t(()=>import("./distribution.f28ca36e.js"),[]);case"./pl/flux.json":return t(()=>import("./flux.4a85f636.js"),[]);case"./pl/hailuo.json":return t(()=>import("./hailuo.aa84f90f.js"),[]);case"./pl/headshots.json":return t(()=>import("./headshots.a6439b75.js"),[]);case"./pl/index.json":return t(()=>import("./index.63b639eb.js"),[]);case"./pl/luma.json":return t(()=>import("./luma.e617a083.js"),[]);case"./pl/midjourney.json":return t(()=>import("./midjourney.bfa5a88f.js"),[]);case"./pl/order.json":return t(()=>import("./order.8d3d3f7d.js"),[]);case"./pl/pika.json":return t(()=>import("./pika.abbb4ef6.js"),[]);case"./pl/proxy.json":return t(()=>import("./proxy.27ed7c24.js"),[]);case"./pl/qrart.json":return t(()=>import("./qrart.ced8eb0c.js"),[]);case"./pl/service.json":return t(()=>import("./service.5ff88101.js"),[]);case"./pl/site.json":return t(()=>import("./site.2c4bc670.js"),[]);case"./pl/suno.json":return t(()=>import("./suno.bbc0ba33.js"),[]);case"./pl/usage.json":return t(()=>import("./usage.4a0c5964.js"),[]);case"./pl/user.json":return t(()=>import("./user.f9c585bf.js"),[]);case"./pt/api.json":return t(()=>import("./api.729038af.js"),[]);case"./pt/application.json":return t(()=>import("./application.2e2dc69d.js"),[]);case"./pt/chat.json":return t(()=>import("./chat.5b3b6e73.js"),[]);case"./pt/chatdoc.json":return t(()=>import("./chatdoc.369240c0.js"),[]);case"./pt/common.json":return t(()=>import("./common.12de3aff.js"),[]);case"./pt/console.json":return t(()=>import("./console.d241b50f.js"),[]);case"./pt/credential.json":return t(()=>import("./credential.193339b9.js"),[]);case"./pt/distribution.json":return t(()=>import("./distribution.2dae690c.js"),[]);case"./pt/flux.json":return t(()=>import("./flux.3ba35e0e.js"),[]);case"./pt/hailuo.json":return t(()=>import("./hailuo.48169a81.js"),[]);case"./pt/headshots.json":return t(()=>import("./headshots.9f5c1eb1.js"),[]);case"./pt/index.json":return t(()=>import("./index.2f2bd2f0.js"),[]);case"./pt/luma.json":return t(()=>import("./luma.3d28b187.js"),[]);case"./pt/midjourney.json":return t(()=>import("./midjourney.2ccedef1.js"),[]);case"./pt/order.json":return t(()=>import("./order.29387b0c.js"),[]);case"./pt/pika.json":return t(()=>import("./pika.c4450136.js"),[]);case"./pt/proxy.json":return t(()=>import("./proxy.a908dbb4.js"),[]);case"./pt/qrart.json":return t(()=>import("./qrart.a06ccb3a.js"),[]);case"./pt/service.json":return t(()=>import("./service.f4552453.js"),[]);case"./pt/site.json":return t(()=>import("./site.7a809230.js"),[]);case"./pt/suno.json":return t(()=>import("./suno.f8f4e59f.js"),[]);case"./pt/usage.json":return t(()=>import("./usage.f2504542.js"),[]);case"./pt/user.json":return t(()=>import("./user.d80f3bba.js"),[]);case"./ru/api.json":return t(()=>import("./api.69c809ee.js"),[]);case"./ru/application.json":return t(()=>import("./application.cc12550d.js"),[]);case"./ru/chat.json":return t(()=>import("./chat.7f5f30fd.js"),[]);case"./ru/chatdoc.json":return t(()=>import("./chatdoc.26e34f62.js"),[]);case"./ru/common.json":return t(()=>import("./common.76e73cc9.js"),[]);case"./ru/console.json":return t(()=>import("./console.ae88ad84.js"),[]);case"./ru/credential.json":return t(()=>import("./credential.fdfc75af.js"),[]);case"./ru/distribution.json":return t(()=>import("./distribution.169757d7.js"),[]);case"./ru/flux.json":return t(()=>import("./flux.e9ef5810.js"),[]);case"./ru/hailuo.json":return t(()=>import("./hailuo.d4c2b8de.js"),[]);case"./ru/headshots.json":return t(()=>import("./headshots.6a51ab17.js"),[]);case"./ru/index.json":return t(()=>import("./index.f13c8e0d.js"),[]);case"./ru/luma.json":return t(()=>import("./luma.0e37bf0d.js"),[]);case"./ru/midjourney.json":return t(()=>import("./midjourney.189899ef.js"),[]);case"./ru/order.json":return t(()=>import("./order.524b686a.js"),[]);case"./ru/pika.json":return t(()=>import("./pika.22a83988.js"),[]);case"./ru/proxy.json":return t(()=>import("./proxy.438efd9f.js"),[]);case"./ru/qrart.json":return t(()=>import("./qrart.cee3a84a.js"),[]);case"./ru/service.json":return t(()=>import("./service.49b63035.js"),[]);case"./ru/site.json":return t(()=>import("./site.96eba8d6.js"),[]);case"./ru/suno.json":return t(()=>import("./suno.06f488a0.js"),[]);case"./ru/usage.json":return t(()=>import("./usage.0cf4c0cc.js"),[]);case"./ru/user.json":return t(()=>import("./user.ec9b9e19.js"),[]);case"./sr/api.json":return t(()=>import("./api.cc772840.js"),[]);case"./sr/application.json":return t(()=>import("./application.746d8c67.js"),[]);case"./sr/chat.json":return t(()=>import("./chat.ceae5335.js"),[]);case"./sr/chatdoc.json":return t(()=>import("./chatdoc.5968870d.js"),[]);case"./sr/common.json":return t(()=>import("./common.bc10c6d4.js"),[]);case"./sr/console.json":return t(()=>import("./console.606e5a51.js"),[]);case"./sr/credential.json":return t(()=>import("./credential.5ea3ce28.js"),[]);case"./sr/distribution.json":return t(()=>import("./distribution.203b5891.js"),[]);case"./sr/flux.json":return t(()=>import("./flux.0ede9546.js"),[]);case"./sr/hailuo.json":return t(()=>import("./hailuo.7ca07086.js"),[]);case"./sr/headshots.json":return t(()=>import("./headshots.fd93138d.js"),[]);case"./sr/index.json":return t(()=>import("./index.93a0aa5d.js"),[]);case"./sr/luma.json":return t(()=>import("./luma.4a08cf42.js"),[]);case"./sr/midjourney.json":return t(()=>import("./midjourney.3a6a941b.js"),[]);case"./sr/order.json":return t(()=>import("./order.d2ad515f.js"),[]);case"./sr/pika.json":return t(()=>import("./pika.2f258e5c.js"),[]);case"./sr/proxy.json":return t(()=>import("./proxy.e01ba053.js"),[]);case"./sr/qrart.json":return t(()=>import("./qrart.ad515162.js"),[]);case"./sr/service.json":return t(()=>import("./service.26f94202.js"),[]);case"./sr/site.json":return t(()=>import("./site.3ebc262d.js"),[]);case"./sr/suno.json":return t(()=>import("./suno.c7868d9e.js"),[]);case"./sr/usage.json":return t(()=>import("./usage.a438d3e1.js"),[]);case"./sr/user.json":return t(()=>import("./user.63e6d5b1.js"),[]);case"./sv/api.json":return t(()=>import("./api.49b52521.js"),[]);case"./sv/application.json":return t(()=>import("./application.e25e0a92.js"),[]);case"./sv/chat.json":return t(()=>import("./chat.1ed130b1.js"),[]);case"./sv/chatdoc.json":return t(()=>import("./chatdoc.8b1244bd.js"),[]);case"./sv/common.json":return t(()=>import("./common.2d0527ed.js"),[]);case"./sv/console.json":return t(()=>import("./console.0dd7da82.js"),[]);case"./sv/credential.json":return t(()=>import("./credential.f3da317c.js"),[]);case"./sv/distribution.json":return t(()=>import("./distribution.00e29fe2.js"),[]);case"./sv/flux.json":return t(()=>import("./flux.5f78b248.js"),[]);case"./sv/hailuo.json":return t(()=>import("./hailuo.db591cd1.js"),[]);case"./sv/headshots.json":return t(()=>import("./headshots.563e619d.js"),[]);case"./sv/index.json":return t(()=>import("./index.e0fe452a.js"),[]);case"./sv/luma.json":return t(()=>import("./luma.d078b9c2.js"),[]);case"./sv/midjourney.json":return t(()=>import("./midjourney.024feb94.js"),[]);case"./sv/order.json":return t(()=>import("./order.c70b9393.js"),[]);case"./sv/pika.json":return t(()=>import("./pika.570fa7f4.js"),[]);case"./sv/proxy.json":return t(()=>import("./proxy.45f75aef.js"),[]);case"./sv/qrart.json":return t(()=>import("./qrart.f2295254.js"),[]);case"./sv/service.json":return t(()=>import("./service.f87877d7.js"),[]);case"./sv/site.json":return t(()=>import("./site.53081110.js"),[]);case"./sv/suno.json":return t(()=>import("./suno.130d375e.js"),[]);case"./sv/usage.json":return t(()=>import("./usage.fea8e259.js"),[]);case"./sv/user.json":return t(()=>import("./user.6107ec3a.js"),[]);case"./uk/api.json":return t(()=>import("./api.c8f12c88.js"),[]);case"./uk/application.json":return t(()=>import("./application.391cc2f4.js"),[]);case"./uk/chat.json":return t(()=>import("./chat.4eec9d13.js"),[]);case"./uk/chatdoc.json":return t(()=>import("./chatdoc.e6a3302d.js"),[]);case"./uk/common.json":return t(()=>import("./common.3366b53f.js"),[]);case"./uk/console.json":return t(()=>import("./console.1ef2a589.js"),[]);case"./uk/credential.json":return t(()=>import("./credential.57d6cf16.js"),[]);case"./uk/distribution.json":return t(()=>import("./distribution.e37416a9.js"),[]);case"./uk/flux.json":return t(()=>import("./flux.63ef3571.js"),[]);case"./uk/hailuo.json":return t(()=>import("./hailuo.6eaa7dc4.js"),[]);case"./uk/headshots.json":return t(()=>import("./headshots.880f2cb1.js"),[]);case"./uk/index.json":return t(()=>import("./index.86722d1a.js"),[]);case"./uk/luma.json":return t(()=>import("./luma.ce424894.js"),[]);case"./uk/midjourney.json":return t(()=>import("./midjourney.c6623005.js"),[]);case"./uk/order.json":return t(()=>import("./order.3ac01c79.js"),[]);case"./uk/pika.json":return t(()=>import("./pika.9c511404.js"),[]);case"./uk/proxy.json":return t(()=>import("./proxy.5342d506.js"),[]);case"./uk/qrart.json":return t(()=>import("./qrart.17db44d9.js"),[]);case"./uk/service.json":return t(()=>import("./service.e6e75f15.js"),[]);case"./uk/site.json":return t(()=>import("./site.1884a74b.js"),[]);case"./uk/suno.json":return t(()=>import("./suno.131a13da.js"),[]);case"./uk/usage.json":return t(()=>import("./usage.d3fdd7f1.js"),[]);case"./uk/user.json":return t(()=>import("./user.b9d90188.js"),[]);case"./zh-CN/api.json":return t(()=>import("./api.89ab9415.js"),[]);case"./zh-CN/application.json":return t(()=>import("./application.40ba0f44.js"),[]);case"./zh-CN/chat.json":return t(()=>import("./chat.17dac350.js"),[]);case"./zh-CN/chatdoc.json":return t(()=>import("./chatdoc.d6fa331d.js"),[]);case"./zh-CN/common.json":return t(()=>import("./common.bc6d3758.js"),[]);case"./zh-CN/console.json":return t(()=>import("./console.7460147d.js"),[]);case"./zh-CN/credential.json":return t(()=>import("./credential.338b5853.js"),[]);case"./zh-CN/distribution.json":return t(()=>import("./distribution.5edcdee0.js"),[]);case"./zh-CN/flux.json":return t(()=>import("./flux.4dc922cd.js"),[]);case"./zh-CN/hailuo.json":return t(()=>import("./hailuo.95a516b3.js"),[]);case"./zh-CN/headshots.json":return t(()=>import("./headshots.cf88ab1d.js"),[]);case"./zh-CN/index.json":return t(()=>import("./index.0988453d.js"),[]);case"./zh-CN/luma.json":return t(()=>import("./luma.3c482943.js"),[]);case"./zh-CN/midjourney.json":return t(()=>import("./midjourney.9f515f7b.js"),[]);case"./zh-CN/order.json":return t(()=>import("./order.e6baafc7.js"),[]);case"./zh-CN/pika.json":return t(()=>import("./pika.1f71c4a3.js"),[]);case"./zh-CN/proxy.json":return t(()=>import("./proxy.424636df.js"),[]);case"./zh-CN/qrart.json":return t(()=>import("./qrart.54f977a7.js"),[]);case"./zh-CN/service.json":return t(()=>import("./service.825fb571.js"),[]);case"./zh-CN/site.json":return t(()=>import("./site.d923e8bd.js"),[]);case"./zh-CN/suno.json":return t(()=>import("./suno.c7d66002.js"),[]);case"./zh-CN/usage.json":return t(()=>import("./usage.f849bfdf.js"),[]);case"./zh-CN/user.json":return t(()=>import("./user.226c4ac3.js"),[]);case"./zh-TW/api.json":return t(()=>import("./api.0ed4a0ea.js"),[]);case"./zh-TW/application.json":return t(()=>import("./application.a4d96684.js"),[]);case"./zh-TW/chat.json":return t(()=>import("./chat.88a37127.js"),[]);case"./zh-TW/chatdoc.json":return t(()=>import("./chatdoc.a7a590fd.js"),[]);case"./zh-TW/common.json":return t(()=>import("./common.ef8768a3.js"),[]);case"./zh-TW/console.json":return t(()=>import("./console.b5e9a43c.js"),[]);case"./zh-TW/credential.json":return t(()=>import("./credential.276e510d.js"),[]);case"./zh-TW/distribution.json":return t(()=>import("./distribution.dc7ef2a5.js"),[]);case"./zh-TW/flux.json":return t(()=>import("./flux.08705b63.js"),[]);case"./zh-TW/hailuo.json":return t(()=>import("./hailuo.2cb82586.js"),[]);case"./zh-TW/headshots.json":return t(()=>import("./headshots.4c83a9b2.js"),[]);case"./zh-TW/index.json":return t(()=>import("./index.0542cd26.js"),[]);case"./zh-TW/luma.json":return t(()=>import("./luma.baf56472.js"),[]);case"./zh-TW/midjourney.json":return t(()=>import("./midjourney.50c422d9.js"),[]);case"./zh-TW/order.json":return t(()=>import("./order.fb26e6cb.js"),[]);case"./zh-TW/pika.json":return t(()=>import("./pika.4a35a435.js"),[]);case"./zh-TW/proxy.json":return t(()=>import("./proxy.91a75f89.js"),[]);case"./zh-TW/qrart.json":return t(()=>import("./qrart.1541146d.js"),[]);case"./zh-TW/service.json":return t(()=>import("./service.5820e29d.js"),[]);case"./zh-TW/site.json":return t(()=>import("./site.f7c684ed.js"),[]);case"./zh-TW/suno.json":return t(()=>import("./suno.d55c5890.js"),[]);case"./zh-TW/usage.json":return t(()=>import("./usage.88bceb01.js"),[]);case"./zh-TW/user.json":return t(()=>import("./user.04f9b8d7.js"),[]);default:return new Promise(function(e,o){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+s)))})}}const Z="en",Js=[{value:"en",label:"English"},{value:"de",label:"Deutsch"},{value:"pt",label:"Portugu\xEAs"},{value:"es",label:"Espa\xF1ol"},{value:"fr",label:"Fran\xE7ais"},{value:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587"},{value:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587"},{value:"it",label:"Italiano"},{value:"ko",label:"\uD55C\uAD6D\uC5B4"},{value:"ja",label:"\u65E5\u672C\u8A9E"},{value:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{value:"pl",label:"Polski"},{value:"fi",label:"Suomi"},{value:"sv",label:"Svenska"},{value:"el",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{value:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{value:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{value:"sr",label:"\u0421\u0440\u043F\u0441\u043A\u0438"}],Zs=()=>Je({}),L=Zs(),eo=async(s,e)=>{try{return(await Ks(`./${e}/${s}.json`)).default}catch{return(await Xs(`./${Z}/${s}.json`)).default}},ne=s=>{var i,r;const e=(i=Intl.getCanonicalLocales(s||navigator.language))==null?void 0:i[0],o=Js.map(c=>c.value);if(e&&o.includes(e))return console.debug("canonicalLang",e),e;{const c=(r=e==null?void 0:e.split("-"))==null?void 0:r[0];if(c&&o.includes(c))return console.debug("canonicalLangPrefix",c),c}return Z},to=async(s,e)=>{const o=["index","api","application","qrart","luma","pika","flux","hailuo","headshots","suno","common","console","credential","distribution","order","proxy","service","usage","user","site","chat","midjourney","chatdoc"],i=o.map(n=>eo(n,e)),r=await Promise.all(i),c={};return o.forEach((n,a)=>{const u=r[a];for(const v in u)if(u.hasOwnProperty(v)){const A=u[v];c[`${n}.${v}`]=A.message}}),s.global.setLocaleMessage(e,c),_t()},so=async s=>{L.global.availableLocales.includes(s)||await to(L,s),L.mode==="legacy"?L.global.locale=s:L.global.locale.value=s,O.defaults.headers&&(O.defaults.headers["Accept-Language"]=s);const e=document.querySelector("html");e&&e.setAttribute("lang",s)};L.global.t;const sd="assistant",od="user",oo="gpt-3.5",ro="gpt-3.5-browsing",io="gpt-4",no="gpt-4-browsing",ao="gpt-4-vision",_o="gpt-4-all",co="gpt-4o",uo="o1",po="o1-mini",Eo="o3-mini",lo="deepseek-chat",mo="deepseek-reasoner",V="https://cdn.acedata.cloud/7dljuv.png",ee="https://cdn.acedata.cloud/bc71ae.png",pe="b1fbcc32-e218-4253-9dc3-4fe600a1bfb9",Ee={name:oo,icon:V,getDisplayName:()=>L.global.t("chat.model.35Standard"),getDescription:()=>L.global.t("chat.model.35StandardDescription")},le={name:ro,icon:V,getDisplayName:()=>L.global.t("chat.model.35Browsing"),getDescription:()=>L.global.t("chat.model.35BrowsingDescription")},me={name:io,icon:V,getDisplayName:()=>L.global.t("chat.model.4Standard"),getDescription:()=>L.global.t("chat.model.4StandardDescription")},ve={name:no,icon:V,getDisplayName:()=>L.global.t("chat.model.4Browsing"),getDescription:()=>L.global.t("chat.model.4BrowsingDescription")},Ae={name:ao,icon:V,getDisplayName:()=>L.global.t("chat.model.4Vision"),getDescription:()=>L.global.t("chat.model.4VisionDescription")},Te={name:_o,icon:V,getDisplayName:()=>L.global.t("chat.model.4All"),getDescription:()=>L.global.t("chat.model.4AllDescription")},te={name:co,icon:V,getDisplayName:()=>L.global.t("chat.model.4O"),getDescription:()=>L.global.t("chat.model.4ODescription")},Ie={name:lo,icon:ee,getDisplayName:()=>L.global.t("chat.model.deepseekChat"),getDescription:()=>L.global.t("chat.model.deepseekChatDescription")},Re={name:mo,icon:ee,getDisplayName:()=>L.global.t("chat.model.deepseekReasoner"),getDescription:()=>L.global.t("chat.model.deepseekReasonerDescription")},Oe={name:uo,icon:V,getDisplayName:()=>L.global.t("chat.model.o1"),getDescription:()=>L.global.t("chat.model.o1Description")},De={name:po,icon:V,getDisplayName:()=>L.global.t("chat.model.o1Mini"),getDescription:()=>L.global.t("chat.model.o1MiniDescription")},Le={name:Eo,icon:V,getDisplayName:()=>L.global.t("chat.model.o3Mini"),getDescription:()=>L.global.t("chat.model.o3MiniDescription")},vo={icon:V,name:"chatgpt",getDisplayName:()=>L.global.t("chat.modelGroup.chatgpt"),getDescription:()=>L.global.t("chat.modelGroup.chatgptDescription"),models:[Ee,le,me,ve,Ae,Te,te,Oe,De,Le]},rd={icon:ee,name:"deepseek",getDisplayName:()=>L.global.t("chat.modelGroup.deepseek"),getDescription:()=>L.global.t("chat.modelGroup.deepseekDescription"),models:[Ie,Re]},id=[Ee,le,me,ve,Ae,Te,te,Oe,De,Le,Ie,Re],Pe="5d732942-4d44-48be-958e-dd8474d8aa8d",Ao="fast",je="d87e5e99-b797-4ade-9e73-b896896b0461",nd="1:1",ad=1,_d=100,cd=0,ud=Ao,dd="1",ge="38ecf158-36f2-42f2-8e7f-6786cdfc2452",pd=2,Ed=20,ld="",md="text",vd="1:1",Ad=!1,Td=5,Id="center",Rd="square",Od="square",Dd="square",Ld=0,Pd="H",jd=0,he="dff45a0d-2858-4936-8e2b-3d49c52aff11",gd=!0,hd=!1,Vd=!1,Ve="c7d407fa-0f87-4031-abbb-4f0716ff51ad",kd="2.0",fd="creative",bd=!1,ke="e8ebe055-429a-48e9-9d34-5089eae5fd89",yd="flux",fe="5eaa73b7-b9a7-4a17-afb3-f658fd5495b0",wd="minimax-t2v",be="3b2ec5fb-cfcb-49f0-9393-6b8617a2d8c4",ye="f2b646d8-3cfd-46ef-969a-1ea9eebde329",$d="chirp-v3-5",we={"zh-CN":"cny","zh-TW":"cny",en:"usd",de:"eur",pt:"eur",es:"eur",fr:"eur",it:"eur",ko:"krw",ja:"jpy",ru:"rub",pl:"pln",fi:"eur",sv:"sek",el:"eur",uk:"uah",ar:"sar",sr:"rsd"},Cd={cny:"\uFFE5",usd:"$",eur:"\u20AC",jpy:"\xA5",krw:"\u20A9",gbp:"\xA3",rub:"\u20BD",pln:"z\u0142",sek:"kr",uah:"\u20B4",sar:"\uFDFC",rsd:"din"},To=()=>({}).VITE_BASE_URL_PLATFORM?{}.VITE_BASE_URL_PLATFORM:ue,Io=()=>({}).VITE_BASE_URL_HUB?{}.VITE_BASE_URL_HUB:window.location.origin||J,W=()=>({}).VITE_BASE_URL_AUTH?{}.VITE_BASE_URL_AUTH:de;var Ro="/assets/favicon.4bb7e3ef.ico";const g=O.create({baseURL:`${To()}/api/v1`,headers:{"Content-type":"application/json",Accept:"application/json"},paramsSerializer(s){return Ze.stringify(s,{arrayFormat:"repeat"})}});g.interceptors.request.use(s=>{var c,n;const e=(c=P.getters.token)==null?void 0:c.access,o=(n=P.getters.user)==null?void 0:n.id,i=P.getters.fingerprint,r=b("LOCALE");return console.debug("userId",o),console.debug("fingerprint",i),e&&(s.headers.Authorization=`Bearer ${e}`),r&&(s.headers["accept-language"]=r),i&&(s.headers["x-fingerprint"]=i),o&&(s.headers["x-user-id"]=o),s});g.interceptors.response.use(s=>s,s=>{var e;return((e=s==null?void 0:s.response)==null?void 0:e.status)===401&&P.dispatch("login"),Promise.reject(s)});class Oo{constructor(){N(this,"key","applications")}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}async delete(e){return await g.delete(`/${this.key}/${e}`)}}const k=new Oo;class Do{async getMe(){return g.get("/users/me")}async getInvitees(e){return g.get("/users/me/invitees",{params:e})}async updateMe(e){return g.put("/users/me",e)}async getVerify(){return g.get("/users/verify")}async updateVerify(e){return g.put("/users/verify",e)}}const Lo=new Do;var E=(s=>(s.Request="Request",s.Success="Success",s.Error="Error",s.None="None",s))(E||{}),h=(s=>(s.USAGE="Usage",s.PERIOD="Period",s))(h||{}),Po=(s=>(s.PENDING="pending",s.ANSWERING="answering",s.FINISHED="finished",s.FAILED="failed",s))(Po||{}),B=(s=>(s.CHAT="chat",s.RETRIEVE="retrieve",s.UPDATE="update",s.DELETE="delete",s.RETRIEVE_BATCH="retrieve_batch",s))(B||{});class jo{async chatConversation(e,o){return new Promise(async(i,r)=>{try{const c=await fetch(`${D}/aichat/conversations`,{method:"POST",headers:{authorization:`Bearer ${o.token}`,"Content-Type":"application/json",Accept:"text/event-stream"},signal:o.signal,body:JSON.stringify(e)});if(!c.body)throw new Error("ReadableStream not supported.");const n=c.body.getReader(),a=new TextDecoder;let u="",v,A="";for(;;){const{done:T,value:l}=await n.read();if(T)break;A+=a.decode(l,{stream:!0});const I=A.split(`
2
- `);A=I.pop()||"";for(const R of I){const _=R.trim();if(!!_&&_.startsWith("data: ")){const p=_.substring(6).trim();if(p==="[DONE]"){i({answer:u,delta_answer:""});return}try{const $=JSON.parse(p);$.delta_answer&&(u+=$.delta_answer),$.id&&(v=$.id),o!=null&&o.stream&&o.stream({answer:u,delta_answer:$.delta_answer||"",id:v})}catch($){console.error("JSON parse error:",$)}}}}i({answer:u,delta_answer:""})}catch(c){console.error("Error:",c),r(c)}})}async getConversations(e,o){return await O.post("/aichat/conversations",d(d(d({action:B.RETRIEVE_BATCH},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async deleteConversation(e,o){return await O.post("/aichat/conversations",{action:B.DELETE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async updateConversation(e,o){return await O.post("/aichat/conversations",d({action:B.UPDATE},e),{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D,signal:o.signal})}}const go=new jo;class ho{async task(e,o){return await O.post("/midjourney/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/midjourney/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async imagine(e,o){return await O.post("/midjourney/imagine",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Vo=new ho;class ko{async createRepository(e,o){return await O.post("/chatdoc/repositories",{action:re,name:e.name,description:e.description},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteRepository(e,o){return await O.post("/chatdoc/repositories",{action:Q,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getRepository(e,o){return await O.post("/chatdoc/repositories",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllRepositories(e){return await O.post("/chatdoc/repositories",{action:M},{headers:{authorization:`Bearer ${e.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllDocuments(e,o){return await O.post("/chatdoc/documents",{action:M,repository_id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllConversations(e,o){return await O.post("/chatdoc/conversations",{action:M,repository_id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getRepositories(e){return await O.post("/chatdoc/repositories",d(d({action:M},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async createDocument(e,o){return await O.post("/chatdoc/documents",{action:re,repository_id:e.repositoryId,file_url:e.fileUrl,file_name:e.fileName},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json"},baseURL:D})}async retrieveDocument(e,o){return await O.post("/chatdoc/documents",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async retrieveConversation(e,o){return await O.post("/chatdoc/conversations",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteDocument(e,o){return await O.post("/chatdoc/documents",{action:Q,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async updateConversation(e){return await O.post("/chatdoc/conversations",{action:Gs,id:e.id,messages:e.messages},{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteConversation(e){return await O.post("/chatdoc/conversations",{action:Q,id:e},{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async chatConversation(e,o){return await O.post("/chatdoc/conversations",{repository_id:e.repositoryId,question:e.question,id:e.id,stateful:!0},{headers:{authorization:`Bearer ${o.token}`,accept:"application/x-ndjson","content-type":"application/json"},baseURL:D,responseType:"stream",onDownloadProgress:({event:i})=>{const c=i.target.response.split(`\r
3
- `).filter(a=>!!a),n=c[c.length-1];if(n){const a=JSON.parse(n);o!=null&&o.stream&&(o==null||o.stream(a))}}})}}const y=new ko;class fo{async token(e){return g.post("/token",e,{baseURL:`${W()}/oauth2/v1`})}}const bo=new fo;class yo{constructor(){N(this,"key","services")}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}async delete(e){return await g.delete(`/${this.key}/${e}`)}}const f=new yo;class wo{async task(e,o){return await O.post("/qrart/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/qrart/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/qrart/generate",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const $o=new wo;class Co{async task(e,o){return await O.post("/luma/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/luma/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/luma/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const xo=new Co;class So{async task(e,o){return await O.post("/pika/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/pika/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/pika/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Uo=new So;class No{async task(e,o){return await O.post("/flux/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/flux/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/flux/images",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const zo=new No;class Mo{async task(e,o){return await O.post("/hailuo/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/hailuo/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/hailuo/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const qo=new Mo;class Bo{async task(e,o){return await O.post("/headshots/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/headshots/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/headshots/generate",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Ho=new Bo;class Fo{constructor(){N(this,"key","sites")}async initialize(e){return await g.post(`/${this.key}/initialize/`,e)}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}}const $e=new Fo;class Wo{async task(e,o){return await O.post("/suno/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/suno/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async audio(e,o){return await O.post("/suno/audios",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}async lyric(e,o){return await O.post("/suno/lyrics",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}async upload(e,o){return await O.post("/suno/upload",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}}const Go=new Wo;class Qo{async rate(e){return g.post("/exchange-rate",e)}}const Yo=new Qo;function w(s,e){const o=new Map;return[...s,...e].forEach(i=>{o.set(i.id,i)}),Array.from(o.values()).sort((i,r)=>new Date(i.created_at)-new Date(r.created_at))}const Xo=({commit:s})=>{s("resetAll")},Ce=async({commit:s},e)=>{console.debug(Ce,"set credential",e),s("setCredential",e)},Ko=({commit:s},e)=>{s("setConfig",e)},Jo=({commit:s},e)=>{s("setMode",e)},Zo=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},er=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},tr=({commit:s},e)=>{s("setApplications",e)},sr=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for midjourney"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:je}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),or=({commit:s},e)=>{s("setTasks",e)},rr=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for midjourney"),e.status.getService=E.Request,f.get(je).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),ir=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r,n,c);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Vo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"imagine"},{token:A}).then(l=>{var p;console.debug("get imagine tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var nr={setService:Zo,getService:rr,resetAll:Xo,setCredential:Ce,setConfig:Ko,setMode:Jo,setApplication:er,setApplications:tr,getApplications:sr,setTasks:or,getTasks:ir};const ar=s=>{s.application=void 0,s.applications=void 0,s.config={},s.tasks={items:void 0,total:void 0}},_r=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},cr=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},ur=(s,e)=>{s.service=e},dr=(s,e)=>{s.credential=e},pr=(s,e)=>{s.application=e},Er=(s,e)=>{s.applications=e},lr=(s,e)=>{s.config=e},mr=(s,e)=>{s.tasks=e};var vr={setApplication:pr,setApplications:Er,setConfig:lr,setTasksItems:_r,setTasksTotal:cr,setCredential:dr,setService:ur,setTasks:mr,resetAll:ar},xe=()=>({service:void 0,application:void 0,applications:void 0,tasks:{items:void 0,total:void 0},credential:void 0,config:{},status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Ar={namespaced:!0,state:xe,mutations:vr,actions:nr};var Se=()=>({model:te,modelGroup:vo,applications:void 0,application:void 0,conversations:void 0,service:void 0,credential:void 0,status:{getService:E.None,getApplications:E.None,getConversations:E.None}});const Tr=({commit:s})=>{s("resetAll")},Ir=async({commit:s},e)=>{s("setModel",e)},Rr=async({commit:s},e)=>{s("setModelGroup",e)},Or=async({commit:s},e)=>{var i;console.debug("set application",e),s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Dr=async({commit:s},e)=>{console.debug("set applications",e),s("setApplications",e)},Lr=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Pr=async({commit:s},e)=>{console.debug("set conversations",e),s("setConversations",e)},jr=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},gr=async({commit:s,state:e},o)=>{console.debug("set conversation",o);const i=e.conversations||[],r=i==null?void 0:i.findIndex(c=>c.id===o.id);r>-1?i[r]=o:i==null||i.unshift(o),s("setConversations",i),console.debug("set conversation success",i)},hr=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for chat"),e.status.getService=E.Request,f.get(pe).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Vr=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for chat"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:pe}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),kr=async({commit:s,state:e,rootState:o})=>new Promise((i,r)=>{var a;e.status.getConversations=E.Request;const c=e.credential;console.debug("credential",c);const n=c==null?void 0:c.token;if(!n)return e.status.getConversations=E.Error,r(new Error("Token not found"));go.getConversations({userId:(a=o.user)==null?void 0:a.id},{token:n}).then(u=>{var A,T;console.debug("get conversations success",(T=(A=u.data)==null?void 0:A.items)==null?void 0:T.length),s("setConversations",u.data.items);const v=u.data.items;i(v)}).catch(u=>{e.status.getConversations=E.Error,s("setConversations",[]),r(u)})});var fr={resetAll:Tr,setModel:Ir,setModelGroup:Rr,getService:hr,setService:Lr,setCredential:jr,setApplication:Or,setApplications:Dr,getApplications:Vr,setConversation:gr,setConversations:Pr,getConversations:kr};const br=s=>{s.application=void 0,s.conversations=void 0,s.credential=void 0,s.service=void 0},yr=(s,e)=>{s.model=e},wr=(s,e)=>{s.modelGroup=e},$r=(s,e)=>{s.credential=e},Cr=(s,e)=>{s.application=e},xr=(s,e)=>{s.applications=e},Sr=(s,e)=>{s.service=e},Ur=(s,e)=>{s.conversations=e};var Nr={setModel:yr,setModelGroup:wr,setService:Sr,setCredential:$r,setConversations:Ur,setApplication:Cr,setApplications:xr,resetAll:br};const zr={namespaced:!0,state:Se,mutations:Nr,actions:fr},Mr=async({commit:s},e)=>{s("setApplication",e)},qr=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Br=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Hr=async({commit:s},e)=>{s("setRepository",e)},Fr=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for chatdoc"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:Pe}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success;const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Wr=({commit:s})=>{s("resetAll")},Gr=async({commit:s,state:e})=>{console.debug("start to get repositories");const o=e.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return s("setRepositories",void 0),Promise.reject("no token");const r=(await y.getAllRepositories({token:i})).data.items;return console.debug("get repositories success",r),s("setRepositories",r),r},Qr=async({state:s},e)=>{console.debug("start to delete repository");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.deleteRepository(e.id,{token:i})).data;return console.debug("delete repository success",r),r},Yr=async({state:s},e)=>{console.debug("start to delete document");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.deleteDocument(e.id,{token:i})).data;return console.debug("delete document success",r),r},Xr=async({commit:s,state:e})=>new Promise(async(o,i)=>{console.debug("start to get service for chatdoc"),e.status.getService=E.Request,f.get(Pe).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Kr=async({state:s},e)=>{console.debug("start to create repository");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.createRepository(e,{token:i})).data;return console.debug("create repository success",r),r},Jr=async({state:s},e)=>{console.debug("start to create document");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.createDocument(e,{token:i})).data;return console.debug("create document success",r),r},Zr=async({commit:s,state:e},o)=>{console.debug("set conversation",o);const i=e.repositories.find(n=>n.id===o.repositoryId),r=i==null?void 0:i.conversations;if(!r)return Promise.reject("no conversations");const c=r==null?void 0:r.findIndex(n=>n.id===o.id);c>-1&&(r[c].messages=o.messages),console.debug("set conversation success",r)},ei=async({commit:s,state:e},o)=>{console.debug("start to get documents");const i=e.credential;console.log("credential for getDocuments",i);const r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.repositoryId,documents:[]}),[];const c=(await y.getAllDocuments(o.repositoryId,{token:r})).data.items;return console.debug("get documents success",c),s("setRepository",{id:o.repositoryId,documents:c}),c},ti=async({commit:s,state:e},o)=>{console.debug("start to get conversations");const i=e.credential;console.log("credential for getConversations",i);const r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.repositoryId,conversations:[]}),[];const c=(await y.getAllConversations(o.repositoryId,{token:r})).data.items;return console.debug("get conversations success",c),s("setRepository",{id:o.repositoryId,conversations:c}),c},si=async({commit:s,state:e},o)=>{console.debug("start to get repository");const i=e.credential,r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.id}),Promise.reject("no token");const c=(await y.getRepository(o.id,{token:r})).data;return console.debug("get repository success",c),s("setRepository",c),c};var oi={setService:Br,setConversation:Zr,getService:Xr,createRepository:Kr,setApplication:Mr,getApplications:Fr,getRepositories:Gr,setCredential:qr,deleteRepository:Qr,getRepository:si,setRepository:Hr,getConversations:ti,getDocuments:ei,resetAll:Wr,createDocument:Jr,deleteDocument:Yr};const ri=s=>{s.application=void 0,s.repositories=[]},ii=(s,e)=>{s.service=e},ni=(s,e)=>{s.application=e},ai=(s,e)=>{s.applications=e},_i=(s,e)=>{const o=s.repositories;if(o&&e){e.forEach(i=>{const r=o==null?void 0:o.findIndex(c=>c.id===i.id);r!==-1&&(e[r]=d(d({},o[r]),i))}),s.repositories=e;return}else s.repositories=e},ci=(s,e)=>{s.credential=e},ui=(s,e)=>{console.debug("mutation",e);const o=e,i=s.repositories;if(!i){console.debug("no repositories");return}const r=i.findIndex(c=>c.id===o.id);if(r===-1){console.debug("no repository found");return}console.debug("set repository for index",r,o),i[r]=d(d({},i[r]),o)};var di={setService:ii,setApplication:ni,setApplications:ai,setRepositories:_i,setRepository:ui,setCredential:ci,resetAll:ri},Ue=()=>({service:void 0,application:void 0,applications:void 0,repositories:void 0,credential:void 0,status:{getService:E.None,getApplications:E.None,getRepositories:E.None}});const pi={namespaced:!0,state:Ue,mutations:di,actions:oi},Ei=({commit:s})=>{s("resetAll")},li=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},mi=({commit:s},e)=>{s("setConfig",e)},vi=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Ai=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Ti=({commit:s},e)=>{s("setApplications",e)},Ii=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for qrart"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:ge}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Ri=({commit:s},e)=>{s("setTasks",e)},Oi=({commit:s},e)=>{s("setTasksItems",e)},Di=({commit:s},e)=>{s("setTasksTotal",e)},Li=({commit:s},e)=>{s("setTasksActive",e)},Pi=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for qrart"),e.status.getService=E.Request,f.get(ge).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),ji=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");$o.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get qrart tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var gi={setService:vi,getService:Pi,resetAll:Ei,setCredential:li,setConfig:mi,setApplication:Ai,setApplications:Ti,getApplications:Ii,setTasks:Ri,setTasksItems:Oi,setTasksTotal:Di,setTasksActive:Li,getTasks:ji};const hi=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},Vi=(s,e)=>{s.service=e},ki=(s,e)=>{s.applications=e},fi=(s,e)=>{s.credential=e},bi=(s,e)=>{s.application=e},yi=(s,e)=>{s.config=e},wi=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},$i=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},Ci=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},xi=(s,e)=>{s.tasks=e};var Si={setTasks:xi,setApplication:bi,setApplications:ki,setConfig:yi,setCredential:fi,setService:Vi,setTasksActive:Ci,setTasksItems:wi,setTasksTotal:$i,resetAll:hi},Ne=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Ui={namespaced:!0,state:Ne,mutations:Si,actions:gi},Ni=({commit:s})=>{s("resetAll")},zi=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Mi=({commit:s},e)=>{s("setConfig",e)},qi=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Bi=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Hi=({commit:s},e)=>{s("setApplications",e)},Fi=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for luma"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:he}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Wi=({commit:s},e)=>{s("setTasks",e)},Gi=({commit:s},e)=>{s("setTasksItems",e)},Qi=({commit:s},e)=>{s("setTasksTotal",e)},Yi=({commit:s},e)=>{s("setTasksActive",e)},Xi=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for luma"),e.status.getService=E.Request,f.get(he).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Ki=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");xo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get luma tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var Ji={setService:qi,getService:Xi,resetAll:Ni,setCredential:zi,setConfig:Mi,setApplication:Bi,setApplications:Hi,getApplications:Fi,setTasks:Wi,setTasksItems:Gi,setTasksTotal:Qi,setTasksActive:Yi,getTasks:Ki};const Zi=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},en=(s,e)=>{s.service=e},tn=(s,e)=>{s.credential=e},sn=(s,e)=>{s.application=e},on=(s,e)=>{s.applications=e},rn=(s,e)=>{s.config=e},nn=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},an=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},_n=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},cn=(s,e)=>{s.tasks=e};var un={setTasks:cn,setApplication:sn,setApplications:on,setConfig:rn,setCredential:tn,setService:en,setTasksActive:_n,setTasksItems:nn,setTasksTotal:an,resetAll:Zi},ze=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const dn={namespaced:!0,state:ze,mutations:un,actions:Ji},pn=({commit:s})=>{s("resetAll")},En=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},ln=({commit:s},e)=>{s("setConfig",e)},mn=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},vn=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},An=({commit:s},e)=>{s("setApplications",e)},Tn=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for pika"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:Ve}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),In=({commit:s},e)=>{s("setTasks",e)},Rn=({commit:s},e)=>{s("setTasksItems",e)},On=({commit:s},e)=>{s("setTasksTotal",e)},Dn=({commit:s},e)=>{s("setTasksActive",e)},Ln=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for pika"),e.status.getService=E.Request,f.get(Ve).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Pn=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Uo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"videos"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var jn={setService:mn,getService:Ln,resetAll:pn,setCredential:En,setConfig:ln,setApplication:vn,setApplications:An,getApplications:Tn,setTasks:In,setTasksItems:Rn,setTasksTotal:On,setTasksActive:Dn,getTasks:Pn};const gn=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},hn=(s,e)=>{s.service=e},Vn=(s,e)=>{s.credential=e},kn=(s,e)=>{s.application=e},fn=(s,e)=>{s.applications=e},bn=(s,e)=>{s.config=e},yn=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},wn=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},$n=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},Cn=(s,e)=>{s.tasks=e};var xn={setTasks:Cn,setApplication:kn,setApplications:fn,setConfig:bn,setCredential:Vn,setService:hn,setTasksActive:$n,setTasksItems:yn,setTasksTotal:wn,resetAll:gn},Sn=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Un={namespaced:!0,state:Sn,mutations:xn,actions:jn},Nn=({commit:s})=>{s("resetAll")},zn=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Mn=({commit:s},e)=>{s("setConfig",e)},qn=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Bn=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Hn=({commit:s},e)=>{s("setApplications",e)},Fn=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for flux"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:ke}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Wn=({commit:s},e)=>{s("setTasks",e)},Gn=({commit:s},e)=>{s("setTasksItems",e)},Qn=({commit:s},e)=>{s("setTasksTotal",e)},Yn=({commit:s},e)=>{s("setTasksActive",e)},Xn=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for flux"),e.status.getService=E.Request,f.get(ke).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Kn=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");zo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"images"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var Jn={setService:qn,getService:Xn,resetAll:Nn,setCredential:zn,setConfig:Mn,setApplications:Hn,setApplication:Bn,getApplications:Fn,setTasks:Wn,setTasksItems:Gn,setTasksTotal:Qn,setTasksActive:Yn,getTasks:Kn};const Zn=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},ea=(s,e)=>{s.service=e},ta=(s,e)=>{s.credential=e},sa=(s,e)=>{s.application=e},oa=(s,e)=>{s.applications=e},ra=(s,e)=>{s.config=e},ia=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},na=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},aa=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},_a=(s,e)=>{s.tasks=e};var ca={setTasks:_a,setApplication:sa,setApplications:oa,setConfig:ra,setCredential:ta,setService:ea,setTasksActive:aa,setTasksItems:ia,setTasksTotal:na,resetAll:Zn},ua=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const da={namespaced:!0,state:ua,mutations:ca,actions:Jn},pa=({commit:s})=>{s("resetAll")},Ea=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},la=({commit:s},e)=>{s("setConfig",e)},ma=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},va=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Aa=({commit:s},e)=>{s("setApplications",e)},Ta=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for hailuo"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:fe}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Ia=({commit:s},e)=>{s("setTasks",e)},Ra=({commit:s},e)=>{s("setTasksItems",e)},Oa=({commit:s},e)=>{s("setTasksTotal",e)},Da=({commit:s},e)=>{s("setTasksActive",e)},La=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for hailuo"),e.status.getService=E.Request,f.get(fe).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Pa=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");qo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"videos"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var ja={setService:ma,getService:La,resetAll:pa,setCredential:Ea,setConfig:la,setApplication:va,setApplications:Aa,getApplications:Ta,setTasks:Ia,setTasksItems:Ra,setTasksTotal:Oa,setTasksActive:Da,getTasks:Pa};const ga=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},ha=(s,e)=>{s.service=e},Va=(s,e)=>{s.credential=e},ka=(s,e)=>{s.application=e},fa=(s,e)=>{s.applications=e},ba=(s,e)=>{s.config=e},ya=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},wa=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},$a=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},Ca=(s,e)=>{s.tasks=e};var xa={setTasks:Ca,setApplication:ka,setApplications:fa,setConfig:ba,setCredential:Va,setService:ha,setTasksActive:$a,setTasksItems:ya,setTasksTotal:wa,resetAll:ga},Sa=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Ua={namespaced:!0,state:Sa,mutations:xa,actions:ja},Na=({commit:s})=>{s("resetAll")},za=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Ma=({commit:s},e)=>{s("setConfig",e)},qa=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Ba=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Ha=({commit:s},e)=>{s("setApplications",e)},Fa=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for headshots"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:be}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Wa=({commit:s},e)=>{s("setTasks",e)},Ga=({commit:s},e)=>{s("setTasksItems",e)},Qa=({commit:s},e)=>{s("setTasksTotal",e)},Ya=({commit:s},e)=>{s("setTasksActive",e)},Xa=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for headshots"),e.status.getService=E.Request,f.get(be).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),Ka=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Ho.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var Ja={setService:qa,getService:Xa,resetAll:Na,setCredential:za,setConfig:Ma,setApplication:Ba,setApplications:Ha,getApplications:Fa,setTasks:Wa,setTasksItems:Ga,setTasksTotal:Qa,setTasksActive:Ya,getTasks:Ka};const Za=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},e_=(s,e)=>{s.service=e},t_=(s,e)=>{s.credential=e},s_=(s,e)=>{s.application=e},o_=(s,e)=>{s.applications=e},r_=(s,e)=>{s.config=e},i_=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},n_=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},a_=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},__=(s,e)=>{s.tasks=e};var c_={setTasks:__,setApplication:s_,setApplications:o_,setConfig:r_,setCredential:t_,setService:e_,setTasksActive:a_,setTasksItems:i_,setTasksTotal:n_,resetAll:Za},Me=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const u_={namespaced:!0,state:Me,mutations:c_,actions:Ja},d_=({commit:s})=>{s("resetAll")},p_=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},E_=({commit:s},e)=>{s("setConfig",e)},l_=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},m_=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},v_=({commit:s},e)=>{s("setApplications",e)},A_=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for suno"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:ye}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),T_=({commit:s},e)=>{s("setTasks",e)},I_=({commit:s},e)=>{s("setTasksItems",e)},R_=({commit:s},e)=>{s("setTasksTotal",e)},O_=({commit:s},e)=>{s("setTasksActive",e)},D_=({commit:s},e)=>{s("setAudio",e)},L_=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for suno"),e.status.getService=E.Request,f.get(ye).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),P_=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r,n,c);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Go.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"audios"},{token:A}).then(l=>{var p;console.debug("get imagine tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var j_={setService:l_,getService:L_,resetAll:d_,setCredential:p_,setConfig:E_,setApplication:m_,setApplications:v_,getApplications:A_,setTasks:T_,setTasksItems:I_,setTasksTotal:R_,setTasksActive:O_,getTasks:P_,setAudio:D_};const g_=s=>{s.service=void 0,s.application=void 0,s.applications=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},h_=(s,e)=>{s.applications=e},V_=(s,e)=>{s.service=e},k_=(s,e)=>{s.credential=e},f_=(s,e)=>{s.application=e},b_=(s,e)=>{s.config=e},y_=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},w_=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},$_=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},C_=(s,e)=>{s.audio=e},x_=(s,e)=>{s.tasks=e};var S_={setTasks:x_,setApplication:f_,setApplications:h_,setConfig:b_,setCredential:k_,setService:V_,setTasksActive:$_,setTasksItems:y_,setTasksTotal:w_,setAudio:C_,resetAll:g_},qe=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const U_={namespaced:!0,state:qe,mutations:S_,actions:j_};var N_=()=>({fingerprint:void 0,currency:"usd",exchange:void 0,user:{},auth:{flow:"redirect",visible:!1},token:{access:void 0,refresh:void 0,expiration:void 0},setting:{},site:{},chatdoc:Ue(),chat:Se(),midjourney:xe(),qrart:Ne(),luma:ze(),suno:qe(),headshots:Me()});const z_=(s,e)=>{s.user=d(d({},s.user),e)},M_=(s,e)=>{s.token=d(d({},s.token),e)},q_=(s,e)=>{s.auth=d(d({},s.auth),e)},B_=(s,e)=>{s.fingerprint=e},H_=s=>{s.token={}},F_=s=>{s.site={}},W_=s=>{s.user={}},G_=(s,e)=>{s.site=d(d({},s.site),e)},Q_=(s,e)=>{s.exchange=d(d({},s.exchange),e)},Y_=(s,e)=>{s.currency=e};var X_={setUser:z_,setSite:G_,setAuth:q_,setCurrency:Y_,setExchange:Q_,resetUser:W_,setFingerprint:B_,setToken:M_,resetToken:H_,resetSite:F_};const xd=s=>{try{JSON.parse(s)}catch{return!1}return!0},K_=()=>navigator.userAgent.toLowerCase().includes("micromessenger"),se=()=>window.location.host.includes(F),J_=()=>se()&&window.location.host!==F,Be=s=>s!=null&&s.origin?s==null?void 0:s.origin:se()?J:window.location.host.includes("localhost")?`http://localhost-${et()}`:window.location.origin,Z_=({commit:s})=>{s("resetToken"),s("resetUser")},ec=({commit:s})=>{s("resetUser")},tc=({commit:s})=>{s("resetSite")},sc=({commit:s})=>{s("resetToken")},oc=({commit:s},e)=>{s("setToken",e)},rc=({commit:s},e)=>{s("setUser",e)},ic=({commit:s},e)=>{s("setCurrency",e)},nc=({commit:s},e)=>{s("setExchange",e)},ac=({commit:s},e)=>{s("setFingerprint",e)},_c=async({commit:s})=>{console.debug("start to get user");try{s("resetUser");const{data:e}=await Lo.getMe();return s("setUser",e),console.debug("get user success",e),e}catch(e){console.error("get user failed",e)}},cc=async({commit:s})=>{const i=(await(await tt.load()).get()).visitorId;return console.debug("visitorId",i),s("setFingerprint",i),i},uc=async({commit:s},e)=>{console.debug("start to get token using code",e);try{s("resetToken");const{data:o}=await bo.token({code:e});console.debug("get token success",o);const i={access:o.access_token,refresh:o.refresh_token,expiration:o.expires_in};return s("setToken",i),console.debug("get token success",o),i}catch(o){console.error("get token failed",o)}},dc=async({state:s,commit:e},o)=>{if(o.source===o.target)return;const i=`${o.source}-${o.target}`;console.debug("start to get exchange rate",i);try{const{data:r}=await Yo.rate(o);return console.debug("get exchange rate success",r),e("setExchange",{[i]:r.rate}),s.exchange[i]}catch{console.error("get exchange rate failed")}},pc=async({state:s,commit:e,dispatch:o})=>{console.debug("start to initialize site");const i=Be(s==null?void 0:s.site);try{const{data:r}=await $e.initialize({origin:i});e("setSite",r),console.debug("initialize site success",r)}catch(r){console.error("initialize site failed",r),o("login")}},Ec=async({state:s,commit:e})=>{var o,i,r;console.debug("start to get site");try{const c=Be(s==null?void 0:s.site),n=(r=(i=(o=await $e.getAll({origin:c}))==null?void 0:o.data)==null?void 0:i.items)==null?void 0:r[0];e("setSite",n),console.debug("get site success",n)}catch(c){console.error("get site failed",c)}},lc=async({state:s,commit:e})=>{var i;const o=(i=s==null?void 0:s.site)==null?void 0:i.origin;e("setAuth",{flow:"redirect"}),Xc({redirect:window.location.pathname,site:o})},mc=async({dispatch:s})=>{await s("resetAll"),await s("chat/resetAll"),await s("midjourney/resetAll"),await s("chatdoc/resetAll"),await s("qrart/resetAll"),await s("login")};var vc={login:lc,logout:mc,resetToken:sc,resetAll:Z_,resetUser:ec,resetSite:tc,setToken:oc,setFingerprint:ac,setCurrency:ic,setUser:rc,getFingerprint:cc,getExchangeRate:dc,getToken:uc,getUser:_c,initializeSite:pc,getSite:Ec,setExchange:nc};const Ac=s=>!!s.token.access,Tc=s=>s.user,Ic=s=>s.token,Rc=s=>s.setting,Oc=s=>s.site,Dc=s=>s.fingerprint;var Lc={authenticated:Ac,user:Tc,token:Ic,site:Oc,fingerprint:Dc,setting:Rc},Pc={state:N_,mutations:X_,actions:vc,getters:Lc},jc=["chat.application","chat.applications","chat.service","chat.credential","chat.conversations","chat.model","chat.modelGroup"],gc=["midjourney.config","midjourney.credential","midjourney.mode","midjourney.application"],hc=["chatdoc.repositories","chatdoc.credential","chatdoc.service","chatdoc.application"],Vc=["qrart.config","qrart.credential","qrart.application"],kc=["luma.credential","luma.application"],fc=["pika.credential","pika.application"],bc=["flux.credential","flux.application"],yc=["hailuo.credential","hailuo.application"],wc=["headshots.credential","headshots.application"],$c=["suno.credential","suno.application"],Cc=["user","token","setting","locale","dark","site","currency","exchange","fingerprint"];const xc=st(j(d({},Pc),{modules:{midjourney:Ar,chat:zr,qrart:Ui,luma:dn,pika:Un,flux:da,hailuo:Ua,headshots:u_,suno:U_,chatdoc:pi},plugins:[ot({paths:[...Cc,...jc,...gc,...hc,...Vc,...kc,...fc,...bc,...yc,...wc,...$c]})]}));var P=xc;const x=(s=window.location.hostname)=>{const e=rt.parse(s);return e.error||!e.listed||e.domain===s?s:"."+e.domain};window.getDomain=x;const Sc=async()=>{const s=new URLSearchParams(window.location.search),e=s.get("inviter_id");if(e){const c=new Date;c.setDate(c.getDate()+7),console.debug("set INVITER_ID to cookies",e),z("INVITER_ID",e,{expires:c,path:"/",domain:x()})}const o=s.get("theme");if(o)console.log("set THEME to cookies",o),z("THEME",o,{path:"/",domain:x()});else if(!b("THEME")){const c=window.matchMedia("(prefers-color-scheme: dark)").matches;console.debug("set THEME to cookies",c?"dark":"light"),z("THEME",c?"dark":"light",{path:"/",domain:x()})}const i=s.get("lang");let r;i?r=ne(i):b("LOCALE")||(r=ne()),r&&(console.debug("set LOCALE to cookies",r),z("LOCALE",r,{path:"/",domain:x()}))},Uc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.title)||"";let e=document.querySelector("title");e||(e=document.createElement("title"),document.head.appendChild(e)),e.innerHTML=s},Nc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.description)||"";let e=document.querySelector('meta[name="description"]');e||(e=document.createElement("meta"),e.setAttribute("name","description"),document.head.appendChild(e)),e.setAttribute("content",s)},zc=async()=>{var o,i;const s=((i=(o=P.state.site)==null?void 0:o.keywords)==null?void 0:i.join(","))||"";let e=document.querySelector('meta[name="keywords"]');e||(e=document.createElement("meta"),e.setAttribute("name","keywords"),document.head.appendChild(e)),e.setAttribute("content",s)},Mc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.favicon)||"";let e=document.querySelector('link[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=s||Ro},qc=async()=>{await P.dispatch("getSite");const s=P.state.site;console.debug("site",s),s!=null&&s.origin||await P.dispatch("initializeSite")},Bc=async()=>{const e=new URLSearchParams(window.location.search).get("code");if(console.debug("get code",e),e){console.debug("start get token by code",e);const o=await P.dispatch("getToken",e);console.debug("success get token",o)}},Hc=async()=>{const s=P.state.token;if(!(s!=null&&s.access)){console.debug("no access token, skip get user");return}console.debug("start to get user");const e=await P.dispatch("getUser");console.debug("get user",e)},Fc=async()=>{const s=b("LOCALE");console.debug("initialize currency",s);const e=we;let o="usd";s&&e[s]&&(o=e[s]),console.debug("set currency",o),await P.dispatch("setCurrency",o)},Wc=async()=>{const s=b("LOCALE"),e=we;if(!s||!e[s])return;const o=e[s],r={source:"usd",target:o};console.debug("initialize exchange rate",r),await P.dispatch("getExchangeRate",r)},Gc=async()=>{if(se()&&!J_()&&K_()){console.debug("redirect to sub domain with prefix");const s=new Date().toISOString().split("T")[0].replace(/-/g,""),e=window.location.href.replace(F,`${s}.${F}`);console.debug("redirect to",e),window.location.href=e}},Qc=async()=>{await P.dispatch("getFingerprint")},Yc=()=>{var o,i,r,c,n,a,u,v,A;return(r=(i=(o=P==null?void 0:P.state)==null?void 0:o.site)==null?void 0:i.distribution)!=null&&r.force_inviter_id?(a=(n=(c=P==null?void 0:P.state)==null?void 0:c.site)==null?void 0:n.distribution)==null?void 0:a.force_inviter_id:new URLSearchParams(window.location.search).get("inviter_id")||b("INVITER_ID")||((A=(v=(u=P==null?void 0:P.state)==null?void 0:u.site)==null?void 0:v.distribution)==null?void 0:A.default_inviter_id)},Xc=({redirect:s="/",site:e=window.location.origin})=>{const o=Io(),i=W(),r=Yc(),c=`${o}/auth/callback?redirect=${s}`,n=`${i}/auth/login`,a=d(d({site:e},r?{inviter_id:r}:{}),c?{redirect:c}:{}),u=`${n}?${new URLSearchParams(a).toString()}`;window.location.href=u},Kc="index",Jc="auth-login",Zc="auth-callback",He="site-index",eu="chat-conversation",ae="chat-conversation-new",tu="midjourney-index",su="qrart-index",Sd="qrart-history",ou="luma-index",Ud="luma-history",ru="pika-index",Nd="pika-history",iu="flux-index",nu="hailuo-index",zd="hailuo-history",au="headshots-index",Md="headshots-history",_u="chatdoc-index",cu="chatdoc-conversation",uu="chatdoc-conversation-new",du="chatdoc-setting",pu="chatdoc-knowledge",Eu="suno-index",qd="suno-history",lu="profile-index",mu="console-root",vu="console-order-list",Au="console-order-detail",_e="console-application-list",Tu="console-application-extra",Iu="console-application-subscribe",Ru="distribution-index",Ou="distribution-history",Du="distribution-invitees",Lu="console-usage-list";var Pu={path:"/auth",component:()=>t(()=>import("./Auth.c6bce8b3.js"),["assets/Auth.c6bce8b3.js","assets/Auth.fd7a68cc.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"]),children:[{path:"login",name:Jc,component:()=>t(()=>import("./Login.59cba0c8.js"),["assets/Login.59cba0c8.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])},{path:"callback",name:Zc,component:()=>t(()=>import("./Callback.563aa19a.js"),["assets/Callback.563aa19a.js","assets/Callback.dcef08ed.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])}]},ju={path:"/console",meta:{auth:!0},component:()=>t(()=>import("./Console.954af5f6.js"),["assets/Console.954af5f6.js","assets/Console.5c756b88.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:mu,redirect:{name:_e}},{path:"orders",name:vu,component:()=>t(()=>import("./List.5dacb543.js"),["assets/List.5dacb543.js","assets/List.b9ed2f01.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/order.2e7291db.js","assets/Pagination.10e8cfd1.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/order.aa35b6fb.js","assets/price.641fbd15.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"orders/:id",name:Au,component:()=>t(()=>import("./Detail.cb49d7b1.js"),["assets/Detail.cb49d7b1.js","assets/Detail.c6180471.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/order.2e7291db.js","assets/order.aa35b6fb.js","assets/vendor-qrcode.8db51d62.js","assets/price.641fbd15.js","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js"])},{path:"applications",name:_e,component:()=>t(()=>import("./List.f3c6c667.js"),["assets/List.f3c6c667.js","assets/List.6e2820e9.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/credential.26787c24.js","assets/Pagination.10e8cfd1.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"applications/:id/extra",name:Tu,component:()=>t(()=>import("./Extra.172e8c07.js"),["assets/Extra.172e8c07.js","assets/Extra.8ae37a97.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/api.f60246f3.js","assets/price.641fbd15.js","assets/order.2e7291db.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])},{path:"applications/:id/subscribe",name:Iu,component:()=>t(()=>import("./Subscribe.92cd7a18.js"),["assets/Subscribe.92cd7a18.js","assets/Subscribe.7bc86667.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/api.f60246f3.js","assets/order.2e7291db.js","assets/price.641fbd15.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"usages",name:Lu,component:()=>t(()=>import("./List.5c6b67b4.js"),["assets/List.5c6b67b4.js","assets/List.f8805050.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/credential.26787c24.js","assets/Pagination.10e8cfd1.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},gu={path:"/chat",component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",redirect:{name:ae}},{path:"conversations",name:ae,component:()=>t(()=>import("./Conversation.ce51e7cb.js"),["assets/Conversation.ce51e7cb.js","assets/Conversation.db86a557.css","assets/vendor-axios.168e6950.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/MarkdownRenderer.f00d66e6.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/vendor-fortawesome.3e228e5c.js","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/vendor-qrcode.8db51d62.js"])},{path:"conversations/:id",name:eu,component:()=>t(()=>import("./Conversation.ce51e7cb.js"),["assets/Conversation.ce51e7cb.js","assets/Conversation.db86a557.css","assets/vendor-axios.168e6950.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/MarkdownRenderer.f00d66e6.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/vendor-fortawesome.3e228e5c.js","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/vendor-qrcode.8db51d62.js"])}]},hu={path:"/midjourney",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:tu,component:()=>t(()=>import("./Index.dd914d26.js"),["assets/Index.dd914d26.js","assets/Index.d945e782.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/ImageNavigator.44e7645d.js","assets/ImageNavigator.7f975528.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Vu={path:"/distribution",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Ru,component:()=>t(()=>import("./Index.6c2ba8eb.js"),["assets/Index.6c2ba8eb.js","assets/Index.a8112020.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/distribution.ce22eb3a.js","assets/price.641fbd15.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-axios.168e6950.js"])},{path:"history",name:Ou,component:()=>t(()=>import("./History.cb910879.js"),["assets/History.cb910879.js","assets/History.9fc30c32.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Pagination.10e8cfd1.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/distribution.ce22eb3a.js","assets/price.641fbd15.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"invitees",name:Du,component:()=>t(()=>import("./Invitees.abc02851.js"),["assets/Invitees.abc02851.js","assets/Invitees.0568a6f7.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Pagination.10e8cfd1.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},ku={path:"/chatdoc",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:_u,component:()=>t(()=>import("./Index.36823bc5.js"),["assets/Index.36823bc5.js","assets/Index.877f522f.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.4c22c965.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/conversations",name:uu,component:()=>t(()=>import("./Conversation.05e0b9a0.js"),["assets/Conversation.05e0b9a0.js","assets/Conversation.c2ebf796.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.4c22c965.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/MarkdownRenderer.f00d66e6.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/conversations/:conversationId",name:cu,component:()=>t(()=>import("./Conversation.05e0b9a0.js"),["assets/Conversation.05e0b9a0.js","assets/Conversation.c2ebf796.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.4c22c965.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/MarkdownRenderer.f00d66e6.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/manage",name:pu,component:()=>t(()=>import("./Manage.4c13d241.js"),["assets/Manage.4c13d241.js","assets/Manage.07d2ae70.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.4c22c965.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId",name:du,component:()=>t(()=>import("./Setting.8d81c3ff.js"),["assets/Setting.8d81c3ff.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.4c22c965.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},fu={path:"/qrart",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:su,component:()=>t(()=>import("./Index.12fdceec.js"),["assets/Index.12fdceec.js","assets/Index.360c148a.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},bu={path:"/luma",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:ou,component:()=>t(()=>import("./Index.59dc020b.js"),["assets/Index.59dc020b.js","assets/Index.c5cedbac.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.a5c28887.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},yu={path:"/pika",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:ru,component:()=>t(()=>import("./Index.436505b7.js"),["assets/Index.436505b7.js","assets/Index.1861bb6e.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.a5c28887.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},wu={path:"/flux",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:iu,component:()=>t(()=>import("./Index.08924a9d.js"),["assets/Index.08924a9d.js","assets/Index.9e24d783.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/ImageNavigator.44e7645d.js","assets/ImageNavigator.7f975528.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},$u={path:"/hailuo",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:nu,component:()=>t(()=>import("./Index.6c2f87d2.js"),["assets/Index.6c2f87d2.js","assets/Index.85a3f7a8.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.a5c28887.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Cu={path:"/headshots",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:au,component:()=>t(()=>import("./Index.1b95745d.js"),["assets/Index.1b95745d.js","assets/Index.50894ed5.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.70ad0a47.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},xu={path:"/suno",meta:{auth:!0},component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Eu,component:()=>t(()=>import("./Index.a95c90ad.js"),["assets/Index.a95c90ad.js","assets/Index.9deb653e.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/Status.3ed09234.js","assets/Status.f3aede3e.css","assets/InfoIcon.0d72ff26.js","assets/InfoIcon.26ac9f9c.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Su={path:"/site",component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:He,component:()=>t(()=>import("./Index.c9f6843b.js"),["assets/Index.c9f6843b.js","assets/Index.278c7793.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Uu={path:"/profile",component:()=>t(()=>import("./Main.5f3b725c.js"),["assets/Main.5f3b725c.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.38a6fdd9.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:lu,component:()=>t(()=>import("./Index.61730192.js"),["assets/Index.61730192.js","assets/Index.0014e6b1.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.c35769ce.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]};const Nu=[{path:"/",component:()=>t(()=>import("./Index.efd752d2.js"),["assets/Index.efd752d2.js","assets/Index.57e792f1.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"]),children:[{path:"",name:Kc,component:()=>t(()=>import("./Index.91724f44.js"),["assets/Index.91724f44.js","assets/Index.05213a21.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},ju,ku,Pu,gu,fu,bu,yu,wu,$u,Cu,xu,hu,Vu,Su,Uu],Fe=it({history:nt(),routes:Nu});Fe.beforeEach(async(s,e,o)=>{const i=b("LOCALE")||Z;return await so(i),o()});var We=(s,e)=>{const o=s.__vccOpts||s;for(const[i,r]of e)o[i]=r;return o};const zu=ce({name:"AuthPanel",components:{ElDialog:vt,QrCode:mt},data(){return{showQR:!1,qrLink:""}},computed:{iframeUrl(){return`${W()}/auth/login?inviter_id=${this.inviterId}`},inviterId(){var e,o,i,r,c,n,a,u,v,A,T,l,I;return(r=(i=(o=(e=this.$store)==null?void 0:e.state)==null?void 0:o.site)==null?void 0:i.distribution)!=null&&r.force_inviter_id?(u=(a=(n=(c=this.$store)==null?void 0:c.state)==null?void 0:n.site)==null?void 0:a.distribution)==null?void 0:u.force_inviter_id:((v=this.$route.query.inviter_id)==null?void 0:v.toString())||b("INVITER_ID")||((I=(l=(T=(A=this.$store)==null?void 0:A.state)==null?void 0:T.site)==null?void 0:l.distribution)==null?void 0:I.default_inviter_id)},authenticated(){return!!this.$store.state.token.access}},mounted(){window.addEventListener("message",async s=>{var e;if(s.origin===W()){if(console.debug("received from child page",s),s.data.name==="login"){const o=s.data.data,i={access:o.access_token,refresh:o.refresh_token,expiration:o.expires_in};await this.$store.dispatch("setToken",i),await this.$store.dispatch("getUser"),(e=this.$store.state.site)!=null&&e.origin||(await this.$store.dispatch("initializeSite"),await this.$router.push({name:He})),window.location.reload()}if(s.data.name==="show_qr"){const o=s.data.data;this.qrLink=o.qrLink,this.showQR=!0}}})}}),Mu=["src"];function qu(s,e,o,i,r,c){const n=C("el-dialog"),a=C("qr-code");return S(),ct(ut,null,[X(n,{"model-value":!s.authenticated,"modal-class":"dialog",width:"400px","show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1},{default:H(()=>[dt("iframe",{width:"360",height:"560",src:s.iframeUrl,frameborder:"0"},null,8,Mu)]),_:1},8,["model-value"]),X(n,{modelValue:s.showQR,"onUpdate:modelValue":e[0]||(e[0]=u=>s.showQR=u),width:"400px","show-close":!0},{default:H(()=>[s.qrLink?(S(),q(a,{key:0,value:s.qrLink,width:230,height:230,class:"qrcode",type:"image/jpeg",color:{dark:"#000000ff",light:"#ffffffff"}},null,8,["value"])):K("v-if",!0)]),_:1},8,["modelValue"])],64)}var Bu=We(zu,[["render",qu],["__scopeId","data-v-6c178208"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/AuthPanel.vue"]]);const Hu=ce({components:{ElConfigProvider:At,AuthPanel:Bu,ElTag:Tt},data(){return{isTest:U,locale:It}},computed:{authPopup(){return this.$store.state.auth.flow==="popup"&&this.$store.state.auth.visible}}});function Fu(s,e,o,i,r,c){const n=C("auth-panel"),a=C("router-view"),u=C("el-tag"),v=C("el-config-provider");return S(),q(v,{locale:s.locale},{default:H(()=>[s.authPopup?(S(),q(n,{key:0})):K("v-if",!0),X(a),s.isTest?(S(),q(u,{key:1,size:"large",class:"tag",type:"warning"},{default:H(()=>[pt(Et(s.$t("index.button.testEnv")),1)]),_:1})):K("v-if",!0)]),_:1},8,["locale"])}var Wu=We(Hu,[["render",Fu],["__file","/home/runner/work/Nexior/Nexior/src/App.vue"]]);var Gu={install:(s,e)=>{s.config.globalProperties.$dayjs={format(o,i=""){return at(o).format(i||e.formatString)}}}};m.add(Ot);m.add(Dt);m.add(Lt);m.add(Pt);m.add(jt);m.add(gt);m.add(ht);m.add(Vt);m.add(kt);m.add(ft);m.add(bt);m.add(yt);m.add(wt);m.add($t);m.add(Ct);m.add(xt);m.add(St);m.add(Ut);m.add(Nt);m.add(zt);m.add(Mt);m.add(qt);m.add(Bt);m.add(Ht);m.add(Ft);m.add(Wt);m.add(Gt);m.add(Qt);m.add(Yt);m.add(Xt);m.add(Kt);m.add(Jt);m.add(Zt);m.add(es);m.add(ts);m.add(ss);m.add(os);m.add(rs);m.add(is);m.add(ns);m.add(as);m.add(_s);m.add(cs);m.add(us);m.add(ds);m.add(ps);m.add(Es);m.add(ls);m.add(ms);m.add(vs);m.add(As);m.add(Ts);m.add(Is);m.add(Rs);m.add(Os);m.add(Ds);m.add(Ls);m.add(Ps);m.add(js);m.add(gs);m.add(hs);m.add(Vs);m.add(ks);m.add(fs);m.add(bs);m.add(ys);m.add(ws);m.add($s);m.add(Cs);m.add(xs);m.add(Ss);m.add(Us);m.add(Ns);m.add(zs);m.add(Ms);m.add(qs);m.add(Bs);m.add(Hs);m.add(Fs);const Qu=async()=>{await Gc(),await Sc(),await Bc(),await Hc(),await qc(),Fc(),Wc(),Uc(),Nc(),zc(),Mc(),Qc();const s=lt(Wu);s.use(Fe),s.use(P),s.use(L),s.use(Gu,{formatString:"YYYY-MM-DD HH:mm:ss"}),s.directive("loading",Rt),s.mount("#app"),console.debug("app mounted"),window.app=s};Qu();export{xd as $,He as A,g as B,P as C,Cd as D,Iu as E,k as F,Au as G,Tu as H,h as I,f as J,Po as K,sd as L,To as M,rd as N,vo as O,E as P,go as Q,Kc as R,Js as S,id as T,De as U,ve as V,Te as W,te as X,Re as Y,Ie as Z,We as _,Jc as a,od as a0,Ae as a1,t as a2,L as a3,nd as a4,_d as a5,dd as a6,ad as a7,cd as a8,Vo as a9,xo as aA,bd as aB,fd as aC,kd as aD,Uo as aE,yd as aF,zo as aG,wd as aH,qo as aI,Ho as aJ,$d as aK,Go as aL,$e as aM,ud as aa,Ou as ab,Du as ac,Lo as ad,pu as ae,uu as af,y as ag,cu as ah,md as ai,vd as aj,pd as ak,Ed as al,Ad as am,Od as an,Dd as ao,Ld as ap,Pd as aq,Id as ar,Td as as,jd as at,Rd as au,ld as av,$o as aw,gd as ax,Vd as ay,hd as az,mu as b,W as c,_e as d,vu as e,Lu as f,x as g,Ru as h,se as i,ae as j,eu as k,tu as l,su as m,Sd as n,Eu as o,qd as p,ou as q,ru as r,so as s,nu as t,Ud as u,Nd as v,zd as w,au as x,Md as y,lu as z};
1
+ var Xe=Object.defineProperty,Je=Object.defineProperties;var Ze=Object.getOwnPropertyDescriptors;var re=Object.getOwnPropertySymbols;var et=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable;var Q=(s,e,o)=>e in s?Xe(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,d=(s,e)=>{for(var o in e||(e={}))et.call(e,o)&&Q(s,o,e[o]);if(re)for(var o of re(e))tt.call(e,o)&&Q(s,o,e[o]);return s},j=(s,e)=>Je(s,Ze(e));var N=(s,e,o)=>(Q(s,typeof e!="symbol"?e+"":e,o),o);import{v as st,w as ot,x as b,z as rt,A as it,B as nt,C as at,D as _t,F as z,G as ct,H as ut,I as dt}from"./vendor-others.179d4404.js";import{a as O}from"./vendor-axios.168e6950.js";import{_ as pt,H as ue,al as $,e as Et,V as X,M as B,W as lt,o as S,f as mt,L as q,S as J,T as vt,U as At,aD as Tt}from"./vendor-@vue.fc29b169.js";import{Q as It}from"./vendor-qrcode.8db51d62.js";import{E as Rt,a as Ot,b as Dt,z as Lt,v as Pt}from"./vendor-element-plus.f90d6803.js";import{l as m,f as jt,a as gt,b as ht,c as Vt,d as kt,e as ft,g as bt,h as yt,i as wt,j as Ct,k as $t,m as xt,n as St,o as Ut,p as Nt,q as zt,r as Mt,s as qt,t as Ht,u as Bt,v as Gt,w as Ft,x as Wt,y as Qt,z as Kt,A as Yt,B as Xt,C as Jt,D as Zt,E as es,F as ts,G as ss,H as os,I as rs,J as is,K as ns,L as as,M as _s,N as cs,O as us,P as ds,Q as ps,R as Es,S as ls,T as ms,U as vs,V as As,W as Ts,X as Is,Y as Rs,Z as Os,_ as Ds,$ as Ls,a0 as Ps,a1 as js,a2 as gs,a3 as hs,a4 as Vs,a5 as ks,a6 as fs,a7 as bs,a8 as ys,a9 as ws,aa as Cs,ab as $s,ac as xs,ad as Ss,ae as Us,af as Ns,ag as zs,ah as Ms,ai as qs,aj as Hs,ak as Bs,al as Gs,am as Fs,an as Ws,ao as Qs,ap as Ks}from"./vendor-fortawesome.3e228e5c.js";const Ys=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const c of r)if(c.type==="childList")for(const n of c.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function o(r){const c={};return r.integrity&&(c.integrity=r.integrity),r.referrerpolicy&&(c.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?c.credentials="include":r.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(r){if(r.ep)return;r.ep=!0;const c=o(r);fetch(r.href,c)}};Ys();const U=window.location.origin==="https://hub-test.acedata.cloud",de=U?"https://platform-test.acedata.cloud":"https://platform.acedata.cloud",Z=U?"https://hub-test.acedata.cloud":"https://hub.acedata.cloud",pe=U?"https://auth-test.acedata.cloud":"https://auth.acedata.cloud",D=U?"https://api-test.acedata.cloud":"https://api.acedata.cloud";new URL(de).host;const G=new URL(Z).host;new URL(pe).host;new URL(D).host;const ie="create",Xs="update",K="delete",Y="retrieve",M="retrieve_batch",Js="modulepreload",ne={},Zs="/",t=function(e,o){return!o||o.length===0?e():Promise.all(o.map(i=>{if(i=`${Zs}${i}`,i in ne)return;ne[i]=!0;const r=i.endsWith(".css"),c=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${c}`))return;const n=document.createElement("link");if(n.rel=r?"stylesheet":Js,r||(n.as="script",n.crossOrigin=""),n.href=i,document.head.appendChild(n),r)return new Promise((a,u)=>{n.addEventListener("load",a),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e())};function eo(s){switch(s){case"./ar/api.json":return t(()=>import("./api.a332bb5c.js"),[]);case"./ar/application.json":return t(()=>import("./application.e6a79b83.js"),[]);case"./ar/chat.json":return t(()=>import("./chat.379b17a5.js"),[]);case"./ar/chatdoc.json":return t(()=>import("./chatdoc.c9102d6b.js"),[]);case"./ar/common.json":return t(()=>import("./common.49d7894d.js"),[]);case"./ar/console.json":return t(()=>import("./console.3eac0149.js"),[]);case"./ar/credential.json":return t(()=>import("./credential.eb41fe73.js"),[]);case"./ar/distribution.json":return t(()=>import("./distribution.b5b433ca.js"),[]);case"./ar/flux.json":return t(()=>import("./flux.ebccaa4e.js"),[]);case"./ar/hailuo.json":return t(()=>import("./hailuo.37108325.js"),[]);case"./ar/headshots.json":return t(()=>import("./headshots.5fdd5f0b.js"),[]);case"./ar/index.json":return t(()=>import("./index.8677a92c.js"),[]);case"./ar/luma.json":return t(()=>import("./luma.a2c4798b.js"),[]);case"./ar/midjourney.json":return t(()=>import("./midjourney.6fdf3710.js"),[]);case"./ar/order.json":return t(()=>import("./order.a215bde7.js"),[]);case"./ar/pika.json":return t(()=>import("./pika.5821905a.js"),[]);case"./ar/proxy.json":return t(()=>import("./proxy.e373b98b.js"),[]);case"./ar/qrart.json":return t(()=>import("./qrart.aa7386b1.js"),[]);case"./ar/service.json":return t(()=>import("./service.d728679c.js"),[]);case"./ar/site.json":return t(()=>import("./site.c5d2323b.js"),[]);case"./ar/suno.json":return t(()=>import("./suno.067d08d5.js"),[]);case"./ar/usage.json":return t(()=>import("./usage.d72320b1.js"),[]);case"./ar/user.json":return t(()=>import("./user.08c501a5.js"),[]);case"./de/api.json":return t(()=>import("./api.818af659.js"),[]);case"./de/application.json":return t(()=>import("./application.7e46e171.js"),[]);case"./de/chat.json":return t(()=>import("./chat.bc7e7fce.js"),[]);case"./de/chatdoc.json":return t(()=>import("./chatdoc.a330c226.js"),[]);case"./de/common.json":return t(()=>import("./common.0bb76e04.js"),[]);case"./de/console.json":return t(()=>import("./console.6f8b5c9d.js"),[]);case"./de/credential.json":return t(()=>import("./credential.842dfa48.js"),[]);case"./de/distribution.json":return t(()=>import("./distribution.a9896fef.js"),[]);case"./de/flux.json":return t(()=>import("./flux.6bff76dc.js"),[]);case"./de/hailuo.json":return t(()=>import("./hailuo.3b8f72eb.js"),[]);case"./de/headshots.json":return t(()=>import("./headshots.6501db19.js"),[]);case"./de/index.json":return t(()=>import("./index.b44a7261.js"),[]);case"./de/luma.json":return t(()=>import("./luma.992755c1.js"),[]);case"./de/midjourney.json":return t(()=>import("./midjourney.4116bbd1.js"),[]);case"./de/order.json":return t(()=>import("./order.02f20e45.js"),[]);case"./de/pika.json":return t(()=>import("./pika.8c2e668b.js"),[]);case"./de/proxy.json":return t(()=>import("./proxy.6197ed3c.js"),[]);case"./de/qrart.json":return t(()=>import("./qrart.37c2f506.js"),[]);case"./de/service.json":return t(()=>import("./service.be2b65e6.js"),[]);case"./de/site.json":return t(()=>import("./site.de131573.js"),[]);case"./de/suno.json":return t(()=>import("./suno.aa1e6bd8.js"),[]);case"./de/usage.json":return t(()=>import("./usage.04f0f71e.js"),[]);case"./de/user.json":return t(()=>import("./user.8c2740d5.js"),[]);case"./el/api.json":return t(()=>import("./api.73a91481.js"),[]);case"./el/application.json":return t(()=>import("./application.3e1aa320.js"),[]);case"./el/chat.json":return t(()=>import("./chat.0dd3c04e.js"),[]);case"./el/chatdoc.json":return t(()=>import("./chatdoc.38093bef.js"),[]);case"./el/common.json":return t(()=>import("./common.ae083051.js"),[]);case"./el/console.json":return t(()=>import("./console.f2b5361b.js"),[]);case"./el/credential.json":return t(()=>import("./credential.04598fa3.js"),[]);case"./el/distribution.json":return t(()=>import("./distribution.fec7067a.js"),[]);case"./el/flux.json":return t(()=>import("./flux.82000e74.js"),[]);case"./el/hailuo.json":return t(()=>import("./hailuo.b58fe7ac.js"),[]);case"./el/headshots.json":return t(()=>import("./headshots.56eae7e4.js"),[]);case"./el/index.json":return t(()=>import("./index.3dcc9f0d.js"),[]);case"./el/luma.json":return t(()=>import("./luma.90f454c9.js"),[]);case"./el/midjourney.json":return t(()=>import("./midjourney.a515e2c2.js"),[]);case"./el/order.json":return t(()=>import("./order.1c358a68.js"),[]);case"./el/pika.json":return t(()=>import("./pika.86c7b2e1.js"),[]);case"./el/proxy.json":return t(()=>import("./proxy.77adcc26.js"),[]);case"./el/qrart.json":return t(()=>import("./qrart.53d9e410.js"),[]);case"./el/service.json":return t(()=>import("./service.62f9c8e6.js"),[]);case"./el/site.json":return t(()=>import("./site.53ec062b.js"),[]);case"./el/suno.json":return t(()=>import("./suno.62991510.js"),[]);case"./el/usage.json":return t(()=>import("./usage.771626b6.js"),[]);case"./el/user.json":return t(()=>import("./user.97a64233.js"),[]);case"./en/api.json":return t(()=>import("./api.7dc36d47.js"),[]);case"./en/application.json":return t(()=>import("./application.0fac8022.js"),[]);case"./en/chat.json":return t(()=>import("./chat.f0186f55.js"),[]);case"./en/chatdoc.json":return t(()=>import("./chatdoc.c99b8fc5.js"),[]);case"./en/common.json":return t(()=>import("./common.df148e38.js"),[]);case"./en/console.json":return t(()=>import("./console.7aefcf17.js"),[]);case"./en/credential.json":return t(()=>import("./credential.1193646d.js"),[]);case"./en/distribution.json":return t(()=>import("./distribution.40bd61b0.js"),[]);case"./en/flux.json":return t(()=>import("./flux.aa8f0ba0.js"),[]);case"./en/hailuo.json":return t(()=>import("./hailuo.603baf35.js"),[]);case"./en/headshots.json":return t(()=>import("./headshots.1a490a07.js"),[]);case"./en/index.json":return t(()=>import("./index.db83989d.js"),[]);case"./en/luma.json":return t(()=>import("./luma.68816b5a.js"),[]);case"./en/midjourney.json":return t(()=>import("./midjourney.a7d2fe5f.js"),[]);case"./en/order.json":return t(()=>import("./order.9ac50540.js"),[]);case"./en/pika.json":return t(()=>import("./pika.9ff73e9f.js"),[]);case"./en/proxy.json":return t(()=>import("./proxy.d6167c9e.js"),[]);case"./en/qrart.json":return t(()=>import("./qrart.43211b0c.js"),[]);case"./en/service.json":return t(()=>import("./service.847fd288.js"),[]);case"./en/site.json":return t(()=>import("./site.9d5b0661.js"),[]);case"./en/suno.json":return t(()=>import("./suno.406d72fb.js"),[]);case"./en/usage.json":return t(()=>import("./usage.b2867a7c.js"),[]);case"./en/user.json":return t(()=>import("./user.3529d32e.js"),[]);case"./es/api.json":return t(()=>import("./api.213cd308.js"),[]);case"./es/application.json":return t(()=>import("./application.538c1d62.js"),[]);case"./es/chat.json":return t(()=>import("./chat.c54999d7.js"),[]);case"./es/chatdoc.json":return t(()=>import("./chatdoc.be4f6cf9.js"),[]);case"./es/common.json":return t(()=>import("./common.3f10865b.js"),[]);case"./es/console.json":return t(()=>import("./console.a2466212.js"),[]);case"./es/credential.json":return t(()=>import("./credential.af11f12c.js"),[]);case"./es/distribution.json":return t(()=>import("./distribution.04b256bf.js"),[]);case"./es/flux.json":return t(()=>import("./flux.cc80368d.js"),[]);case"./es/hailuo.json":return t(()=>import("./hailuo.b75c4887.js"),[]);case"./es/headshots.json":return t(()=>import("./headshots.592a7a6d.js"),[]);case"./es/index.json":return t(()=>import("./index.f964e456.js"),[]);case"./es/luma.json":return t(()=>import("./luma.31f6450b.js"),[]);case"./es/midjourney.json":return t(()=>import("./midjourney.d5dccaef.js"),[]);case"./es/order.json":return t(()=>import("./order.a8b6322f.js"),[]);case"./es/pika.json":return t(()=>import("./pika.524e74df.js"),[]);case"./es/proxy.json":return t(()=>import("./proxy.eecf47a3.js"),[]);case"./es/qrart.json":return t(()=>import("./qrart.93d793b1.js"),[]);case"./es/service.json":return t(()=>import("./service.99fe12fc.js"),[]);case"./es/site.json":return t(()=>import("./site.dca111ff.js"),[]);case"./es/suno.json":return t(()=>import("./suno.1a4dee58.js"),[]);case"./es/usage.json":return t(()=>import("./usage.4880575b.js"),[]);case"./es/user.json":return t(()=>import("./user.167a4041.js"),[]);case"./fi/api.json":return t(()=>import("./api.0f034ae6.js"),[]);case"./fi/application.json":return t(()=>import("./application.07ad8042.js"),[]);case"./fi/chat.json":return t(()=>import("./chat.6a266fc8.js"),[]);case"./fi/chatdoc.json":return t(()=>import("./chatdoc.eb31a140.js"),[]);case"./fi/common.json":return t(()=>import("./common.b423a5ed.js"),[]);case"./fi/console.json":return t(()=>import("./console.c66adbdf.js"),[]);case"./fi/credential.json":return t(()=>import("./credential.f872a714.js"),[]);case"./fi/distribution.json":return t(()=>import("./distribution.d131e1b9.js"),[]);case"./fi/flux.json":return t(()=>import("./flux.3712c862.js"),[]);case"./fi/hailuo.json":return t(()=>import("./hailuo.76df33b6.js"),[]);case"./fi/headshots.json":return t(()=>import("./headshots.c94c35eb.js"),[]);case"./fi/index.json":return t(()=>import("./index.37465f4e.js"),[]);case"./fi/luma.json":return t(()=>import("./luma.eb9a8302.js"),[]);case"./fi/midjourney.json":return t(()=>import("./midjourney.e167aae9.js"),[]);case"./fi/order.json":return t(()=>import("./order.d217f5ff.js"),[]);case"./fi/pika.json":return t(()=>import("./pika.389c95d2.js"),[]);case"./fi/proxy.json":return t(()=>import("./proxy.133d11fd.js"),[]);case"./fi/qrart.json":return t(()=>import("./qrart.ee490b29.js"),[]);case"./fi/service.json":return t(()=>import("./service.2508f46e.js"),[]);case"./fi/site.json":return t(()=>import("./site.7e02b1ab.js"),[]);case"./fi/suno.json":return t(()=>import("./suno.f9072af1.js"),[]);case"./fi/usage.json":return t(()=>import("./usage.b0968cb7.js"),[]);case"./fi/user.json":return t(()=>import("./user.6ed11ce4.js"),[]);case"./fr/api.json":return t(()=>import("./api.3170d3cc.js"),[]);case"./fr/application.json":return t(()=>import("./application.be4edbdb.js"),[]);case"./fr/chat.json":return t(()=>import("./chat.3ade106d.js"),[]);case"./fr/chatdoc.json":return t(()=>import("./chatdoc.82bb469d.js"),[]);case"./fr/common.json":return t(()=>import("./common.659f33c4.js"),[]);case"./fr/console.json":return t(()=>import("./console.ef2fcc3d.js"),[]);case"./fr/credential.json":return t(()=>import("./credential.d432557a.js"),[]);case"./fr/distribution.json":return t(()=>import("./distribution.632802b2.js"),[]);case"./fr/flux.json":return t(()=>import("./flux.d3981c83.js"),[]);case"./fr/hailuo.json":return t(()=>import("./hailuo.3894ef18.js"),[]);case"./fr/headshots.json":return t(()=>import("./headshots.b7f623fd.js"),[]);case"./fr/index.json":return t(()=>import("./index.1a15ffa9.js"),[]);case"./fr/luma.json":return t(()=>import("./luma.18e6d08f.js"),[]);case"./fr/midjourney.json":return t(()=>import("./midjourney.eafd626e.js"),[]);case"./fr/order.json":return t(()=>import("./order.278cc8ec.js"),[]);case"./fr/pika.json":return t(()=>import("./pika.b6e68e7c.js"),[]);case"./fr/proxy.json":return t(()=>import("./proxy.31dfefac.js"),[]);case"./fr/qrart.json":return t(()=>import("./qrart.8005bd82.js"),[]);case"./fr/service.json":return t(()=>import("./service.ebc8e30e.js"),[]);case"./fr/site.json":return t(()=>import("./site.44c62f61.js"),[]);case"./fr/suno.json":return t(()=>import("./suno.2b0db2f6.js"),[]);case"./fr/usage.json":return t(()=>import("./usage.b40a1557.js"),[]);case"./fr/user.json":return t(()=>import("./user.637aff20.js"),[]);case"./it/api.json":return t(()=>import("./api.fc827dfb.js"),[]);case"./it/application.json":return t(()=>import("./application.74e344c5.js"),[]);case"./it/chat.json":return t(()=>import("./chat.8d1bcd70.js"),[]);case"./it/chatdoc.json":return t(()=>import("./chatdoc.6f26a6c3.js"),[]);case"./it/common.json":return t(()=>import("./common.d5838598.js"),[]);case"./it/console.json":return t(()=>import("./console.5a8befab.js"),[]);case"./it/credential.json":return t(()=>import("./credential.f4a14d2a.js"),[]);case"./it/distribution.json":return t(()=>import("./distribution.2445a0a4.js"),[]);case"./it/flux.json":return t(()=>import("./flux.85acdc01.js"),[]);case"./it/hailuo.json":return t(()=>import("./hailuo.0a3d1340.js"),[]);case"./it/headshots.json":return t(()=>import("./headshots.1cbbfdec.js"),[]);case"./it/index.json":return t(()=>import("./index.c087482b.js"),[]);case"./it/luma.json":return t(()=>import("./luma.e7b2fcf0.js"),[]);case"./it/midjourney.json":return t(()=>import("./midjourney.b64f9044.js"),[]);case"./it/order.json":return t(()=>import("./order.3e7803d7.js"),[]);case"./it/pika.json":return t(()=>import("./pika.8d1748d4.js"),[]);case"./it/proxy.json":return t(()=>import("./proxy.329911e7.js"),[]);case"./it/qrart.json":return t(()=>import("./qrart.c5db1454.js"),[]);case"./it/service.json":return t(()=>import("./service.6d83c187.js"),[]);case"./it/site.json":return t(()=>import("./site.2b75a139.js"),[]);case"./it/suno.json":return t(()=>import("./suno.0d0b3167.js"),[]);case"./it/usage.json":return t(()=>import("./usage.fa1a36cb.js"),[]);case"./it/user.json":return t(()=>import("./user.280e7fdd.js"),[]);case"./ja/api.json":return t(()=>import("./api.40468439.js"),[]);case"./ja/application.json":return t(()=>import("./application.44ac4a6b.js"),[]);case"./ja/chat.json":return t(()=>import("./chat.1e8b40bf.js"),[]);case"./ja/chatdoc.json":return t(()=>import("./chatdoc.6e05604b.js"),[]);case"./ja/common.json":return t(()=>import("./common.d5497470.js"),[]);case"./ja/console.json":return t(()=>import("./console.60252e24.js"),[]);case"./ja/credential.json":return t(()=>import("./credential.d4f63a8b.js"),[]);case"./ja/distribution.json":return t(()=>import("./distribution.4abbea61.js"),[]);case"./ja/flux.json":return t(()=>import("./flux.35de7d11.js"),[]);case"./ja/hailuo.json":return t(()=>import("./hailuo.d63e17d4.js"),[]);case"./ja/headshots.json":return t(()=>import("./headshots.ad352e10.js"),[]);case"./ja/index.json":return t(()=>import("./index.391197bf.js"),[]);case"./ja/luma.json":return t(()=>import("./luma.52656c21.js"),[]);case"./ja/midjourney.json":return t(()=>import("./midjourney.e4c1f3aa.js"),[]);case"./ja/order.json":return t(()=>import("./order.5b71322d.js"),[]);case"./ja/pika.json":return t(()=>import("./pika.1047a022.js"),[]);case"./ja/proxy.json":return t(()=>import("./proxy.1b499543.js"),[]);case"./ja/qrart.json":return t(()=>import("./qrart.7a0262e3.js"),[]);case"./ja/service.json":return t(()=>import("./service.8cd05403.js"),[]);case"./ja/site.json":return t(()=>import("./site.7c4177ff.js"),[]);case"./ja/suno.json":return t(()=>import("./suno.a1c54502.js"),[]);case"./ja/usage.json":return t(()=>import("./usage.3299fdd7.js"),[]);case"./ja/user.json":return t(()=>import("./user.073bb362.js"),[]);case"./ko/api.json":return t(()=>import("./api.1072ae11.js"),[]);case"./ko/application.json":return t(()=>import("./application.69f2d78e.js"),[]);case"./ko/chat.json":return t(()=>import("./chat.97c0d9f9.js"),[]);case"./ko/chatdoc.json":return t(()=>import("./chatdoc.4963b715.js"),[]);case"./ko/common.json":return t(()=>import("./common.86058aa9.js"),[]);case"./ko/console.json":return t(()=>import("./console.1ac9637c.js"),[]);case"./ko/credential.json":return t(()=>import("./credential.74124158.js"),[]);case"./ko/distribution.json":return t(()=>import("./distribution.f1e4ae1b.js"),[]);case"./ko/flux.json":return t(()=>import("./flux.704493e1.js"),[]);case"./ko/hailuo.json":return t(()=>import("./hailuo.b5941733.js"),[]);case"./ko/headshots.json":return t(()=>import("./headshots.ae3d4804.js"),[]);case"./ko/index.json":return t(()=>import("./index.815395c4.js"),[]);case"./ko/luma.json":return t(()=>import("./luma.0a2d1bc5.js"),[]);case"./ko/midjourney.json":return t(()=>import("./midjourney.e142e4ba.js"),[]);case"./ko/order.json":return t(()=>import("./order.add6d5c2.js"),[]);case"./ko/pika.json":return t(()=>import("./pika.33eccc59.js"),[]);case"./ko/proxy.json":return t(()=>import("./proxy.a3f16b8e.js"),[]);case"./ko/qrart.json":return t(()=>import("./qrart.9d5d6cb7.js"),[]);case"./ko/service.json":return t(()=>import("./service.d83bf89d.js"),[]);case"./ko/site.json":return t(()=>import("./site.9b960df6.js"),[]);case"./ko/suno.json":return t(()=>import("./suno.256e43be.js"),[]);case"./ko/usage.json":return t(()=>import("./usage.3b165b46.js"),[]);case"./ko/user.json":return t(()=>import("./user.eee57bcd.js"),[]);case"./pl/api.json":return t(()=>import("./api.ae1c3f85.js"),[]);case"./pl/application.json":return t(()=>import("./application.1ffb2c4e.js"),[]);case"./pl/chat.json":return t(()=>import("./chat.ae80e93e.js"),[]);case"./pl/chatdoc.json":return t(()=>import("./chatdoc.cb5d28e1.js"),[]);case"./pl/common.json":return t(()=>import("./common.332fa235.js"),[]);case"./pl/console.json":return t(()=>import("./console.1bb43f37.js"),[]);case"./pl/credential.json":return t(()=>import("./credential.c70da515.js"),[]);case"./pl/distribution.json":return t(()=>import("./distribution.f28ca36e.js"),[]);case"./pl/flux.json":return t(()=>import("./flux.4a85f636.js"),[]);case"./pl/hailuo.json":return t(()=>import("./hailuo.aa84f90f.js"),[]);case"./pl/headshots.json":return t(()=>import("./headshots.a6439b75.js"),[]);case"./pl/index.json":return t(()=>import("./index.63b639eb.js"),[]);case"./pl/luma.json":return t(()=>import("./luma.e617a083.js"),[]);case"./pl/midjourney.json":return t(()=>import("./midjourney.bfa5a88f.js"),[]);case"./pl/order.json":return t(()=>import("./order.8d3d3f7d.js"),[]);case"./pl/pika.json":return t(()=>import("./pika.abbb4ef6.js"),[]);case"./pl/proxy.json":return t(()=>import("./proxy.27ed7c24.js"),[]);case"./pl/qrart.json":return t(()=>import("./qrart.ced8eb0c.js"),[]);case"./pl/service.json":return t(()=>import("./service.5ff88101.js"),[]);case"./pl/site.json":return t(()=>import("./site.2c4bc670.js"),[]);case"./pl/suno.json":return t(()=>import("./suno.bbc0ba33.js"),[]);case"./pl/usage.json":return t(()=>import("./usage.4a0c5964.js"),[]);case"./pl/user.json":return t(()=>import("./user.f9c585bf.js"),[]);case"./pt/api.json":return t(()=>import("./api.729038af.js"),[]);case"./pt/application.json":return t(()=>import("./application.2e2dc69d.js"),[]);case"./pt/chat.json":return t(()=>import("./chat.8c367ef4.js"),[]);case"./pt/chatdoc.json":return t(()=>import("./chatdoc.369240c0.js"),[]);case"./pt/common.json":return t(()=>import("./common.12de3aff.js"),[]);case"./pt/console.json":return t(()=>import("./console.d241b50f.js"),[]);case"./pt/credential.json":return t(()=>import("./credential.193339b9.js"),[]);case"./pt/distribution.json":return t(()=>import("./distribution.2dae690c.js"),[]);case"./pt/flux.json":return t(()=>import("./flux.3ba35e0e.js"),[]);case"./pt/hailuo.json":return t(()=>import("./hailuo.48169a81.js"),[]);case"./pt/headshots.json":return t(()=>import("./headshots.9f5c1eb1.js"),[]);case"./pt/index.json":return t(()=>import("./index.2f2bd2f0.js"),[]);case"./pt/luma.json":return t(()=>import("./luma.3d28b187.js"),[]);case"./pt/midjourney.json":return t(()=>import("./midjourney.2ccedef1.js"),[]);case"./pt/order.json":return t(()=>import("./order.29387b0c.js"),[]);case"./pt/pika.json":return t(()=>import("./pika.c4450136.js"),[]);case"./pt/proxy.json":return t(()=>import("./proxy.a908dbb4.js"),[]);case"./pt/qrart.json":return t(()=>import("./qrart.a06ccb3a.js"),[]);case"./pt/service.json":return t(()=>import("./service.f4552453.js"),[]);case"./pt/site.json":return t(()=>import("./site.7a809230.js"),[]);case"./pt/suno.json":return t(()=>import("./suno.f8f4e59f.js"),[]);case"./pt/usage.json":return t(()=>import("./usage.f2504542.js"),[]);case"./pt/user.json":return t(()=>import("./user.d80f3bba.js"),[]);case"./ru/api.json":return t(()=>import("./api.69c809ee.js"),[]);case"./ru/application.json":return t(()=>import("./application.cc12550d.js"),[]);case"./ru/chat.json":return t(()=>import("./chat.a3ce67d6.js"),[]);case"./ru/chatdoc.json":return t(()=>import("./chatdoc.26e34f62.js"),[]);case"./ru/common.json":return t(()=>import("./common.76e73cc9.js"),[]);case"./ru/console.json":return t(()=>import("./console.ae88ad84.js"),[]);case"./ru/credential.json":return t(()=>import("./credential.fdfc75af.js"),[]);case"./ru/distribution.json":return t(()=>import("./distribution.169757d7.js"),[]);case"./ru/flux.json":return t(()=>import("./flux.e9ef5810.js"),[]);case"./ru/hailuo.json":return t(()=>import("./hailuo.d4c2b8de.js"),[]);case"./ru/headshots.json":return t(()=>import("./headshots.6a51ab17.js"),[]);case"./ru/index.json":return t(()=>import("./index.f13c8e0d.js"),[]);case"./ru/luma.json":return t(()=>import("./luma.0e37bf0d.js"),[]);case"./ru/midjourney.json":return t(()=>import("./midjourney.189899ef.js"),[]);case"./ru/order.json":return t(()=>import("./order.524b686a.js"),[]);case"./ru/pika.json":return t(()=>import("./pika.22a83988.js"),[]);case"./ru/proxy.json":return t(()=>import("./proxy.438efd9f.js"),[]);case"./ru/qrart.json":return t(()=>import("./qrart.cee3a84a.js"),[]);case"./ru/service.json":return t(()=>import("./service.49b63035.js"),[]);case"./ru/site.json":return t(()=>import("./site.96eba8d6.js"),[]);case"./ru/suno.json":return t(()=>import("./suno.06f488a0.js"),[]);case"./ru/usage.json":return t(()=>import("./usage.0cf4c0cc.js"),[]);case"./ru/user.json":return t(()=>import("./user.ec9b9e19.js"),[]);case"./sr/api.json":return t(()=>import("./api.cc772840.js"),[]);case"./sr/application.json":return t(()=>import("./application.746d8c67.js"),[]);case"./sr/chat.json":return t(()=>import("./chat.ec6b9b27.js"),[]);case"./sr/chatdoc.json":return t(()=>import("./chatdoc.5968870d.js"),[]);case"./sr/common.json":return t(()=>import("./common.bc10c6d4.js"),[]);case"./sr/console.json":return t(()=>import("./console.606e5a51.js"),[]);case"./sr/credential.json":return t(()=>import("./credential.5ea3ce28.js"),[]);case"./sr/distribution.json":return t(()=>import("./distribution.203b5891.js"),[]);case"./sr/flux.json":return t(()=>import("./flux.0ede9546.js"),[]);case"./sr/hailuo.json":return t(()=>import("./hailuo.7ca07086.js"),[]);case"./sr/headshots.json":return t(()=>import("./headshots.fd93138d.js"),[]);case"./sr/index.json":return t(()=>import("./index.93a0aa5d.js"),[]);case"./sr/luma.json":return t(()=>import("./luma.4a08cf42.js"),[]);case"./sr/midjourney.json":return t(()=>import("./midjourney.3a6a941b.js"),[]);case"./sr/order.json":return t(()=>import("./order.d2ad515f.js"),[]);case"./sr/pika.json":return t(()=>import("./pika.2f258e5c.js"),[]);case"./sr/proxy.json":return t(()=>import("./proxy.e01ba053.js"),[]);case"./sr/qrart.json":return t(()=>import("./qrart.ad515162.js"),[]);case"./sr/service.json":return t(()=>import("./service.26f94202.js"),[]);case"./sr/site.json":return t(()=>import("./site.3ebc262d.js"),[]);case"./sr/suno.json":return t(()=>import("./suno.c7868d9e.js"),[]);case"./sr/usage.json":return t(()=>import("./usage.a438d3e1.js"),[]);case"./sr/user.json":return t(()=>import("./user.63e6d5b1.js"),[]);case"./sv/api.json":return t(()=>import("./api.49b52521.js"),[]);case"./sv/application.json":return t(()=>import("./application.e25e0a92.js"),[]);case"./sv/chat.json":return t(()=>import("./chat.e571be9b.js"),[]);case"./sv/chatdoc.json":return t(()=>import("./chatdoc.8b1244bd.js"),[]);case"./sv/common.json":return t(()=>import("./common.2d0527ed.js"),[]);case"./sv/console.json":return t(()=>import("./console.0dd7da82.js"),[]);case"./sv/credential.json":return t(()=>import("./credential.f3da317c.js"),[]);case"./sv/distribution.json":return t(()=>import("./distribution.00e29fe2.js"),[]);case"./sv/flux.json":return t(()=>import("./flux.5f78b248.js"),[]);case"./sv/hailuo.json":return t(()=>import("./hailuo.db591cd1.js"),[]);case"./sv/headshots.json":return t(()=>import("./headshots.563e619d.js"),[]);case"./sv/index.json":return t(()=>import("./index.e0fe452a.js"),[]);case"./sv/luma.json":return t(()=>import("./luma.d078b9c2.js"),[]);case"./sv/midjourney.json":return t(()=>import("./midjourney.024feb94.js"),[]);case"./sv/order.json":return t(()=>import("./order.c70b9393.js"),[]);case"./sv/pika.json":return t(()=>import("./pika.570fa7f4.js"),[]);case"./sv/proxy.json":return t(()=>import("./proxy.45f75aef.js"),[]);case"./sv/qrart.json":return t(()=>import("./qrart.f2295254.js"),[]);case"./sv/service.json":return t(()=>import("./service.f87877d7.js"),[]);case"./sv/site.json":return t(()=>import("./site.53081110.js"),[]);case"./sv/suno.json":return t(()=>import("./suno.130d375e.js"),[]);case"./sv/usage.json":return t(()=>import("./usage.fea8e259.js"),[]);case"./sv/user.json":return t(()=>import("./user.6107ec3a.js"),[]);case"./uk/api.json":return t(()=>import("./api.c8f12c88.js"),[]);case"./uk/application.json":return t(()=>import("./application.391cc2f4.js"),[]);case"./uk/chat.json":return t(()=>import("./chat.b11aae29.js"),[]);case"./uk/chatdoc.json":return t(()=>import("./chatdoc.e6a3302d.js"),[]);case"./uk/common.json":return t(()=>import("./common.3366b53f.js"),[]);case"./uk/console.json":return t(()=>import("./console.1ef2a589.js"),[]);case"./uk/credential.json":return t(()=>import("./credential.57d6cf16.js"),[]);case"./uk/distribution.json":return t(()=>import("./distribution.e37416a9.js"),[]);case"./uk/flux.json":return t(()=>import("./flux.63ef3571.js"),[]);case"./uk/hailuo.json":return t(()=>import("./hailuo.6eaa7dc4.js"),[]);case"./uk/headshots.json":return t(()=>import("./headshots.880f2cb1.js"),[]);case"./uk/index.json":return t(()=>import("./index.86722d1a.js"),[]);case"./uk/luma.json":return t(()=>import("./luma.ce424894.js"),[]);case"./uk/midjourney.json":return t(()=>import("./midjourney.c6623005.js"),[]);case"./uk/order.json":return t(()=>import("./order.3ac01c79.js"),[]);case"./uk/pika.json":return t(()=>import("./pika.9c511404.js"),[]);case"./uk/proxy.json":return t(()=>import("./proxy.5342d506.js"),[]);case"./uk/qrart.json":return t(()=>import("./qrart.17db44d9.js"),[]);case"./uk/service.json":return t(()=>import("./service.e6e75f15.js"),[]);case"./uk/site.json":return t(()=>import("./site.1884a74b.js"),[]);case"./uk/suno.json":return t(()=>import("./suno.131a13da.js"),[]);case"./uk/usage.json":return t(()=>import("./usage.d3fdd7f1.js"),[]);case"./uk/user.json":return t(()=>import("./user.b9d90188.js"),[]);case"./zh-CN/api.json":return t(()=>import("./api.89ab9415.js"),[]);case"./zh-CN/application.json":return t(()=>import("./application.40ba0f44.js"),[]);case"./zh-CN/chat.json":return t(()=>import("./chat.c31206ea.js"),[]);case"./zh-CN/chatdoc.json":return t(()=>import("./chatdoc.d6fa331d.js"),[]);case"./zh-CN/common.json":return t(()=>import("./common.bc6d3758.js"),[]);case"./zh-CN/console.json":return t(()=>import("./console.7460147d.js"),[]);case"./zh-CN/credential.json":return t(()=>import("./credential.338b5853.js"),[]);case"./zh-CN/distribution.json":return t(()=>import("./distribution.5edcdee0.js"),[]);case"./zh-CN/flux.json":return t(()=>import("./flux.4dc922cd.js"),[]);case"./zh-CN/hailuo.json":return t(()=>import("./hailuo.95a516b3.js"),[]);case"./zh-CN/headshots.json":return t(()=>import("./headshots.cf88ab1d.js"),[]);case"./zh-CN/index.json":return t(()=>import("./index.0988453d.js"),[]);case"./zh-CN/luma.json":return t(()=>import("./luma.3c482943.js"),[]);case"./zh-CN/midjourney.json":return t(()=>import("./midjourney.9f515f7b.js"),[]);case"./zh-CN/order.json":return t(()=>import("./order.e6baafc7.js"),[]);case"./zh-CN/pika.json":return t(()=>import("./pika.1f71c4a3.js"),[]);case"./zh-CN/proxy.json":return t(()=>import("./proxy.424636df.js"),[]);case"./zh-CN/qrart.json":return t(()=>import("./qrart.54f977a7.js"),[]);case"./zh-CN/service.json":return t(()=>import("./service.825fb571.js"),[]);case"./zh-CN/site.json":return t(()=>import("./site.d923e8bd.js"),[]);case"./zh-CN/suno.json":return t(()=>import("./suno.c7d66002.js"),[]);case"./zh-CN/usage.json":return t(()=>import("./usage.f849bfdf.js"),[]);case"./zh-CN/user.json":return t(()=>import("./user.226c4ac3.js"),[]);case"./zh-TW/api.json":return t(()=>import("./api.0ed4a0ea.js"),[]);case"./zh-TW/application.json":return t(()=>import("./application.a4d96684.js"),[]);case"./zh-TW/chat.json":return t(()=>import("./chat.f67dccf0.js"),[]);case"./zh-TW/chatdoc.json":return t(()=>import("./chatdoc.a7a590fd.js"),[]);case"./zh-TW/common.json":return t(()=>import("./common.ef8768a3.js"),[]);case"./zh-TW/console.json":return t(()=>import("./console.b5e9a43c.js"),[]);case"./zh-TW/credential.json":return t(()=>import("./credential.276e510d.js"),[]);case"./zh-TW/distribution.json":return t(()=>import("./distribution.dc7ef2a5.js"),[]);case"./zh-TW/flux.json":return t(()=>import("./flux.08705b63.js"),[]);case"./zh-TW/hailuo.json":return t(()=>import("./hailuo.2cb82586.js"),[]);case"./zh-TW/headshots.json":return t(()=>import("./headshots.4c83a9b2.js"),[]);case"./zh-TW/index.json":return t(()=>import("./index.0542cd26.js"),[]);case"./zh-TW/luma.json":return t(()=>import("./luma.baf56472.js"),[]);case"./zh-TW/midjourney.json":return t(()=>import("./midjourney.50c422d9.js"),[]);case"./zh-TW/order.json":return t(()=>import("./order.fb26e6cb.js"),[]);case"./zh-TW/pika.json":return t(()=>import("./pika.4a35a435.js"),[]);case"./zh-TW/proxy.json":return t(()=>import("./proxy.91a75f89.js"),[]);case"./zh-TW/qrart.json":return t(()=>import("./qrart.1541146d.js"),[]);case"./zh-TW/service.json":return t(()=>import("./service.5820e29d.js"),[]);case"./zh-TW/site.json":return t(()=>import("./site.f7c684ed.js"),[]);case"./zh-TW/suno.json":return t(()=>import("./suno.d55c5890.js"),[]);case"./zh-TW/usage.json":return t(()=>import("./usage.88bceb01.js"),[]);case"./zh-TW/user.json":return t(()=>import("./user.04f9b8d7.js"),[]);default:return new Promise(function(e,o){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+s)))})}}function to(s){switch(s){case"./ar/api.json":return t(()=>import("./api.a332bb5c.js"),[]);case"./ar/application.json":return t(()=>import("./application.e6a79b83.js"),[]);case"./ar/chat.json":return t(()=>import("./chat.379b17a5.js"),[]);case"./ar/chatdoc.json":return t(()=>import("./chatdoc.c9102d6b.js"),[]);case"./ar/common.json":return t(()=>import("./common.49d7894d.js"),[]);case"./ar/console.json":return t(()=>import("./console.3eac0149.js"),[]);case"./ar/credential.json":return t(()=>import("./credential.eb41fe73.js"),[]);case"./ar/distribution.json":return t(()=>import("./distribution.b5b433ca.js"),[]);case"./ar/flux.json":return t(()=>import("./flux.ebccaa4e.js"),[]);case"./ar/hailuo.json":return t(()=>import("./hailuo.37108325.js"),[]);case"./ar/headshots.json":return t(()=>import("./headshots.5fdd5f0b.js"),[]);case"./ar/index.json":return t(()=>import("./index.8677a92c.js"),[]);case"./ar/luma.json":return t(()=>import("./luma.a2c4798b.js"),[]);case"./ar/midjourney.json":return t(()=>import("./midjourney.6fdf3710.js"),[]);case"./ar/order.json":return t(()=>import("./order.a215bde7.js"),[]);case"./ar/pika.json":return t(()=>import("./pika.5821905a.js"),[]);case"./ar/proxy.json":return t(()=>import("./proxy.e373b98b.js"),[]);case"./ar/qrart.json":return t(()=>import("./qrart.aa7386b1.js"),[]);case"./ar/service.json":return t(()=>import("./service.d728679c.js"),[]);case"./ar/site.json":return t(()=>import("./site.c5d2323b.js"),[]);case"./ar/suno.json":return t(()=>import("./suno.067d08d5.js"),[]);case"./ar/usage.json":return t(()=>import("./usage.d72320b1.js"),[]);case"./ar/user.json":return t(()=>import("./user.08c501a5.js"),[]);case"./de/api.json":return t(()=>import("./api.818af659.js"),[]);case"./de/application.json":return t(()=>import("./application.7e46e171.js"),[]);case"./de/chat.json":return t(()=>import("./chat.bc7e7fce.js"),[]);case"./de/chatdoc.json":return t(()=>import("./chatdoc.a330c226.js"),[]);case"./de/common.json":return t(()=>import("./common.0bb76e04.js"),[]);case"./de/console.json":return t(()=>import("./console.6f8b5c9d.js"),[]);case"./de/credential.json":return t(()=>import("./credential.842dfa48.js"),[]);case"./de/distribution.json":return t(()=>import("./distribution.a9896fef.js"),[]);case"./de/flux.json":return t(()=>import("./flux.6bff76dc.js"),[]);case"./de/hailuo.json":return t(()=>import("./hailuo.3b8f72eb.js"),[]);case"./de/headshots.json":return t(()=>import("./headshots.6501db19.js"),[]);case"./de/index.json":return t(()=>import("./index.b44a7261.js"),[]);case"./de/luma.json":return t(()=>import("./luma.992755c1.js"),[]);case"./de/midjourney.json":return t(()=>import("./midjourney.4116bbd1.js"),[]);case"./de/order.json":return t(()=>import("./order.02f20e45.js"),[]);case"./de/pika.json":return t(()=>import("./pika.8c2e668b.js"),[]);case"./de/proxy.json":return t(()=>import("./proxy.6197ed3c.js"),[]);case"./de/qrart.json":return t(()=>import("./qrart.37c2f506.js"),[]);case"./de/service.json":return t(()=>import("./service.be2b65e6.js"),[]);case"./de/site.json":return t(()=>import("./site.de131573.js"),[]);case"./de/suno.json":return t(()=>import("./suno.aa1e6bd8.js"),[]);case"./de/usage.json":return t(()=>import("./usage.04f0f71e.js"),[]);case"./de/user.json":return t(()=>import("./user.8c2740d5.js"),[]);case"./el/api.json":return t(()=>import("./api.73a91481.js"),[]);case"./el/application.json":return t(()=>import("./application.3e1aa320.js"),[]);case"./el/chat.json":return t(()=>import("./chat.0dd3c04e.js"),[]);case"./el/chatdoc.json":return t(()=>import("./chatdoc.38093bef.js"),[]);case"./el/common.json":return t(()=>import("./common.ae083051.js"),[]);case"./el/console.json":return t(()=>import("./console.f2b5361b.js"),[]);case"./el/credential.json":return t(()=>import("./credential.04598fa3.js"),[]);case"./el/distribution.json":return t(()=>import("./distribution.fec7067a.js"),[]);case"./el/flux.json":return t(()=>import("./flux.82000e74.js"),[]);case"./el/hailuo.json":return t(()=>import("./hailuo.b58fe7ac.js"),[]);case"./el/headshots.json":return t(()=>import("./headshots.56eae7e4.js"),[]);case"./el/index.json":return t(()=>import("./index.3dcc9f0d.js"),[]);case"./el/luma.json":return t(()=>import("./luma.90f454c9.js"),[]);case"./el/midjourney.json":return t(()=>import("./midjourney.a515e2c2.js"),[]);case"./el/order.json":return t(()=>import("./order.1c358a68.js"),[]);case"./el/pika.json":return t(()=>import("./pika.86c7b2e1.js"),[]);case"./el/proxy.json":return t(()=>import("./proxy.77adcc26.js"),[]);case"./el/qrart.json":return t(()=>import("./qrart.53d9e410.js"),[]);case"./el/service.json":return t(()=>import("./service.62f9c8e6.js"),[]);case"./el/site.json":return t(()=>import("./site.53ec062b.js"),[]);case"./el/suno.json":return t(()=>import("./suno.62991510.js"),[]);case"./el/usage.json":return t(()=>import("./usage.771626b6.js"),[]);case"./el/user.json":return t(()=>import("./user.97a64233.js"),[]);case"./en/api.json":return t(()=>import("./api.7dc36d47.js"),[]);case"./en/application.json":return t(()=>import("./application.0fac8022.js"),[]);case"./en/chat.json":return t(()=>import("./chat.f0186f55.js"),[]);case"./en/chatdoc.json":return t(()=>import("./chatdoc.c99b8fc5.js"),[]);case"./en/common.json":return t(()=>import("./common.df148e38.js"),[]);case"./en/console.json":return t(()=>import("./console.7aefcf17.js"),[]);case"./en/credential.json":return t(()=>import("./credential.1193646d.js"),[]);case"./en/distribution.json":return t(()=>import("./distribution.40bd61b0.js"),[]);case"./en/flux.json":return t(()=>import("./flux.aa8f0ba0.js"),[]);case"./en/hailuo.json":return t(()=>import("./hailuo.603baf35.js"),[]);case"./en/headshots.json":return t(()=>import("./headshots.1a490a07.js"),[]);case"./en/index.json":return t(()=>import("./index.db83989d.js"),[]);case"./en/luma.json":return t(()=>import("./luma.68816b5a.js"),[]);case"./en/midjourney.json":return t(()=>import("./midjourney.a7d2fe5f.js"),[]);case"./en/order.json":return t(()=>import("./order.9ac50540.js"),[]);case"./en/pika.json":return t(()=>import("./pika.9ff73e9f.js"),[]);case"./en/proxy.json":return t(()=>import("./proxy.d6167c9e.js"),[]);case"./en/qrart.json":return t(()=>import("./qrart.43211b0c.js"),[]);case"./en/service.json":return t(()=>import("./service.847fd288.js"),[]);case"./en/site.json":return t(()=>import("./site.9d5b0661.js"),[]);case"./en/suno.json":return t(()=>import("./suno.406d72fb.js"),[]);case"./en/usage.json":return t(()=>import("./usage.b2867a7c.js"),[]);case"./en/user.json":return t(()=>import("./user.3529d32e.js"),[]);case"./es/api.json":return t(()=>import("./api.213cd308.js"),[]);case"./es/application.json":return t(()=>import("./application.538c1d62.js"),[]);case"./es/chat.json":return t(()=>import("./chat.c54999d7.js"),[]);case"./es/chatdoc.json":return t(()=>import("./chatdoc.be4f6cf9.js"),[]);case"./es/common.json":return t(()=>import("./common.3f10865b.js"),[]);case"./es/console.json":return t(()=>import("./console.a2466212.js"),[]);case"./es/credential.json":return t(()=>import("./credential.af11f12c.js"),[]);case"./es/distribution.json":return t(()=>import("./distribution.04b256bf.js"),[]);case"./es/flux.json":return t(()=>import("./flux.cc80368d.js"),[]);case"./es/hailuo.json":return t(()=>import("./hailuo.b75c4887.js"),[]);case"./es/headshots.json":return t(()=>import("./headshots.592a7a6d.js"),[]);case"./es/index.json":return t(()=>import("./index.f964e456.js"),[]);case"./es/luma.json":return t(()=>import("./luma.31f6450b.js"),[]);case"./es/midjourney.json":return t(()=>import("./midjourney.d5dccaef.js"),[]);case"./es/order.json":return t(()=>import("./order.a8b6322f.js"),[]);case"./es/pika.json":return t(()=>import("./pika.524e74df.js"),[]);case"./es/proxy.json":return t(()=>import("./proxy.eecf47a3.js"),[]);case"./es/qrart.json":return t(()=>import("./qrart.93d793b1.js"),[]);case"./es/service.json":return t(()=>import("./service.99fe12fc.js"),[]);case"./es/site.json":return t(()=>import("./site.dca111ff.js"),[]);case"./es/suno.json":return t(()=>import("./suno.1a4dee58.js"),[]);case"./es/usage.json":return t(()=>import("./usage.4880575b.js"),[]);case"./es/user.json":return t(()=>import("./user.167a4041.js"),[]);case"./fi/api.json":return t(()=>import("./api.0f034ae6.js"),[]);case"./fi/application.json":return t(()=>import("./application.07ad8042.js"),[]);case"./fi/chat.json":return t(()=>import("./chat.6a266fc8.js"),[]);case"./fi/chatdoc.json":return t(()=>import("./chatdoc.eb31a140.js"),[]);case"./fi/common.json":return t(()=>import("./common.b423a5ed.js"),[]);case"./fi/console.json":return t(()=>import("./console.c66adbdf.js"),[]);case"./fi/credential.json":return t(()=>import("./credential.f872a714.js"),[]);case"./fi/distribution.json":return t(()=>import("./distribution.d131e1b9.js"),[]);case"./fi/flux.json":return t(()=>import("./flux.3712c862.js"),[]);case"./fi/hailuo.json":return t(()=>import("./hailuo.76df33b6.js"),[]);case"./fi/headshots.json":return t(()=>import("./headshots.c94c35eb.js"),[]);case"./fi/index.json":return t(()=>import("./index.37465f4e.js"),[]);case"./fi/luma.json":return t(()=>import("./luma.eb9a8302.js"),[]);case"./fi/midjourney.json":return t(()=>import("./midjourney.e167aae9.js"),[]);case"./fi/order.json":return t(()=>import("./order.d217f5ff.js"),[]);case"./fi/pika.json":return t(()=>import("./pika.389c95d2.js"),[]);case"./fi/proxy.json":return t(()=>import("./proxy.133d11fd.js"),[]);case"./fi/qrart.json":return t(()=>import("./qrart.ee490b29.js"),[]);case"./fi/service.json":return t(()=>import("./service.2508f46e.js"),[]);case"./fi/site.json":return t(()=>import("./site.7e02b1ab.js"),[]);case"./fi/suno.json":return t(()=>import("./suno.f9072af1.js"),[]);case"./fi/usage.json":return t(()=>import("./usage.b0968cb7.js"),[]);case"./fi/user.json":return t(()=>import("./user.6ed11ce4.js"),[]);case"./fr/api.json":return t(()=>import("./api.3170d3cc.js"),[]);case"./fr/application.json":return t(()=>import("./application.be4edbdb.js"),[]);case"./fr/chat.json":return t(()=>import("./chat.3ade106d.js"),[]);case"./fr/chatdoc.json":return t(()=>import("./chatdoc.82bb469d.js"),[]);case"./fr/common.json":return t(()=>import("./common.659f33c4.js"),[]);case"./fr/console.json":return t(()=>import("./console.ef2fcc3d.js"),[]);case"./fr/credential.json":return t(()=>import("./credential.d432557a.js"),[]);case"./fr/distribution.json":return t(()=>import("./distribution.632802b2.js"),[]);case"./fr/flux.json":return t(()=>import("./flux.d3981c83.js"),[]);case"./fr/hailuo.json":return t(()=>import("./hailuo.3894ef18.js"),[]);case"./fr/headshots.json":return t(()=>import("./headshots.b7f623fd.js"),[]);case"./fr/index.json":return t(()=>import("./index.1a15ffa9.js"),[]);case"./fr/luma.json":return t(()=>import("./luma.18e6d08f.js"),[]);case"./fr/midjourney.json":return t(()=>import("./midjourney.eafd626e.js"),[]);case"./fr/order.json":return t(()=>import("./order.278cc8ec.js"),[]);case"./fr/pika.json":return t(()=>import("./pika.b6e68e7c.js"),[]);case"./fr/proxy.json":return t(()=>import("./proxy.31dfefac.js"),[]);case"./fr/qrart.json":return t(()=>import("./qrart.8005bd82.js"),[]);case"./fr/service.json":return t(()=>import("./service.ebc8e30e.js"),[]);case"./fr/site.json":return t(()=>import("./site.44c62f61.js"),[]);case"./fr/suno.json":return t(()=>import("./suno.2b0db2f6.js"),[]);case"./fr/usage.json":return t(()=>import("./usage.b40a1557.js"),[]);case"./fr/user.json":return t(()=>import("./user.637aff20.js"),[]);case"./it/api.json":return t(()=>import("./api.fc827dfb.js"),[]);case"./it/application.json":return t(()=>import("./application.74e344c5.js"),[]);case"./it/chat.json":return t(()=>import("./chat.8d1bcd70.js"),[]);case"./it/chatdoc.json":return t(()=>import("./chatdoc.6f26a6c3.js"),[]);case"./it/common.json":return t(()=>import("./common.d5838598.js"),[]);case"./it/console.json":return t(()=>import("./console.5a8befab.js"),[]);case"./it/credential.json":return t(()=>import("./credential.f4a14d2a.js"),[]);case"./it/distribution.json":return t(()=>import("./distribution.2445a0a4.js"),[]);case"./it/flux.json":return t(()=>import("./flux.85acdc01.js"),[]);case"./it/hailuo.json":return t(()=>import("./hailuo.0a3d1340.js"),[]);case"./it/headshots.json":return t(()=>import("./headshots.1cbbfdec.js"),[]);case"./it/index.json":return t(()=>import("./index.c087482b.js"),[]);case"./it/luma.json":return t(()=>import("./luma.e7b2fcf0.js"),[]);case"./it/midjourney.json":return t(()=>import("./midjourney.b64f9044.js"),[]);case"./it/order.json":return t(()=>import("./order.3e7803d7.js"),[]);case"./it/pika.json":return t(()=>import("./pika.8d1748d4.js"),[]);case"./it/proxy.json":return t(()=>import("./proxy.329911e7.js"),[]);case"./it/qrart.json":return t(()=>import("./qrart.c5db1454.js"),[]);case"./it/service.json":return t(()=>import("./service.6d83c187.js"),[]);case"./it/site.json":return t(()=>import("./site.2b75a139.js"),[]);case"./it/suno.json":return t(()=>import("./suno.0d0b3167.js"),[]);case"./it/usage.json":return t(()=>import("./usage.fa1a36cb.js"),[]);case"./it/user.json":return t(()=>import("./user.280e7fdd.js"),[]);case"./ja/api.json":return t(()=>import("./api.40468439.js"),[]);case"./ja/application.json":return t(()=>import("./application.44ac4a6b.js"),[]);case"./ja/chat.json":return t(()=>import("./chat.1e8b40bf.js"),[]);case"./ja/chatdoc.json":return t(()=>import("./chatdoc.6e05604b.js"),[]);case"./ja/common.json":return t(()=>import("./common.d5497470.js"),[]);case"./ja/console.json":return t(()=>import("./console.60252e24.js"),[]);case"./ja/credential.json":return t(()=>import("./credential.d4f63a8b.js"),[]);case"./ja/distribution.json":return t(()=>import("./distribution.4abbea61.js"),[]);case"./ja/flux.json":return t(()=>import("./flux.35de7d11.js"),[]);case"./ja/hailuo.json":return t(()=>import("./hailuo.d63e17d4.js"),[]);case"./ja/headshots.json":return t(()=>import("./headshots.ad352e10.js"),[]);case"./ja/index.json":return t(()=>import("./index.391197bf.js"),[]);case"./ja/luma.json":return t(()=>import("./luma.52656c21.js"),[]);case"./ja/midjourney.json":return t(()=>import("./midjourney.e4c1f3aa.js"),[]);case"./ja/order.json":return t(()=>import("./order.5b71322d.js"),[]);case"./ja/pika.json":return t(()=>import("./pika.1047a022.js"),[]);case"./ja/proxy.json":return t(()=>import("./proxy.1b499543.js"),[]);case"./ja/qrart.json":return t(()=>import("./qrart.7a0262e3.js"),[]);case"./ja/service.json":return t(()=>import("./service.8cd05403.js"),[]);case"./ja/site.json":return t(()=>import("./site.7c4177ff.js"),[]);case"./ja/suno.json":return t(()=>import("./suno.a1c54502.js"),[]);case"./ja/usage.json":return t(()=>import("./usage.3299fdd7.js"),[]);case"./ja/user.json":return t(()=>import("./user.073bb362.js"),[]);case"./ko/api.json":return t(()=>import("./api.1072ae11.js"),[]);case"./ko/application.json":return t(()=>import("./application.69f2d78e.js"),[]);case"./ko/chat.json":return t(()=>import("./chat.97c0d9f9.js"),[]);case"./ko/chatdoc.json":return t(()=>import("./chatdoc.4963b715.js"),[]);case"./ko/common.json":return t(()=>import("./common.86058aa9.js"),[]);case"./ko/console.json":return t(()=>import("./console.1ac9637c.js"),[]);case"./ko/credential.json":return t(()=>import("./credential.74124158.js"),[]);case"./ko/distribution.json":return t(()=>import("./distribution.f1e4ae1b.js"),[]);case"./ko/flux.json":return t(()=>import("./flux.704493e1.js"),[]);case"./ko/hailuo.json":return t(()=>import("./hailuo.b5941733.js"),[]);case"./ko/headshots.json":return t(()=>import("./headshots.ae3d4804.js"),[]);case"./ko/index.json":return t(()=>import("./index.815395c4.js"),[]);case"./ko/luma.json":return t(()=>import("./luma.0a2d1bc5.js"),[]);case"./ko/midjourney.json":return t(()=>import("./midjourney.e142e4ba.js"),[]);case"./ko/order.json":return t(()=>import("./order.add6d5c2.js"),[]);case"./ko/pika.json":return t(()=>import("./pika.33eccc59.js"),[]);case"./ko/proxy.json":return t(()=>import("./proxy.a3f16b8e.js"),[]);case"./ko/qrart.json":return t(()=>import("./qrart.9d5d6cb7.js"),[]);case"./ko/service.json":return t(()=>import("./service.d83bf89d.js"),[]);case"./ko/site.json":return t(()=>import("./site.9b960df6.js"),[]);case"./ko/suno.json":return t(()=>import("./suno.256e43be.js"),[]);case"./ko/usage.json":return t(()=>import("./usage.3b165b46.js"),[]);case"./ko/user.json":return t(()=>import("./user.eee57bcd.js"),[]);case"./pl/api.json":return t(()=>import("./api.ae1c3f85.js"),[]);case"./pl/application.json":return t(()=>import("./application.1ffb2c4e.js"),[]);case"./pl/chat.json":return t(()=>import("./chat.ae80e93e.js"),[]);case"./pl/chatdoc.json":return t(()=>import("./chatdoc.cb5d28e1.js"),[]);case"./pl/common.json":return t(()=>import("./common.332fa235.js"),[]);case"./pl/console.json":return t(()=>import("./console.1bb43f37.js"),[]);case"./pl/credential.json":return t(()=>import("./credential.c70da515.js"),[]);case"./pl/distribution.json":return t(()=>import("./distribution.f28ca36e.js"),[]);case"./pl/flux.json":return t(()=>import("./flux.4a85f636.js"),[]);case"./pl/hailuo.json":return t(()=>import("./hailuo.aa84f90f.js"),[]);case"./pl/headshots.json":return t(()=>import("./headshots.a6439b75.js"),[]);case"./pl/index.json":return t(()=>import("./index.63b639eb.js"),[]);case"./pl/luma.json":return t(()=>import("./luma.e617a083.js"),[]);case"./pl/midjourney.json":return t(()=>import("./midjourney.bfa5a88f.js"),[]);case"./pl/order.json":return t(()=>import("./order.8d3d3f7d.js"),[]);case"./pl/pika.json":return t(()=>import("./pika.abbb4ef6.js"),[]);case"./pl/proxy.json":return t(()=>import("./proxy.27ed7c24.js"),[]);case"./pl/qrart.json":return t(()=>import("./qrart.ced8eb0c.js"),[]);case"./pl/service.json":return t(()=>import("./service.5ff88101.js"),[]);case"./pl/site.json":return t(()=>import("./site.2c4bc670.js"),[]);case"./pl/suno.json":return t(()=>import("./suno.bbc0ba33.js"),[]);case"./pl/usage.json":return t(()=>import("./usage.4a0c5964.js"),[]);case"./pl/user.json":return t(()=>import("./user.f9c585bf.js"),[]);case"./pt/api.json":return t(()=>import("./api.729038af.js"),[]);case"./pt/application.json":return t(()=>import("./application.2e2dc69d.js"),[]);case"./pt/chat.json":return t(()=>import("./chat.8c367ef4.js"),[]);case"./pt/chatdoc.json":return t(()=>import("./chatdoc.369240c0.js"),[]);case"./pt/common.json":return t(()=>import("./common.12de3aff.js"),[]);case"./pt/console.json":return t(()=>import("./console.d241b50f.js"),[]);case"./pt/credential.json":return t(()=>import("./credential.193339b9.js"),[]);case"./pt/distribution.json":return t(()=>import("./distribution.2dae690c.js"),[]);case"./pt/flux.json":return t(()=>import("./flux.3ba35e0e.js"),[]);case"./pt/hailuo.json":return t(()=>import("./hailuo.48169a81.js"),[]);case"./pt/headshots.json":return t(()=>import("./headshots.9f5c1eb1.js"),[]);case"./pt/index.json":return t(()=>import("./index.2f2bd2f0.js"),[]);case"./pt/luma.json":return t(()=>import("./luma.3d28b187.js"),[]);case"./pt/midjourney.json":return t(()=>import("./midjourney.2ccedef1.js"),[]);case"./pt/order.json":return t(()=>import("./order.29387b0c.js"),[]);case"./pt/pika.json":return t(()=>import("./pika.c4450136.js"),[]);case"./pt/proxy.json":return t(()=>import("./proxy.a908dbb4.js"),[]);case"./pt/qrart.json":return t(()=>import("./qrart.a06ccb3a.js"),[]);case"./pt/service.json":return t(()=>import("./service.f4552453.js"),[]);case"./pt/site.json":return t(()=>import("./site.7a809230.js"),[]);case"./pt/suno.json":return t(()=>import("./suno.f8f4e59f.js"),[]);case"./pt/usage.json":return t(()=>import("./usage.f2504542.js"),[]);case"./pt/user.json":return t(()=>import("./user.d80f3bba.js"),[]);case"./ru/api.json":return t(()=>import("./api.69c809ee.js"),[]);case"./ru/application.json":return t(()=>import("./application.cc12550d.js"),[]);case"./ru/chat.json":return t(()=>import("./chat.a3ce67d6.js"),[]);case"./ru/chatdoc.json":return t(()=>import("./chatdoc.26e34f62.js"),[]);case"./ru/common.json":return t(()=>import("./common.76e73cc9.js"),[]);case"./ru/console.json":return t(()=>import("./console.ae88ad84.js"),[]);case"./ru/credential.json":return t(()=>import("./credential.fdfc75af.js"),[]);case"./ru/distribution.json":return t(()=>import("./distribution.169757d7.js"),[]);case"./ru/flux.json":return t(()=>import("./flux.e9ef5810.js"),[]);case"./ru/hailuo.json":return t(()=>import("./hailuo.d4c2b8de.js"),[]);case"./ru/headshots.json":return t(()=>import("./headshots.6a51ab17.js"),[]);case"./ru/index.json":return t(()=>import("./index.f13c8e0d.js"),[]);case"./ru/luma.json":return t(()=>import("./luma.0e37bf0d.js"),[]);case"./ru/midjourney.json":return t(()=>import("./midjourney.189899ef.js"),[]);case"./ru/order.json":return t(()=>import("./order.524b686a.js"),[]);case"./ru/pika.json":return t(()=>import("./pika.22a83988.js"),[]);case"./ru/proxy.json":return t(()=>import("./proxy.438efd9f.js"),[]);case"./ru/qrart.json":return t(()=>import("./qrart.cee3a84a.js"),[]);case"./ru/service.json":return t(()=>import("./service.49b63035.js"),[]);case"./ru/site.json":return t(()=>import("./site.96eba8d6.js"),[]);case"./ru/suno.json":return t(()=>import("./suno.06f488a0.js"),[]);case"./ru/usage.json":return t(()=>import("./usage.0cf4c0cc.js"),[]);case"./ru/user.json":return t(()=>import("./user.ec9b9e19.js"),[]);case"./sr/api.json":return t(()=>import("./api.cc772840.js"),[]);case"./sr/application.json":return t(()=>import("./application.746d8c67.js"),[]);case"./sr/chat.json":return t(()=>import("./chat.ec6b9b27.js"),[]);case"./sr/chatdoc.json":return t(()=>import("./chatdoc.5968870d.js"),[]);case"./sr/common.json":return t(()=>import("./common.bc10c6d4.js"),[]);case"./sr/console.json":return t(()=>import("./console.606e5a51.js"),[]);case"./sr/credential.json":return t(()=>import("./credential.5ea3ce28.js"),[]);case"./sr/distribution.json":return t(()=>import("./distribution.203b5891.js"),[]);case"./sr/flux.json":return t(()=>import("./flux.0ede9546.js"),[]);case"./sr/hailuo.json":return t(()=>import("./hailuo.7ca07086.js"),[]);case"./sr/headshots.json":return t(()=>import("./headshots.fd93138d.js"),[]);case"./sr/index.json":return t(()=>import("./index.93a0aa5d.js"),[]);case"./sr/luma.json":return t(()=>import("./luma.4a08cf42.js"),[]);case"./sr/midjourney.json":return t(()=>import("./midjourney.3a6a941b.js"),[]);case"./sr/order.json":return t(()=>import("./order.d2ad515f.js"),[]);case"./sr/pika.json":return t(()=>import("./pika.2f258e5c.js"),[]);case"./sr/proxy.json":return t(()=>import("./proxy.e01ba053.js"),[]);case"./sr/qrart.json":return t(()=>import("./qrart.ad515162.js"),[]);case"./sr/service.json":return t(()=>import("./service.26f94202.js"),[]);case"./sr/site.json":return t(()=>import("./site.3ebc262d.js"),[]);case"./sr/suno.json":return t(()=>import("./suno.c7868d9e.js"),[]);case"./sr/usage.json":return t(()=>import("./usage.a438d3e1.js"),[]);case"./sr/user.json":return t(()=>import("./user.63e6d5b1.js"),[]);case"./sv/api.json":return t(()=>import("./api.49b52521.js"),[]);case"./sv/application.json":return t(()=>import("./application.e25e0a92.js"),[]);case"./sv/chat.json":return t(()=>import("./chat.e571be9b.js"),[]);case"./sv/chatdoc.json":return t(()=>import("./chatdoc.8b1244bd.js"),[]);case"./sv/common.json":return t(()=>import("./common.2d0527ed.js"),[]);case"./sv/console.json":return t(()=>import("./console.0dd7da82.js"),[]);case"./sv/credential.json":return t(()=>import("./credential.f3da317c.js"),[]);case"./sv/distribution.json":return t(()=>import("./distribution.00e29fe2.js"),[]);case"./sv/flux.json":return t(()=>import("./flux.5f78b248.js"),[]);case"./sv/hailuo.json":return t(()=>import("./hailuo.db591cd1.js"),[]);case"./sv/headshots.json":return t(()=>import("./headshots.563e619d.js"),[]);case"./sv/index.json":return t(()=>import("./index.e0fe452a.js"),[]);case"./sv/luma.json":return t(()=>import("./luma.d078b9c2.js"),[]);case"./sv/midjourney.json":return t(()=>import("./midjourney.024feb94.js"),[]);case"./sv/order.json":return t(()=>import("./order.c70b9393.js"),[]);case"./sv/pika.json":return t(()=>import("./pika.570fa7f4.js"),[]);case"./sv/proxy.json":return t(()=>import("./proxy.45f75aef.js"),[]);case"./sv/qrart.json":return t(()=>import("./qrart.f2295254.js"),[]);case"./sv/service.json":return t(()=>import("./service.f87877d7.js"),[]);case"./sv/site.json":return t(()=>import("./site.53081110.js"),[]);case"./sv/suno.json":return t(()=>import("./suno.130d375e.js"),[]);case"./sv/usage.json":return t(()=>import("./usage.fea8e259.js"),[]);case"./sv/user.json":return t(()=>import("./user.6107ec3a.js"),[]);case"./uk/api.json":return t(()=>import("./api.c8f12c88.js"),[]);case"./uk/application.json":return t(()=>import("./application.391cc2f4.js"),[]);case"./uk/chat.json":return t(()=>import("./chat.b11aae29.js"),[]);case"./uk/chatdoc.json":return t(()=>import("./chatdoc.e6a3302d.js"),[]);case"./uk/common.json":return t(()=>import("./common.3366b53f.js"),[]);case"./uk/console.json":return t(()=>import("./console.1ef2a589.js"),[]);case"./uk/credential.json":return t(()=>import("./credential.57d6cf16.js"),[]);case"./uk/distribution.json":return t(()=>import("./distribution.e37416a9.js"),[]);case"./uk/flux.json":return t(()=>import("./flux.63ef3571.js"),[]);case"./uk/hailuo.json":return t(()=>import("./hailuo.6eaa7dc4.js"),[]);case"./uk/headshots.json":return t(()=>import("./headshots.880f2cb1.js"),[]);case"./uk/index.json":return t(()=>import("./index.86722d1a.js"),[]);case"./uk/luma.json":return t(()=>import("./luma.ce424894.js"),[]);case"./uk/midjourney.json":return t(()=>import("./midjourney.c6623005.js"),[]);case"./uk/order.json":return t(()=>import("./order.3ac01c79.js"),[]);case"./uk/pika.json":return t(()=>import("./pika.9c511404.js"),[]);case"./uk/proxy.json":return t(()=>import("./proxy.5342d506.js"),[]);case"./uk/qrart.json":return t(()=>import("./qrart.17db44d9.js"),[]);case"./uk/service.json":return t(()=>import("./service.e6e75f15.js"),[]);case"./uk/site.json":return t(()=>import("./site.1884a74b.js"),[]);case"./uk/suno.json":return t(()=>import("./suno.131a13da.js"),[]);case"./uk/usage.json":return t(()=>import("./usage.d3fdd7f1.js"),[]);case"./uk/user.json":return t(()=>import("./user.b9d90188.js"),[]);case"./zh-CN/api.json":return t(()=>import("./api.89ab9415.js"),[]);case"./zh-CN/application.json":return t(()=>import("./application.40ba0f44.js"),[]);case"./zh-CN/chat.json":return t(()=>import("./chat.c31206ea.js"),[]);case"./zh-CN/chatdoc.json":return t(()=>import("./chatdoc.d6fa331d.js"),[]);case"./zh-CN/common.json":return t(()=>import("./common.bc6d3758.js"),[]);case"./zh-CN/console.json":return t(()=>import("./console.7460147d.js"),[]);case"./zh-CN/credential.json":return t(()=>import("./credential.338b5853.js"),[]);case"./zh-CN/distribution.json":return t(()=>import("./distribution.5edcdee0.js"),[]);case"./zh-CN/flux.json":return t(()=>import("./flux.4dc922cd.js"),[]);case"./zh-CN/hailuo.json":return t(()=>import("./hailuo.95a516b3.js"),[]);case"./zh-CN/headshots.json":return t(()=>import("./headshots.cf88ab1d.js"),[]);case"./zh-CN/index.json":return t(()=>import("./index.0988453d.js"),[]);case"./zh-CN/luma.json":return t(()=>import("./luma.3c482943.js"),[]);case"./zh-CN/midjourney.json":return t(()=>import("./midjourney.9f515f7b.js"),[]);case"./zh-CN/order.json":return t(()=>import("./order.e6baafc7.js"),[]);case"./zh-CN/pika.json":return t(()=>import("./pika.1f71c4a3.js"),[]);case"./zh-CN/proxy.json":return t(()=>import("./proxy.424636df.js"),[]);case"./zh-CN/qrart.json":return t(()=>import("./qrart.54f977a7.js"),[]);case"./zh-CN/service.json":return t(()=>import("./service.825fb571.js"),[]);case"./zh-CN/site.json":return t(()=>import("./site.d923e8bd.js"),[]);case"./zh-CN/suno.json":return t(()=>import("./suno.c7d66002.js"),[]);case"./zh-CN/usage.json":return t(()=>import("./usage.f849bfdf.js"),[]);case"./zh-CN/user.json":return t(()=>import("./user.226c4ac3.js"),[]);case"./zh-TW/api.json":return t(()=>import("./api.0ed4a0ea.js"),[]);case"./zh-TW/application.json":return t(()=>import("./application.a4d96684.js"),[]);case"./zh-TW/chat.json":return t(()=>import("./chat.f67dccf0.js"),[]);case"./zh-TW/chatdoc.json":return t(()=>import("./chatdoc.a7a590fd.js"),[]);case"./zh-TW/common.json":return t(()=>import("./common.ef8768a3.js"),[]);case"./zh-TW/console.json":return t(()=>import("./console.b5e9a43c.js"),[]);case"./zh-TW/credential.json":return t(()=>import("./credential.276e510d.js"),[]);case"./zh-TW/distribution.json":return t(()=>import("./distribution.dc7ef2a5.js"),[]);case"./zh-TW/flux.json":return t(()=>import("./flux.08705b63.js"),[]);case"./zh-TW/hailuo.json":return t(()=>import("./hailuo.2cb82586.js"),[]);case"./zh-TW/headshots.json":return t(()=>import("./headshots.4c83a9b2.js"),[]);case"./zh-TW/index.json":return t(()=>import("./index.0542cd26.js"),[]);case"./zh-TW/luma.json":return t(()=>import("./luma.baf56472.js"),[]);case"./zh-TW/midjourney.json":return t(()=>import("./midjourney.50c422d9.js"),[]);case"./zh-TW/order.json":return t(()=>import("./order.fb26e6cb.js"),[]);case"./zh-TW/pika.json":return t(()=>import("./pika.4a35a435.js"),[]);case"./zh-TW/proxy.json":return t(()=>import("./proxy.91a75f89.js"),[]);case"./zh-TW/qrart.json":return t(()=>import("./qrart.1541146d.js"),[]);case"./zh-TW/service.json":return t(()=>import("./service.5820e29d.js"),[]);case"./zh-TW/site.json":return t(()=>import("./site.f7c684ed.js"),[]);case"./zh-TW/suno.json":return t(()=>import("./suno.d55c5890.js"),[]);case"./zh-TW/usage.json":return t(()=>import("./usage.88bceb01.js"),[]);case"./zh-TW/user.json":return t(()=>import("./user.04f9b8d7.js"),[]);default:return new Promise(function(e,o){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+s)))})}}const ee="en",so=[{value:"en",label:"English"},{value:"de",label:"Deutsch"},{value:"pt",label:"Portugu\xEAs"},{value:"es",label:"Espa\xF1ol"},{value:"fr",label:"Fran\xE7ais"},{value:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587"},{value:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587"},{value:"it",label:"Italiano"},{value:"ko",label:"\uD55C\uAD6D\uC5B4"},{value:"ja",label:"\u65E5\u672C\u8A9E"},{value:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{value:"pl",label:"Polski"},{value:"fi",label:"Suomi"},{value:"sv",label:"Svenska"},{value:"el",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{value:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{value:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{value:"sr",label:"\u0421\u0440\u043F\u0441\u043A\u0438"}],oo=()=>st({}),L=oo(),ro=async(s,e)=>{try{return(await to(`./${e}/${s}.json`)).default}catch{return(await eo(`./${ee}/${s}.json`)).default}},ae=s=>{var i,r;const e=(i=Intl.getCanonicalLocales(s||navigator.language))==null?void 0:i[0],o=so.map(c=>c.value);if(e&&o.includes(e))return console.debug("canonicalLang",e),e;{const c=(r=e==null?void 0:e.split("-"))==null?void 0:r[0];if(c&&o.includes(c))return console.debug("canonicalLangPrefix",c),c}return ee},io=async(s,e)=>{const o=["index","api","application","qrart","luma","pika","flux","hailuo","headshots","suno","common","console","credential","distribution","order","proxy","service","usage","user","site","chat","midjourney","chatdoc"],i=o.map(n=>ro(n,e)),r=await Promise.all(i),c={};return o.forEach((n,a)=>{const u=r[a];for(const v in u)if(u.hasOwnProperty(v)){const A=u[v];c[`${n}.${v}`]=A.message}}),s.global.setLocaleMessage(e,c),pt()},no=async s=>{L.global.availableLocales.includes(s)||await io(L,s),L.mode==="legacy"?L.global.locale=s:L.global.locale.value=s,O.defaults.headers&&(O.defaults.headers["Accept-Language"]=s);const e=document.querySelector("html");e&&e.setAttribute("lang",s)};L.global.t;const cd="assistant",ud="user",ao="gpt-3.5",_o="gpt-3.5-browsing",co="gpt-4",uo="gpt-4-browsing",po="gpt-4-vision",Eo="gpt-4-all",lo="gpt-4o",mo="o1",vo="o1-mini",Ao="o3-mini",To="deepseek-chat",Io="deepseek-reasoner",Ro="grok-3",Oo="grok-3-reasoner",Do="grok-3-deepsearch",V="https://cdn.acedata.cloud/7dljuv.png",W="https://cdn.acedata.cloud/p1ge98.png",te="https://cdn.acedata.cloud/bc71ae.png",Ee="b1fbcc32-e218-4253-9dc3-4fe600a1bfb9",le={name:ao,icon:V,getDisplayName:()=>L.global.t("chat.model.35Standard"),getDescription:()=>L.global.t("chat.model.35StandardDescription")},me={name:_o,icon:V,getDisplayName:()=>L.global.t("chat.model.35Browsing"),getDescription:()=>L.global.t("chat.model.35BrowsingDescription")},ve={name:co,icon:V,getDisplayName:()=>L.global.t("chat.model.4Standard"),getDescription:()=>L.global.t("chat.model.4StandardDescription")},Ae={name:uo,icon:V,getDisplayName:()=>L.global.t("chat.model.4Browsing"),getDescription:()=>L.global.t("chat.model.4BrowsingDescription")},Te={name:po,icon:V,getDisplayName:()=>L.global.t("chat.model.4Vision"),getDescription:()=>L.global.t("chat.model.4VisionDescription")},Ie={name:Eo,icon:V,getDisplayName:()=>L.global.t("chat.model.4All"),getDescription:()=>L.global.t("chat.model.4AllDescription")},se={name:lo,icon:V,getDisplayName:()=>L.global.t("chat.model.4O"),getDescription:()=>L.global.t("chat.model.4ODescription")},Re={name:To,icon:te,getDisplayName:()=>L.global.t("chat.model.deepseekChat"),getDescription:()=>L.global.t("chat.model.deepseekChatDescription")},Oe={name:Io,icon:te,getDisplayName:()=>L.global.t("chat.model.deepseekReasoner"),getDescription:()=>L.global.t("chat.model.deepseekReasonerDescription")},De={name:mo,icon:V,getDisplayName:()=>L.global.t("chat.model.o1"),getDescription:()=>L.global.t("chat.model.o1Description")},Le={name:vo,icon:V,getDisplayName:()=>L.global.t("chat.model.o1Mini"),getDescription:()=>L.global.t("chat.model.o1MiniDescription")},Pe={name:Ao,icon:V,getDisplayName:()=>L.global.t("chat.model.o3Mini"),getDescription:()=>L.global.t("chat.model.o3MiniDescription")},je={name:Ro,icon:W,getDisplayName:()=>L.global.t("chat.model.grok3"),getDescription:()=>L.global.t("chat.model.grok3Description")},ge={name:Oo,icon:W,getDisplayName:()=>L.global.t("chat.model.grok3Reasoner"),getDescription:()=>L.global.t("chat.model.grok3ReasonerDescription")},he={name:Do,icon:W,getDisplayName:()=>L.global.t("chat.model.grok3Deepsearch"),getDescription:()=>L.global.t("chat.model.grok3DeepsearchDescription")},Lo={icon:V,name:"chatgpt",getDisplayName:()=>L.global.t("chat.modelGroup.chatgpt"),getDescription:()=>L.global.t("chat.modelGroup.chatgptDescription"),models:[le,me,ve,Ae,Te,Ie,se,De,Le,Pe]},dd={icon:te,name:"deepseek",getDisplayName:()=>L.global.t("chat.modelGroup.deepseek"),getDescription:()=>L.global.t("chat.modelGroup.deepseekDescription"),models:[Re,Oe]},pd={icon:W,name:"grok",getDisplayName:()=>L.global.t("chat.modelGroup.grok"),getDescription:()=>L.global.t("chat.modelGroup.grokDescription"),models:[je,ge,he]},Ed=[le,me,ve,Ae,Te,Ie,se,De,Le,Pe,Re,Oe,je,ge,he],Ve="5d732942-4d44-48be-958e-dd8474d8aa8d",Po="fast",ke="d87e5e99-b797-4ade-9e73-b896896b0461",ld="1:1",md=1,vd=100,Ad=0,Td=Po,Id="1",fe="38ecf158-36f2-42f2-8e7f-6786cdfc2452",Rd=2,Od=20,Dd="",Ld="text",Pd="1:1",jd=!1,gd=5,hd="center",Vd="square",kd="square",fd="square",bd=0,yd="H",wd=0,be="dff45a0d-2858-4936-8e2b-3d49c52aff11",Cd=!0,$d=!1,xd=!1,ye="c7d407fa-0f87-4031-abbb-4f0716ff51ad",Sd="2.0",Ud="creative",Nd=!1,we="e8ebe055-429a-48e9-9d34-5089eae5fd89",zd="flux",Ce="5eaa73b7-b9a7-4a17-afb3-f658fd5495b0",Md="minimax-t2v",$e="3b2ec5fb-cfcb-49f0-9393-6b8617a2d8c4",xe="f2b646d8-3cfd-46ef-969a-1ea9eebde329",qd="chirp-v3-5",Se={"zh-CN":"cny","zh-TW":"cny",en:"usd",de:"eur",pt:"eur",es:"eur",fr:"eur",it:"eur",ko:"krw",ja:"jpy",ru:"rub",pl:"pln",fi:"eur",sv:"sek",el:"eur",uk:"uah",ar:"sar",sr:"rsd"},Hd={cny:"\uFFE5",usd:"$",eur:"\u20AC",jpy:"\xA5",krw:"\u20A9",gbp:"\xA3",rub:"\u20BD",pln:"z\u0142",sek:"kr",uah:"\u20B4",sar:"\uFDFC",rsd:"din"},jo=()=>({}).VITE_BASE_URL_PLATFORM?{}.VITE_BASE_URL_PLATFORM:de,go=()=>({}).VITE_BASE_URL_HUB?{}.VITE_BASE_URL_HUB:window.location.origin||Z,F=()=>({}).VITE_BASE_URL_AUTH?{}.VITE_BASE_URL_AUTH:pe;var ho="/assets/favicon.4bb7e3ef.ico";const g=O.create({baseURL:`${jo()}/api/v1`,headers:{"Content-type":"application/json",Accept:"application/json"},paramsSerializer(s){return ot.stringify(s,{arrayFormat:"repeat"})}});g.interceptors.request.use(s=>{var c,n;const e=(c=P.getters.token)==null?void 0:c.access,o=(n=P.getters.user)==null?void 0:n.id,i=P.getters.fingerprint,r=b("LOCALE");return console.debug("userId",o),console.debug("fingerprint",i),e&&(s.headers.Authorization=`Bearer ${e}`),r&&(s.headers["accept-language"]=r),i&&(s.headers["x-fingerprint"]=i),o&&(s.headers["x-user-id"]=o),s});g.interceptors.response.use(s=>s,s=>{var e;return((e=s==null?void 0:s.response)==null?void 0:e.status)===401&&P.dispatch("login"),Promise.reject(s)});class Vo{constructor(){N(this,"key","applications")}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}async delete(e){return await g.delete(`/${this.key}/${e}`)}}const k=new Vo;class ko{async getMe(){return g.get("/users/me")}async getInvitees(e){return g.get("/users/me/invitees",{params:e})}async updateMe(e){return g.put("/users/me",e)}async getVerify(){return g.get("/users/verify")}async updateVerify(e){return g.put("/users/verify",e)}}const fo=new ko;var E=(s=>(s.Request="Request",s.Success="Success",s.Error="Error",s.None="None",s))(E||{}),h=(s=>(s.USAGE="Usage",s.PERIOD="Period",s))(h||{}),bo=(s=>(s.PENDING="pending",s.ANSWERING="answering",s.FINISHED="finished",s.FAILED="failed",s))(bo||{}),H=(s=>(s.CHAT="chat",s.RETRIEVE="retrieve",s.UPDATE="update",s.DELETE="delete",s.RETRIEVE_BATCH="retrieve_batch",s))(H||{});class yo{async chatConversation(e,o){return new Promise(async(i,r)=>{try{const c=await fetch(`${D}/aichat/conversations`,{method:"POST",headers:{authorization:`Bearer ${o.token}`,"Content-Type":"application/json",Accept:"text/event-stream"},signal:o.signal,body:JSON.stringify(e)});if(!c.body)throw new Error("ReadableStream not supported.");const n=c.body.getReader(),a=new TextDecoder;let u="",v,A="";for(;;){const{done:T,value:l}=await n.read();if(T)break;A+=a.decode(l,{stream:!0});const I=A.split(`
2
+ `);A=I.pop()||"";for(const R of I){const _=R.trim();if(!!_&&_.startsWith("data: ")){const p=_.substring(6).trim();if(p==="[DONE]"){i({answer:u,delta_answer:""});return}try{const C=JSON.parse(p);C.delta_answer&&(u+=C.delta_answer),C.id&&(v=C.id),o!=null&&o.stream&&o.stream({answer:u,delta_answer:C.delta_answer||"",id:v})}catch(C){console.error("JSON parse error:",C)}}}}i({answer:u,delta_answer:""})}catch(c){console.error("Error:",c),r(c)}})}async getConversations(e,o){return await O.post("/aichat/conversations",d(d(d({action:H.RETRIEVE_BATCH},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async deleteConversation(e,o){return await O.post("/aichat/conversations",{action:H.DELETE,id:e},{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async updateConversation(e,o){return await O.post("/aichat/conversations",d({action:H.UPDATE},e),{headers:{"content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D,signal:o.signal})}}const wo=new yo;class Co{async task(e,o){return await O.post("/midjourney/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/midjourney/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async imagine(e,o){return await O.post("/midjourney/imagine",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const $o=new Co;class xo{async createRepository(e,o){return await O.post("/chatdoc/repositories",{action:ie,name:e.name,description:e.description},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteRepository(e,o){return await O.post("/chatdoc/repositories",{action:K,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getRepository(e,o){return await O.post("/chatdoc/repositories",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllRepositories(e){return await O.post("/chatdoc/repositories",{action:M},{headers:{authorization:`Bearer ${e.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllDocuments(e,o){return await O.post("/chatdoc/documents",{action:M,repository_id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getAllConversations(e,o){return await O.post("/chatdoc/conversations",{action:M,repository_id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async getRepositories(e){return await O.post("/chatdoc/repositories",d(d({action:M},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async createDocument(e,o){return await O.post("/chatdoc/documents",{action:ie,repository_id:e.repositoryId,file_url:e.fileUrl,file_name:e.fileName},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json"},baseURL:D})}async retrieveDocument(e,o){return await O.post("/chatdoc/documents",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async retrieveConversation(e,o){return await O.post("/chatdoc/conversations",{action:Y,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteDocument(e,o){return await O.post("/chatdoc/documents",{action:K,id:e},{headers:{authorization:`Bearer ${o.token}`,accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async updateConversation(e){return await O.post("/chatdoc/conversations",{action:Xs,id:e.id,messages:e.messages},{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async deleteConversation(e){return await O.post("/chatdoc/conversations",{action:K,id:e},{headers:{accept:"application/json","content-type":"application/json","x-record-exempt":"true"},baseURL:D})}async chatConversation(e,o){return await O.post("/chatdoc/conversations",{repository_id:e.repositoryId,question:e.question,id:e.id,stateful:!0},{headers:{authorization:`Bearer ${o.token}`,accept:"application/x-ndjson","content-type":"application/json"},baseURL:D,responseType:"stream",onDownloadProgress:({event:i})=>{const c=i.target.response.split(`\r
3
+ `).filter(a=>!!a),n=c[c.length-1];if(n){const a=JSON.parse(n);o!=null&&o.stream&&(o==null||o.stream(a))}}})}}const y=new xo;class So{async token(e){return g.post("/token",e,{baseURL:`${F()}/oauth2/v1`})}}const Uo=new So;class No{constructor(){N(this,"key","services")}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}async delete(e){return await g.delete(`/${this.key}/${e}`)}}const f=new No;class zo{async task(e,o){return await O.post("/qrart/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/qrart/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/qrart/generate",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Mo=new zo;class qo{async task(e,o){return await O.post("/luma/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/luma/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/luma/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Ho=new qo;class Bo{async task(e,o){return await O.post("/pika/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/pika/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/pika/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Go=new Bo;class Fo{async task(e,o){return await O.post("/flux/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/flux/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/flux/images",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Wo=new Fo;class Qo{async task(e,o){return await O.post("/hailuo/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/hailuo/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/hailuo/videos",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Ko=new Qo;class Yo{async task(e,o){return await O.post("/headshots/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/headshots/tasks",d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.userId?{user_id:e.userId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async generate(e,o){return await O.post("/headshots/generate",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:D})}}const Xo=new Yo;class Jo{constructor(){N(this,"key","sites")}async initialize(e){return await g.post(`/${this.key}/initialize/`,e)}async getAll(e){return await g.get(`/${this.key}/`,{params:e})}async get(e){return await g.get(`/${this.key}/${e}`)}async create(e){return await g.post(`/${this.key}/`,e)}async update(e,o){return await g.put(`/${this.key}/${e}`,o)}}const Ue=new Jo;class Zo{async task(e,o){return await O.post("/suno/tasks",{action:"retrieve",id:e},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async tasks(e,o){return await O.post("/suno/tasks",d(d(d(d(d(d(d(d({action:"retrieve_batch"},e.ids?{ids:e.ids}:{}),e.userId?{user_id:e.userId}:{}),e.type?{type:e.type}:{}),e.applicationId?{application_id:e.applicationId}:{}),e.limit!==void 0?{limit:e.limit}:{}),e.offset!==void 0?{offset:e.offset}:{}),e.createdAtMax!==void 0?{created_at_max:e.createdAtMax}:{}),e.createdAtMin!==void 0?{created_at_min:e.createdAtMin}:{}),{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${o.token}`,"x-record-exempt":"true"},baseURL:D})}async audio(e,o){return await O.post("/suno/audios",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}async lyric(e,o){return await O.post("/suno/lyrics",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}async upload(e,o){return await O.post("/suno/upload",e,{headers:{authorization:`Bearer ${o.token}`,"content-type":"application/json"},baseURL:D})}}const er=new Zo;class tr{async rate(e){return g.post("/exchange-rate",e)}}const sr=new tr;function w(s,e){const o=new Map;return[...s,...e].forEach(i=>{o.set(i.id,i)}),Array.from(o.values()).sort((i,r)=>new Date(i.created_at)-new Date(r.created_at))}const or=({commit:s})=>{s("resetAll")},Ne=async({commit:s},e)=>{console.debug(Ne,"set credential",e),s("setCredential",e)},rr=({commit:s},e)=>{s("setConfig",e)},ir=({commit:s},e)=>{s("setMode",e)},nr=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},ar=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},_r=({commit:s},e)=>{s("setApplications",e)},cr=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for midjourney"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:ke}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),ur=({commit:s},e)=>{s("setTasks",e)},dr=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for midjourney"),e.status.getService=E.Request,f.get(ke).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),pr=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r,n,c);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");$o.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"imagine"},{token:A}).then(l=>{var p;console.debug("get imagine tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var Er={setService:nr,getService:dr,resetAll:or,setCredential:Ne,setConfig:rr,setMode:ir,setApplication:ar,setApplications:_r,getApplications:cr,setTasks:ur,getTasks:pr};const lr=s=>{s.application=void 0,s.applications=void 0,s.config={},s.tasks={items:void 0,total:void 0}},mr=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},vr=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},Ar=(s,e)=>{s.service=e},Tr=(s,e)=>{s.credential=e},Ir=(s,e)=>{s.application=e},Rr=(s,e)=>{s.applications=e},Or=(s,e)=>{s.config=e},Dr=(s,e)=>{s.tasks=e};var Lr={setApplication:Ir,setApplications:Rr,setConfig:Or,setTasksItems:mr,setTasksTotal:vr,setCredential:Tr,setService:Ar,setTasks:Dr,resetAll:lr},ze=()=>({service:void 0,application:void 0,applications:void 0,tasks:{items:void 0,total:void 0},credential:void 0,config:{},status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Pr={namespaced:!0,state:ze,mutations:Lr,actions:Er};var Me=()=>({model:se,modelGroup:Lo,applications:void 0,application:void 0,conversations:void 0,service:void 0,credential:void 0,status:{getService:E.None,getApplications:E.None,getConversations:E.None}});const jr=({commit:s})=>{s("resetAll")},gr=async({commit:s},e)=>{s("setModel",e)},hr=async({commit:s},e)=>{s("setModelGroup",e)},Vr=async({commit:s},e)=>{var i;console.debug("set application",e),s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},kr=async({commit:s},e)=>{console.debug("set applications",e),s("setApplications",e)},fr=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},br=async({commit:s},e)=>{console.debug("set conversations",e),s("setConversations",e)},yr=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},wr=async({commit:s,state:e},o)=>{console.debug("set conversation",o);const i=e.conversations||[],r=i==null?void 0:i.findIndex(c=>c.id===o.id);r>-1?i[r]=o:i==null||i.unshift(o),s("setConversations",i),console.debug("set conversation success",i)},Cr=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for chat"),e.status.getService=E.Request,f.get(Ee).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),$r=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for chat"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:Ee}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),xr=async({commit:s,state:e,rootState:o})=>new Promise((i,r)=>{var a;e.status.getConversations=E.Request;const c=e.credential;console.debug("credential",c);const n=c==null?void 0:c.token;if(!n)return e.status.getConversations=E.Error,r(new Error("Token not found"));wo.getConversations({userId:(a=o.user)==null?void 0:a.id},{token:n}).then(u=>{var A,T;console.debug("get conversations success",(T=(A=u.data)==null?void 0:A.items)==null?void 0:T.length),s("setConversations",u.data.items);const v=u.data.items;i(v)}).catch(u=>{e.status.getConversations=E.Error,s("setConversations",[]),r(u)})});var Sr={resetAll:jr,setModel:gr,setModelGroup:hr,getService:Cr,setService:fr,setCredential:yr,setApplication:Vr,setApplications:kr,getApplications:$r,setConversation:wr,setConversations:br,getConversations:xr};const Ur=s=>{s.application=void 0,s.conversations=void 0,s.credential=void 0,s.service=void 0},Nr=(s,e)=>{s.model=e},zr=(s,e)=>{s.modelGroup=e},Mr=(s,e)=>{s.credential=e},qr=(s,e)=>{s.application=e},Hr=(s,e)=>{s.applications=e},Br=(s,e)=>{s.service=e},Gr=(s,e)=>{s.conversations=e};var Fr={setModel:Nr,setModelGroup:zr,setService:Br,setCredential:Mr,setConversations:Gr,setApplication:qr,setApplications:Hr,resetAll:Ur};const Wr={namespaced:!0,state:Me,mutations:Fr,actions:Sr},Qr=async({commit:s},e)=>{s("setApplication",e)},Kr=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Yr=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Xr=async({commit:s},e)=>{s("setRepository",e)},Jr=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for chatdoc"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:Ve}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success;const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Zr=({commit:s})=>{s("resetAll")},ei=async({commit:s,state:e})=>{console.debug("start to get repositories");const o=e.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return s("setRepositories",void 0),Promise.reject("no token");const r=(await y.getAllRepositories({token:i})).data.items;return console.debug("get repositories success",r),s("setRepositories",r),r},ti=async({state:s},e)=>{console.debug("start to delete repository");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.deleteRepository(e.id,{token:i})).data;return console.debug("delete repository success",r),r},si=async({state:s},e)=>{console.debug("start to delete document");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.deleteDocument(e.id,{token:i})).data;return console.debug("delete document success",r),r},oi=async({commit:s,state:e})=>new Promise(async(o,i)=>{console.debug("start to get service for chatdoc"),e.status.getService=E.Request,f.get(Ve).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),ri=async({state:s},e)=>{console.debug("start to create repository");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.createRepository(e,{token:i})).data;return console.debug("create repository success",r),r},ii=async({state:s},e)=>{console.debug("start to create document");const o=s.credential;console.log("credential",o);const i=o==null?void 0:o.token;if(!i)return Promise.reject("no token");const r=(await y.createDocument(e,{token:i})).data;return console.debug("create document success",r),r},ni=async({commit:s,state:e},o)=>{console.debug("set conversation",o);const i=e.repositories.find(n=>n.id===o.repositoryId),r=i==null?void 0:i.conversations;if(!r)return Promise.reject("no conversations");const c=r==null?void 0:r.findIndex(n=>n.id===o.id);c>-1&&(r[c].messages=o.messages),console.debug("set conversation success",r)},ai=async({commit:s,state:e},o)=>{console.debug("start to get documents");const i=e.credential;console.log("credential for getDocuments",i);const r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.repositoryId,documents:[]}),[];const c=(await y.getAllDocuments(o.repositoryId,{token:r})).data.items;return console.debug("get documents success",c),s("setRepository",{id:o.repositoryId,documents:c}),c},_i=async({commit:s,state:e},o)=>{console.debug("start to get conversations");const i=e.credential;console.log("credential for getConversations",i);const r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.repositoryId,conversations:[]}),[];const c=(await y.getAllConversations(o.repositoryId,{token:r})).data.items;return console.debug("get conversations success",c),s("setRepository",{id:o.repositoryId,conversations:c}),c},ci=async({commit:s,state:e},o)=>{console.debug("start to get repository");const i=e.credential,r=i==null?void 0:i.token;if(!r)return s("setRepository",{id:o.id}),Promise.reject("no token");const c=(await y.getRepository(o.id,{token:r})).data;return console.debug("get repository success",c),s("setRepository",c),c};var ui={setService:Yr,setConversation:ni,getService:oi,createRepository:ri,setApplication:Qr,getApplications:Jr,getRepositories:ei,setCredential:Kr,deleteRepository:ti,getRepository:ci,setRepository:Xr,getConversations:_i,getDocuments:ai,resetAll:Zr,createDocument:ii,deleteDocument:si};const di=s=>{s.application=void 0,s.repositories=[]},pi=(s,e)=>{s.service=e},Ei=(s,e)=>{s.application=e},li=(s,e)=>{s.applications=e},mi=(s,e)=>{const o=s.repositories;if(o&&e){e.forEach(i=>{const r=o==null?void 0:o.findIndex(c=>c.id===i.id);r!==-1&&(e[r]=d(d({},o[r]),i))}),s.repositories=e;return}else s.repositories=e},vi=(s,e)=>{s.credential=e},Ai=(s,e)=>{console.debug("mutation",e);const o=e,i=s.repositories;if(!i){console.debug("no repositories");return}const r=i.findIndex(c=>c.id===o.id);if(r===-1){console.debug("no repository found");return}console.debug("set repository for index",r,o),i[r]=d(d({},i[r]),o)};var Ti={setService:pi,setApplication:Ei,setApplications:li,setRepositories:mi,setRepository:Ai,setCredential:vi,resetAll:di},qe=()=>({service:void 0,application:void 0,applications:void 0,repositories:void 0,credential:void 0,status:{getService:E.None,getApplications:E.None,getRepositories:E.None}});const Ii={namespaced:!0,state:qe,mutations:Ti,actions:ui},Ri=({commit:s})=>{s("resetAll")},Oi=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Di=({commit:s},e)=>{s("setConfig",e)},Li=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Pi=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},ji=({commit:s},e)=>{s("setApplications",e)},gi=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for qrart"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:fe}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),hi=({commit:s},e)=>{s("setTasks",e)},Vi=({commit:s},e)=>{s("setTasksItems",e)},ki=({commit:s},e)=>{s("setTasksTotal",e)},fi=({commit:s},e)=>{s("setTasksActive",e)},bi=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for qrart"),e.status.getService=E.Request,f.get(fe).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),yi=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Mo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get qrart tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var wi={setService:Li,getService:bi,resetAll:Ri,setCredential:Oi,setConfig:Di,setApplication:Pi,setApplications:ji,getApplications:gi,setTasks:hi,setTasksItems:Vi,setTasksTotal:ki,setTasksActive:fi,getTasks:yi};const Ci=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},$i=(s,e)=>{s.service=e},xi=(s,e)=>{s.applications=e},Si=(s,e)=>{s.credential=e},Ui=(s,e)=>{s.application=e},Ni=(s,e)=>{s.config=e},zi=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},Mi=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},qi=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},Hi=(s,e)=>{s.tasks=e};var Bi={setTasks:Hi,setApplication:Ui,setApplications:xi,setConfig:Ni,setCredential:Si,setService:$i,setTasksActive:qi,setTasksItems:zi,setTasksTotal:Mi,resetAll:Ci},He=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Gi={namespaced:!0,state:He,mutations:Bi,actions:wi},Fi=({commit:s})=>{s("resetAll")},Wi=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Qi=({commit:s},e)=>{s("setConfig",e)},Ki=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Yi=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Xi=({commit:s},e)=>{s("setApplications",e)},Ji=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for luma"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:be}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Zi=({commit:s},e)=>{s("setTasks",e)},en=({commit:s},e)=>{s("setTasksItems",e)},tn=({commit:s},e)=>{s("setTasksTotal",e)},sn=({commit:s},e)=>{s("setTasksActive",e)},on=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for luma"),e.status.getService=E.Request,f.get(be).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),rn=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Ho.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get luma tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var nn={setService:Ki,getService:on,resetAll:Fi,setCredential:Wi,setConfig:Qi,setApplication:Yi,setApplications:Xi,getApplications:Ji,setTasks:Zi,setTasksItems:en,setTasksTotal:tn,setTasksActive:sn,getTasks:rn};const an=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},_n=(s,e)=>{s.service=e},cn=(s,e)=>{s.credential=e},un=(s,e)=>{s.application=e},dn=(s,e)=>{s.applications=e},pn=(s,e)=>{s.config=e},En=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},ln=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},mn=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},vn=(s,e)=>{s.tasks=e};var An={setTasks:vn,setApplication:un,setApplications:dn,setConfig:pn,setCredential:cn,setService:_n,setTasksActive:mn,setTasksItems:En,setTasksTotal:ln,resetAll:an},Be=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Tn={namespaced:!0,state:Be,mutations:An,actions:nn},In=({commit:s})=>{s("resetAll")},Rn=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},On=({commit:s},e)=>{s("setConfig",e)},Dn=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Ln=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Pn=({commit:s},e)=>{s("setApplications",e)},jn=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for pika"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:ye}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),gn=({commit:s},e)=>{s("setTasks",e)},hn=({commit:s},e)=>{s("setTasksItems",e)},Vn=({commit:s},e)=>{s("setTasksTotal",e)},kn=({commit:s},e)=>{s("setTasksActive",e)},fn=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for pika"),e.status.getService=E.Request,f.get(ye).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),bn=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Go.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"videos"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var yn={setService:Dn,getService:fn,resetAll:In,setCredential:Rn,setConfig:On,setApplication:Ln,setApplications:Pn,getApplications:jn,setTasks:gn,setTasksItems:hn,setTasksTotal:Vn,setTasksActive:kn,getTasks:bn};const wn=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},Cn=(s,e)=>{s.service=e},$n=(s,e)=>{s.credential=e},xn=(s,e)=>{s.application=e},Sn=(s,e)=>{s.applications=e},Un=(s,e)=>{s.config=e},Nn=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},zn=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},Mn=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},qn=(s,e)=>{s.tasks=e};var Hn={setTasks:qn,setApplication:xn,setApplications:Sn,setConfig:Un,setCredential:$n,setService:Cn,setTasksActive:Mn,setTasksItems:Nn,setTasksTotal:zn,resetAll:wn},Bn=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Gn={namespaced:!0,state:Bn,mutations:Hn,actions:yn},Fn=({commit:s})=>{s("resetAll")},Wn=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Qn=({commit:s},e)=>{s("setConfig",e)},Kn=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Yn=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Xn=({commit:s},e)=>{s("setApplications",e)},Jn=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for flux"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:we}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Zn=({commit:s},e)=>{s("setTasks",e)},ea=({commit:s},e)=>{s("setTasksItems",e)},ta=({commit:s},e)=>{s("setTasksTotal",e)},sa=({commit:s},e)=>{s("setTasksActive",e)},oa=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for flux"),e.status.getService=E.Request,f.get(we).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),ra=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Wo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"images"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var ia={setService:Kn,getService:oa,resetAll:Fn,setCredential:Wn,setConfig:Qn,setApplications:Xn,setApplication:Yn,getApplications:Jn,setTasks:Zn,setTasksItems:ea,setTasksTotal:ta,setTasksActive:sa,getTasks:ra};const na=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},aa=(s,e)=>{s.service=e},_a=(s,e)=>{s.credential=e},ca=(s,e)=>{s.application=e},ua=(s,e)=>{s.applications=e},da=(s,e)=>{s.config=e},pa=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},Ea=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},la=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},ma=(s,e)=>{s.tasks=e};var va={setTasks:ma,setApplication:ca,setApplications:ua,setConfig:da,setCredential:_a,setService:aa,setTasksActive:la,setTasksItems:pa,setTasksTotal:Ea,resetAll:na},Aa=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Ta={namespaced:!0,state:Aa,mutations:va,actions:ia},Ia=({commit:s})=>{s("resetAll")},Ra=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Oa=({commit:s},e)=>{s("setConfig",e)},Da=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},La=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Pa=({commit:s},e)=>{s("setApplications",e)},ja=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for hailuo"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:Ce}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),ga=({commit:s},e)=>{s("setTasks",e)},ha=({commit:s},e)=>{s("setTasksItems",e)},Va=({commit:s},e)=>{s("setTasksTotal",e)},ka=({commit:s},e)=>{s("setTasksActive",e)},fa=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for hailuo"),e.status.getService=E.Request,f.get(Ce).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),ba=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Ko.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"videos"},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var ya={setService:Da,getService:fa,resetAll:Ia,setCredential:Ra,setConfig:Oa,setApplication:La,setApplications:Pa,getApplications:ja,setTasks:ga,setTasksItems:ha,setTasksTotal:Va,setTasksActive:ka,getTasks:ba};const wa=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},Ca=(s,e)=>{s.service=e},$a=(s,e)=>{s.credential=e},xa=(s,e)=>{s.application=e},Sa=(s,e)=>{s.applications=e},Ua=(s,e)=>{s.config=e},Na=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},za=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},Ma=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},qa=(s,e)=>{s.tasks=e};var Ha={setTasks:qa,setApplication:xa,setApplications:Sa,setConfig:Ua,setCredential:$a,setService:Ca,setTasksActive:Ma,setTasksItems:Na,setTasksTotal:za,resetAll:wa},Ba=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const Ga={namespaced:!0,state:Ba,mutations:Ha,actions:ya},Fa=({commit:s})=>{s("resetAll")},Wa=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},Qa=({commit:s},e)=>{s("setConfig",e)},Ka=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},Ya=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},Xa=({commit:s},e)=>{s("setApplications",e)},Ja=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for headshots"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:$e}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),Za=({commit:s},e)=>{s("setTasks",e)},e_=({commit:s},e)=>{s("setTasksItems",e)},t_=({commit:s},e)=>{s("setTasksTotal",e)},s_=({commit:s},e)=>{s("setTasksActive",e)},o_=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for headshots"),e.status.getService=E.Request,f.get($e).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),r_=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");Xo.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n},{token:A}).then(l=>{var p;console.debug("get videos tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var i_={setService:Ka,getService:o_,resetAll:Fa,setCredential:Wa,setConfig:Qa,setApplication:Ya,setApplications:Xa,getApplications:Ja,setTasks:Za,setTasksItems:e_,setTasksTotal:t_,setTasksActive:s_,getTasks:r_};const n_=s=>{s.service=void 0,s.application=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},a_=(s,e)=>{s.service=e},__=(s,e)=>{s.credential=e},c_=(s,e)=>{s.application=e},u_=(s,e)=>{s.applications=e},d_=(s,e)=>{s.config=e},p_=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},E_=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},l_=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},m_=(s,e)=>{s.tasks=e};var v_={setTasks:m_,setApplication:c_,setApplications:u_,setConfig:d_,setCredential:__,setService:a_,setTasksActive:l_,setTasksItems:p_,setTasksTotal:E_,resetAll:n_},Ge=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const A_={namespaced:!0,state:Ge,mutations:v_,actions:i_},T_=({commit:s})=>{s("resetAll")},I_=async({commit:s},e)=>{console.debug("set credential",e),s("setCredential",e)},R_=({commit:s},e)=>{s("setConfig",e)},O_=async({commit:s},e)=>{console.debug("set service",e),s("setService",e)},D_=({commit:s},e)=>{var i;s("setApplication",e);const o=(i=e==null?void 0:e.credentials)==null?void 0:i.find(r=>(r==null?void 0:r.host)===window.location.origin);s("setCredential",o)},L_=({commit:s},e)=>{s("setApplications",e)},P_=async({commit:s,state:e,rootState:o})=>(console.debug("start to get applications for suno"),new Promise((i,r)=>{var c;e.status.getApplications=E.Request,k.getAll({user_id:(c=o==null?void 0:o.user)==null?void 0:c.id,service_id:xe}).then(n=>{var v,A,T,l,I,R;console.debug("get applications success",n==null?void 0:n.data),e.status.getApplications=E.Success,s("setApplications",n.data.items);const a=(v=n.data.items)==null?void 0:v.find(_=>(_==null?void 0:_.type)===h.PERIOD),u=(A=n.data.items)==null?void 0:A.find(_=>(_==null?void 0:_.type)===h.USAGE);if(a&&(a==null?void 0:a.remaining_amount)){console.debug("set application with Period",a),s("setApplication",a);const _=(T=a==null?void 0:a.credentials)==null?void 0:T.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Period",a),s("setCredential",_)}else if(u){console.debug("set application with Usage",u),s("setApplication",u);const _=(l=u==null?void 0:u.credentials)==null?void 0:l.find(p=>(p==null?void 0:p.host)===window.location.origin);console.debug("set credential with Usage",a),s("setCredential",_)}else console.debug("set application with null",(I=n.data.items)==null?void 0:I[0]),s("setApplication",(R=n.data.items)==null?void 0:R[0]);i(n.data.items),console.debug("save application success",n.data.items[0])}).catch(n=>{e.status.getApplications=E.Error,r(n)})})),j_=({commit:s},e)=>{s("setTasks",e)},g_=({commit:s},e)=>{s("setTasksItems",e)},h_=({commit:s},e)=>{s("setTasksTotal",e)},V_=({commit:s},e)=>{s("setTasksActive",e)},k_=({commit:s},e)=>{s("setAudio",e)},f_=async({commit:s,state:e})=>new Promise((o,i)=>{console.debug("start to get service for suno"),e.status.getService=E.Request,f.get(xe).then(r=>{e.status.getService=E.Success,s("setService",r.data),o(r.data)}).catch(r=>{e.status.getService=E.Error,i(r)})}),b_=async({commit:s,state:e,rootState:o},{offset:i,limit:r,createdAtMin:c,createdAtMax:n})=>new Promise((a,u)=>{var T;console.debug("start to get tasks",i,r,n,c);const v=e.credential,A=v==null?void 0:v.token;if(!A)return u("no token");er.tasks({userId:(T=o==null?void 0:o.user)==null?void 0:T.id,createdAtMin:c,createdAtMax:n,type:"audios"},{token:A}).then(l=>{var p;console.debug("get imagine tasks success",l.data.items);const I=((p=e==null?void 0:e.tasks)==null?void 0:p.items)||[];console.debug("existing items",I);const R=l.data.items||[];console.debug("new items",R);const _=w(I,R);s("setTasksItems",_),s("setTasksTotal",l.data.count),a(l.data.items)}).catch(l=>u(l))});var y_={setService:O_,getService:f_,resetAll:T_,setCredential:I_,setConfig:R_,setApplication:D_,setApplications:L_,getApplications:P_,setTasks:j_,setTasksItems:g_,setTasksTotal:h_,setTasksActive:V_,getTasks:b_,setAudio:k_};const w_=s=>{s.service=void 0,s.application=void 0,s.applications=void 0,s.config=void 0,s.credential=void 0,s.tasks=void 0},C_=(s,e)=>{s.applications=e},$_=(s,e)=>{s.service=e},x_=(s,e)=>{s.credential=e},S_=(s,e)=>{s.application=e},U_=(s,e)=>{s.config=e},N_=(s,e)=>{const o=j(d({},s.tasks),{items:e});s.tasks=o},z_=(s,e)=>{const o=j(d({},s.tasks),{total:e});s.tasks=o},M_=(s,e)=>{const o=j(d({},s.tasks),{active:e});s.tasks=o},q_=(s,e)=>{s.audio=e},H_=(s,e)=>{s.tasks=e};var B_={setTasks:H_,setApplication:S_,setApplications:C_,setConfig:U_,setCredential:x_,setService:$_,setTasksActive:M_,setTasksItems:N_,setTasksTotal:z_,setAudio:q_,resetAll:w_},Fe=()=>({service:void 0,application:void 0,applications:void 0,tasks:void 0,audio:{volume:100},credential:void 0,config:void 0,status:{getService:E.None,getApplications:E.None,getTasks:E.None}});const G_={namespaced:!0,state:Fe,mutations:B_,actions:y_};var F_=()=>({fingerprint:void 0,currency:"usd",exchange:void 0,user:{},auth:{flow:"redirect",visible:!1},token:{access:void 0,refresh:void 0,expiration:void 0},setting:{},site:{},chatdoc:qe(),chat:Me(),midjourney:ze(),qrart:He(),luma:Be(),suno:Fe(),headshots:Ge()});const W_=(s,e)=>{s.user=d(d({},s.user),e)},Q_=(s,e)=>{s.token=d(d({},s.token),e)},K_=(s,e)=>{s.auth=d(d({},s.auth),e)},Y_=(s,e)=>{s.fingerprint=e},X_=s=>{s.token={}},J_=s=>{s.site={}},Z_=s=>{s.user={}},ec=(s,e)=>{s.site=d(d({},s.site),e)},tc=(s,e)=>{s.exchange=d(d({},s.exchange),e)},sc=(s,e)=>{s.currency=e};var oc={setUser:W_,setSite:ec,setAuth:K_,setCurrency:sc,setExchange:tc,resetUser:Z_,setFingerprint:Y_,setToken:Q_,resetToken:X_,resetSite:J_};const Bd=s=>{try{JSON.parse(s)}catch{return!1}return!0},rc=()=>navigator.userAgent.toLowerCase().includes("micromessenger"),oe=()=>window.location.host.includes(G),ic=()=>oe()&&window.location.host!==G,We=s=>s!=null&&s.origin?s==null?void 0:s.origin:oe()?Z:window.location.host.includes("localhost")?`http://localhost-${rt()}`:window.location.origin,nc=({commit:s})=>{s("resetToken"),s("resetUser")},ac=({commit:s})=>{s("resetUser")},_c=({commit:s})=>{s("resetSite")},cc=({commit:s})=>{s("resetToken")},uc=({commit:s},e)=>{s("setToken",e)},dc=({commit:s},e)=>{s("setUser",e)},pc=({commit:s},e)=>{s("setCurrency",e)},Ec=({commit:s},e)=>{s("setExchange",e)},lc=({commit:s},e)=>{s("setFingerprint",e)},mc=async({commit:s})=>{console.debug("start to get user");try{s("resetUser");const{data:e}=await fo.getMe();return s("setUser",e),console.debug("get user success",e),e}catch(e){console.error("get user failed",e)}},vc=async({commit:s})=>{const i=(await(await it.load()).get()).visitorId;return console.debug("visitorId",i),s("setFingerprint",i),i},Ac=async({commit:s},e)=>{console.debug("start to get token using code",e);try{s("resetToken");const{data:o}=await Uo.token({code:e});console.debug("get token success",o);const i={access:o.access_token,refresh:o.refresh_token,expiration:o.expires_in};return s("setToken",i),console.debug("get token success",o),i}catch(o){console.error("get token failed",o)}},Tc=async({state:s,commit:e},o)=>{if(o.source===o.target)return;const i=`${o.source}-${o.target}`;console.debug("start to get exchange rate",i);try{const{data:r}=await sr.rate(o);return console.debug("get exchange rate success",r),e("setExchange",{[i]:r.rate}),s.exchange[i]}catch{console.error("get exchange rate failed")}},Ic=async({state:s,commit:e,dispatch:o})=>{console.debug("start to initialize site");const i=We(s==null?void 0:s.site);try{const{data:r}=await Ue.initialize({origin:i});e("setSite",r),console.debug("initialize site success",r)}catch(r){console.error("initialize site failed",r),o("login")}},Rc=async({state:s,commit:e})=>{var o,i,r;console.debug("start to get site");try{const c=We(s==null?void 0:s.site),n=(r=(i=(o=await Ue.getAll({origin:c}))==null?void 0:o.data)==null?void 0:i.items)==null?void 0:r[0];e("setSite",n),console.debug("get site success",n)}catch(c){console.error("get site failed",c)}},Oc=async({state:s,commit:e})=>{var i;const o=(i=s==null?void 0:s.site)==null?void 0:i.origin;e("setAuth",{flow:"redirect"}),ou({redirect:window.location.pathname,site:o})},Dc=async({dispatch:s})=>{await s("resetAll"),await s("chat/resetAll"),await s("midjourney/resetAll"),await s("chatdoc/resetAll"),await s("qrart/resetAll"),await s("login")};var Lc={login:Oc,logout:Dc,resetToken:cc,resetAll:nc,resetUser:ac,resetSite:_c,setToken:uc,setFingerprint:lc,setCurrency:pc,setUser:dc,getFingerprint:vc,getExchangeRate:Tc,getToken:Ac,getUser:mc,initializeSite:Ic,getSite:Rc,setExchange:Ec};const Pc=s=>!!s.token.access,jc=s=>s.user,gc=s=>s.token,hc=s=>s.setting,Vc=s=>s.site,kc=s=>s.fingerprint;var fc={authenticated:Pc,user:jc,token:gc,site:Vc,fingerprint:kc,setting:hc},bc={state:F_,mutations:oc,actions:Lc,getters:fc},yc=["chat.application","chat.applications","chat.service","chat.credential","chat.conversations","chat.model","chat.modelGroup"],wc=["midjourney.config","midjourney.credential","midjourney.mode","midjourney.application"],Cc=["chatdoc.repositories","chatdoc.credential","chatdoc.service","chatdoc.application"],$c=["qrart.config","qrart.credential","qrart.application"],xc=["luma.credential","luma.application"],Sc=["pika.credential","pika.application"],Uc=["flux.credential","flux.application"],Nc=["hailuo.credential","hailuo.application"],zc=["headshots.credential","headshots.application"],Mc=["suno.credential","suno.application"],qc=["user","token","setting","locale","dark","site","currency","exchange","fingerprint"];const Hc=nt(j(d({},bc),{modules:{midjourney:Pr,chat:Wr,qrart:Gi,luma:Tn,pika:Gn,flux:Ta,hailuo:Ga,headshots:A_,suno:G_,chatdoc:Ii},plugins:[at({paths:[...qc,...yc,...wc,...Cc,...$c,...xc,...Sc,...Uc,...Nc,...zc,...Mc]})]}));var P=Hc;const x=(s=window.location.hostname)=>{const e=_t.parse(s);return e.error||!e.listed||e.domain===s?s:"."+e.domain};window.getDomain=x;const Bc=async()=>{const s=new URLSearchParams(window.location.search),e=s.get("inviter_id");if(e){const c=new Date;c.setDate(c.getDate()+7),console.debug("set INVITER_ID to cookies",e),z("INVITER_ID",e,{expires:c,path:"/",domain:x()})}const o=s.get("theme");if(o)console.log("set THEME to cookies",o),z("THEME",o,{path:"/",domain:x()});else if(!b("THEME")){const c=window.matchMedia("(prefers-color-scheme: dark)").matches;console.debug("set THEME to cookies",c?"dark":"light"),z("THEME",c?"dark":"light",{path:"/",domain:x()})}const i=s.get("lang");let r;i?r=ae(i):b("LOCALE")||(r=ae()),r&&(console.debug("set LOCALE to cookies",r),z("LOCALE",r,{path:"/",domain:x()}))},Gc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.title)||"";let e=document.querySelector("title");e||(e=document.createElement("title"),document.head.appendChild(e)),e.innerHTML=s},Fc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.description)||"";let e=document.querySelector('meta[name="description"]');e||(e=document.createElement("meta"),e.setAttribute("name","description"),document.head.appendChild(e)),e.setAttribute("content",s)},Wc=async()=>{var o,i;const s=((i=(o=P.state.site)==null?void 0:o.keywords)==null?void 0:i.join(","))||"";let e=document.querySelector('meta[name="keywords"]');e||(e=document.createElement("meta"),e.setAttribute("name","keywords"),document.head.appendChild(e)),e.setAttribute("content",s)},Qc=async()=>{var o;const s=((o=P.state.site)==null?void 0:o.favicon)||"";let e=document.querySelector('link[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=s||ho},Kc=async()=>{await P.dispatch("getSite");const s=P.state.site;console.debug("site",s),s!=null&&s.origin||await P.dispatch("initializeSite")},Yc=async()=>{const e=new URLSearchParams(window.location.search).get("code");if(console.debug("get code",e),e){console.debug("start get token by code",e);const o=await P.dispatch("getToken",e);console.debug("success get token",o)}},Xc=async()=>{const s=P.state.token;if(!(s!=null&&s.access)){console.debug("no access token, skip get user");return}console.debug("start to get user");const e=await P.dispatch("getUser");console.debug("get user",e)},Jc=async()=>{const s=b("LOCALE");console.debug("initialize currency",s);const e=Se;let o="usd";s&&e[s]&&(o=e[s]),console.debug("set currency",o),await P.dispatch("setCurrency",o)},Zc=async()=>{const s=b("LOCALE"),e=Se;if(!s||!e[s])return;const o=e[s],r={source:"usd",target:o};console.debug("initialize exchange rate",r),await P.dispatch("getExchangeRate",r)},eu=async()=>{if(oe()&&!ic()&&rc()){console.debug("redirect to sub domain with prefix");const s=new Date().toISOString().split("T")[0].replace(/-/g,""),e=window.location.href.replace(G,`${s}.${G}`);console.debug("redirect to",e),window.location.href=e}},tu=async()=>{await P.dispatch("getFingerprint")},su=()=>{var o,i,r,c,n,a,u,v,A;return(r=(i=(o=P==null?void 0:P.state)==null?void 0:o.site)==null?void 0:i.distribution)!=null&&r.force_inviter_id?(a=(n=(c=P==null?void 0:P.state)==null?void 0:c.site)==null?void 0:n.distribution)==null?void 0:a.force_inviter_id:new URLSearchParams(window.location.search).get("inviter_id")||b("INVITER_ID")||((A=(v=(u=P==null?void 0:P.state)==null?void 0:u.site)==null?void 0:v.distribution)==null?void 0:A.default_inviter_id)},ou=({redirect:s="/",site:e=window.location.origin})=>{const o=go(),i=F(),r=su(),c=`${o}/auth/callback?redirect=${s}`,n=`${i}/auth/login`,a=d(d({site:e},r?{inviter_id:r}:{}),c?{redirect:c}:{}),u=`${n}?${new URLSearchParams(a).toString()}`;window.location.href=u},ru="index",iu="auth-login",nu="auth-callback",Qe="site-index",au="chat-conversation",_e="chat-conversation-new",_u="midjourney-index",cu="qrart-index",Gd="qrart-history",uu="luma-index",Fd="luma-history",du="pika-index",Wd="pika-history",pu="flux-index",Eu="hailuo-index",Qd="hailuo-history",lu="headshots-index",Kd="headshots-history",mu="chatdoc-index",vu="chatdoc-conversation",Au="chatdoc-conversation-new",Tu="chatdoc-setting",Iu="chatdoc-knowledge",Ru="suno-index",Yd="suno-history",Ou="profile-index",Du="console-root",Lu="console-order-list",Pu="console-order-detail",ce="console-application-list",ju="console-application-extra",gu="console-application-subscribe",hu="distribution-index",Vu="distribution-history",ku="distribution-invitees",fu="console-usage-list";var bu={path:"/auth",component:()=>t(()=>import("./Auth.43a64a68.js"),["assets/Auth.43a64a68.js","assets/Auth.fd7a68cc.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"]),children:[{path:"login",name:iu,component:()=>t(()=>import("./Login.96b81e2b.js"),["assets/Login.96b81e2b.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])},{path:"callback",name:nu,component:()=>t(()=>import("./Callback.a306ed4d.js"),["assets/Callback.a306ed4d.js","assets/Callback.dcef08ed.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])}]},yu={path:"/console",meta:{auth:!0},component:()=>t(()=>import("./Console.02f9e3f5.js"),["assets/Console.02f9e3f5.js","assets/Console.5c756b88.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Du,redirect:{name:ce}},{path:"orders",name:Lu,component:()=>t(()=>import("./List.8aab4310.js"),["assets/List.8aab4310.js","assets/List.b9ed2f01.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/order.cf725e3f.js","assets/Pagination.e5e2a82c.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/order.aa35b6fb.js","assets/price.11060216.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"orders/:id",name:Pu,component:()=>t(()=>import("./Detail.1e5b666e.js"),["assets/Detail.1e5b666e.js","assets/Detail.c6180471.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/order.cf725e3f.js","assets/order.aa35b6fb.js","assets/vendor-qrcode.8db51d62.js","assets/price.11060216.js","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js"])},{path:"applications",name:ce,component:()=>t(()=>import("./List.e90ad8a7.js"),["assets/List.e90ad8a7.js","assets/List.6e2820e9.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/credential.26787c24.js","assets/Pagination.e5e2a82c.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"applications/:id/extra",name:ju,component:()=>t(()=>import("./Extra.bdff3849.js"),["assets/Extra.bdff3849.js","assets/Extra.8ae37a97.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/api.f60246f3.js","assets/price.11060216.js","assets/order.cf725e3f.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"])},{path:"applications/:id/subscribe",name:gu,component:()=>t(()=>import("./Subscribe.e966bb68.js"),["assets/Subscribe.e966bb68.js","assets/Subscribe.7bc86667.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/api.f60246f3.js","assets/order.cf725e3f.js","assets/price.11060216.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"usages",name:fu,component:()=>t(()=>import("./List.fe0ab8e4.js"),["assets/List.fe0ab8e4.js","assets/List.f8805050.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/credential.26787c24.js","assets/Pagination.e5e2a82c.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},wu={path:"/chat",component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",redirect:{name:_e}},{path:"conversations",name:_e,component:()=>t(()=>import("./Conversation.02fe0df1.js"),["assets/Conversation.02fe0df1.js","assets/Conversation.af781032.css","assets/vendor-axios.168e6950.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/MarkdownRenderer.c1c1726f.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/vendor-fortawesome.3e228e5c.js","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/vendor-qrcode.8db51d62.js"])},{path:"conversations/:id",name:au,component:()=>t(()=>import("./Conversation.02fe0df1.js"),["assets/Conversation.02fe0df1.js","assets/Conversation.af781032.css","assets/vendor-axios.168e6950.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/MarkdownRenderer.c1c1726f.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/vendor-fortawesome.3e228e5c.js","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/vendor-qrcode.8db51d62.js"])}]},Cu={path:"/midjourney",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:_u,component:()=>t(()=>import("./Index.e36959a3.js"),["assets/Index.e36959a3.js","assets/Index.d945e782.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/ImageNavigator.1b18c692.js","assets/ImageNavigator.7f975528.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},$u={path:"/distribution",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:hu,component:()=>t(()=>import("./Index.37833169.js"),["assets/Index.37833169.js","assets/Index.a8112020.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/distribution.dc63b14b.js","assets/price.11060216.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-axios.168e6950.js"])},{path:"history",name:Vu,component:()=>t(()=>import("./History.7cf61b31.js"),["assets/History.7cf61b31.js","assets/History.9fc30c32.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Pagination.e5e2a82c.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/distribution.dc63b14b.js","assets/price.11060216.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"invitees",name:ku,component:()=>t(()=>import("./Invitees.b02c5538.js"),["assets/Invitees.b02c5538.js","assets/Invitees.0568a6f7.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Pagination.e5e2a82c.js","assets/Pagination.a75eb2f0.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},xu={path:"/chatdoc",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:mu,component:()=>t(()=>import("./Index.6b007e2a.js"),["assets/Index.6b007e2a.js","assets/Index.877f522f.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.3bb2c729.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/conversations",name:Au,component:()=>t(()=>import("./Conversation.b39cf28a.js"),["assets/Conversation.b39cf28a.js","assets/Conversation.c2ebf796.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.3bb2c729.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/MarkdownRenderer.c1c1726f.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/conversations/:conversationId",name:vu,component:()=>t(()=>import("./Conversation.b39cf28a.js"),["assets/Conversation.b39cf28a.js","assets/Conversation.c2ebf796.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.3bb2c729.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/MarkdownRenderer.c1c1726f.js","assets/MarkdownRenderer.f404d95c.css","assets/vendor-markdown.c2cac46a.js","assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId/manage",name:Iu,component:()=>t(()=>import("./Manage.e82602e3.js"),["assets/Manage.e82602e3.js","assets/Manage.07d2ae70.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.3bb2c729.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])},{path:"repositories/:repositoryId",name:Tu,component:()=>t(()=>import("./Setting.18cf0f3b.js"),["assets/Setting.18cf0f3b.js","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Chatdoc.3bb2c729.js","assets/Chatdoc.b833a665.css","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Su={path:"/qrart",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:cu,component:()=>t(()=>import("./Index.1b8b999b.js"),["assets/Index.1b8b999b.js","assets/Index.360c148a.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Uu={path:"/luma",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:uu,component:()=>t(()=>import("./Index.73524d7c.js"),["assets/Index.73524d7c.js","assets/Index.c5cedbac.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.fec4ac25.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Nu={path:"/pika",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:du,component:()=>t(()=>import("./Index.c6a6747d.js"),["assets/Index.c6a6747d.js","assets/Index.1861bb6e.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.fec4ac25.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},zu={path:"/flux",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:pu,component:()=>t(()=>import("./Index.5699ed83.js"),["assets/Index.5699ed83.js","assets/Index.9e24d783.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/ImageNavigator.1b18c692.js","assets/ImageNavigator.7f975528.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Mu={path:"/hailuo",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Eu,component:()=>t(()=>import("./Index.ce77cb81.js"),["assets/Index.ce77cb81.js","assets/Index.85a3f7a8.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/VideoNavigator.fec4ac25.js","assets/VideoNavigator.04579eb7.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},qu={path:"/headshots",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:lu,component:()=>t(()=>import("./Index.73ea71b1.js"),["assets/Index.73ea71b1.js","assets/Index.50894ed5.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/CopyToClipboard.4ce8036a.js","assets/CopyToClipboard.12a4b594.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Hu={path:"/suno",meta:{auth:!0},component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Ru,component:()=>t(()=>import("./Index.75e8d94c.js"),["assets/Index.75e8d94c.js","assets/Index.9deb653e.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/Status.67d14c74.js","assets/Status.f3aede3e.css","assets/InfoIcon.666b1460.js","assets/InfoIcon.26ac9f9c.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Bu={path:"/site",component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Qe,component:()=>t(()=>import("./Index.849ec28a.js"),["assets/Index.849ec28a.js","assets/Index.278c7793.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},Gu={path:"/profile",component:()=>t(()=>import("./Main.04e0ea7b.js"),["assets/Main.04e0ea7b.js","assets/Main.1968e108.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/Navigator.0f0d3202.js","assets/Navigator.07d34811.css","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"]),children:[{path:"",name:Ou,component:()=>t(()=>import("./Index.9f36a989.js"),["assets/Index.9f36a989.js","assets/Index.0014e6b1.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/DarkSelector.67469104.js","assets/DarkSelector.07c1e7ad.css","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]};const Fu=[{path:"/",component:()=>t(()=>import("./Index.ad3efe7d.js"),["assets/Index.ad3efe7d.js","assets/Index.57e792f1.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-vue-dark-switch.c8d2e590.js","assets/vendor-vue-dark-switch.90267f56.css","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js","assets/vendor-fortawesome.3e228e5c.js"]),children:[{path:"",name:ru,component:()=>t(()=>import("./Index.8d976918.js"),["assets/Index.8d976918.js","assets/Index.05213a21.css","assets/vendor-others.179d4404.js","assets/vendor-others.fbff9a31.css","assets/vendor-@vue.fc29b169.js","assets/vendor-element-plus.f90d6803.js","assets/vendor-fortawesome.3e228e5c.js","assets/vendor-axios.168e6950.js","assets/vendor-qrcode.8db51d62.js"])}]},yu,xu,bu,wu,Su,Uu,Nu,zu,Mu,qu,Hu,Cu,$u,Bu,Gu],Ke=ct({history:ut(),routes:Fu});Ke.beforeEach(async(s,e,o)=>{const i=b("LOCALE")||ee;return await no(i),o()});var Ye=(s,e)=>{const o=s.__vccOpts||s;for(const[i,r]of e)o[i]=r;return o};const Wu=ue({name:"AuthPanel",components:{ElDialog:Rt,QrCode:It},data(){return{showQR:!1,qrLink:""}},computed:{iframeUrl(){return`${F()}/auth/login?inviter_id=${this.inviterId}`},inviterId(){var e,o,i,r,c,n,a,u,v,A,T,l,I;return(r=(i=(o=(e=this.$store)==null?void 0:e.state)==null?void 0:o.site)==null?void 0:i.distribution)!=null&&r.force_inviter_id?(u=(a=(n=(c=this.$store)==null?void 0:c.state)==null?void 0:n.site)==null?void 0:a.distribution)==null?void 0:u.force_inviter_id:((v=this.$route.query.inviter_id)==null?void 0:v.toString())||b("INVITER_ID")||((I=(l=(T=(A=this.$store)==null?void 0:A.state)==null?void 0:T.site)==null?void 0:l.distribution)==null?void 0:I.default_inviter_id)},authenticated(){return!!this.$store.state.token.access}},mounted(){window.addEventListener("message",async s=>{var e;if(s.origin===F()){if(console.debug("received from child page",s),s.data.name==="login"){const o=s.data.data,i={access:o.access_token,refresh:o.refresh_token,expiration:o.expires_in};await this.$store.dispatch("setToken",i),await this.$store.dispatch("getUser"),(e=this.$store.state.site)!=null&&e.origin||(await this.$store.dispatch("initializeSite"),await this.$router.push({name:Qe})),window.location.reload()}if(s.data.name==="show_qr"){const o=s.data.data;this.qrLink=o.qrLink,this.showQR=!0}}})}}),Qu=["src"];function Ku(s,e,o,i,r,c){const n=$("el-dialog"),a=$("qr-code");return S(),Et(lt,null,[X(n,{"model-value":!s.authenticated,"modal-class":"dialog",width:"400px","show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1},{default:B(()=>[mt("iframe",{width:"360",height:"560",src:s.iframeUrl,frameborder:"0"},null,8,Qu)]),_:1},8,["model-value"]),X(n,{modelValue:s.showQR,"onUpdate:modelValue":e[0]||(e[0]=u=>s.showQR=u),width:"400px","show-close":!0},{default:B(()=>[s.qrLink?(S(),q(a,{key:0,value:s.qrLink,width:230,height:230,class:"qrcode",type:"image/jpeg",color:{dark:"#000000ff",light:"#ffffffff"}},null,8,["value"])):J("v-if",!0)]),_:1},8,["modelValue"])],64)}var Yu=Ye(Wu,[["render",Ku],["__scopeId","data-v-6c178208"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/AuthPanel.vue"]]);const Xu=ue({components:{ElConfigProvider:Ot,AuthPanel:Yu,ElTag:Dt},data(){return{isTest:U,locale:Lt}},computed:{authPopup(){return this.$store.state.auth.flow==="popup"&&this.$store.state.auth.visible}}});function Ju(s,e,o,i,r,c){const n=$("auth-panel"),a=$("router-view"),u=$("el-tag"),v=$("el-config-provider");return S(),q(v,{locale:s.locale},{default:B(()=>[s.authPopup?(S(),q(n,{key:0})):J("v-if",!0),X(a),s.isTest?(S(),q(u,{key:1,size:"large",class:"tag",type:"warning"},{default:B(()=>[vt(At(s.$t("index.button.testEnv")),1)]),_:1})):J("v-if",!0)]),_:1},8,["locale"])}var Zu=Ye(Xu,[["render",Ju],["__file","/home/runner/work/Nexior/Nexior/src/App.vue"]]);var ed={install:(s,e)=>{s.config.globalProperties.$dayjs={format(o,i=""){return dt(o).format(i||e.formatString)}}}};m.add(jt);m.add(gt);m.add(ht);m.add(Vt);m.add(kt);m.add(ft);m.add(bt);m.add(yt);m.add(wt);m.add(Ct);m.add($t);m.add(xt);m.add(St);m.add(Ut);m.add(Nt);m.add(zt);m.add(Mt);m.add(qt);m.add(Ht);m.add(Bt);m.add(Gt);m.add(Ft);m.add(Wt);m.add(Qt);m.add(Kt);m.add(Yt);m.add(Xt);m.add(Jt);m.add(Zt);m.add(es);m.add(ts);m.add(ss);m.add(os);m.add(rs);m.add(is);m.add(ns);m.add(as);m.add(_s);m.add(cs);m.add(us);m.add(ds);m.add(ps);m.add(Es);m.add(ls);m.add(ms);m.add(vs);m.add(As);m.add(Ts);m.add(Is);m.add(Rs);m.add(Os);m.add(Ds);m.add(Ls);m.add(Ps);m.add(js);m.add(gs);m.add(hs);m.add(Vs);m.add(ks);m.add(fs);m.add(bs);m.add(ys);m.add(ws);m.add(Cs);m.add($s);m.add(xs);m.add(Ss);m.add(Us);m.add(Ns);m.add(zs);m.add(Ms);m.add(qs);m.add(Hs);m.add(Bs);m.add(Gs);m.add(Fs);m.add(Ws);m.add(Qs);m.add(Ks);const td=async()=>{await eu(),await Bc(),await Yc(),await Xc(),await Kc(),Jc(),Zc(),Gc(),Fc(),Wc(),Qc(),tu();const s=Tt(Zu);s.use(Ke),s.use(P),s.use(L),s.use(ed,{formatString:"YYYY-MM-DD HH:mm:ss"}),s.directive("loading",Pt),s.mount("#app"),console.debug("app mounted"),window.app=s};td();export{Re as $,Qe as A,g as B,P as C,Hd as D,gu as E,k as F,Pu as G,ju as H,h as I,f as J,bo as K,cd as L,jo as M,dd as N,pd as O,Lo as P,E as Q,ru as R,so as S,wo as T,Ed as U,Le as V,Ae as W,Ie as X,se as Y,Oe as Z,Ye as _,iu as a,ge as a0,he as a1,je as a2,Bd as a3,ud as a4,Te as a5,t as a6,L as a7,ld as a8,vd as a9,Mo as aA,Cd as aB,xd as aC,$d as aD,Ho as aE,Nd as aF,Ud as aG,Sd as aH,Go as aI,zd as aJ,Wo as aK,Md as aL,Ko as aM,Xo as aN,qd as aO,er as aP,Ue as aQ,Id as aa,md as ab,Ad as ac,$o as ad,Td as ae,Vu as af,ku as ag,fo as ah,Iu as ai,Au as aj,y as ak,vu as al,Ld as am,Pd as an,Rd as ao,Od as ap,jd as aq,kd as ar,fd as as,bd as at,yd as au,hd as av,gd as aw,wd as ax,Vd as ay,Dd as az,Du as b,F as c,ce as d,Lu as e,fu as f,x as g,hu as h,oe as i,_e as j,au as k,_u as l,cu as m,Gd as n,Ru as o,Yd as p,uu as q,du as r,no as s,Eu as t,Fd as u,Wd as v,Qd as w,lu as x,Kd as y,Ou as z};