@acedatacloud/nexior 1.14.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/README.md +6 -0
  2. package/dist/assets/{Auth.8aca5700.js → Auth.fcf6f350.js} +1 -1
  3. package/dist/assets/Buy.3e53578a.js +1 -0
  4. package/dist/assets/{Callback.9c36329a.js → Callback.ce8eda99.js} +1 -1
  5. package/dist/assets/Chatdoc.97a06eaf.js +1 -0
  6. package/dist/assets/{Console.c5886171.js → Console.ccfc6a57.js} +1 -1
  7. package/dist/assets/Conversation.89f6049a.js +1 -0
  8. package/dist/assets/Conversation.a9250468.js +1 -0
  9. package/dist/assets/{CopyToClipboard.2106bfb3.js → CopyToClipboard.381f0f76.js} +1 -1
  10. package/dist/assets/{DarkSelector.891e6afc.js → DarkSelector.63581194.js} +1 -1
  11. package/dist/assets/Detail.c13ccae7.js +1 -0
  12. package/dist/assets/History.abef6796.js +1 -0
  13. package/dist/assets/{Index.b50c52d1.js → Index.19c7dcce.js} +1 -1
  14. package/dist/assets/Index.1db95ab4.css +1 -0
  15. package/dist/assets/{Index.b4d61d0f.js → Index.3e2c9cbe.js} +1 -1
  16. package/dist/assets/Index.4271f59f.css +1 -0
  17. package/dist/assets/Index.570f997d.js +1 -0
  18. package/dist/assets/{Index.8c82e997.js → Index.8ad4b90f.js} +1 -1
  19. package/dist/assets/Index.9a88c394.js +3 -0
  20. package/dist/assets/Index.b91758ed.js +1 -0
  21. package/dist/assets/{Index.5490b8cc.js → Index.c2c16554.js} +1 -1
  22. package/dist/assets/{Index.ddbad02c.js → Index.c88969ff.js} +1 -1
  23. package/dist/assets/Index.ecf91c9c.js +1 -0
  24. package/dist/assets/InfoIcon.0ccf50c0.js +1 -0
  25. package/dist/assets/Invitees.03a7d7d1.js +1 -0
  26. package/dist/assets/List.6277bbcb.js +1 -0
  27. package/dist/assets/{List.b8c1fa93.js → List.651e2e41.js} +1 -1
  28. package/dist/assets/{List.a70a4d80.js → List.d2052451.js} +1 -1
  29. package/dist/assets/{Login.2ab375e6.js → Login.af479436.js} +1 -1
  30. package/dist/assets/{Main.cb911922.js → Main.51922f1f.js} +1 -1
  31. package/dist/assets/{Manage.08da6991.js → Manage.e1ad88f9.js} +1 -1
  32. package/dist/assets/Navigator.754c4cc3.js +1 -0
  33. package/dist/assets/{Pagination.27a1c9eb.js → Pagination.dec8e1e6.js} +1 -1
  34. package/dist/assets/{Setting.6868d79d.js → Setting.d55fe098.js} +1 -1
  35. package/dist/assets/{Status.008084b8.js → Status.6470f277.js} +2 -2
  36. package/dist/assets/common.044074cf.js +1 -0
  37. package/dist/assets/common.109e7ff4.js +1 -0
  38. package/dist/assets/common.1b11e7dd.js +1 -0
  39. package/dist/assets/common.1b8a6fad.js +1 -0
  40. package/dist/assets/common.48d32b22.js +1 -0
  41. package/dist/assets/common.4e013619.js +1 -0
  42. package/dist/assets/common.5acccd65.js +1 -0
  43. package/dist/assets/common.5ba35c30.js +1 -0
  44. package/dist/assets/common.66287043.js +1 -0
  45. package/dist/assets/common.a8fdc254.js +1 -0
  46. package/dist/assets/common.b616b046.js +1 -0
  47. package/dist/assets/common.d1e5bb3c.js +1 -0
  48. package/dist/assets/common.e47a4f0e.js +1 -0
  49. package/dist/assets/common.ea625089.js +1 -0
  50. package/dist/assets/common.eb633c73.js +1 -0
  51. package/dist/assets/common.ed1b34b6.js +1 -0
  52. package/dist/assets/common.fbd5f06e.js +1 -0
  53. package/dist/assets/common.fe4dbc69.js +1 -0
  54. package/dist/assets/disk.4907c891.png +0 -0
  55. package/dist/assets/distribution.1b3795a1.js +1 -0
  56. package/dist/assets/distribution.1e134630.js +1 -0
  57. package/dist/assets/distribution.1f6f0aad.js +1 -0
  58. package/dist/assets/distribution.2ec6df7b.js +1 -0
  59. package/dist/assets/{distribution.47e90af7.js → distribution.33d5a895.js} +1 -1
  60. package/dist/assets/distribution.3c509699.js +1 -0
  61. package/dist/assets/distribution.491ca9b2.js +1 -0
  62. package/dist/assets/distribution.5f5c584d.js +1 -0
  63. package/dist/assets/distribution.64bff8ed.js +1 -0
  64. package/dist/assets/distribution.83895bc1.js +1 -0
  65. package/dist/assets/distribution.88ab13b6.js +1 -0
  66. package/dist/assets/distribution.963732a4.js +1 -0
  67. package/dist/assets/distribution.9bb452a2.js +1 -0
  68. package/dist/assets/distribution.9c0de6c8.js +1 -0
  69. package/dist/assets/distribution.b0da96ca.js +1 -0
  70. package/dist/assets/distribution.bc72d9a2.js +1 -0
  71. package/dist/assets/distribution.c4b01d20.js +1 -0
  72. package/dist/assets/distribution.cbe62eec.js +1 -0
  73. package/dist/assets/distribution.d5e7a07b.js +1 -0
  74. package/dist/assets/index.37aa4ee5.js +1 -0
  75. package/dist/assets/index.3eef99ee.js +1 -0
  76. package/dist/assets/index.5776557e.js +1 -0
  77. package/dist/assets/{index.e47b0e8e.css → index.62d00e03.css} +1 -1
  78. package/dist/assets/index.746cde97.js +1 -0
  79. package/dist/assets/index.b22b07a1.js +1 -0
  80. package/dist/assets/index.c0daeb4d.js +3 -0
  81. package/dist/assets/index.e3a2de47.js +1 -0
  82. package/dist/assets/order.71dc86f2.js +1 -0
  83. package/dist/assets/price.aaf227e5.js +1 -0
  84. package/dist/assets/site.04342594.js +1 -0
  85. package/dist/assets/site.1c9ec64c.js +1 -0
  86. package/dist/assets/site.229ac830.js +1 -0
  87. package/dist/assets/site.3bb444e9.js +1 -0
  88. package/dist/assets/site.410e1200.js +1 -0
  89. package/dist/assets/site.4bce6cd8.js +1 -0
  90. package/dist/assets/site.6bc25a74.js +1 -0
  91. package/dist/assets/site.6c1f3a29.js +1 -0
  92. package/dist/assets/site.6d67bbfa.js +1 -0
  93. package/dist/assets/site.71c3c420.js +1 -0
  94. package/dist/assets/site.7eb7ffdd.js +1 -0
  95. package/dist/assets/site.821c1d32.js +1 -0
  96. package/dist/assets/site.8fcc5b86.js +1 -0
  97. package/dist/assets/site.ac28ad37.js +1 -0
  98. package/dist/assets/site.bf33dbb1.js +1 -0
  99. package/dist/assets/site.c6c5e419.js +1 -0
  100. package/dist/assets/site.d5d649c0.js +1 -0
  101. package/dist/assets/site.e273123f.js +1 -0
  102. package/dist/assets/suno.0badb9f0.js +1 -0
  103. package/dist/assets/suno.0d9f074e.js +1 -0
  104. package/dist/assets/suno.21468d40.js +1 -0
  105. package/dist/assets/suno.2c1fd4ea.js +1 -0
  106. package/dist/assets/suno.42005a16.js +1 -0
  107. package/dist/assets/suno.761a7220.js +1 -0
  108. package/dist/assets/suno.87b64260.js +1 -0
  109. package/dist/assets/suno.897a0570.js +1 -0
  110. package/dist/assets/suno.8e546667.js +1 -0
  111. package/dist/assets/suno.9beeb466.js +1 -0
  112. package/dist/assets/suno.b1f2746b.js +1 -0
  113. package/dist/assets/suno.b2be77d7.js +1 -0
  114. package/dist/assets/suno.ba6049a7.js +1 -0
  115. package/dist/assets/suno.bddf1098.js +1 -0
  116. package/dist/assets/suno.c2a9ff15.js +1 -0
  117. package/dist/assets/suno.c7aa0a5b.js +1 -0
  118. package/dist/assets/suno.e5b7e3d2.js +1 -0
  119. package/dist/assets/suno.f2e61ae4.js +1 -0
  120. package/dist/assets/user.073bb362.js +1 -0
  121. package/dist/assets/user.1b7b8687.js +1 -0
  122. package/dist/assets/user.226c4ac3.js +1 -0
  123. package/dist/assets/user.2643677a.js +1 -0
  124. package/dist/assets/user.2710acac.js +1 -0
  125. package/dist/assets/user.36aef35e.js +1 -0
  126. package/dist/assets/user.5a7c2a9b.js +1 -0
  127. package/dist/assets/user.6bd7b055.js +1 -0
  128. package/dist/assets/user.828fefac.js +1 -0
  129. package/dist/assets/user.8d060d6b.js +1 -0
  130. package/dist/assets/user.97c9aa07.js +1 -0
  131. package/dist/assets/user.a49d9deb.js +1 -0
  132. package/dist/assets/user.ab1968d5.js +1 -0
  133. package/dist/assets/user.b22915f2.js +1 -0
  134. package/dist/assets/user.e9383d4b.js +1 -0
  135. package/dist/assets/user.ebe4080b.js +1 -0
  136. package/dist/assets/user.ef4bd13c.js +1 -0
  137. package/dist/assets/user.f5ae380e.js +1 -0
  138. package/dist/assets/{vendor-@vue.d21dc667.js → vendor-@vue.31495dbd.js} +1 -1
  139. package/dist/assets/vendor-element-plus.eeef3ee7.js +20 -0
  140. package/dist/assets/{vendor-fortawesome.24d45401.js → vendor-fortawesome.3ae42787.js} +3 -3
  141. package/dist/assets/{vendor-markdown.6cfcfcf1.js → vendor-markdown.95c097e3.js} +1 -1
  142. package/dist/assets/vendor-others.decd85ac.js +99 -0
  143. package/dist/assets/{vendor-qrcode.44215e6b.js → vendor-qrcode.93be07bd.js} +1 -1
  144. package/dist/assets/{vendor-vue-dark-switch.e68439ce.js → vendor-vue-dark-switch.81063cc1.js} +1 -1
  145. package/dist/index.html +6 -6
  146. package/package.json +2 -1
  147. package/dist/assets/Buy.2b6aa8c1.js +0 -1
  148. package/dist/assets/Chatdoc.8299dea5.js +0 -1
  149. package/dist/assets/Conversation.5b86fe91.js +0 -1
  150. package/dist/assets/Conversation.6f99d9d2.js +0 -1
  151. package/dist/assets/Detail.092eb633.js +0 -1
  152. package/dist/assets/History.8c4d181c.js +0 -1
  153. package/dist/assets/Index.05b7f505.js +0 -1
  154. package/dist/assets/Index.3aad8de6.js +0 -1
  155. package/dist/assets/Index.678a640b.css +0 -1
  156. package/dist/assets/Index.7f156793.js +0 -1
  157. package/dist/assets/InfoIcon.c9cc51c0.js +0 -1
  158. package/dist/assets/Invitees.ff5675dd.js +0 -1
  159. package/dist/assets/List.4ec1d9a2.js +0 -1
  160. package/dist/assets/Navigator.f232eadc.js +0 -1
  161. package/dist/assets/common.0540f1f5.js +0 -1
  162. package/dist/assets/common.07f716a0.js +0 -1
  163. package/dist/assets/common.0f4c31df.js +0 -1
  164. package/dist/assets/common.1397d80f.js +0 -1
  165. package/dist/assets/common.1922aa0e.js +0 -1
  166. package/dist/assets/common.30610413.js +0 -1
  167. package/dist/assets/common.357a814c.js +0 -1
  168. package/dist/assets/common.3d3a3d05.js +0 -1
  169. package/dist/assets/common.555a4a4a.js +0 -1
  170. package/dist/assets/common.5ac57e54.js +0 -1
  171. package/dist/assets/common.6ed4539c.js +0 -1
  172. package/dist/assets/common.7e69ecac.js +0 -1
  173. package/dist/assets/common.a0ad7070.js +0 -1
  174. package/dist/assets/common.a6ca4846.js +0 -1
  175. package/dist/assets/common.b8618fb7.js +0 -1
  176. package/dist/assets/common.cc3d33da.js +0 -1
  177. package/dist/assets/common.d3c44145.js +0 -1
  178. package/dist/assets/common.e25db9f1.js +0 -1
  179. package/dist/assets/distribution.0e627aa0.js +0 -1
  180. package/dist/assets/distribution.10da58a3.js +0 -1
  181. package/dist/assets/distribution.1be5fd62.js +0 -1
  182. package/dist/assets/distribution.2fe53ff7.js +0 -1
  183. package/dist/assets/distribution.331530fc.js +0 -1
  184. package/dist/assets/distribution.6c0604c9.js +0 -1
  185. package/dist/assets/distribution.6c95193b.js +0 -1
  186. package/dist/assets/distribution.84fffa68.js +0 -1
  187. package/dist/assets/distribution.889ae0ab.js +0 -1
  188. package/dist/assets/distribution.89bf7c90.js +0 -1
  189. package/dist/assets/distribution.8b6d2150.js +0 -1
  190. package/dist/assets/distribution.9a60a223.js +0 -1
  191. package/dist/assets/distribution.b01f36fc.js +0 -1
  192. package/dist/assets/distribution.b31b6398.js +0 -1
  193. package/dist/assets/distribution.c480ddef.js +0 -1
  194. package/dist/assets/distribution.e0d770df.js +0 -1
  195. package/dist/assets/distribution.e699b122.js +0 -1
  196. package/dist/assets/distribution.f44f0750.js +0 -1
  197. package/dist/assets/index.60026bea.js +0 -1
  198. package/dist/assets/index.6c86fd3e.js +0 -1
  199. package/dist/assets/index.90f42835.js +0 -1
  200. package/dist/assets/index.a2b68aa4.js +0 -1
  201. package/dist/assets/index.b4e14c52.js +0 -3
  202. package/dist/assets/index.b8a6ff08.js +0 -1
  203. package/dist/assets/index.eeb72b9c.js +0 -1
  204. package/dist/assets/order.4c48c3e7.js +0 -1
  205. package/dist/assets/site.02599324.js +0 -1
  206. package/dist/assets/site.1e909d91.js +0 -1
  207. package/dist/assets/site.27fc9f24.js +0 -1
  208. package/dist/assets/site.3817abb8.js +0 -1
  209. package/dist/assets/site.48168b7e.js +0 -1
  210. package/dist/assets/site.597a4889.js +0 -1
  211. package/dist/assets/site.59f9e1a5.js +0 -1
  212. package/dist/assets/site.5a181210.js +0 -1
  213. package/dist/assets/site.5dfda6a3.js +0 -1
  214. package/dist/assets/site.8b6a9594.js +0 -1
  215. package/dist/assets/site.8de35083.js +0 -1
  216. package/dist/assets/site.922474e0.js +0 -1
  217. package/dist/assets/site.ba7f1019.js +0 -1
  218. package/dist/assets/site.c085010a.js +0 -1
  219. package/dist/assets/site.d945dada.js +0 -1
  220. package/dist/assets/site.e3f6bde9.js +0 -1
  221. package/dist/assets/site.f2218f75.js +0 -1
  222. package/dist/assets/site.f7d8c244.js +0 -1
  223. package/dist/assets/user.1a7481d2.js +0 -1
  224. package/dist/assets/user.22552528.js +0 -1
  225. package/dist/assets/user.2752cf82.js +0 -1
  226. package/dist/assets/user.3d0a4859.js +0 -1
  227. package/dist/assets/user.491b25c6.js +0 -1
  228. package/dist/assets/user.49e217dc.js +0 -1
  229. package/dist/assets/user.4d42da6c.js +0 -1
  230. package/dist/assets/user.702d380a.js +0 -1
  231. package/dist/assets/user.7787154a.js +0 -1
  232. package/dist/assets/user.7e35c474.js +0 -1
  233. package/dist/assets/user.9d1964b4.js +0 -1
  234. package/dist/assets/user.a5b440e6.js +0 -1
  235. package/dist/assets/user.a68b27fd.js +0 -1
  236. package/dist/assets/user.b0d26b06.js +0 -1
  237. package/dist/assets/user.ba32071d.js +0 -1
  238. package/dist/assets/user.d3be0d65.js +0 -1
  239. package/dist/assets/user.fc30bb53.js +0 -1
  240. package/dist/assets/user.fcc2ff5e.js +0 -1
  241. package/dist/assets/vendor-element-plus.db44604a.js +0 -20
  242. package/dist/assets/vendor-others.6be4d17a.js +0 -99
@@ -1,4 +1,4 @@
1
- import{o as Mt,q as Pt,_ as Rt}from"./vendor-others.6be4d17a.js";import{H as Lt,r as Ut,s as Dt,ah as Ft}from"./vendor-@vue.d21dc667.js";var K={},kt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},dt={},I={};let it;const zt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];I.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};I.getSymbolTotalCodewords=function(e){return zt[e]};I.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};I.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');it=e};I.isKanjiModeEnabled=function(){return typeof it!="undefined"};I.toSJIS=function(e){return it(e)};var $={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},t.from=function(r,n){if(t.isValid(r))return r;try{return e(r)}catch{return n}}})($);function ht(){this.buffer=[],this.length=0}ht.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i<e;i++)this.putBit((t>>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Vt=ht;function J(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}J.prototype.set=function(t,e,i,r){const n=t*this.size+e;this.data[n]=i,r&&(this.reservedBit[n]=!0)};J.prototype.get=function(t,e){return this.data[t*this.size+e]};J.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};J.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var Ht=J,mt={};(function(t){const e=I.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=e(r),s=o===145?26:Math.ceil((o-13)/(2*n-2))*2,a=[o-7];for(let u=1;u<n-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},t.getPositions=function(r){const n=[],o=t.getRowColCoords(r),s=o.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||n.push([o[a],o[u]]);return n}})(mt);var wt={};const Kt=I.getSymbolSize,lt=7;wt.getPositions=function(e){const i=Kt(e);return[[0,0],[i-lt,0],[0,i-lt]]};var yt={};(function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};t.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){const o=n.size;let s=0,a=0,u=0,c=null,l=null;for(let p=0;p<o;p++){a=u=0,c=l=null;for(let m=0;m<o;m++){let g=n.get(p,m);g===c?a++:(a>=5&&(s+=e.N1+(a-5)),c=g,a=1),g=n.get(m,p),g===l?u++:(u>=5&&(s+=e.N1+(u-5)),l=g,u=1)}a>=5&&(s+=e.N1+(a-5)),u>=5&&(s+=e.N1+(u-5))}return s},t.getPenaltyN2=function(n){const o=n.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const c=n.get(a,u)+n.get(a,u+1)+n.get(a+1,u)+n.get(a+1,u+1);(c===4||c===0)&&s++}return s*e.N2},t.getPenaltyN3=function(n){const o=n.size;let s=0,a=0,u=0;for(let c=0;c<o;c++){a=u=0;for(let l=0;l<o;l++)a=a<<1&2047|n.get(c,l),l>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|n.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*e.N3},t.getPenaltyN4=function(n){let o=0;const s=n.data.length;for(let u=0;u<s;u++)o+=n.data[u];return Math.abs(Math.ceil(o*100/s/5)-10)*e.N4};function i(r,n,o){switch(r){case t.Patterns.PATTERN000:return(n+o)%2===0;case t.Patterns.PATTERN001:return n%2===0;case t.Patterns.PATTERN010:return o%3===0;case t.Patterns.PATTERN011:return(n+o)%3===0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(o/3))%2===0;case t.Patterns.PATTERN101:return n*o%2+n*o%3===0;case t.Patterns.PATTERN110:return(n*o%2+n*o%3)%2===0;case t.Patterns.PATTERN111:return(n*o%3+(n+o)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}t.applyMask=function(n,o){const s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,i(n,u,a))},t.getBestMask=function(n,o){const s=Object.keys(t.Patterns).length;let a=0,u=1/0;for(let c=0;c<s;c++){o(c),t.applyMask(c,n);const l=t.getPenaltyN1(n)+t.getPenaltyN2(n)+t.getPenaltyN3(n)+t.getPenaltyN4(n);t.applyMask(c,n),l<u&&(u=l,a=c)}return a}})(yt);var j={};const R=$,O=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],_=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(e,i){switch(i){case R.L:return O[(e-1)*4+0];case R.M:return O[(e-1)*4+1];case R.Q:return O[(e-1)*4+2];case R.H:return O[(e-1)*4+3];default:return}};j.getTotalCodewordsCount=function(e,i){switch(i){case R.L:return _[(e-1)*4+0];case R.M:return _[(e-1)*4+1];case R.Q:return _[(e-1)*4+2];case R.H:return _[(e-1)*4+3];default:return}};var Et={},G={};const V=new Uint8Array(512),v=new Uint8Array(256);(function(){let e=1;for(let i=0;i<255;i++)V[i]=e,v[e]=i,e<<=1,e&256&&(e^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();G.log=function(e){if(e<1)throw new Error("log("+e+")");return v[e]};G.exp=function(e){return V[e]};G.mul=function(e,i){return e===0||i===0?0:V[v[e]+v[i]]};(function(t){const e=G;t.mul=function(r,n){const o=new Uint8Array(r.length+n.length-1);for(let s=0;s<r.length;s++)for(let a=0;a<n.length;a++)o[s+a]^=e.mul(r[s],n[a]);return o},t.mod=function(r,n){let o=new Uint8Array(r);for(;o.length-n.length>=0;){const s=o[0];for(let u=0;u<n.length;u++)o[u]^=e.mul(n[u],s);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}return o},t.generateECPolynomial=function(r){let n=new Uint8Array([1]);for(let o=0;o<r;o++)n=t.mul(n,new Uint8Array([1,e.exp(o)]));return n}})(Et);const Ct=Et;function st(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}st.prototype.initialize=function(e){this.degree=e,this.genPoly=Ct.generateECPolynomial(this.degree)};st.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(e.length+this.degree);i.set(e);const r=Ct.mod(i,this.genPoly),n=this.degree-r.length;if(n>0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var Jt=st,Bt={},L={},ut={};ut.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var b={};const pt="[0-9]+",Ot="[A-Z $%*+\\-./:]+";let H="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";H=H.replace(/u/g,"\\u");const _t="(?:(?![A-Z0-9 $%*+\\-./:]|"+H+`)(?:.|[\r
1
+ import{o as Mt,q as Pt,_ as Rt}from"./vendor-others.decd85ac.js";import{H as Lt,r as Ut,s as Dt,ah as Ft}from"./vendor-@vue.31495dbd.js";var K={},kt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},dt={},I={};let it;const zt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];I.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};I.getSymbolTotalCodewords=function(e){return zt[e]};I.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};I.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');it=e};I.isKanjiModeEnabled=function(){return typeof it!="undefined"};I.toSJIS=function(e){return it(e)};var $={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},t.from=function(r,n){if(t.isValid(r))return r;try{return e(r)}catch{return n}}})($);function ht(){this.buffer=[],this.length=0}ht.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i<e;i++)this.putBit((t>>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Vt=ht;function J(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}J.prototype.set=function(t,e,i,r){const n=t*this.size+e;this.data[n]=i,r&&(this.reservedBit[n]=!0)};J.prototype.get=function(t,e){return this.data[t*this.size+e]};J.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};J.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var Ht=J,mt={};(function(t){const e=I.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=e(r),s=o===145?26:Math.ceil((o-13)/(2*n-2))*2,a=[o-7];for(let u=1;u<n-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},t.getPositions=function(r){const n=[],o=t.getRowColCoords(r),s=o.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||n.push([o[a],o[u]]);return n}})(mt);var wt={};const Kt=I.getSymbolSize,lt=7;wt.getPositions=function(e){const i=Kt(e);return[[0,0],[i-lt,0],[0,i-lt]]};var yt={};(function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};t.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){const o=n.size;let s=0,a=0,u=0,c=null,l=null;for(let p=0;p<o;p++){a=u=0,c=l=null;for(let m=0;m<o;m++){let g=n.get(p,m);g===c?a++:(a>=5&&(s+=e.N1+(a-5)),c=g,a=1),g=n.get(m,p),g===l?u++:(u>=5&&(s+=e.N1+(u-5)),l=g,u=1)}a>=5&&(s+=e.N1+(a-5)),u>=5&&(s+=e.N1+(u-5))}return s},t.getPenaltyN2=function(n){const o=n.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const c=n.get(a,u)+n.get(a,u+1)+n.get(a+1,u)+n.get(a+1,u+1);(c===4||c===0)&&s++}return s*e.N2},t.getPenaltyN3=function(n){const o=n.size;let s=0,a=0,u=0;for(let c=0;c<o;c++){a=u=0;for(let l=0;l<o;l++)a=a<<1&2047|n.get(c,l),l>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|n.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*e.N3},t.getPenaltyN4=function(n){let o=0;const s=n.data.length;for(let u=0;u<s;u++)o+=n.data[u];return Math.abs(Math.ceil(o*100/s/5)-10)*e.N4};function i(r,n,o){switch(r){case t.Patterns.PATTERN000:return(n+o)%2===0;case t.Patterns.PATTERN001:return n%2===0;case t.Patterns.PATTERN010:return o%3===0;case t.Patterns.PATTERN011:return(n+o)%3===0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(o/3))%2===0;case t.Patterns.PATTERN101:return n*o%2+n*o%3===0;case t.Patterns.PATTERN110:return(n*o%2+n*o%3)%2===0;case t.Patterns.PATTERN111:return(n*o%3+(n+o)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}t.applyMask=function(n,o){const s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,i(n,u,a))},t.getBestMask=function(n,o){const s=Object.keys(t.Patterns).length;let a=0,u=1/0;for(let c=0;c<s;c++){o(c),t.applyMask(c,n);const l=t.getPenaltyN1(n)+t.getPenaltyN2(n)+t.getPenaltyN3(n)+t.getPenaltyN4(n);t.applyMask(c,n),l<u&&(u=l,a=c)}return a}})(yt);var j={};const R=$,O=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],_=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(e,i){switch(i){case R.L:return O[(e-1)*4+0];case R.M:return O[(e-1)*4+1];case R.Q:return O[(e-1)*4+2];case R.H:return O[(e-1)*4+3];default:return}};j.getTotalCodewordsCount=function(e,i){switch(i){case R.L:return _[(e-1)*4+0];case R.M:return _[(e-1)*4+1];case R.Q:return _[(e-1)*4+2];case R.H:return _[(e-1)*4+3];default:return}};var Et={},G={};const V=new Uint8Array(512),v=new Uint8Array(256);(function(){let e=1;for(let i=0;i<255;i++)V[i]=e,v[e]=i,e<<=1,e&256&&(e^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();G.log=function(e){if(e<1)throw new Error("log("+e+")");return v[e]};G.exp=function(e){return V[e]};G.mul=function(e,i){return e===0||i===0?0:V[v[e]+v[i]]};(function(t){const e=G;t.mul=function(r,n){const o=new Uint8Array(r.length+n.length-1);for(let s=0;s<r.length;s++)for(let a=0;a<n.length;a++)o[s+a]^=e.mul(r[s],n[a]);return o},t.mod=function(r,n){let o=new Uint8Array(r);for(;o.length-n.length>=0;){const s=o[0];for(let u=0;u<n.length;u++)o[u]^=e.mul(n[u],s);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}return o},t.generateECPolynomial=function(r){let n=new Uint8Array([1]);for(let o=0;o<r;o++)n=t.mul(n,new Uint8Array([1,e.exp(o)]));return n}})(Et);const Ct=Et;function st(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}st.prototype.initialize=function(e){this.degree=e,this.genPoly=Ct.generateECPolynomial(this.degree)};st.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(e.length+this.degree);i.set(e);const r=Ct.mod(i,this.genPoly),n=this.degree-r.length;if(n>0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var Jt=st,Bt={},L={},ut={};ut.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var b={};const pt="[0-9]+",Ot="[A-Z $%*+\\-./:]+";let H="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";H=H.replace(/u/g,"\\u");const _t="(?:(?![A-Z0-9 $%*+\\-./:]|"+H+`)(?:.|[\r
2
2
  ]))+`;b.KANJI=new RegExp(H,"g");b.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");b.BYTE=new RegExp(_t,"g");b.NUMERIC=new RegExp(pt,"g");b.ALPHANUMERIC=new RegExp(Ot,"g");const vt=new RegExp("^"+H+"$"),Yt=new RegExp("^"+pt+"$"),$t=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");b.testKanji=function(e){return vt.test(e)};b.testNumeric=function(e){return Yt.test(e)};b.testAlphanumeric=function(e){return $t.test(e)};(function(t){const e=ut,i=b;t.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return i.testNumeric(o)?t.NUMERIC:i.testAlphanumeric(o)?t.ALPHANUMERIC:i.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function r(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+n)}}t.from=function(o,s){if(t.isValid(o))return o;try{return r(o)}catch{return s}}})(L);(function(t){const e=I,i=j,r=$,n=L,o=ut,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=e.getBCHDigit(s);function u(m,g,y){for(let E=1;E<=40;E++)if(g<=t.getCapacity(E,y,m))return E}function c(m,g){return n.getCharCountIndicator(m,g)+4}function l(m,g){let y=0;return m.forEach(function(E){y+=c(E.mode,g)+E.getBitsLength()}),y}function p(m,g){for(let y=1;y<=40;y++)if(l(m,y)<=t.getCapacity(y,g,n.MIXED))return y}t.from=function(g,y){return o.isValid(g)?parseInt(g,10):y},t.getCapacity=function(g,y,E){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof E=="undefined"&&(E=n.BYTE);const N=e.getSymbolTotalCodewords(g),h=i.getTotalCodewordsCount(g,y),w=(N-h)*8;if(E===n.MIXED)return w;const d=w-c(E,g);switch(E){case n.NUMERIC:return Math.floor(d/10*3);case n.ALPHANUMERIC:return Math.floor(d/11*2);case n.KANJI:return Math.floor(d/13);case n.BYTE:default:return Math.floor(d/8)}},t.getBestVersionForData=function(g,y){let E;const N=r.from(y,r.M);if(Array.isArray(g)){if(g.length>1)return p(g,N);if(g.length===0)return 1;E=g[0]}else E=g;return u(E.mode,E.getLength(),N)},t.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let y=g<<12;for(;e.getBCHDigit(y)-a>=0;)y^=s<<e.getBCHDigit(y)-a;return g<<12|y}})(Bt);var At={};const et=I,Nt=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,jt=1<<14|1<<12|1<<10|1<<4|1<<1,ft=et.getBCHDigit(Nt);At.getEncodedBits=function(e,i){const r=e.bit<<3|i;let n=r<<10;for(;et.getBCHDigit(n)-ft>=0;)n^=Nt<<et.getBCHDigit(n)-ft;return(r<<10|n)^jt};var It={};const Gt=L;function U(t){this.mode=Gt.NUMERIC,this.data=t.toString()}U.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(e){let i,r,n;for(i=0;i+3<=this.data.length;i+=3)r=this.data.substr(i,3),n=parseInt(r,10),e.put(n,10);const o=this.data.length-i;o>0&&(r=this.data.substr(i),n=parseInt(r,10),e.put(n,o*3+1))};var Qt=U;const qt=L,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function D(t){this.mode=qt.ALPHANUMERIC,this.data=t}D.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(e){let i;for(i=0;i+2<=this.data.length;i+=2){let r=W.indexOf(this.data[i])*45;r+=W.indexOf(this.data[i+1]),e.put(r,11)}this.data.length%2&&e.put(W.indexOf(this.data[i]),6)};var Wt=D;const Xt=Mt,Zt=L;function F(t){this.mode=Zt.BYTE,typeof t=="string"&&(t=Xt(t)),this.data=new Uint8Array(t)}F.getBitsLength=function(e){return e*8};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(t){for(let e=0,i=this.data.length;e<i;e++)t.put(this.data[e],8)};var xt=F;const te=L,ee=I;function k(t){this.mode=te.KANJI,this.data=t}k.getBitsLength=function(e){return e*13};k.prototype.getLength=function(){return this.data.length};k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)};k.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let i=ee.toSJIS(this.data[e]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+`
3
3
  Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),t.put(i,13)}};var ne=k;(function(t){const e=L,i=Qt,r=Wt,n=xt,o=ne,s=b,a=I,u=Pt.exports;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,w,d){const f=[];let C;for(;(C=h.exec(d))!==null;)f.push({data:C[0],index:C.index,mode:w,length:C[0].length});return f}function p(h){const w=l(s.NUMERIC,e.NUMERIC,h),d=l(s.ALPHANUMERIC,e.ALPHANUMERIC,h);let f,C;return a.isKanjiModeEnabled()?(f=l(s.BYTE,e.BYTE,h),C=l(s.KANJI,e.KANJI,h)):(f=l(s.BYTE_KANJI,e.BYTE,h),C=[]),w.concat(d,f,C).sort(function(A,S){return A.index-S.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function m(h,w){switch(w){case e.NUMERIC:return i.getBitsLength(h);case e.ALPHANUMERIC:return r.getBitsLength(h);case e.KANJI:return o.getBitsLength(h);case e.BYTE:return n.getBitsLength(h)}}function g(h){return h.reduce(function(w,d){const f=w.length-1>=0?w[w.length-1]:null;return f&&f.mode===d.mode?(w[w.length-1].data+=d.data,w):(w.push(d),w)},[])}function y(h){const w=[];for(let d=0;d<h.length;d++){const f=h[d];switch(f.mode){case e.NUMERIC:w.push([f,{data:f.data,mode:e.ALPHANUMERIC,length:f.length},{data:f.data,mode:e.BYTE,length:f.length}]);break;case e.ALPHANUMERIC:w.push([f,{data:f.data,mode:e.BYTE,length:f.length}]);break;case e.KANJI:w.push([f,{data:f.data,mode:e.BYTE,length:c(f.data)}]);break;case e.BYTE:w.push([{data:f.data,mode:e.BYTE,length:c(f.data)}])}}return w}function E(h,w){const d={},f={start:{}};let C=["start"];for(let B=0;B<h.length;B++){const A=h[B],S=[];for(let P=0;P<A.length;P++){const T=A[P],z=""+B+P;S.push(z),d[z]={node:T,lastCount:0},f[z]={};for(let q=0;q<C.length;q++){const M=C[q];d[M]&&d[M].node.mode===T.mode?(f[M][z]=m(d[M].lastCount+T.length,T.mode)-m(d[M].lastCount,T.mode),d[M].lastCount+=T.length):(d[M]&&(d[M].lastCount=T.length),f[M][z]=m(T.length,T.mode)+4+e.getCharCountIndicator(T.mode,w))}}C=S}for(let B=0;B<C.length;B++)f[C[B]].end=0;return{map:f,table:d}}function N(h,w){let d;const f=e.getBestModeForData(h);if(d=e.from(w,f),d!==e.BYTE&&d.bit<f.bit)throw new Error('"'+h+'" cannot be encoded with mode '+e.toString(d)+`.
4
4
  Suggested mode is: `+e.toString(f));switch(d===e.KANJI&&!a.isKanjiModeEnabled()&&(d=e.BYTE),d){case e.NUMERIC:return new i(h);case e.ALPHANUMERIC:return new r(h);case e.KANJI:return new o(h);case e.BYTE:return new n(h)}}t.fromArray=function(w){return w.reduce(function(d,f){return typeof f=="string"?d.push(N(f,null)):f.data&&d.push(N(f.data,f.mode)),d},[])},t.fromString=function(w,d){const f=p(w,a.isKanjiModeEnabled()),C=y(f),B=E(C,d),A=u.find_path(B.map,"start","end"),S=[];for(let P=1;P<A.length-1;P++)S.push(B.table[A[P]].node);return t.fromArray(g(S))},t.rawSplit=function(w){return t.fromArray(p(w,a.isKanjiModeEnabled()))}})(It);const Q=I,X=$,re=Vt,oe=Ht,ie=mt,se=wt,nt=yt,rt=j,ue=Jt,Y=Bt,ae=At,ce=L,Z=It;function le(t,e){const i=t.size,r=se.getPositions(e);for(let n=0;n<r.length;n++){const o=r[n][0],s=r[n][1];for(let a=-1;a<=7;a++)if(!(o+a<=-1||i<=o+a))for(let u=-1;u<=7;u++)s+u<=-1||i<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?t.set(o+a,s+u,!0,!0):t.set(o+a,s+u,!1,!0))}}function fe(t){const e=t.size;for(let i=8;i<e-8;i++){const r=i%2===0;t.set(i,6,r,!0),t.set(6,i,r,!0)}}function ge(t,e){const i=ie.getPositions(e);for(let r=0;r<i.length;r++){const n=i[r][0],o=i[r][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?t.set(n+s,o+a,!0,!0):t.set(n+s,o+a,!1,!0)}}function de(t,e){const i=t.size,r=Y.getEncodedBits(e);let n,o,s;for(let a=0;a<18;a++)n=Math.floor(a/3),o=a%3+i-8-3,s=(r>>a&1)===1,t.set(n,o,s,!0),t.set(o,n,s,!0)}function x(t,e,i){const r=t.size,n=ae.getEncodedBits(e,i);let o,s;for(o=0;o<15;o++)s=(n>>o&1)===1,o<6?t.set(o,8,s,!0):o<8?t.set(o+1,8,s,!0):t.set(r-15+o,8,s,!0),o<8?t.set(8,r-o-1,s,!0):o<9?t.set(8,15-o-1+1,s,!0):t.set(8,15-o-1,s,!0);t.set(r-8,8,1,!0)}function he(t,e){const i=t.size;let r=-1,n=i-1,o=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!t.isReserved(n,a-u)){let c=!1;s<e.length&&(c=(e[s]>>>o&1)===1),t.set(n,a-u,c),o--,o===-1&&(s++,o=7)}if(n+=r,n<0||i<=n){n-=r,r=-r;break}}}function me(t,e,i){const r=new re;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),ce.getCharCountIndicator(u.mode,t)),u.write(r)});const n=Q.getSymbolTotalCodewords(t),o=rt.getTotalCodewordsCount(t,e),s=(n-o)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u<a;u++)r.put(u%2?17:236,8);return we(r,t,e)}function we(t,e,i){const r=Q.getSymbolTotalCodewords(e),n=rt.getTotalCodewordsCount(e,i),o=r-n,s=rt.getBlocksCount(e,i),a=r%s,u=s-a,c=Math.floor(r/s),l=Math.floor(o/s),p=l+1,m=c-l,g=new ue(m);let y=0;const E=new Array(s),N=new Array(s);let h=0;const w=new Uint8Array(t.buffer);for(let A=0;A<s;A++){const S=A<u?l:p;E[A]=w.slice(y,y+S),N[A]=g.encode(E[A]),y+=S,h=Math.max(h,S)}const d=new Uint8Array(r);let f=0,C,B;for(C=0;C<h;C++)for(B=0;B<s;B++)C<E[B].length&&(d[f++]=E[B][C]);for(C=0;C<m;C++)for(B=0;B<s;B++)d[f++]=N[B][C];return d}function ye(t,e,i,r){let n;if(Array.isArray(t))n=Z.fromArray(t);else if(typeof t=="string"){let c=e;if(!c){const l=Z.rawSplit(t);c=Y.getBestVersionForData(l,i)}n=Z.fromString(t,c||40)}else throw new Error("Invalid data");const o=Y.getBestVersionForData(n,i);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=o;else if(e<o)throw new Error(`
@@ -1,4 +1,4 @@
1
- import"./vendor-others.6be4d17a.js";import{H as so,ah as M,X as Dt,y as xr,m as L,J as Ft,v as be,r as q,o as ve,e as mr,L as At,M as Lo,V as ko,I as Be,u as to,A as fr,s as $o,t as br,aa as vr,q as co,p as Ot,x as Wt,F as Sr,G as yr,l as Lt,a6 as kt,W as jt,n as Rt,_ as Hr,f as Pr,aJ as Et,C as _t}from"./vendor-@vue.d21dc667.js";function K(o){return typeof o=="string"?o.endsWith("px")?Number(o.slice(0,o.length-2)):Number(o):o}function ne(o){if(o!=null)return typeof o=="number"?`${o}px`:o.endsWith("px")?o:`${o}px`}const De={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},ho="^\\s*",xo="\\s*$",lo="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",no="([0-9A-Fa-f])",io="([0-9A-Fa-f]{2})",Gt=new RegExp(`${ho}rgb\\s*\\(${lo},${lo},${lo}\\)${xo}`),Nt=new RegExp(`${ho}rgba\\s*\\(${lo},${lo},${lo},${lo}\\)${xo}`),Vt=new RegExp(`${ho}#${no}${no}${no}${xo}`),Ut=new RegExp(`${ho}#${io}${io}${io}${xo}`),qt=new RegExp(`${ho}#${no}${no}${no}${no}${xo}`),Qt=new RegExp(`${ho}#${io}${io}${io}${io}${xo}`);function G(o){return parseInt(o,16)}function X(o){try{let e;if(e=Ut.exec(o))return[G(e[1]),G(e[2]),G(e[3]),1];if(e=Gt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),1];if(e=Nt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),Io(e[13])];if(e=Vt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),1];if(e=Qt.exec(o))return[G(e[1]),G(e[2]),G(e[3]),Io(G(e[4])/255)];if(e=qt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),Io(G(e[4]+e[4])/255)];if(o in De)return X(De[o]);throw new Error(`[seemly/rgba]: Invalid color value ${o}.`)}catch(e){throw e}}function Jt(o){return o>1?1:o<0?0:o}function de(o,e,r,t){return`rgba(${E(o)}, ${E(e)}, ${E(r)}, ${Jt(t)})`}function ie(o,e,r,t,l){return E((o*e*(1-t)+r*t)/l)}function H(o,e){Array.isArray(o)||(o=X(o)),Array.isArray(e)||(e=X(e));const r=o[3],t=e[3],l=Io(r+t-r*t);return de(ie(o[0],r,e[0],t,l),ie(o[1],r,e[1],t,l),ie(o[2],r,e[2],t,l),l)}function v(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o);return e.alpha?de(r,t,l,e.alpha):de(r,t,l,n)}function W(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o),{lightness:i=1,alpha:a=1}=e;return Yt([r*i,t*i,l*i,n*a])}function Io(o){const e=Math.round(Number(o)*100)/100;return e>1?1:e<0?0:e}function E(o){const e=Math.round(Number(o));return e>255?255:e<0?0:e}function Yt(o){const[e,r,t]=o;return 3 in o?`rgba(${E(e)}, ${E(r)}, ${E(t)}, ${Io(o[3])})`:`rgba(${E(e)}, ${E(r)}, ${E(t)}, 1)`}function _o(o,...e){if(Array.isArray(o))o.forEach(r=>_o(r,...e));else return o(...e)}const Fe=new Set;function Kt(o,e){const r=`[naive/${o}]: ${e}`;Fe.has(r)||(Fe.add(r),console.error(r))}function Xt(o,e){console.error(`[naive/${o}]: ${e}`)}function wr(o,e){throw new Error(`[naive/${o}]: ${e}`)}function Se(o){return o.some(e=>Lt(e)?!(e.type===kt||e.type===jt&&!Se(e.children)):!0)?o:null}function ro(o,e){const r=o&&Se(o());return e(r||null)}function ae(o){return!(o&&Se(o()))}const Zt=/^(\d|\.)+$/,Ae=/(\d|\.)+/;function ol(o,{c:e=1,offset:r=0,attachPx:t=!0}={}){if(typeof o=="number"){const l=(o+r)*e;return l===0?"0":`${l}px`}else if(typeof o=="string")if(Zt.test(o)){const l=(Number(o)+r)*e;return t?l===0?"0":`${l}px`:`${l}`}else{const l=Ae.exec(o);return l?o.replace(Ae,String((Number(l[0])+r)*e)):o}return o}function el(o){let e=0;for(let r=0;r<o.length;++r)o[r]==="&"&&++e;return e}const zr=/\s*,(?![^(]*\))\s*/g,rl=/\s+/g;function tl(o,e){const r=[];return e.split(zr).forEach(t=>{let l=el(t);if(l){if(l===1){o.forEach(i=>{r.push(t.replace("&",i))});return}}else{o.forEach(i=>{r.push((i&&i+" ")+t)});return}let n=[t];for(;l--;){const i=[];n.forEach(a=>{o.forEach(c=>{i.push(a.replace("&",c))})}),n=i}n.forEach(i=>r.push(i))}),r}function ll(o,e){const r=[];return e.split(zr).forEach(t=>{o.forEach(l=>{r.push((l&&l+" ")+t)})}),r}function nl(o){let e=[""];return o.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?e=tl(e,r):e=ll(e,r))}),e.join(", ").replace(rl," ")}function Oe(o){if(!o)return;const e=o.parentElement;e&&e.removeChild(o)}function ye(o){return document.querySelector(`style[cssr-id="${o}"]`)}function il(o){const e=document.createElement("style");return e.setAttribute("cssr-id",o),e}function jo(o){return o?/^\s*@(s|m)/.test(o):!1}const al=/[A-Z]/g;function Ir(o){return o.replace(al,e=>"-"+e.toLowerCase())}function sl(o,e=" "){return typeof o=="object"&&o!==null?` {
1
+ import"./vendor-others.decd85ac.js";import{H as so,ah as M,X as Dt,y as xr,m as L,J as Ft,v as be,r as q,o as ve,e as mr,L as At,M as Lo,V as ko,I as Be,u as to,A as fr,s as $o,t as br,aa as vr,q as co,p as Ot,x as Wt,F as Sr,G as yr,l as Lt,a6 as kt,W as jt,n as Rt,_ as Hr,f as Pr,aJ as Et,C as _t}from"./vendor-@vue.31495dbd.js";function K(o){return typeof o=="string"?o.endsWith("px")?Number(o.slice(0,o.length-2)):Number(o):o}function ne(o){if(o!=null)return typeof o=="number"?`${o}px`:o.endsWith("px")?o:`${o}px`}const De={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},ho="^\\s*",xo="\\s*$",lo="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",no="([0-9A-Fa-f])",io="([0-9A-Fa-f]{2})",Gt=new RegExp(`${ho}rgb\\s*\\(${lo},${lo},${lo}\\)${xo}`),Nt=new RegExp(`${ho}rgba\\s*\\(${lo},${lo},${lo},${lo}\\)${xo}`),Vt=new RegExp(`${ho}#${no}${no}${no}${xo}`),Ut=new RegExp(`${ho}#${io}${io}${io}${xo}`),qt=new RegExp(`${ho}#${no}${no}${no}${no}${xo}`),Qt=new RegExp(`${ho}#${io}${io}${io}${io}${xo}`);function G(o){return parseInt(o,16)}function X(o){try{let e;if(e=Ut.exec(o))return[G(e[1]),G(e[2]),G(e[3]),1];if(e=Gt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),1];if(e=Nt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),Io(e[13])];if(e=Vt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),1];if(e=Qt.exec(o))return[G(e[1]),G(e[2]),G(e[3]),Io(G(e[4])/255)];if(e=qt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),Io(G(e[4]+e[4])/255)];if(o in De)return X(De[o]);throw new Error(`[seemly/rgba]: Invalid color value ${o}.`)}catch(e){throw e}}function Jt(o){return o>1?1:o<0?0:o}function de(o,e,r,t){return`rgba(${E(o)}, ${E(e)}, ${E(r)}, ${Jt(t)})`}function ie(o,e,r,t,l){return E((o*e*(1-t)+r*t)/l)}function H(o,e){Array.isArray(o)||(o=X(o)),Array.isArray(e)||(e=X(e));const r=o[3],t=e[3],l=Io(r+t-r*t);return de(ie(o[0],r,e[0],t,l),ie(o[1],r,e[1],t,l),ie(o[2],r,e[2],t,l),l)}function v(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o);return e.alpha?de(r,t,l,e.alpha):de(r,t,l,n)}function W(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o),{lightness:i=1,alpha:a=1}=e;return Yt([r*i,t*i,l*i,n*a])}function Io(o){const e=Math.round(Number(o)*100)/100;return e>1?1:e<0?0:e}function E(o){const e=Math.round(Number(o));return e>255?255:e<0?0:e}function Yt(o){const[e,r,t]=o;return 3 in o?`rgba(${E(e)}, ${E(r)}, ${E(t)}, ${Io(o[3])})`:`rgba(${E(e)}, ${E(r)}, ${E(t)}, 1)`}function _o(o,...e){if(Array.isArray(o))o.forEach(r=>_o(r,...e));else return o(...e)}const Fe=new Set;function Kt(o,e){const r=`[naive/${o}]: ${e}`;Fe.has(r)||(Fe.add(r),console.error(r))}function Xt(o,e){console.error(`[naive/${o}]: ${e}`)}function wr(o,e){throw new Error(`[naive/${o}]: ${e}`)}function Se(o){return o.some(e=>Lt(e)?!(e.type===kt||e.type===jt&&!Se(e.children)):!0)?o:null}function ro(o,e){const r=o&&Se(o());return e(r||null)}function ae(o){return!(o&&Se(o()))}const Zt=/^(\d|\.)+$/,Ae=/(\d|\.)+/;function ol(o,{c:e=1,offset:r=0,attachPx:t=!0}={}){if(typeof o=="number"){const l=(o+r)*e;return l===0?"0":`${l}px`}else if(typeof o=="string")if(Zt.test(o)){const l=(Number(o)+r)*e;return t?l===0?"0":`${l}px`:`${l}`}else{const l=Ae.exec(o);return l?o.replace(Ae,String((Number(l[0])+r)*e)):o}return o}function el(o){let e=0;for(let r=0;r<o.length;++r)o[r]==="&"&&++e;return e}const zr=/\s*,(?![^(]*\))\s*/g,rl=/\s+/g;function tl(o,e){const r=[];return e.split(zr).forEach(t=>{let l=el(t);if(l){if(l===1){o.forEach(i=>{r.push(t.replace("&",i))});return}}else{o.forEach(i=>{r.push((i&&i+" ")+t)});return}let n=[t];for(;l--;){const i=[];n.forEach(a=>{o.forEach(c=>{i.push(a.replace("&",c))})}),n=i}n.forEach(i=>r.push(i))}),r}function ll(o,e){const r=[];return e.split(zr).forEach(t=>{o.forEach(l=>{r.push((l&&l+" ")+t)})}),r}function nl(o){let e=[""];return o.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?e=tl(e,r):e=ll(e,r))}),e.join(", ").replace(rl," ")}function Oe(o){if(!o)return;const e=o.parentElement;e&&e.removeChild(o)}function ye(o){return document.querySelector(`style[cssr-id="${o}"]`)}function il(o){const e=document.createElement("style");return e.setAttribute("cssr-id",o),e}function jo(o){return o?/^\s*@(s|m)/.test(o):!1}const al=/[A-Z]/g;function Ir(o){return o.replace(al,e=>"-"+e.toLowerCase())}function sl(o,e=" "){return typeof o=="object"&&o!==null?` {
2
2
  `+Object.entries(o).map(r=>e+` ${Ir(r[0])}: ${r[1]};`).join(`
3
3
  `)+`
4
4
  `+e+"}":`: ${o};`}function cl(o,e,r){return typeof o=="function"?o({context:e.context,props:r}):o}function We(o,e,r,t){if(!e)return"";const l=cl(e,r,t);if(!l)return"";if(typeof l=="string")return`${o} {
package/dist/index.html CHANGED
@@ -4,14 +4,14 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
6
6
  <title>Nexior</title>
7
- <script type="module" crossorigin src="/assets/index.b4e14c52.js"></script>
8
- <link rel="modulepreload" href="/assets/vendor-@vue.d21dc667.js">
9
- <link rel="modulepreload" href="/assets/vendor-element-plus.db44604a.js">
10
- <link rel="modulepreload" href="/assets/vendor-others.6be4d17a.js">
7
+ <script type="module" crossorigin src="/assets/index.c0daeb4d.js"></script>
8
+ <link rel="modulepreload" href="/assets/vendor-@vue.31495dbd.js">
9
+ <link rel="modulepreload" href="/assets/vendor-element-plus.eeef3ee7.js">
10
+ <link rel="modulepreload" href="/assets/vendor-others.decd85ac.js">
11
11
  <link rel="modulepreload" href="/assets/vendor-axios.168e6950.js">
12
- <link rel="modulepreload" href="/assets/vendor-fortawesome.24d45401.js">
12
+ <link rel="modulepreload" href="/assets/vendor-fortawesome.3ae42787.js">
13
13
  <link rel="stylesheet" href="/assets/vendor-others.bcdc6bd8.css">
14
- <link rel="stylesheet" href="/assets/index.e47b0e8e.css">
14
+ <link rel="stylesheet" href="/assets/index.62d00e03.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="app">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/nexior",
3
- "version": "1.14.0",
3
+ "version": "2.0.1",
4
4
  "author": "Germey Technology <dev@germey.tech>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,6 +35,7 @@
35
35
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
36
36
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
37
37
  "@fortawesome/vue-fontawesome": "^3.0.2",
38
+ "@icon-park/vue-next": "^1.3.6",
38
39
  "axios": "^1.6.0",
39
40
  "codemirror": "^6.0.1",
40
41
  "copy-to-clipboard": "^3.3.3",
@@ -1 +0,0 @@
1
- var M=Object.defineProperty,U=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var N=(e,a,t)=>a in e?M(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,S=(e,a)=>{for(var t in a||(a={}))H.call(a,t)&&N(e,t,a[t]);if(P)for(var t of P(a))J.call(a,t)&&N(e,t,a[t]);return e},O=(e,a)=>U(e,G(a));import"./vendor-others.6be4d17a.js";import{_ as w,y as K,z as Q}from"./index.b4e14c52.js";import{g as V,o as W}from"./order.4c48c3e7.js";import{H as A,o as r,e as g,U as p,al as l,L as k,M as i,V as o,f as j,T as E,ai as X,W as Y,S as C,Q as F}from"./vendor-@vue.d21dc667.js";import{A as Z,b as x,a as ee,n as ae,G as te,H as ie,i as oe,B as re,I as se,J as ne,K as le}from"./vendor-element-plus.db44604a.js";import"./vendor-axios.168e6950.js";import"./vendor-fortawesome.24d45401.js";const pe=A({name:"ApiPrice",props:{price:{type:Number,required:!1,default:0},unit:{type:String,required:!1,default:void 0},start:{type:Boolean,required:!1,default:!1}},methods:{getPriceString:V}}),ce={class:"price-text"},de={key:0,class:"unfree"},ue={key:1,class:"free"};function me(e,a,t,c,u,v){return r(),g("div",ce,[e.price>0?(r(),g("span",de,p(e.getPriceString({value:e.price}))+" "+p(e.unit?` / ${e.unit}`:"")+p(e.start?e.$t("common.message.startPrice"):""),1)):(r(),g("span",ue,p(e.$t("common.message.free")),1))])}var fe=w(pe,[["render",me],["__scopeId","data-v-d195ccd6"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Price.vue"]]);const _e=A({name:"ConsoleApplicationBuy",components:{ElSkeleton:Z,ElRow:x,ElCol:ee,ElCard:ae,ElForm:te,ElFormItem:ie,ElButton:oe,ElDivider:re,ElRadioGroup:se,ElRadioButton:ne,Price:fe},data(){return{application:void 0,loading:!1,form:{packageId:void 0,amount:void 0},creating:!1}},computed:{id(){var e,a;return(a=(e=this.$route.params)==null?void 0:e.id)==null?void 0:a.toString()},price(){var e,a,t;return((a=(e=this.application)==null?void 0:e.service)==null?void 0:a.price)&&this.form.amount?this.form.amount*((t=this.application.service)==null?void 0:t.price):0},package(){var e,a,t;if(((a=(e=this.application)==null?void 0:e.service)==null?void 0:a.packages)&&this.form.packageId){const c=(t=this.application.service)==null?void 0:t.packages.filter(u=>u.id===this.form.packageId);if(c.length>0)return c[0]}}},mounted(){this.onFetchApplication()},methods:{getPriceString:V,onFetchApplication(){this.loading=!0,K.get(this.id).then(({data:e})=>{var a,t,c,u;this.application=e,this.loading=!1,this.form.packageId=(u=(c=(t=(a=this.application)==null?void 0:a.service)==null?void 0:t.packages)==null?void 0:c[0])==null?void 0:u.id}).catch(()=>{this.loading=!1})},onCreateOrder(){var a,t,c,u,v,m,f,$;if(!((a=this.application)!=null&&a.id))return;this.creating=!0;const e=this.$t(`service.unit.${(c=(t=this.application)==null?void 0:t.service)==null?void 0:c.unit}s`);W.create(O(S({application_id:(u=this.application)==null?void 0:u.id,amount:(v=this.package)==null?void 0:v.amount},this.form.packageId!=="custom"&&this.package?{package_id:this.package.id}:{}),{description:`${(f=(m=this.application)==null?void 0:m.service)==null?void 0:f.title} x ${($=this.package)==null?void 0:$.amount} ${e}`})).then(({data:_})=>{this.creating=!1;const b=_;this.$router.push({name:Q,params:{id:b.id}})}).catch(()=>{le.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),ge={class:"title"},he={key:0,class:"ml-2"},ke={key:1,class:F({price:!0,free:!0})};function ve(e,a,t,c,u,v){const m=l("el-col"),f=l("el-row"),$=l("el-skeleton"),_=l("el-form-item"),b=l("el-radio-button"),R=l("el-radio-group"),D=l("price"),L=l("el-divider"),T=l("el-button"),q=l("el-form"),z=l("el-card");return r(),k(f,{class:"panel"},{default:i(()=>[o(m,{span:24},{default:i(()=>[o(f,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[j("h2",ge,p(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),o(f,null,{default:i(()=>[o(m,{span:24},{default:i(()=>[o(z,{shadow:"hover"},{default:i(()=>[o(f,null,{default:i(()=>[o(m,{span:16,offset:4},{default:i(()=>[e.loading?(r(),k($,{key:0})):e.application?(r(),k(q,{key:1,"label-width":"100px"},{default:i(()=>[o(_,{label:e.$t("application.field.service")},{default:i(()=>{var s,n;return[E(p((n=(s=e.application)==null?void 0:s.service)==null?void 0:n.title),1)]}),_:1},8,["label"]),o(_,{label:e.$t("application.field.package")},{default:i(()=>{var s,n;return[(n=(s=e.application)==null?void 0:s.service)!=null&&n.packages?(r(),k(R,{key:0,modelValue:e.form.packageId,"onUpdate:modelValue":a[0]||(a[0]=d=>e.form.packageId=d)},{default:i(()=>{var d;return[(r(!0),g(Y,null,X((d=e.application)==null?void 0:d.service.packages,(h,y)=>(r(),k(b,{key:y,label:h.id,class:"mb-2"},{default:i(()=>{var B,I;return[E(p(h.amount)+" "+p(e.$t(`service.unit.${(I=(B=e.application)==null?void 0:B.service)==null?void 0:I.unit}s`)),1)]}),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])):C("v-if",!0)]}),_:1},8,["label"]),o(_,{label:e.$t("service.field.price")},{default:i(()=>{var s,n,d,h,y;return[o(D,{price:(s=e.package)==null?void 0:s.price},null,8,["price"]),e.package?(r(),g("span",he,"("+p(e.getPriceString({value:((n=e.package)==null?void 0:n.price)/((d=e.package)==null?void 0:d.amount)})+" / "+e.$t(`service.unit.${(y=(h=e.application)==null?void 0:h.service)==null?void 0:y.unit}`))+") ",1)):C("v-if",!0)]}),_:1},8,["label"]),o(L,{"border-style":"dashed"}),o(_,{label:e.$t("application.field.shouldPayPrice")},{default:i(()=>{var s,n,d;return[e.package?(r(),g("span",{key:0,class:F({price:!0,unfree:((s=e.package)==null?void 0:s.price)>0,free:((n=e.package)==null?void 0:n.price)===0})},p(e.getPriceString({value:(d=e.package)==null?void 0:d.price})),3)):(r(),g("span",ke," $ 0 "))]}),_:1},8,["label"]),o(_,null,{default:i(()=>[o(T,{type:"primary",size:"large",class:"btn-create",loading:e.creating,round:"",onClick:e.onCreateOrder},{default:i(()=>[E(p(e.$t("application.button.createOrder")),1)]),_:1},8,["loading","onClick"])]),_:1})]),_:1})):C("v-if",!0)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var Ne=w(_e,[["render",ve],["__scopeId","data-v-5881dfca"],["__file","/home/runner/work/Nexior/Nexior/src/pages/console/application/Buy.vue"]]);export{Ne as default};
@@ -1 +0,0 @@
1
- var w=Object.defineProperty,g=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var l=(e,t,o)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,p=(e,t)=>{for(var o in t||(t={}))N.call(t,o)&&l(e,o,t[o]);if(d)for(var o of d(t))x.call(t,o)&&l(e,o,t[o]);return e},u=(e,t)=>g(e,k(t));import"./vendor-others.6be4d17a.js";import{a0 as A,o as I,_ as M}from"./index.b4e14c52.js";import{af as E}from"./vendor-fortawesome.24d45401.js";import{e as S,f as R}from"./vendor-element-plus.db44604a.js";import{H as T,al as n,o as s,e as m,L as h,M as _,f as r,V as O,U as f,W as V,ai as G,T as L,S as B,I as D}from"./vendor-@vue.d21dc667.js";const H=T({name:"LayoutChatdoc",components:{ElMenu:S,ElMenuItem:R,FontAwesomeIcon:E},data(){var e,t;return{repositoryId:(t=(e=this.$route.params)==null?void 0:e.repositoryId)==null?void 0:t.toString(),drawer:!1,menuItems:[{index:"chat",title:this.$t("chatdoc.nav.chat"),route:{name:A}},{index:"manage",title:this.$t("chatdoc.nav.manage"),route:{name:I}}]}},computed:{activeMenu(){var t;const e=this.menuItems.filter(o=>{var a;return((a=o.route)==null?void 0:a.name)===this.$route.name});if(e)return(t=e[0])==null?void 0:t.index},repository(){var e,t,o;return(o=(t=(e=this.$store.state)==null?void 0:e.chatdoc)==null?void 0:t.repositories)==null?void 0:o.find(a=>a.id===this.repositoryId)}},async mounted(){await this.getService(),await this.onGetApplications(),await this.onGetRepositories()},methods:{async getService(){await this.$store.dispatch("chatdoc/getService")},async onGetApplications(){await this.$store.dispatch("chatdoc/getApplication")},async onGetRepositories(){await this.$store.dispatch("chatdoc/getRepositories")},async onClickMenu(e){this.activeMenu=e.index,e.route&&await this.$router.push(u(p({},e.route),{params:{id:this.repositoryId}}))}}}),U={class:"main"},F={class:"repository"},W={class:"chatdoc"};function b(e,t,o,a,z,j){const v=n("font-awesome-icon"),y=n("el-menu-item"),C=n("el-menu");return s(),m("div",U,[e.repositoryId?(s(),h(C,{key:0,"default-active":e.activeMenu,mode:"horizontal",ellipsis:!1,class:"menu"},{default:_(()=>{var c;return[r("div",F,[O(v,{class:"mr-2",icon:["fas","book"]}),r("span",null,f((c=e.repository)==null?void 0:c.name),1)]),(s(!0),m(V,null,G(e.menuItems,(i,$)=>(s(),h(y,{key:$,index:i.index,onClick:q=>e.onClickMenu(i)},{default:_(()=>[L(f(i.title),1)]),_:2},1032,["index","onClick"]))),128))]}),_:1},8,["default-active"])):B("v-if",!0),r("div",W,[D(e.$slots,"chatdoc",{},void 0,!0)])])}var Z=M(H,[["render",b],["__scopeId","data-v-35d9dd71"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Chatdoc.vue"]]);export{Z as L};
@@ -1 +0,0 @@
1
- import{I as F}from"./vendor-others.6be4d17a.js";import{L as P}from"./Chatdoc.8299dea5.js";import{a0 as K,a1 as b,n as T,_ as k,A as N,K as O,M as z,a2 as S}from"./index.b4e14c52.js";import{a as G}from"./vendor-axios.168e6950.js";import{M as H,E as q,a as D,b as W,c as Q,d as J,e as j,f as Y,g as A,A as x,h as X}from"./Status.008084b8.js";import{i as Z}from"./is.dd611415.js";import{af as V}from"./vendor-fortawesome.24d45401.js";import{N as M,A as ee,C as se,i as te}from"./vendor-element-plus.db44604a.js";import{H as E,al as l,o,e as c,L as h,f as i,V as m,U as I,W as R,ai as U,Q as v,as as B,S as f,$ as w,M as L,T as oe}from"./vendor-@vue.d21dc667.js";import{C as ie}from"./CopyToClipboard.2106bfb3.js";import"./application.ea1e2a72.js";import"./vendor-markdown.6cfcfcf1.js";import"./vendor-highlight.js.19da0c9f.js";var $=(e=>(e.PENDING="pending",e.ANSWERING="answering",e.FINISHED="finished",e.FAILED="failed",e))($||{});const ne=E({name:"SidePanel",components:{ElInput:M,FontAwesomeIcon:V,ElSkeleton:ee},props:{},emits:["click"],computed:{repositoryId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.repositoryId)==null?void 0:t.toString()},conversationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.conversationId)==null?void 0:t.toString()},repository(){var e,t,n;return(n=(t=(e=this.$store.state)==null?void 0:e.chatdoc)==null?void 0:t.repositories)==null?void 0:n.find(d=>d.id===this.repositoryId)},conversations(){var e;return(e=this.repository)==null?void 0:e.conversations},application(){return this.$store.state.chatdoc.application}},methods:{async onNewConversation(){this.$router.push({name:K,params:{repositoryId:this.repositoryId}})},async onConfirm(e){e!=null&&e.deleting?(await b.deleteConversation(e.id),await this.$store.dispatch("chat/getConversations")):e!=null&&e.editing?(await b.updateConversation(e),await this.$store.dispatch("chat/getConversations")):e.editing=!0},onClick(e){!e||(this.$router.push({name:T,params:{repositoryId:this.repositoryId,conversationId:e}}),this.$emit("click",e))}}}),ae={class:"panel"},re={key:1,class:"conversations"},le={class:"icons"},de={class:"title"},ce=["onClick"],ue={class:"icons"},pe={class:"title"},he={key:0},me={key:1},_e={key:2},ge={class:"operations"};function fe(e,t,n,d,r,y){const u=l("el-skeleton"),a=l("font-awesome-icon"),_=l("el-input");return o(),c("div",ae,[e.conversations===void 0?(o(),h(u,{key:0})):(o(),c("div",re,[i("div",{class:"conversation",onClick:t[0]||(t[0]=(...s)=>e.onNewConversation&&e.onNewConversation(...s))},[i("div",le,[m(a,{icon:"fa-solid fa-plus",class:"icon"})]),i("div",de,I(e.$t("chatdoc.message.startNewChat")),1)]),(o(!0),c(R,null,U(e.conversations,(s,C)=>{var p;return o(),c("div",{key:C,class:v({conversation:!0,active:s.id===e.conversationId}),onClick:g=>e.onClick(s.id)},[i("div",ue,[m(a,{icon:"fa-regular fa-comment",class:"icon"})]),i("div",pe,[s!=null&&s.deleting?(o(),c("span",he,I(`${e.$t("chatdoc.message.confirmDelete")}?`),1)):s!=null&&s.editing?(o(),c("span",me,[m(_,{modelValue:s.title,"onUpdate:modelValue":g=>s.title=g,onKeydown:B(g=>e.onConfirm(s),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeydown"])])):(s==null?void 0:s.title)||(s==null?void 0:s.messages)?(o(),c("span",_e,I((s==null?void 0:s.title)||((p=s==null?void 0:s.messages[(s==null?void 0:s.messages.length)-1])==null?void 0:p.content)),1)):f("v-if",!0)]),i("div",ge,[!(s!=null&&s.editing)&&!s.deleting?(o(),h(a,{key:0,icon:"fa-solid fa-edit",class:"icon icon-edit",onClick:w(g=>s.editing=!0,["stop"])},null,8,["onClick"])):f("v-if",!0),!(s!=null&&s.editing)&&!s.deleting?(o(),h(a,{key:1,icon:"fa-solid fa-trash",class:"icon icon-delete",onClick:w(g=>s.deleting=!0,["stop"])},null,8,["onClick"])):f("v-if",!0),(s==null?void 0:s.editing)||s.deleting?(o(),h(a,{key:2,icon:"fa-solid fa-check",class:"icon icon-confirm",onClick:w(g=>e.onConfirm(s),["stop"])},null,8,["onClick"])):f("v-if",!0),(s==null?void 0:s.editing)||s.deleting?(o(),h(a,{key:3,icon:"fa-solid fa-xmark",class:"icon icon-cancel",onClick:w(g=>{s.editing=!1,s.deleting=!1},["stop"])},null,8,["onClick"])):f("v-if",!0)])],10,ce)}),128))]))])}var ye=k(ne,[["render",fe],["__scopeId","data-v-2282a6e1"],["__file","/home/runner/work/Nexior/Nexior/src/components/chatdoc/Conversations.vue"]]);const $e=E({name:"AnsweringMark",data(){return{}},computed:{conversationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.conversationId)==null?void 0:t.toString()}}}),Ce={class:"box"};function we(e,t,n,d,r,y){return o(),c("div",Ce)}var Ie=k($e,[["render",we],["__file","/home/runner/work/Nexior/Nexior/src/components/chatdoc/AnsweringMark.vue"]]);const ke=E({name:"Message",components:{CopyToClipboard:ie,AnsweringMark:Ie,MarkdownRenderer:H,ElAlert:se,ElButton:te},props:{message:{type:Object,required:!0}},emits:["stop"],data(){return{copied:!1,messageState:$}},computed:{errorText(){var e,t;if(!(!this.message.error||!((e=this.message.error)!=null&&e.code)))switch((t=this.message.error)==null?void 0:t.code){case A:return this.$t("chatdoc.message.errorUsedUp");case Y:return this.$t("chatdoc.message.errorApiError");case j:return this.$t("chatdoc.message.errorBadRequest");case J:return this.$t("chatdoc.message.errorTimeout");case Q:return this.$t("chatdoc.message.errorTooManyRequests");case W:return this.$t("chatdoc.message.errorContentTooLarge");case D:return this.$t("chatdoc.message.errorNotApplied");case q:default:return this.$t("chatdoc.message.errorUnknown")}},showBuyMore(){var e;return this.message.role===N&&((e=this.message.error)==null?void 0:e.code)===A}},methods:{onCopy(){F(this.message.content.toString(),{debug:!0}),this.copied=!0,setTimeout(()=>{this.copied=!1},3e3)},onBuyMore(){}}}),Ee=["role"],Ne={class:"content"},Re={class:"operations"};function Se(e,t,n,d,r,y){var p;const u=l("markdown-renderer"),a=l("answering-mark"),_=l("copy-to-clipboard"),s=l("el-alert"),C=l("el-button");return o(),c(R,null,[i("div",{class:v({message:!0,[e.message.role]:!0,hidden:e.errorText&&e.message.role==="assistant"}),role:e.message.role},[i("div",Ne,[m(u,{content:(p=e.message)==null?void 0:p.content},null,8,["content"]),e.message.state===e.messageState.PENDING?(o(),h(a,{key:0})):f("v-if",!0)]),i("div",Re,[m(_,{content:e.message.content,class:"btn-copy"},null,8,["content"])])],10,Ee),e.errorText?(o(),h(s,{key:0,class:"error",title:e.errorText,type:"error",closable:!1},null,8,["title"])):f("v-if",!0),e.showBuyMore?(o(),h(C,{key:1,round:"",type:"primary",class:"btn btn-buy",size:"small",onClick:e.onBuyMore},{default:L(()=>[oe(I(e.$t("common.button.buyMore")),1)]),_:1},8,["onClick"])):f("v-if",!0)],64)}var be=k(ke,[["render",Se],["__scopeId","data-v-95a62450"],["__file","/home/runner/work/Nexior/Nexior/src/components/chatdoc/Message.vue"]]);const ve=E({name:"InputBox",components:{ElInput:M,FontAwesomeIcon:V},props:{disabled:{type:Boolean,required:!1,default:!1},question:{type:String,required:!0}},emits:["update:question","submit"],data(){return{questionValue:this.question,fileList:[]}},computed:{model(){return this.$store.state.chat.model}},watch:{questionValue(e){this.$emit("update:question",e)},question(e){e!==this.questionValue&&(this.questionValue=e)},references(e){e.length===0&&(this.fileList=[])}},methods:{onSubmit(){!this.question||this.$emit("submit")}}}),Oe={class:"input-box"},Ae={class:"info"};function Te(e,t,n,d,r,y){const u=l("font-awesome-icon"),a=l("el-input");return o(),c(R,null,[i("div",Oe,[i("span",{class:v({btn:!0,"btn-send":!0,disabled:!e.question}),onClick:t[0]||(t[0]=(..._)=>e.onSubmit&&e.onSubmit(..._))},[m(u,{icon:"fa-solid fa-location-arrow",class:"icon icon-send"})],2),m(a,{modelValue:e.questionValue,"onUpdate:modelValue":t[1]||(t[1]=_=>e.questionValue=_),disabled:e.disabled,class:"input",type:"textarea",placeholder:e.$t("chat.message.newMessagePlaceholder"),onKeydown:B(w(e.onSubmit,["exact","prevent"]),["enter"])},null,8,["modelValue","disabled","placeholder","onKeydown"])]),i("p",Ae,I(e.$t("chat.message.howToUse")),1)],64)}var qe=k(ve,[["render",Te],["__scopeId","data-v-7ed35c20"],["__file","/home/runner/work/Nexior/Nexior/src/components/chatdoc/InputBox.vue"]]);const De=E({name:"ChatdocConversation",components:{Layout:P,Conversations:ye,Message:be,InputBox:qe,ApplicationStatus:x},data(){return{loading:!1,repositoryId:this.$route.params.repositoryId.toString(),answering:!1,question:""}},computed:{messages:{get(){var e,t;return((t=(e=this.conversations)==null?void 0:e.find(n=>{var d;return n.id===((d=this.$route.params.conversationId)==null?void 0:d.toString())}))==null?void 0:t.messages)||[]},set(e){console.debug("set messages",e)}},repository(){var e,t,n;return(n=(t=(e=this.$store.state)==null?void 0:e.chatdoc)==null?void 0:t.repositories)==null?void 0:n.find(d=>d.id===this.repositoryId)},conversations(){var e;return(e=this.repository)==null?void 0:e.conversations},conversationId(){var e;return(e=this.$route.params.conversationId)==null?void 0:e.toString()},application(){return this.$store.state.chatdoc.application},credential(){return this.$store.state.chatdoc.credential},needApply(){return this.$store.state.chatdoc.status.getApplication===O.Success&&!this.application},initializing(){return this.$store.state.chatdoc.status.getApplication===O.Request},service(){return this.$store.state.chatdoc.service}},async mounted(){console.debug("start get conversations"),this.loading=!0,this.$store.dispatch("chatdoc/getConversations",{repositoryId:this.repositoryId}).finally(()=>{this.loading=!1})},methods:{async onSubmit(){this.messages.push({content:this.question,role:z}),await this.onFetchAnswer()},async onScrollDown(){setTimeout(()=>{const e=document.querySelector(".dialogue");!e||!this.messages||this.messages.length===0||(e.scrollTop=e==null?void 0:e.scrollHeight)},0)},async onFetchAnswer(){var d;const e=(d=this.credential)==null?void 0:d.token,t=this.question;if(S(this.onFetchAnswer,"validated",t),this.question="",!e||!t){console.error("no token or endpoint or question"),this.messages.push({error:{code:D},role:N,state:$.FAILED});return}let n=this.conversationId;this.messages.push({content:"",role:N,state:$.PENDING}),S(this.onFetchAnswer,"start to get answer",this.messages),this.onScrollDown(),this.answering=!0,b.chatConversation({repositoryId:this.repositoryId,question:t,id:this.conversationId},{token:e,stream:r=>{this.messages[this.messages.length-1]={role:N,content:r.answer,state:$.ANSWERING},n=r.id,this.onScrollDown()}}).then(async()=>{S(this.onFetchAnswer,"finished fetch answer"),this.messages[this.messages.length-1].state=$.FINISHED,await this.$store.dispatch("chatdoc/setConversation",{id:n,messages:this.messages,repositoryId:this.repositoryId}),this.answering=!1,this.conversationId||(console.debug("push to conversation",n),await this.$router.push({name:T,params:{conversationId:n,repositoryId:this.repositoryId}})),this.onScrollDown(),await this.$store.dispatch("chatdoc/getConversations",{repositoryId:this.repositoryId})}).catch(r=>{var y,u;if(this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].state=$.FAILED),console.error(r),G.isCancel(r))this.messages[this.messages.length-1].error={code:X};else if((y=r==null?void 0:r.response)!=null&&y.data){let a=(u=r==null?void 0:r.response)==null?void 0:u.data;Z(a)&&(a=JSON.parse(a)),this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].error=a.error)}else this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].error={code:q});this.answering=!1})}}}),Ve={class:"wrapper"},Me={class:"chat"},Ue={class:"status"},Be={class:"dialogue"},Le={class:"messages"},Fe={class:"bottom"};function Pe(e,t,n,d,r,y){const u=l("conversations"),a=l("application-status"),_=l("message"),s=l("input-box"),C=l("layout");return o(),h(C,null,{chatdoc:L(()=>[i("div",Ve,[m(u,{class:"side"}),i("div",Me,[i("div",Ue,[m(a,{"show-price":!1,initializing:e.initializing,application:e.application,"need-apply":e.needApply,service:e.service,onRefresh:t[0]||(t[0]=p=>e.$store.dispatch("chatdoc/getApplication"))},null,8,["initializing","application","need-apply","service"])]),i("div",Be,[i("div",Le,[(o(!0),c(R,null,U(e.messages,(p,g)=>(o(),h(_,{key:g,message:p,class:"message"},null,8,["message"]))),128))])]),i("div",Fe,[m(s,{disabled:e.answering,question:e.question,"onUpdate:question":t[1]||(t[1]=p=>e.question=p),onSubmit:e.onSubmit},null,8,["disabled","question","onSubmit"])])])])]),_:1})}var ss=k(De,[["render",Pe],["__scopeId","data-v-24089614"],["__file","/home/runner/work/Nexior/Nexior/src/pages/chatdoc/Conversation.vue"]]);export{ss as default};
@@ -1 +0,0 @@
1
- var se=Object.defineProperty;var B=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var P=(e,t,a)=>t in e?se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,A=(e,t)=>{for(var a in t||(t={}))oe.call(t,a)&&P(e,a,t[a]);if(B)for(var a of B(t))ne.call(t,a)&&P(e,a,t[a]);return e};import{a as ae}from"./vendor-axios.168e6950.js";import{I as ie}from"./vendor-others.6be4d17a.js";import{_ as E,I as N,A as T,x as re,D as le,E as U,F as H,G as W,H as z,J as F,K as G,i as Q,L,j as Y,M as j}from"./index.b4e14c52.js";import{H as S,o as n,e as p,al as i,f as l,L as g,S as v,W as I,ai as D,M as k,T as de,U as b,Q as q,V as f,O as ce,aw as ue,a0 as V,as as X,$ as O,I as K}from"./vendor-@vue.d21dc667.js";import{M as pe,E as Z,a as ee,b as he,c as me,d as _e,e as fe,f as ge,g as x,A as $e,h as ye}from"./Status.008084b8.js";import{C as we}from"./CopyToClipboard.2106bfb3.js";import{C as ve,i as te,o as Ce,q as ke,L as be,K as J,d as Ee,M as Se,h as Ie,b as Ne,a as De,N as Ae,A as Oe,O as Re}from"./vendor-element-plus.db44604a.js";import{af as R}from"./vendor-fortawesome.24d45401.js";import{i as Te}from"./is.dd611415.js";import"./application.ea1e2a72.js";import"./vendor-markdown.6cfcfcf1.js";import"./vendor-highlight.js.19da0c9f.js";const qe=S({name:"AnsweringMark",data(){return{}},computed:{conversationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.id)==null?void 0:t.toString()}}}),Me={class:"box"};function Ue(e,t,a,m,w,o){return n(),p("div",Me)}var Ge=E(qe,[["render",Ue],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/AnsweringMark.vue"]]);const Le=S({name:"Message",components:{CopyToClipboard:we,AnsweringMark:Ge,MarkdownRenderer:pe,ElAlert:ve,ElButton:te,ElImage:Ce},props:{message:{type:Object,required:!0},application:{type:Object,required:!0}},emits:["stop"],data(){return{copied:!1,messageState:N}},computed:{errorText(){var e,t;if(!(!this.message.error||!((e=this.message.error)!=null&&e.code)))switch((t=this.message.error)==null?void 0:t.code){case x:return this.$t("chat.message.errorUsedUp");case ge:return this.$t("chat.message.errorApiError");case fe:return this.$t("chat.message.errorBadRequest");case _e:return this.$t("chat.message.errorTimeout");case me:return this.$t("chat.message.errorTooManyRequests");case he:return this.$t("chat.message.errorContentTooLarge");case ee:return this.$t("chat.message.errorNotApplied");case Z:default:return this.$t("chat.message.errorUnknown")}},showBuyMore(){var e;return this.message.role===T&&((e=this.message.error)==null?void 0:e.code)===x}},methods:{onCopy(){ie(this.message.content.toString(),{debug:!0}),this.copied=!0,setTimeout(()=>{this.copied=!1},3e3)},onBuyMore(){var e;this.$router.push({name:re,params:{id:(e=this.application)==null?void 0:e.id}})}}}),Ve=["role"],Be={class:"author"},Pe={class:"main"},He={class:"content"},We={key:1},ze=["src"],Fe={class:"operations"};function je(e,t,a,m,w,o){var y;const d=i("el-image"),c=i("markdown-renderer"),_=i("answering-mark"),r=i("copy-to-clipboard"),h=i("el-alert"),s=i("el-button");return n(),p("div",{class:q({message:!0,[e.message.role]:!0,hidden:e.errorText&&e.message.role==="assistant"}),role:e.message.role},[l("div",Be,[e.message.role==="assistant"?(n(),g(d,{key:0,src:"https://cdn.acedata.cloud/7dljuv.png",fit:"cover",class:"avatar"})):v("v-if",!0)]),l("div",Pe,[l("div",He,[Array.isArray(e.message.content)?(n(),p("div",We,[(n(!0),p(I,null,D(e.message.content,(C,u)=>{var $;return n(),p("div",{key:u},[C.type==="image_url"?(n(),p("img",{key:0,src:($=C.image_url)==null?void 0:$.url,fit:"cover",class:"image"},null,8,ze)):v("v-if",!0),C.type==="text"?(n(),g(c,{key:u,content:C.text},null,8,["content"])):v("v-if",!0)])}),128))])):(n(),g(c,{key:0,content:(y=e.message)==null?void 0:y.content},null,8,["content"])),e.message.state===e.messageState.PENDING?(n(),g(_,{key:2})):v("v-if",!0)]),l("div",Fe,[Array.isArray(e.message.content)?v("v-if",!0):(n(),g(r,{key:0,content:e.message.content,class:"btn-copy"},null,8,["content"]))])]),e.errorText?(n(),g(h,{key:0,class:"error",title:e.errorText,type:"error",closable:!1},null,8,["title"])):v("v-if",!0),e.showBuyMore?(n(),g(s,{key:1,round:"",type:"primary",class:"btn btn-buy",size:"small",onClick:e.onBuyMore},{default:k(()=>[de(b(e.$t("common.button.buyMore")),1)]),_:1},8,["onClick"])):v("v-if",!0)],10,Ve)}var Ke=E(Le,[["render",je],["__scopeId","data-v-f0476f80"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/Message.vue"]]);const xe=S({name:"InputBox",components:{ElTooltip:ke,FontAwesomeIcon:R,ElUpload:be},props:{disabled:{type:Boolean,required:!1,default:!1},references:{type:Array,required:!1,default:()=>[]},question:{type:String,required:!0}},emits:["update:question","update:references","submit"],data(){return{inputHeight:"35px",questionValue:this.question,fileList:[],uploadUrl:le()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var t;return(t=e==null?void 0:e.response)==null?void 0:t.file_url})},canUpload(){return[U.name].includes(this.model.name)},model(){return this.$store.state.chat.model}},watch:{urls(e){this.$emit("update:references",e)},questionValue(e){this.$emit("update:question",e)},question(e){e!==this.questionValue&&(this.questionValue=e)},references(e){e.length===0&&(this.fileList=[])}},methods:{adjustTextareaHeight(){this.$nextTick(()=>{const e=this.$refs.textarea;e&&(e.style.height="35px",e.style.height=e.scrollHeight+"px")})},onSubmit(){!this.question||this.$emit("submit")},onExceed(){J.warning(this.$t("chat.message.uploadReferencesExceed"))},onError(){J.error(this.$t("chat.message.uploadReferencesError"))}}}),Je={class:"input-box"},Qe={class:"btn btn-upload"},Ye=["disabled","placeholder"],Xe={class:"info"};function Ze(e,t,a,m,w,o){const d=i("font-awesome-icon"),c=i("el-tooltip"),_=i("el-upload");return n(),p(I,null,[l("div",Je,[f(_,{"file-list":e.fileList,"onUpdate:file-list":t[0]||(t[0]=r=>e.fileList=r),class:q({upload:!0,disabled:!e.canUpload}),disabled:!e.canUpload,name:"file","show-file-list":!0,limit:1,multiple:!1,action:e.uploadUrl,"on-exceed":e.onExceed,"on-error":e.onError,headers:e.headers},{default:k(()=>[f(c,{class:"box-item",effect:"dark",content:e.$t("chat.message.uploadFile"),placement:"top"},{default:k(()=>[l("span",Qe,[f(d,{icon:"fa-solid fa-paperclip",class:"icon icon-attachment"})])]),_:1},8,["content"])]),_:1},8,["file-list","class","disabled","action","on-exceed","on-error","headers"]),l("span",{class:q({btn:!0,"btn-send":!0,disabled:!e.questionValue}),onClick:t[1]||(t[1]=(...r)=>e.onSubmit&&e.onSubmit(...r))},[f(d,{icon:"fa-solid fa-location-arrow",class:"icon icon-send"})],2),v(" add this textarea "),ce(l("textarea",{ref:"textarea","onUpdate:modelValue":t[2]||(t[2]=r=>e.questionValue=r),disabled:e.disabled,class:"input",placeholder:e.$t("chat.message.newMessagePlaceholder"),style:V({height:e.inputHeight}),onKeydown:t[3]||(t[3]=X(O((...r)=>e.onSubmit&&e.onSubmit(...r),["exact","prevent"]),["enter"])),onInput:t[4]||(t[4]=(...r)=>e.adjustTextareaHeight&&e.adjustTextareaHeight(...r))},null,44,Ye),[[ue,e.questionValue]])]),l("p",Xe,b(e.$t("chat.message.howToUse")),1)],64)}var et=E(xe,[["render",Ze],["__scopeId","data-v-020f4eb8"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/InputBox.vue"]]);const tt=S({name:"ModelSelector",components:{ElDropdown:Ee,ElDropdownMenu:Se,ElDropdownItem:Ie,FontAwesomeIcon:R},emits:["update:modelValue","select"],data(){return{options:[{icon:"fa-solid fa-bolt",color:"#ff9900",model:H},{icon:"fa-solid fa-bolt",color:"#ff9900",model:W},{icon:"fa-solid fa-wand-magic-sparkles",color:"#ce65e6",model:z},{icon:"fa-solid fa-wand-magic-sparkles",color:"#ce65e6",model:F},{icon:"fa-solid fa-wand-magic-sparkles",color:"#ce65e6",model:U}]}},computed:{model(){const e=this.$store.state.chat.model.name;return[H,W,z,F,U].find(a=>a.name===e)}},methods:{onCommandChange(e){this.$emit("select",e),this.$store.dispatch("chat/setModel",e)}}}),st={class:"selector"},ot={class:"name"},nt={class:"angle"},at={class:"item"},it={class:"info"},rt={class:"name"},lt={class:"description"};function dt(e,t,a,m,w,o){const d=i("font-awesome-icon"),c=i("el-dropdown-item"),_=i("el-dropdown-menu"),r=i("el-dropdown");return n(),p("div",st,[f(r,{trigger:"click","popper-class":"popper"},{dropdown:k(()=>[f(_,null,{default:k(()=>[(n(!0),p(I,null,D(e.options,(h,s)=>(n(),g(c,{key:s,onClick:y=>e.onCommandChange(h.model)},{default:k(()=>[l("div",at,[l("div",{class:"icon",style:V({color:h.color})},[f(d,{icon:h.icon},null,8,["icon"])],4),l("div",it,[l("p",rt,b(h.model.getDisplayName()),1),l("p",lt,b(h.model.getDescription()),1)])])]),_:2},1032,["onClick"]))),128))]),_:1})]),default:k(()=>{var h;return[l("div",null,[l("span",ot,b((h=e.model)==null?void 0:h.getDisplayName()),1),l("span",nt,[f(d,{icon:"fa-solid fa-angle-down"})])])]}),_:1})])}var ct=E(tt,[["render",dt],["__scopeId","data-v-7befff3e"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/ModelSelector2.vue"]]);const ut=S({name:"ConversationIntroductionItem",components:{FontAwesomeIcon:R},props:{content:{type:String,required:!0},icon:{type:String,required:!0},color:{type:String,default:"rgb(0, 0, 0)"}},data(){return{}},computed:{}}),pt={class:"item"},ht={class:"icon"},mt={class:"content"};function _t(e,t,a,m,w,o){const d=i("font-awesome-icon");return n(),p("div",pt,[l("div",ht,[f(d,{icon:e.icon,style:V({color:e.color})},null,8,["icon","style"])]),l("div",mt,b(e.content),1)])}var ft=E(ut,[["render",_t],["__scopeId","data-v-bc919b38"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/IntroductionItem.vue"]]);const gt=S({name:"ConversationIntroduction",components:{IntroductionItem:ft,ElRow:Ne,ElCol:De},emits:["draft"],data(){return{items:[{icon:"fa-solid fa-pen-nib",content:this.$t("chat.message.question1"),color:"rgb(226, 197, 65)"},{icon:"fa-solid fa-laptop-code",content:this.$t("chat.message.question2"),color:"rgb(203, 139, 208)"},{icon:"fa-solid fa-fan",content:this.$t("chat.message.question3"),color:"rgb(118, 208, 235)"},{icon:"fa-solid fa-plane-departure",content:this.$t("chat.message.question4"),color:"rgb(237, 98, 98)"}].sort(()=>Math.random()-.5)}},computed:{}}),$t={class:"introduction"};function yt(e,t,a,m,w,o){const d=i("introduction-item"),c=i("el-col"),_=i("el-row");return n(),p("div",$t,[f(_,{class:"items",justify:"center",gutter:15},{default:k(()=>[(n(!0),p(I,null,D(e.items,(r,h)=>(n(),g(c,{key:h,md:6,sm:12,xs:12},{default:k(()=>[f(d,{content:r.content,icon:r.icon,color:r.color,class:"cursor-pointer",onClick:s=>e.$emit("draft",r.content)},null,8,["content","icon","color","onClick"])]),_:2},1024))),128))]),_:1})])}var wt=E(gt,[["render",yt],["__scopeId","data-v-52040931"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/Introduction.vue"]]);const vt=S({name:"SidePanel",components:{ElInput:Ae,FontAwesomeIcon:R,ElSkeleton:Oe},props:{},emits:["click"],computed:{conversationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.id)==null?void 0:t.toString()},conversationGroups(){var d,c,_,r,h,s,y,C;const e=this.$store.state.chat.conversations,t=new Date;t.setHours(0,0,0,0);const a=new Date(t);a.setDate(a.getDate()-1);const m=new Date(t);m.setDate(m.getDate()-t.getDay());const w=new Date(m);w.setDate(w.getDate()-7);const o=e==null?void 0:e.reduce((u,$)=>{const M=new Date($.updated_at*1e3);return M>=t?u.today.push($):M>=a?u.yesterday.push($):M>=m?u.thisWeek.push($):u.earlier.push($),u},{today:[],yesterday:[],thisWeek:[],earlier:[]});return A(A(A(A({},((d=o==null?void 0:o.today)==null?void 0:d.length)>0?{today:(c=o==null?void 0:o.today)==null?void 0:c.sort((u,$)=>$.updated_at-u.updated_at)}:{}),((_=o==null?void 0:o.yesterday)==null?void 0:_.length)>0?{yesterday:(r=o==null?void 0:o.yesterday)==null?void 0:r.sort((u,$)=>$.updated_at-u.updated_at)}:{}),((h=o==null?void 0:o.thisWeek)==null?void 0:h.length)>0?{thisWeek:(s=o==null?void 0:o.thisWeek)==null?void 0:s.sort((u,$)=>$.updated_at-u.updated_at)}:{}),((y=o==null?void 0:o.earlier)==null?void 0:y.length)>0?{earlier:(C=o==null?void 0:o.earlier)==null?void 0:C.sort((u,$)=>$.updated_at-u.updated_at)}:{})},application(){return this.$store.state.chat.application},loading(){return this.$store.state.chat.status.getConversations===G.Request},token(){var e,t;return(t=(e=this.$store.state.chat)==null?void 0:e.credential)==null?void 0:t.token}},methods:{async onNewConversation(){this.$router.push({name:Q})},async onConfirm(e){const t=this.token;if(!t){console.error("Token is not found");return}e!=null&&e.deleting?(await L.deleteConversation(e.id,{token:t}),await this.$store.dispatch("chat/getConversations")):e!=null&&e.editing?(await L.updateConversation(e,{token:t}),await this.$store.dispatch("chat/getConversations")):e.editing=!0},onClick(e){!e||(this.$router.push({name:Y,params:{id:e}}),this.$emit("click",e))}}}),Ct={class:"panel"},kt={key:1,class:"conversations"},bt={class:"icons"},Et={class:"title"},St={class:"key"},It=["onClick"],Nt={class:"title"},Dt={key:0},At={key:1},Ot={key:2},Rt={class:"operations"};function Tt(e,t,a,m,w,o){const d=i("el-skeleton"),c=i("font-awesome-icon"),_=i("el-input");return n(),p("div",Ct,[e.loading&&e.conversationGroups===void 0?(n(),g(d,{key:0})):(n(),p("div",kt,[l("div",{class:"conversation",onClick:t[0]||(t[0]=(...r)=>e.onNewConversation&&e.onNewConversation(...r))},[l("div",bt,[f(c,{icon:"fa-solid fa-plus",class:"icon"})]),l("div",Et,b(e.$t("chat.message.startNewChat")),1)]),(n(!0),p(I,null,D(e.conversationGroups,(r,h)=>(n(),p("div",{key:h,class:"group"},[l("div",St,b(e.$t(`chat.group.${h}`)),1),(n(!0),p(I,null,D(r,(s,y)=>{var C;return n(),p("div",{key:y,class:q({conversation:!0,active:s.id===e.conversationId}),onClick:u=>e.onClick(s.id)},[l("div",Nt,[s!=null&&s.deleting?(n(),p("span",Dt,b(`${e.$t("chat.message.confirmDelete")}?`),1)):s!=null&&s.editing?(n(),p("span",At,[f(_,{modelValue:s.title,"onUpdate:modelValue":u=>s.title=u,onKeydown:X(u=>e.onConfirm(s),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeydown"])])):(s==null?void 0:s.title)||(s==null?void 0:s.messages)?(n(),p("span",Ot,b((s==null?void 0:s.title)||((C=s==null?void 0:s.messages[(s==null?void 0:s.messages.length)-1])==null?void 0:C.content)),1)):v("v-if",!0)]),l("div",Rt,[!(s!=null&&s.editing)&&!s.deleting?(n(),g(c,{key:0,icon:"fa-solid fa-edit",class:"icon icon-edit",onClick:O(u=>s.editing=!0,["stop"])},null,8,["onClick"])):v("v-if",!0),!(s!=null&&s.editing)&&!s.deleting?(n(),g(c,{key:1,icon:"fa-solid fa-trash",class:"icon icon-delete",onClick:O(u=>s.deleting=!0,["stop"])},null,8,["onClick"])):v("v-if",!0),(s==null?void 0:s.editing)||s.deleting?(n(),g(c,{key:2,icon:"fa-solid fa-check",class:"icon icon-confirm",onClick:O(u=>e.onConfirm(s),["stop"])},null,8,["onClick"])):v("v-if",!0),(s==null?void 0:s.editing)||s.deleting?(n(),g(c,{key:3,icon:"fa-solid fa-xmark",class:"icon icon-cancel",onClick:O(u=>{s.editing=!1,s.deleting=!1},["stop"])},null,8,["onClick"])):v("v-if",!0)])],10,It)}),128))]))),128))]))])}var qt=E(vt,[["render",Tt],["__scopeId","data-v-d866c834"],["__file","/home/runner/work/Nexior/Nexior/src/components/chat/SidePanel.vue"]]);const Mt=S({name:"LayoutChat",components:{SidePanel:qt,ElDrawer:Re,ElButton:te,FontAwesomeIcon:R},data(){return{drawer:!1}}}),Ut={class:"main"},Gt={class:"side"},Lt={class:"chat"};function Vt(e,t,a,m,w,o){const d=i("side-panel"),c=i("font-awesome-icon"),_=i("el-button"),r=i("el-drawer");return n(),p("div",Ut,[l("div",Gt,[K(e.$slots,"side",{},()=>[f(d)],!0)]),l("div",Lt,[K(e.$slots,"chat",{},void 0,!0)]),f(_,{round:"",class:"menu",onClick:t[0]||(t[0]=h=>e.drawer=!0)},{default:k(()=>[f(c,{icon:"fa-solid fa-bars",class:"icon-menu"})]),_:1}),f(r,{modelValue:e.drawer,"onUpdate:modelValue":t[1]||(t[1]=h=>e.drawer=h),"with-header":!1,size:"290px",class:"drawer"},{default:k(()=>[f(d)]),_:1},8,["modelValue"])])}var Bt=E(Mt,[["render",Vt],["__scopeId","data-v-8d7a06d2"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Chat.vue"]]);const Pt=S({name:"ChatConversation",components:{InputBox:et,Introduction:wt,ModelSelector2:ct,Message:Ke,ApplicationStatus:$e,Layout:Bt},data(){var e,t;return{question:"",references:[],answering:!1,messages:((t=(e=this.$store.state.chat.conversations)==null?void 0:e.find(a=>{var m;return a.id===((m=this.$route.params.id)==null?void 0:m.toString())}))==null?void 0:t.messages)||[]}},computed:{model(){return this.$store.state.chat.model},conversationId(){var e;return(e=this.$route.params.id)==null?void 0:e.toString()},conversation(){var e;return(e=this.$store.state.chat.conversations)==null?void 0:e.find(t=>t.id===this.conversationId)},service(){return this.$store.state.chat.service},application(){return this.$store.state.chat.application},credential(){var e;return(e=this.$store.state.chat)==null?void 0:e.credential},needApply(){return this.$store.state.chat.status.getApplication===G.Success&&!this.application},conversations(){return this.$store.state.chat.conversations},initializing(){return this.$store.state.chat.status.getApplication===G.Request}},watch:{model(e){e&&this.onModelChanged()},conversationId(e){var t,a;e?(this.messages=((a=(t=this.conversations)==null?void 0:t.find(m=>m.id===e))==null?void 0:a.messages)||[],this.onScrollDown()):this.messages=[]}},async mounted(){await this.onGetService(),await this.onGetApplication(),await this.onGetConversations(),await this.onScrollDown()},methods:{async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("chat/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplication"),await this.$store.dispatch("chat/getApplication"),console.debug("end onGetApplication")},async onGetConversations(){console.debug("start onGetConversations"),await this.$store.dispatch("chat/getConversations"),console.debug("end onGetConversations")},async onDraft(e){this.question=e,this.onSubmit()},async onCreateNewConversation(){await this.$router.push({name:Q})},async onModelChanged(){await this.onCreateNewConversation(),await this.$store.dispatch("chat/getApplication")},async onSubmit(){if(this.references.length>0){let e=[];e.push({type:"text",text:this.question});for(let t=0;t<this.references.length;t++)e.push({type:"image_url",image_url:this.references[t]});this.messages.push({content:e,role:j})}else this.messages.push({content:this.question,role:j});console.debug("onSubmit",this.question,this.references),await this.onFetchAnswer()},async onScrollDown(){setTimeout(()=>{const e=document.querySelector(".dialogue");!e||!this.messages||this.messages.length===0||(e.scrollTop=e==null?void 0:e.scrollHeight)},0)},async onFetchAnswer(){var w;const e=(w=this.credential)==null?void 0:w.token,t=this.question,a=this.references;if(console.debug("validated",t,a),this.question="",this.references=[],!e||!t){console.error("no token or endpoint or question"),this.messages.push({error:{code:ee},role:T,state:N.FAILED});return}let m=this.conversationId;this.messages.push({content:"",role:T,state:N.PENDING}),console.debug("start to get answer",this.messages),this.onScrollDown(),this.answering=!0,L.chatConversation({question:t,model:this.model.name,references:a,id:this.conversationId,stateful:!0},{token:e,stream:o=>{console.debug("stream response",o),this.messages[this.messages.length-1]={role:T,content:o.answer,state:N.ANSWERING},m=o==null?void 0:o.id,this.onScrollDown()}}).then(async()=>{console.debug("finished fetch answer",this.messages),this.messages[this.messages.length-1].state=N.FINISHED,await this.$store.dispatch("chat/setConversation",{id:m,messages:this.messages}),this.answering=!1,this.conversationId||await this.$router.push({name:Y,params:{id:m}}),this.onScrollDown(),await this.$store.dispatch("chat/getConversations"),await this.$store.dispatch("chat/getApplication")}).catch(o=>{var d,c;if(this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].state=N.FAILED),console.error(o),ae.isCancel(o))this.messages[this.messages.length-1].error={code:ye};else if((d=o==null?void 0:o.response)!=null&&d.data){let _=(c=o==null?void 0:o.response)==null?void 0:c.data;Te(_)&&(_=JSON.parse(_)),this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].error=_.error)}else this.messages&&this.messages.length>0&&(this.messages[this.messages.length-1].error={code:Z});this.answering=!1})}}}),Ht={class:"dialogue"},Wt={key:1,class:"messages"},zt={class:"bottom"};function Ft(e,t,a,m,w,o){const d=i("model-selector2"),c=i("application-status"),_=i("introduction"),r=i("message"),h=i("input-box"),s=i("layout");return n(),g(s,null,{chat:k(()=>[f(d,{class:"selector"}),f(c,{initializing:e.initializing,application:e.application,"need-apply":e.needApply,service:e.service,onRefresh:t[0]||(t[0]=y=>e.$store.dispatch("chat/getApplication"))},null,8,["initializing","application","need-apply","service"]),l("div",Ht,[e.messages.length===0?(n(),g(_,{key:0,onDraft:e.onDraft},null,8,["onDraft"])):(n(),p("div",Wt,[(n(!0),p(I,null,D(e.messages,(y,C)=>(n(),g(r,{key:C,message:y,application:e.application,class:"message"},null,8,["message","application"]))),128))]))]),l("div",zt,[f(h,{disabled:e.answering,question:e.question,references:e.references,"onUpdate:question":t[1]||(t[1]=y=>e.question=y),"onUpdate:references":t[2]||(t[2]=y=>e.references=y),onSubmit:e.onSubmit},null,8,["disabled","question","references","onSubmit"])])]),_:1})}var as=E(Pt,[["render",Ft],["__scopeId","data-v-3ab2fb26"],["__file","/home/runner/work/Nexior/Nexior/src/pages/chat/Conversation.vue"]]);export{as as default};
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{o as w,g as Y}from"./order.4c48c3e7.js";import{_ as V}from"./index.b4e14c52.js";import{O as P}from"./order.1bf5c3a2.js";import{Q as Z}from"./vendor-qrcode.44215e6b.js";import{r as z,b as H,a as U,i as x,n as ee,A as ae,B as re,C as te,D as oe,F as se}from"./vendor-element-plus.db44604a.js";import{H as D,al as l,o as t,L as c,M as a,V as r,f as m,S as n,U as i,aK as L,aL as Q,e as p,W as ie,T as v,Q as j}from"./vendor-@vue.d21dc667.js";import{I as le}from"./application.ea1e2a72.js";import"./vendor-axios.168e6950.js";import"./vendor-fortawesome.24d45401.js";const de=D({name:"PayOrderDialog",components:{ElDialog:z,QrCode:Z,ElRow:H,ElCol:U},props:{modelValue:{type:Object,required:!0},visible:{type:Boolean,required:!1,default:!1}},emits:["hide","update:modelValue"],data(){return{refreshTimer:void 0}},mounted(){this.onRefresh()},unmounted(){this.refreshTimer&&clearTimeout(this.refreshTimer)},methods:{onRefresh(){if(!this.modelValue.id){console.error("id does not exist");return}w.refresh(this.modelValue.id).then(({data:e})=>{e.state!==P.PAID?setTimeout(()=>{this.onRefresh()},2e3):this.$emit("hide"),this.$emit("update:modelValue",e)}).catch(()=>{setTimeout(()=>{this.onRefresh()},2e3)})}}}),ne=e=>(L("data-v-875060be"),e=e(),Q(),e),pe={class:"paycode wechat"},ue={class:"help-text"},ye=ne(()=>m("div",{class:"help-img"},[m("img",{src:"https://midas.gtimg.cn/enterprise/images/ep_sys_wx_tip.jpg"})],-1));function ce(e,o,I,E,T,C){const u=l("qr-code"),f=l("el-col"),k=l("el-row"),W=l("el-dialog");return t(),c(W,{"model-value":e.visible,title:e.$t("application.title.buyService"),width:"500px",center:""},{default:a(()=>[r(k,{class:"paycodes"},{default:a(()=>[r(f,{span:12},{default:a(()=>{var h,g;return[m("div",pe,[(h=e.modelValue)!=null&&h.pay_url?(t(),c(u,{key:0,value:(g=e.modelValue)==null?void 0:g.pay_url,size:200,class:"qrcode m-auto"},null,8,["value"])):n("v-if",!0),m("p",ue,i(e.$t("order.message.wechatPayHelp")),1)])]}),_:1}),r(f,{span:12},{default:a(()=>[ye]),_:1})]),_:1})]),_:1},8,["model-value","title"])}var me=V(de,[["render",ce],["__scopeId","data-v-875060be"],["__file","/home/runner/work/Nexior/Nexior/src/components/order/WechatPay.vue"]]);const fe=D({name:"PayOrderDialog",components:{ElDialog:z},props:{modelValue:{type:Object,required:!0},visible:{type:Boolean,required:!1,default:!1}},emits:["hide","update:modelValue"],data(){return{refreshTimer:void 0}},watch:{visible:{handler(e){e&&this.modelValue.pay_url&&window.open(this.modelValue.pay_url,"_blank")}}},mounted(){this.onRefresh()},unmounted(){this.refreshTimer&&clearTimeout(this.refreshTimer)},methods:{onRefresh(){if(!this.modelValue.id){console.error("id does not exist");return}w.refresh(this.modelValue.id).then(({data:e})=>{e.state!==P.PAID?setTimeout(()=>{this.onRefresh()},2e3):this.$emit("hide"),this.$emit("update:modelValue",e)}).catch(()=>{setTimeout(()=>{this.onRefresh()},5e3)})}}}),he={class:"text-center"};function _e(e,o,I,E,T,C){const u=l("el-dialog");return t(),c(u,{"model-value":e.visible,title:e.$t("application.title.buyService"),width:"500px",center:""},{default:a(()=>[m("p",he,i(e.$t("order.message.buyInExternalUrl")),1)]),_:1},8,["model-value","title"])}var ve=V(fe,[["render",_e],["__scopeId","data-v-85959ecc"],["__file","/home/runner/work/Nexior/Nexior/src/components/order/StripePay.vue"]]);var G=(e=>(e.WechatPay="WechatPay",e.Stripe="Stripe",e.AliPay="AliPay",e))(G||{});const $e=D({name:"ConsoleOrderDetail",components:{ElButton:x,ElRow:H,ElCard:ee,ElCol:U,ElSkeleton:ae,ElDivider:re,ElAlert:te,ElDescriptions:oe,ElDescriptionsItem:se,WechatPayOrder:me,StripePayOrder:ve},data(){return{PayWay:G,payWay:"WechatPay",OrderState:P,order:void 0,showPayWays:!0,loading:!1,paying:!1,prepaying:!1,applicationType:le}},computed:{id(){var e,o;return(o=(e=this.$route.params)==null?void 0:e.id)==null?void 0:o.toString()},redirect(){var e;return(e=this.$route.query)==null?void 0:e.redirect}},watch:{order:{handler(e){if((e==null?void 0:e.state)===P.PAID){setTimeout(()=>{var o;this.redirect&&window.location.replace((o=this.redirect)==null?void 0:o.toString())},2e3);return}},deep:!0}},mounted(){this.onFetchData()},methods:{getPriceString:Y,onFetchData(){this.loading=!0,w.refresh(this.id).then(({data:e})=>{this.order=e,e.pay_way&&(this.payWay=e.pay_way),this.loading=!1}).catch(()=>{this.loading=!1})},onRepay(){this.paying=!0},onPay(){this.prepaying=!0,w.pay(this.id,{pay_way:this.payWay}).then(({data:e})=>{this.prepaying=!1,this.order=e,this.order.price&&this.order.price>0&&(this.paying=!0)}).catch(()=>{this.prepaying=!1})}}}),K=e=>(L("data-v-2d1dc98e"),e=e(),Q(),e),ge={class:"title"},be={key:0,class:"pt-5"},we={key:1,class:"order"},Pe={key:0},ke={key:1},We={key:0,class:"price unfree"},Se={key:1,class:"price free"},Ve={key:0,class:"payways mb-6"},De=K(()=>m("span",{class:"payicon wechatpay"},null,-1)),Ie={class:"payname"},Ee=K(()=>m("span",{class:"payicon stripe"},null,-1)),Te={class:"payname"},Ce={key:1},Oe={key:2};function Ne(e,o,I,E,T,C){const u=l("el-col"),f=l("el-row"),k=l("el-skeleton"),W=l("copy-to-clipboard"),h=l("el-descriptions-item"),g=l("el-descriptions"),S=l("el-divider"),O=l("el-alert"),N=l("el-button"),M=l("el-card"),X=l("wechat-pay-order"),J=l("stripe-pay-order");return t(),p(ie,null,[r(f,{class:"panel"},{default:a(()=>[r(u,{span:24},{default:a(()=>[r(f,null,{default:a(()=>[r(u,{span:24},{default:a(()=>[m("h2",ge,i(e.$t("order.title.info")),1)]),_:1})]),_:1}),r(f,null,{default:a(()=>[r(u,{span:24},{default:a(()=>[r(M,{shadow:"hover"},{default:a(()=>{var _,R,A,q;return[r(f,null,{default:a(()=>[r(u,{span:16,offset:4},{default:a(()=>[e.loading?(t(),p("div",be,[r(k,{animated:""})])):(t(),p("div",we,[r(g,{column:1},{default:a(()=>{var $,b,B;return[r(h,{label:e.$t("order.field.id")},{default:a(()=>{var s,d,y;return[m("span",null,i((s=e.order)==null?void 0:s.id),1),(d=e.order)!=null&&d.id?(t(),c(W,{key:0,content:(y=e.order)==null?void 0:y.id,class:"inline-block"},null,8,["content"])):n("v-if",!0)]}),_:1},8,["label"]),r(h,{label:e.$t("order.field.description")},{default:a(()=>{var s;return[v(i((s=e.order)==null?void 0:s.description),1)]}),_:1},8,["label"]),(b=($=e.order)==null?void 0:$.application)!=null&&b.service?(t(),c(h,{key:0,label:e.$t("order.field.api")},{default:a(()=>{var s,d,y;return[v(i((y=(d=(s=e.order)==null?void 0:s.application)==null?void 0:d.service)==null?void 0:y.title),1)]}),_:1},8,["label"])):n("v-if",!0),(B=e.order)!=null&&B.pay_way?(t(),c(h,{key:1,label:e.$t("order.field.payWay")},{default:a(()=>{var s,d;return[((s=e.order)==null?void 0:s.pay_way)===e.PayWay.WechatPay?(t(),p("span",Pe,i(e.$t("order.title.wechatPay")),1)):n("v-if",!0),((d=e.order)==null?void 0:d.pay_way)===e.PayWay.Stripe?(t(),p("span",ke,i(e.$t("order.title.stripe")),1)):n("v-if",!0)]}),_:1},8,["label"])):n("v-if",!0),r(h,{label:e.$t("order.field.amount")},{default:a(()=>{var s,d,y,F;return[v(i((s=e.order)==null?void 0:s.amount)+" "+i(e.$t(`service.unit.${(F=(y=(d=e.order)==null?void 0:d.application)==null?void 0:y.service)==null?void 0:F.unit}`)),1)]}),_:1},8,["label"]),r(h,{label:e.$t("order.field.createdAt")},{default:a(()=>{var s;return[v(i(e.$dayjs.format((s=e.order)==null?void 0:s.created_at)),1)]}),_:1},8,["label"]),r(h,{label:e.$t("order.field.price")},{default:a(()=>{var s,d,y;return[((s=e.order)==null?void 0:s.price)&&((d=e.order)==null?void 0:d.price)>0?(t(),p("span",We,i(e.getPriceString({value:(y=e.order)==null?void 0:y.price})),1)):(t(),p("span",Se,i(e.$t("order.message.free")),1))]}),_:1},8,["label"])]}),_:1})]))]),_:1})]),_:1}),((_=e.order)==null?void 0:_.state)===e.OrderState.PAID?(t(),c(f,{key:0,class:"mb-5"},{default:a(()=>[r(u,{span:16,offset:4},{default:a(()=>[r(S,{"border-style":"dashed"}),r(O,{title:e.$t("order.message.paidSuccessfully"),type:"success","show-icon":"",closable:!1},null,8,["title"])]),_:1})]),_:1})):n("v-if",!0),((R=e.order)==null?void 0:R.state)===e.OrderState.EXPIRED?(t(),c(f,{key:1,class:"mb-5"},{default:a(()=>[r(u,{span:16,offset:4},{default:a(()=>[r(S,{"border-style":"dashed"}),r(O,{title:e.$t("order.message.orderExpired"),type:"error","show-icon":"",closable:!1},null,8,["title"])]),_:1})]),_:1})):n("v-if",!0),((A=e.order)==null?void 0:A.state)===e.OrderState.PENDING||((q=e.order)==null?void 0:q.state)===e.OrderState.FAILED?(t(),c(f,{key:2},{default:a(()=>[r(u,{span:16,offset:4},{default:a(()=>{var $;return[r(S,{"border-style":"dashed"}),e.showPayWays&&e.order.price&&e.order.price>0&&!e.order.pay_way?(t(),p("div",Ve,[(t(),p("div",{key:0,class:j({payway:!0,wechatpay:!0,active:e.payWay===e.PayWay.WechatPay}),onClick:o[0]||(o[0]=b=>e.payWay=e.PayWay.WechatPay)},[De,m("span",Ie,i(e.$t("order.title.wechatPay")),1)],2)),n("v-if",!0),(t(),p("div",{key:2,class:j({payway:!0,stripe:!0,active:e.payWay===e.PayWay.Stripe}),onClick:o[2]||(o[2]=b=>e.payWay=e.PayWay.Stripe)},[Ee,m("span",Te,i(e.$t("order.title.stripe")),1)],2))])):n("v-if",!0),($=e.order)!=null&&$.pay_way?(t(),p("div",Oe,[r(N,{type:"primary",round:"",size:"large",class:"btn-repay",onClick:e.onRepay},{default:a(()=>[v(i(e.$t("common.button.repay")),1)]),_:1},8,["onClick"])])):(t(),p("div",Ce,[r(N,{loading:e.prepaying,round:"",type:"primary",size:"large",class:"btn-pay",onClick:e.onPay},{default:a(()=>[v(i(e.$t("common.button.pay")),1)]),_:1},8,["loading","onClick"])]))]}),_:1})]),_:1})):n("v-if",!0)]}),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e.order&&e.payWay===e.PayWay.WechatPay?(t(),c(X,{key:0,modelValue:e.order,"onUpdate:modelValue":o[3]||(o[3]=_=>e.order=_),visible:e.paying,onHide:o[4]||(o[4]=_=>e.paying=!1)},null,8,["modelValue","visible"])):n("v-if",!0),e.order&&e.payWay===e.PayWay.Stripe?(t(),c(J,{key:1,modelValue:e.order,"onUpdate:modelValue":o[5]||(o[5]=_=>e.order=_),visible:e.paying,onHide:o[6]||(o[6]=_=>e.paying=!1)},null,8,["modelValue","visible"])):n("v-if",!0)],64)}var Qe=V($e,[["render",Ne],["__scopeId","data-v-2d1dc98e"],["__file","/home/runner/work/Nexior/Nexior/src/pages/console/order/Detail.vue"]]);export{Qe as default};
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{P as y}from"./Pagination.27a1c9eb.js";import{C as v}from"./CopyToClipboard.2106bfb3.js";import{b as $}from"./distribution.47e90af7.js";import{_ as C}from"./index.b4e14c52.js";import{b as H,a as D,u as F,w as E,n as k}from"./vendor-element-plus.db44604a.js";import{H as P,al as s,av as x,L as h,M as o,o as m,V as e,f as a,U as n,O as N}from"./vendor-@vue.d21dc667.js";import"./vendor-fortawesome.24d45401.js";import"./vendor-axios.168e6950.js";const S=P({name:"ConsoleDistributionList",components:{Pagination:y,CopyToClipboard:v,ElRow:H,ElCol:D,ElTable:F,ElTableColumn:E,ElCard:k},data(){return{distributionHistories:[],distributionStatus:void 0,loading:!1,total:void 0,limit:10}},computed:{redirect(){return this.$route.query.redirect},page(){var t;return parseInt(((t=this.$route.query.page)==null?void 0:t.toString())||"1")}},watch:{page:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{onPageChange(t){var u;this.$router.push({name:(u=this.$route.name)==null?void 0:u.toString(),query:{page:t}})},onFetchData(){this.loading=!0,Promise.all([this.onFetchDistributionHistory()]).finally(()=>{this.loading=!1})},async onFetchDistributionHistory(){const{data:t}=await $.getAll({user_id:this.$store.getters.user.id,ordering:"-created_at",limit:this.limit,offset:(this.page-1)*this.limit});this.distributionHistories=t.items,this.total=t.count}}}),q={class:"title"},A={class:"key"},B={class:"copy"},I={class:"key"},T={class:"copy"},V={class:"price"},z={class:"description"},L={class:"description"},O={class:"created-at"},j={class:"pagination m-v-lg"};function M(t,u,R,U,G,J){const c=s("el-col"),p=s("el-row"),_=s("copy-to-clipboard"),r=s("el-table-column"),f=s("el-table"),b=s("el-card"),g=s("pagination"),w=x("loading");return m(),h(p,{class:"panel"},{default:o(()=>[e(c,{span:24},{default:o(()=>[e(p,null,{default:o(()=>[e(c,{span:24},{default:o(()=>[a("h2",q,n(t.$t("common.title.distributionHistory")),1)]),_:1})]),_:1}),e(p,null,{default:o(()=>[e(c,{span:24},{default:o(()=>[e(b,{shadow:"hover"},{default:o(()=>[N((m(),h(f,{data:t.distributionHistories,stripe:""},{default:o(()=>[e(r,{prop:"id",label:t.$t("distribution.field.id"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",A,n(i.row.id),1),a("span",B,[e(_,{content:i.row.id},null,8,["content"])])]),_:1},8,["label"]),e(r,{prop:"id",label:t.$t("distribution.field.userId"),"class-name":"text-center",width:"350px"},{default:o(i=>[a("span",I,n(i.row.user_id),1),a("span",T,[e(_,{content:i.row.user_id},null,8,["content"])])]),_:1},8,["label"]),e(r,{label:t.$t("distribution.field.price"),width:"100px"},{default:o(i=>{var l,d;return[a("span",V,"\xA5"+n((d=(l=i.row)==null?void 0:l.price)==null?void 0:d.toFixed(2)),1)]}),_:1},8,["label"]),e(r,{label:t.$t("distribution.field.reward"),width:"100px"},{default:o(i=>{var l,d;return[a("span",z,"\uFFE5"+n((d=(l=i.row)==null?void 0:l.reward)==null?void 0:d.toFixed(2)),1)]}),_:1},8,["label"]),e(r,{label:t.$t("distribution.field.percentage"),width:"100px"},{default:o(i=>[a("span",L,n(i.row.percentage)+"%",1)]),_:1},8,["label"]),e(r,{label:t.$t("distribution.field.createdAt"),width:"200px"},{default:o(i=>[a("span",O,n(t.$dayjs.format(i.row.created_at)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[w,t.loading]])]),_:1})]),_:1})]),_:1}),e(p,null,{default:o(()=>[e(c,{span:10,offset:14},{default:o(()=>[a("div",j,[e(g,{"current-page":t.page,"page-size":t.limit,total:t.total,onChange:t.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}var it=C(S,[["render",M],["__scopeId","data-v-63f0e9ed"],["__file","/home/runner/work/Nexior/Nexior/src/pages/distribution/History.vue"]]);export{it as default};
@@ -1 +0,0 @@
1
- var ie=Object.defineProperty,le=Object.defineProperties;var oe=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var x=(e,i,u)=>i in e?ie(e,i,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[i]=u,r=(e,i)=>{for(var u in i||(i={}))se.call(i,u)&&x(e,u,i[u]);if(Z)for(var u of Z(i))ne.call(i,u)&&x(e,u,i[u]);return e},p=(e,i)=>le(e,oe(i));import"./vendor-others.6be4d17a.js";import{r as R,N as ee,i as W,W as H,Y as J,L as ae,K as z,x as de,B as re,b as ue,o as pe,a as me,n as fe,G as ce,S as ve,H as he}from"./vendor-element-plus.db44604a.js";import{_ as A,D as be,ai as ge}from"./index.b4e14c52.js";import{H as B,al as a,o as y,e as I,V as t,M as o,f as s,T as f,U as n,W as U,ai as te,L as q,as as $e,O as M,P as j,S as _e}from"./vendor-@vue.d21dc667.js";import{af as we}from"./vendor-fortawesome.24d45401.js";import"./vendor-axios.168e6950.js";const Ce=B({name:"EditText",components:{ElDialog:R,ElInput:ee,ElButton:W,ElIcon:H,Edit:J},props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},placeholder:{type:String,required:!0}},emits:["confirm","cancel"],data(){return{editing:!1,value:this.modelValue}},methods:{onCancel(){this.editing=!1},onConfirm(){this.$emit("confirm",this.value),this.editing=!1}}}),ke={class:"dialog-footer"};function ye(e,i,u,E,F,L){const C=a("el-input"),b=a("el-button"),c=a("el-dialog"),d=a("edit"),$=a("el-icon");return y(),I(U,null,[t(c,{modelValue:e.editing,"onUpdate:modelValue":i[1]||(i[1]=g=>e.editing=g),title:e.title,width:"400px"},{footer:o(()=>[s("span",ke,[t(b,{round:"",onClick:e.onCancel},{default:o(()=>[f(n(e.$t("common.button.cancel")),1)]),_:1},8,["onClick"]),t(b,{round:"",type:"primary",onClick:e.onConfirm},{default:o(()=>[f(n(e.$t("common.button.confirm")),1)]),_:1},8,["onClick"])])]),default:o(()=>[s("div",null,[t(C,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=g=>e.value=g),placeholder:e.placeholder},null,8,["modelValue","placeholder"])])]),_:1},8,["modelValue","title"]),s("span",{class:"edit",onClick:i[2]||(i[2]=g=>e.editing=!0)},[t($,{class:"icon"},{default:o(()=>[t(d)]),_:1})])],64)}var Ve=A(Ce,[["render",ye],["__file","/home/runner/work/Nexior/Nexior/src/components/site/EditText.vue"]]);const Ee=B({name:"EditImage",components:{ElDialog:R,ElButton:W,FontAwesomeIcon:we,ElIcon:H,Edit:J,ElUpload:ae},props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},tip:{type:String,required:!0}},emits:["confirm","cancel"],data(){return{editing:!1,value:this.modelValue,fileList:[],uploadUrl:be()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var i;return(i=e==null?void 0:e.response)==null?void 0:i.file_url})}},methods:{onCancel(){this.editing=!1},onConfirm(){var e;this.$emit("confirm",(e=this.urls)==null?void 0:e[0]),this.editing=!1},onExceed(){z.warning(this.$t("site.message.uploadImageExceed"))},onError(){z.error(this.$t("site.message.uploadImageError"))}}}),Ie={class:"el-upload__tip"},Se={class:"dialog-footer"};function Te(e,i,u,E,F,L){const C=a("font-awesome-icon"),b=a("el-button"),c=a("el-upload"),d=a("el-dialog"),$=a("edit"),g=a("el-icon");return y(),I(U,null,[t(d,{modelValue:e.editing,"onUpdate:modelValue":i[1]||(i[1]=m=>e.editing=m),title:e.title,width:"400px"},{footer:o(()=>[s("span",Se,[t(b,{round:"",onClick:e.onCancel},{default:o(()=>[f(n(e.$t("common.button.cancel")),1)]),_:1},8,["onClick"]),t(b,{round:"",type:"primary",onClick:e.onConfirm},{default:o(()=>[f(n(e.$t("common.button.confirm")),1)]),_:1},8,["onClick"])])]),default:o(()=>[s("div",null,[t(c,{"file-list":e.fileList,"onUpdate:file-list":i[0]||(i[0]=m=>e.fileList=m),name:"file",limit:5,multiple:!0,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,headers:e.headers},{tip:o(()=>[s("div",Ie,n(e.tip),1)]),default:o(()=>[t(b,{round:"",type:"primary",class:"btn btn-upload"},{default:o(()=>[t(C,{icon:"fa-solid fa-upload",class:"icon mr-2"}),f(" "+n(e.$t("site.button.upload")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","headers"])])]),_:1},8,["modelValue","title"]),s("span",{class:"edit",onClick:i[2]||(i[2]=m=>e.editing=!0)},[t(g,{class:"icon"},{default:o(()=>[t($)]),_:1})])],64)}var Ue=A(Ee,[["render",Te],["__file","/home/runner/work/Nexior/Nexior/src/components/site/EditImage.vue"]]);const Ne=B({name:"EditText",components:{ElDialog:R,ElInput:ee,ElButton:W,ElIcon:H,ElTag:de,Edit:J},props:{modelValue:{type:Array,required:!0},title:{type:String,required:!0},placeholder:{type:String,required:!0},tip:{type:String,default:void 0},min:{type:Number,default:void 0},minErrorMessage:{type:String,default:void 0}},emits:["confirm","cancel"],data(){return{inputVisible:!1,inputValue:"",editing:!1,value:JSON.parse(JSON.stringify(this.modelValue))}},methods:{onCancel(){this.editing=!1},onConfirm(){if(this.min!==void 0&&this.value.length<this.min){z.error(this.minErrorMessage);return}this.$emit("confirm",this.value),this.editing=!1},onClose(e){this.value.splice(this.value.indexOf(e),1)},onInputConfirm(){const e=this.inputValue;e&&this.value.push(e),this.inputVisible=!1,this.inputValue=""},onNewItem(){this.inputVisible=!0,this.$nextTick(()=>{this.$refs.input.focus()})}}}),De=f(" + "),qe={class:"block tip"},Ae={class:"dialog-footer"};function Be(e,i,u,E,F,L){const C=a("el-tag"),b=a("el-input"),c=a("el-button"),d=a("el-dialog"),$=a("edit"),g=a("el-icon");return y(),I(U,null,[t(d,{modelValue:e.editing,"onUpdate:modelValue":i[1]||(i[1]=m=>e.editing=m),title:e.title,width:"400px"},{footer:o(()=>[s("span",Ae,[t(c,{round:"",onClick:e.onCancel},{default:o(()=>[f(n(e.$t("common.button.cancel")),1)]),_:1},8,["onClick"]),t(c,{round:"",type:"primary",onClick:e.onConfirm},{default:o(()=>[f(n(e.$t("common.button.confirm")),1)]),_:1},8,["onClick"])])]),default:o(()=>[(y(!0),I(U,null,te(e.value,(m,N)=>(y(),q(C,{key:N,closable:"",round:"",class:"mr-2 mb-2","disable-transitions":!1,onClose:S=>e.onClose(m)},{default:o(()=>[f(n(m),1)]),_:2},1032,["onClose"]))),128)),e.inputVisible?(y(),q(b,{key:0,ref:"input",modelValue:e.inputValue,"onUpdate:modelValue":i[0]||(i[0]=m=>e.inputValue=m),class:"block",size:"small",onKeyup:$e(e.onInputConfirm,["enter"]),onBlur:e.onInputConfirm},null,8,["modelValue","onKeyup","onBlur"])):(y(),q(c,{key:1,round:"",class:"block",size:"small",onClick:e.onNewItem},{default:o(()=>[De]),_:1},8,["onClick"])),s("span",qe,n(e.tip),1)]),_:1},8,["modelValue","title"]),s("span",{class:"edit",onClick:i[2]||(i[2]=m=>e.editing=!0)},[t(g,{class:"icon"},{default:o(()=>[t($)]),_:1})])],64)}var Fe=A(Ne,[["render",Be],["__file","/home/runner/work/Nexior/Nexior/src/components/site/EditArray.vue"]]);const Le=B({name:"SiteIndex",components:{EditText:Ve,EditImage:Ue,EditArray:Fe,ElDivider:re,ElRow:ue,ElImage:pe,ElCol:me,ElCard:fe,ElForm:ce,ElSwitch:ve,ElFormItem:he},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){var u;const i=r(r({},this.site),e);ge.update((u=this.site)==null?void 0:u.id,i).then(()=>{var E;console.debug("getSite for id",(E=this.site)==null?void 0:E.id),this.$store.dispatch("getSite")})}}}),Oe={class:"title"},Ke={class:"title"},Me={class:"block w-full"},je={class:"block tip"},ze={class:"block w-full"},Re={class:"block tip"},We={class:"block w-full"},He={class:"block tip"},Je={class:"block w-full"},Pe={class:"block tip"},Qe={class:"block w-full"},Ge={class:"block tip"},Ye={class:"title"},Xe={class:"block w-full"},Ze={class:"block tip"},xe={class:"block w-full"},et={class:"block tip"},tt={class:"title"},it={class:"block tip"},lt={class:"block tip"},ot={class:"title"},st={class:"w-full"},nt={class:"block tip w-full"},at={key:0},dt={class:"block w-full"},rt={class:"block w-full"};function ut(e,i,u,E,F,L){const C=a("el-col"),b=a("el-row"),c=a("el-divider"),d=a("el-form-item"),$=a("edit-text"),g=a("el-image"),m=a("edit-image"),N=a("edit-array"),S=a("el-form"),D=a("el-card"),O=a("el-switch");return y(),q(b,{class:"panel"},{default:o(()=>[t(C,{span:24},{default:o(()=>[t(b,null,{default:o(()=>[t(C,{span:24},{default:o(()=>[s("h2",Oe,n(e.$t("common.title.site")),1)]),_:1})]),_:1}),t(b,{gutter:15},{default:o(()=>[t(C,{md:12,xs:24},{default:o(()=>[t(D,{shadow:"hover",class:"mb-4"},{default:o(()=>[s("h4",Ke,n(e.$t("site.title.basicConfig")),1),t(c),t(S,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:o(()=>[t(d,{label:e.$t("site.field.origin")},{default:o(()=>[s("span",Me,n(e.site.origin),1),s("span",je,n(e.$t("site.message.originTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.title")},{default:o(()=>[s("span",ze,[f(n(e.site.title)+" ",1),t($,{"model-value":e.site.title,title:e.$t("site.title.editTitle"),placeholder:e.$t("site.placeholder.title"),onConfirm:i[0]||(i[0]=l=>e.onSave({title:l}))},null,8,["model-value","title","placeholder"])]),s("span",Re,n(e.$t("site.message.titleTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.logo")},{default:o(()=>[s("span",We,[t(g,{src:e.site.logo,class:"logo"},null,8,["src"]),t(m,{"model-value":e.site.logo,title:e.$t("site.title.editLogo"),tip:e.$t("site.message.editLogoTip"),onConfirm:i[1]||(i[1]=l=>e.onSave({logo:l}))},null,8,["model-value","title","tip"])]),s("span",He,n(e.$t("site.message.logoTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.favicon")},{default:o(()=>[s("span",Je,[t(g,{src:e.site.favicon,class:"favicon"},null,8,["src"]),t(m,{"model-value":e.site.favicon,title:e.$t("site.title.editFavicon"),tip:e.$t("site.message.editFaviconTip"),onConfirm:i[2]||(i[2]=l=>e.onSave({favicon:l}))},null,8,["model-value","title","tip"])]),s("span",Pe,n(e.$t("site.message.faviconTip")),1)]),_:1},8,["label"]),t(c,{"border-style":"dashed"}),t(d,{label:e.$t("site.field.admins")},{default:o(()=>{var l,v;return[s("span",Qe,[f(n((l=e.site.admins)==null?void 0:l.join(", "))+" ",1),t(N,{"model-value":((v=e.site)==null?void 0:v.admins)||[],title:e.$t("site.title.editAdmins"),placeholder:e.$t("site.placeholder.admins"),tip:e.$t("site.message.adminsTip2"),min:1,"min-error-message":e.$t("site.message.atLeastOneAdmin"),onConfirm:i[3]||(i[3]=k=>e.onSave({admins:k}))},null,8,["model-value","title","placeholder","tip","min-error-message"])]),s("span",Ge,n(e.$t("site.message.adminsTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])]),_:1}),t(D,{shadow:"hover"},{default:o(()=>[s("h4",Ye,n(e.$t("site.title.seoConfig")),1),t(c),t(S,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:o(()=>[t(d,{label:e.$t("site.field.description")},{default:o(()=>[s("span",Xe,[f(n(e.site.description)+" ",1),t($,{"model-value":e.site.description,title:e.$t("site.title.editDescription"),placeholder:e.$t("site.placeholder.description"),onConfirm:i[4]||(i[4]=l=>e.onSave({description:l}))},null,8,["model-value","title","placeholder"])]),s("span",Ze,n(e.$t("site.message.descriptionTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.keywords")},{default:o(()=>{var l,v;return[s("span",xe,[f(n((l=e.site.keywords)==null?void 0:l.join(", "))+" ",1),t(N,{"model-value":((v=e.site)==null?void 0:v.keywords)||[],title:e.$t("site.title.editKeywords"),placeholder:e.$t("site.placeholder.keywords"),tip:e.$t("site.message.keywordsTip2"),onConfirm:i[5]||(i[5]=k=>e.onSave({keywords:k}))},null,8,["model-value","title","placeholder","tip"])]),s("span",et,n(e.$t("site.message.keywordsTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])]),_:1})]),_:1}),t(C,{md:12,xs:24},{default:o(()=>[t(D,{shadow:"hover",class:"mb-4"},{default:o(()=>[s("h4",tt,n(e.$t("site.title.distributionConfig")),1),t(c),t(S,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:o(()=>[t(d,{label:e.$t("site.field.distributionDefaultInviterId")},{default:o(()=>{var l,v;return[f(n((l=e.site.distribution)==null?void 0:l.default_inviter_id)+" ",1),t($,{"model-value":(v=e.site.distribution)==null?void 0:v.default_inviter_id,title:e.$t("site.title.editDistributionDefaultInviterId"),placeholder:e.$t("site.placeholder.editDistributionDefaultInviterId"),onConfirm:i[6]||(i[6]=k=>e.onSave({distribution:p(r({},e.site.distribution),{default_inviter_id:k})}))},null,8,["model-value","title","placeholder"]),s("span",it,n(e.$t("site.message.distributionDefaultInviterIdTip")),1)]}),_:1},8,["label"]),t(d,{label:e.$t("site.field.distributionForceInviterId")},{default:o(()=>{var l,v;return[f(n((l=e.site.distribution)==null?void 0:l.force_inviter_id)+" ",1),t($,{"model-value":(v=e.site.distribution)==null?void 0:v.force_inviter_id,title:e.$t("site.title.editDistributionForceInviterId"),placeholder:e.$t("site.placeholder.editDistributionForceInviterId"),onConfirm:i[7]||(i[7]=k=>e.onSave({distribution:p(r({},e.site.distribution),{force_inviter_id:k})}))},null,8,["model-value","title","placeholder"]),s("span",lt,n(e.$t("site.message.distributionForceInviterIdTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])]),_:1}),t(D,{shadow:"hover"},{default:o(()=>[s("h4",ot,n(e.$t("site.title.featuresConfig")),1),t(c),t(S,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:o(()=>[(y(),I(U,null,te(["chat","midjourney","chatdoc","qrart","support"],(l,v)=>t(d,{key:v,label:e.$t("site.field.features"+l.charAt(0).toUpperCase()+l.slice(1))},{default:o(()=>{var k,P,Q,G,Y,X;return[s("div",st,[t(O,{"model-value":((k=e.site.features[l])==null?void 0:k.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":h=>e.onSave({features:p(r({},e.site.features),{[l]:p(r({},e.site.features[l]),{enabled:h})})})},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]),s("span",nt,n(e.$t("site.message.features"+l.charAt(0).toUpperCase()+l.slice(1))),1),l==="support"?M((y(),I("div",at,[t(d,{label:"WeChat"},{default:o(()=>{var h,_;return[t(O,{"model-value":((_=(h=e.site.features[l])==null?void 0:h.wechat)==null?void 0:_.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":V=>{var w;return e.onSave({features:p(r({},e.site.features),{[l]:p(r({},e.site.features[l]),{wechat:p(r({},(w=e.site.features[l])==null?void 0:w.wechat),{enabled:V})})})})}},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]}),_:2},1024),M(t(d,{label:e.$t("site.field.qr")},{default:o(()=>{var h,_,V,w;return[s("span",dt,[t(g,{src:(_=(h=e.site.features[l])==null?void 0:h.wechat)==null?void 0:_.qr},null,8,["src"]),t(m,{"model-value":(w=(V=e.site.features[l])==null?void 0:V.wechat)==null?void 0:w.qr,title:e.$t("site.title.editQR"),tip:e.$t("site.message.editQRTip"),onConfirm:K=>{var T;return e.onSave({features:p(r({},e.site.features),{[l]:p(r({},e.site.features[l]),{wechat:p(r({},(T=e.site.features[l])==null?void 0:T.wechat),{qr:K})})})})}},null,8,["model-value","title","tip","onConfirm"])])]}),_:2},1032,["label"]),[[j,(Q=(P=e.site.features[l])==null?void 0:P.wechat)==null?void 0:Q.enabled]]),t(d,{label:"Discord"},{default:o(()=>{var h,_;return[t(O,{"model-value":((_=(h=e.site.features[l])==null?void 0:h.discord)==null?void 0:_.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":V=>{var w;return e.onSave({features:p(r({},e.site.features),{[l]:p(r({},e.site.features[l]),{discord:p(r({},(w=e.site.features[l])==null?void 0:w.discord),{enabled:V})})})})}},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]}),_:2},1024),M(t(d,{label:e.$t("site.field.url")},{default:o(()=>{var h,_,V,w;return[s("span",rt,[f(n((_=(h=e.site.features[l])==null?void 0:h.discord)==null?void 0:_.url)+" ",1),t($,{"model-value":(w=(V=e.site.features[l])==null?void 0:V.discord)==null?void 0:w.url,title:e.$t("site.title.editUrl"),placeholder:e.$t("site.placeholder.editUrl"),onConfirm:K=>{var T;return e.onSave({features:p(r({},e.site.features),{[l]:p(r({},e.site.features[l]),{discord:p(r({},(T=e.site.features[l])==null?void 0:T.discord),{url:K})})})})}},null,8,["model-value","title","placeholder","onConfirm"])])]}),_:2},1032,["label"]),[[j,(Y=(G=e.site.features[l])==null?void 0:G.discord)==null?void 0:Y.enabled]])],512)),[[j,(X=e.site.features[l])==null?void 0:X.enabled]]):_e("v-if",!0)]}),_:2},1032,["label"])),64))]),_:1},8,["model"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var gt=A(Le,[["render",ut],["__scopeId","data-v-262b806e"],["__file","/home/runner/work/Nexior/Nexior/src/pages/site/Index.vue"]]);export{gt as default};
@@ -1 +0,0 @@
1
- import{z as G,B as X}from"./vendor-others.6be4d17a.js";import{g as Y,_,R as M,a as K,b as P,c as C}from"./index.b4e14c52.js";import{h as q,C as Z,a as S}from"./vendor-vue-dark-switch.e68439ce.js";import{H as p,al as t,o as r,L as d,e as V,av as j,M as n,V as o,O as I,S as L,T as w,U as u,f as A}from"./vendor-@vue.d21dc667.js";import{a as J,b as R,d as W,e as ee,f as oe,h as te,i as ne,j as z,k as re,l as se,m as ae}from"./vendor-element-plus.db44604a.js";import"./vendor-axios.168e6950.js";import"./vendor-fortawesome.24d45401.js";var le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAMFBMVEX///+3t7f4+Pi8vLzAwMDExMTS0tLIyMjk5OTz8/PY2NjOzs7u7u7d3d3p6enh4eFVKkJDAAAIfUlEQVR4nNVd15akOAylyRRQ9f9/O02BZJtgBQszfR/2zPahsJCvguVUFJYop35ux66pq6r6+fn9T910bTv3U2najBXK9zw2PxE07fz+n0Qf+raOyetL3g9PS7vgzRUYULfvZyXuR5nAgLF/SuK3UuJN7gf0PbyErDiieuU1zKmLyFJ3Y9u+vmh//V9dXT/b5VN3f+HbFq82nGivHH6999Vv8rC7P+NFzfBlF56xvl/sEy1Xbc8mZ9m3R7bcrO0jl+vXJH7J0YY78UvYKNuDjpWNTQd9tzd5ks9ePUm92u877WMlp4dhR+Y2OYkYdh3XmKclc9iATVwoXyFLZouXIobuBpEXlK+QcYbK7gOF2NpMaN2Vmfdr71LGirAbW5N3lr4F1rckC0GQbQw6cqrM1XACvzOr5EjT+2q+L24Vk6/sRGL7no6t5un9eQE+7JG4r+wk3+e9iGfXwzyeZHLjzDGFt0fEBB564ymOeRwzCg8dHaZ9kx8NZGZ8+UyOv0bSW3o9q5Tac5+0luajjGfqpsT2krIuTeaKZGQf4UUIKpx6xFbo2nGD9HSlpJZAGfSQILVjV02Z4CQsJhD2UdbcJ/dwyRfpNvozwaLo4q/0nMhLIrMThJSZZ4EhiJd6Ugti43SvzCTlPKnZmUNZMV+u4cYKwp85XlfcTBi/s6Z+MZ2LxADhGZzUDU9m5zjIr0woQhLxasAHWS7E9TgZU/Z1EBEIjbzxQYYxOudOxu73qTBcUGEaIzqD1hi96W6JTgzRoDSI/UhmITP7yUPFSYqaagD1R4wJkP8VnT8nTwVQqnauN06QjvtCvYt2IL3Zm/Uk9jjDz0RmMLggwx3SOuIUSniGpJv3bAJo1SAFr9mKH8aI+LqkI0RFtoIh9/L76Cc8GLCDoxxSjyAHgxxFYSEzJ18Ggly4YHQHnCQ2LRoCGINXQirim0JYUJpDatf/p24PP4mVwSblSg6MEhDGuzNVg6J5o8nEvAPAGZiAfk5MDRXNqxcmx/AVHPMprx8G1TEHwOzqTByseTgoDRxYDT6akSh9YSMzr6aLidOeTGCj3EqDkdC8GU9Q9c6voYlyJzxy0sOxOnRs8C3sQpSR92DOO4EDCXkAzoA935bPTy8AIgTBCIIyvyZsExF/uM2Byfk9A7VafuksfdyygFmJcc35NZ7tT5xUYMNwJYcI/FouGP7xOyT1YBOh+aVcsCHHBWCHZHLTxOfxF6ZA8HP82P7ASv4BJj5PMNMO/g3+H9ghqrtnGm4hIJLAd7byVxg5asGCA+AH2N2meYHvKPxZmQRIGtyMaOMweC/ZXJJJdJE0CF27Bm0oK8kWLKSWHxeILB8s7xN8gmxFi0VIFAkNqd5KiI3S7JBqJ7Ssycb70vAL2LAofMiE9hkBrQvX4OTXNLS4eGpwA8KlaxaGKHOy4OWWcSVoXSZz9ohYYLaxpB8bv4V2aFGeFiYOvqTb74V2mHkQ8IXjBKhMuKrMJIoLOQlmVGIiIlyPmXdguwJ6d8J/CZ1H0m4iB1Gr4D569HjCZalPaNoxeWtd5jKf4TRkpy30syh3KbLXPVZsWdIIQUK6dO8Jl+dkbUB6GfRranwIWx3hUzeVi5fRmggtDA6b/dWO3ELkLiF4QldqoXOPxhe8QOjt57LUpXhguGUhtEUFUtq9EBzUQluQWrphIV1oA1JLm0R6VFqh0z21eH30XmjFdofbF14dgC5PG1zS0w9pjuYFF2UYL9KHiXJGYhhXJkwLEk1RvrEMZVWmpgvSVC1XtEtNlYOAL1JYrdESOg3lcGtFQsVGs+Nu++msHdiu0BNEQQ5vYKssIWxQx3JNc1AqnbTFmg3qSoKmYz0mb//S7QDU1k5Vdu+VSnUFyA3aBES1ca9zkqb4PPVQUUVG74OVRfUNSqencXh+UR1sUnfqgy6+qLrVn75QThRt0I26VG0FU4dbRNfE1ULpqVVBIZBTN/kJ0PBDxY6QEbpp5v27JFCxI5xm1k3oIxT+Q+Wowgl93dIJhHzqVrW5erd0QrdIxUE8wFXxcL9IBXSlSRcLuSnq3NR+OZBq4ZWD1FXr8sn9wivVEjcPwtVuKtd6XOKmWUzoQeY/dCczHBcTKpZtnr2QB104gN70ukm+QNaHzBJV7DhbIAt/040ERMMXnbUDAwOtgvZVsUo0KaCi9Omib/SCqleKhE7KSsNIIt7IkFXoi40MSBrNO28X+ooHOKxWqPpuoVHRh7FDo3+pyHsorOZyG5R0w5kPUZmJffYFIrLhTLi1DzFJT0X+aWaZ3JGtfcJNlCvesTOuIpAcLBrdRIms5g4s+jFlM0PFPYY6ul1VtDG4PJzwqQHnGGpKKlA1fVKN0VqxX31Tx1DjOTBXaRFvs3vaWdkniPIEF3hdGgEmxpev0VpeHNf8ZuiROMBhet0hMch9qkogR2wXbeSojHI22jd5ifp1cLbY9dHB8NWhJCbOgkYzBxpFzxH3wu74F++ro8ckWsM7a5l7/IuzVnAxJX1MojGQ3shHslKCPPimY+b+jYfmU0qONPIOj5rzK9lDi33OyQttVpEaglXXMFoabQVmqny3QxaBW4opM3o4CtwDJazWGZtAUMi12ONkAtGMrNGS/1QI5yb+CxciLmc8EwoDKEokefK6CBKPRf47Mj/MEIujvv+MzA/6kKQLCR7y18q5Y8AjiWryrR1T9uwp/RqJ3YUdGWBxYUeR2RzN7gThn6ifCrtLaA7X/dwG4xtusvg+24uVihzKtr/Cqrh7OFPdcVlYcXItmyHS7x67ROwyxxTceAHegqsLHVOQ4WLH00sdE5DhUsev2IbaznR95gKrCnDGi0oXDOmTRrmvhP3i712+u+LvXXO84u9dKL2Cf3V33X7+i6u7N/y5S9IdvOvoF0G/19GP9tfR/wPQ21eEI8clLwAAAABJRU5ErkJggg==";const ce=p({components:{DarkSwitch:q},emits:["update:dark"],computed:{dark(){return G("THEME")==="dark"},switchValue(){return Z.value}},watch:{switchValue(e){console.log("switchValue",e),this.setCookie(e)},dark(e){document.documentElement.classList.toggle("dark",e),this.setCookie(this.dark)}},mounted(){console.log("dark selector mounted"),this.dark?(S(!0),document.documentElement.classList.add("dark")):(S(!1),document.documentElement.classList.remove("dark"))},methods:{setCookie(e){X("THEME",e?"dark":"light",{path:"/",domain:Y()})}}});function ie(e,s,m,f,h,k){const a=t("dark-switch");return r(),d(a,{class:"switch","dark-background":"#333","light-background":"#fff"})}var de=_(ce,[["render",ie],["__file","/home/runner/work/Nexior/Nexior/src/components/common/DarkSelector2.vue"]]);const ue=p({emits:["click"],computed:{dark(){return G("THEME")==="dark"},url(){var e;return(e=this.$store.state.site)==null?void 0:e.logo}}}),me=["src"];function _e(e,s,m,f,h,k){return r(),V("img",{src:e.url,class:"logo",onClick:s[0]||(s[0]=a=>e.$emit("click"))},null,8,me)}var pe=_(ue,[["render",_e],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Logo.vue"]]);const fe=p({name:"TopHeader",components:{ElCol:J,Logo:pe,ElRow:R,DarkSelector:de,ElDropdown:W,ElMenu:ee,ElMenuItem:oe,ElDropdownItem:te,ElButton:ne},data(){return{defaultAvatar:le}},computed:{site(){return this.$store.state.site},dark(){return this.$store.getters.dark},active(){return this.$route.matched[0].path},user(){return this.$store.getters.user},authenticated(){return this.$store.getters.authenticated}},methods:{onSelect(e){this.$router.push(e)},onHome(){this.$router.push({name:M})},onLogin(){this.$router.push({name:K})},onProfile(){const e=C();window.open(`${e}/user/profile`,"_blank")},onVerify(){const e=C();window.open(`${e}/user/verify`,"_blank")},onConsole(){this.$router.push({name:P})},async onLogout(){await this.$store.dispatch("resetToken"),await this.$store.dispatch("resetUser");const e=window.location.href,m=`${C()}/auth/logout?redirect=${e}`;window.location.href=m}}}),he={key:0,class:"mt-4 pr-10"},ke={key:1,class:"float-right"},ge=["src"];function ve(e,s,m,f,h,k){const a=t("logo"),l=t("el-col"),c=t("el-menu-item"),x=t("el-menu"),E=t("el-button"),g=t("dark-selector"),v=t("el-dropdown-item"),$=t("el-dropdown-menu"),Q=t("el-dropdown"),D=t("el-row"),y=j("t");return r(),d(D,{class:"header"},{default:n(()=>[o(l,{md:4,xs:24},{default:n(()=>[o(a,{onClick:e.onHome},null,8,["onClick"])]),_:1}),o(l,{md:16,xs:13},{default:n(()=>[o(x,{"default-active":e.active,class:"el-menu-demo",mode:"horizontal",ellipsis:!1,onSelect:e.onSelect},{default:n(()=>{var i,U,O,b,N,T,F,B,H;return[(O=(U=(i=e.site)==null?void 0:i.features)==null?void 0:U.chat)!=null&&O.enabled?I((r(),d(c,{key:0,index:"/chat"},null,512)),[[y,"index.title.chat"]]):L("v-if",!0),(T=(N=(b=e.site)==null?void 0:b.features)==null?void 0:N.midjourney)!=null&&T.enabled?I((r(),d(c,{key:1,index:"/midjourney"},null,512)),[[y,"index.title.midjourney"]]):L("v-if",!0),(H=(B=(F=e.site)==null?void 0:F.features)==null?void 0:B.qrart)!=null&&H.enabled?I((r(),d(c,{key:2,index:"/qrart"},null,512)),[[y,"index.title.qrart"]]):L("v-if",!0)]}),_:1},8,["default-active","onSelect"])]),_:1}),o(l,{md:4,xs:11},{default:n(()=>[e.authenticated?(r(),V("div",ke,[o(g),A("div",{class:"console",onClick:s[0]||(s[0]=(...i)=>e.onConsole&&e.onConsole(...i))},u(e.$t("common.button.console")),1),o(Q,{trigger:"click"},{dropdown:n(()=>[o($,null,{default:n(()=>[o(v,{onClick:e.onProfile},{default:n(()=>[w(u(e.$t("common.button.profile")),1)]),_:1},8,["onClick"]),o(v,{onClick:e.onLogout},{default:n(()=>[w(u(e.$t("common.button.logout")),1)]),_:1},8,["onClick"])]),_:1})]),default:n(()=>{var i;return[A("img",{src:((i=e.user)==null?void 0:i.avatar)||e.defaultAvatar,class:"avatar"},null,8,ge)]}),_:1})])):(r(),V("div",he,[o(E,{type:"primary",class:"float-right",size:"small",round:"",onClick:e.onLogin},{default:n(()=>[w(u(e.$t("common.button.login")),1)]),_:1},8,["onClick"]),o(g,{class:"float-right mr-4"})]))]),_:1})]),_:1})}var we=_(fe,[["render",ve],["__file","/home/runner/work/Nexior/Nexior/src/components/common/TopHeader.vue"]]);const Ae=p({name:"BottomFooter",components:{ElContainer:z,ElRow:R,ElCol:J},data(){return{}},computed:{},methods:{}}),xe={href:"https://platform.acedata.cloud"};function Ee(e,s,m,f,h,k){const a=t("el-col"),l=t("el-row"),c=t("el-container");return r(),d(c,{id:"footer",class:"footer"},{default:n(()=>[o(l,{class:"w-full"},{default:n(()=>[o(a,{class:"container",span:18,offset:3},{default:n(()=>[o(l,null,{default:n(()=>[o(a,{span:24,class:"text-center"},{default:n(()=>[A("p",null,[A("a",xe,u(e.$t("common.entity.website")),1),w(" \xA9 "+u(new Date().getFullYear())+" "+u(e.$t("common.entity.copyright")),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var ye=_(Ae,[["render",Ee],["__scopeId","data-v-5c0f0aec"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/BottomFooter.vue"]]);const Ce=p({name:"LayoutIndex",components:{TopHeader:we,BottomFooter:ye,ElContainer:z,ElMain:re,ElFooter:se,ElHeader:ae}});function Ie(e,s,m,f,h,k){const a=t("top-header"),l=t("el-header"),c=t("router-view"),x=t("el-main"),E=t("bottom-footer"),g=t("el-footer"),v=t("el-container");return r(),d(v,{class:"wrapper"},{default:n(()=>[o(l,{class:"header"},{default:n(()=>[o(a)]),_:1}),o(x,{class:"main"},{default:n(()=>[o(c)]),_:1}),o(g,{class:"footer"},{default:n(()=>[o(E)]),_:1})]),_:1})}var Fe=_(Ce,[["render",Ie],["__scopeId","data-v-3deb56ba"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Index.vue"]]);export{Fe as default};
@@ -1 +0,0 @@
1
- .wrapper[data-v-d9c0303e]{width:100%;background-color:var(--el-bg-color)}.wrapper .title[data-v-d9c0303e]{font-size:40px;text-align:center;font-weight:700;color:var(--el-text-color-primary)}.wrapper .subtitle[data-v-d9c0303e]{font-size:20px;line-height:40px;text-align:center;color:var(--el-text-color-secondary)}.container[data-v-d9c0303e]{margin:auto;max-width:1200px}.block[data-v-d9c0303e]{padding:150px 0}.block .preview[data-v-d9c0303e]{position:relative}.block .preview .image[data-v-d9c0303e]{border-radius:10px;padding:5px;background-color:#fff;box-shadow:var(--el-box-shadow-light)}.block .preview .image.desktop[data-v-d9c0303e]{max-width:100%;max-height:100%}.block .preview .image.mobile[data-v-d9c0303e]{width:30%;position:absolute;right:-5%;top:10%}.block .info[data-v-d9c0303e]{padding:20px 60px;text-align:center}.block .info .title[data-v-d9c0303e]{font-size:40px;color:var(--el-text-color-primary)}.block .info .subtitle[data-v-d9c0303e]{font-size:24px;color:var(--el-text-color-secondary)}.block .info .btn-try[data-v-d9c0303e]{padding:25px 62px;font-size:20px;line-height:20px;font-weight:700;border-radius:50px}#banner[data-v-d9c0303e]{padding:100px 0}@media (max-width: 767px){#banner .left .info[data-v-d9c0303e]{padding:0 50px}}#banner .left .info h1.title[data-v-d9c0303e]{font-size:60px;font-weight:700;margin-bottom:50px;text-align:left;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(90deg,#277186,#7752ff 40%,#5f98fa 60%,#44beff)}#banner .left .info h3.subtitle[data-v-d9c0303e]{font-size:30px;line-height:40px;margin-bottom:70px;text-align:left;color:var(--el-text-color-primary)}#banner .left .info .operations .btn-apply[data-v-d9c0303e]{padding:25px 62px;font-size:20px;line-height:20px;font-weight:700;border-radius:50px}@media (max-width: 767px){#banner .right[data-v-d9c0303e]{padding:50px 20px 0}}#banner .right .brand[data-v-d9c0303e]{max-width:100%;height:auto}#introduction[data-v-d9c0303e]{padding:100px 0}@media (max-width: 767px){#introduction[data-v-d9c0303e]{padding:100px 20px}}#introduction .info .title[data-v-d9c0303e]{font-size:20px}#introduction .info .subtitle[data-v-d9c0303e]{font-size:16px;line-height:30px;color:var(--el-text-color-secondary)}#introduction .info .icon-wrapper[data-v-d9c0303e]{background:var(--el-bg-color-page);width:50px;height:50px;border-radius:10px;padding:10px;text-align:center;line-height:40px;margin:10px auto 20px}#introduction .info .icon-wrapper .icon[data-v-d9c0303e]{font-size:25px;color:var(--el-color-primary)}#introduction[data-v-d9c0303e],#midjourney[data-v-d9c0303e],#suno[data-v-d9c0303e]{background:linear-gradient(90deg,#ebe7ff,#f2faff 53%,#e0f5fe)}.dark #introduction[data-v-d9c0303e],.dark #midjourney[data-v-d9c0303e],.dark #suno[data-v-d9c0303e]{background-image:linear-gradient(270deg,#277186 0%,#330867 100%)}#comments[data-v-d9c0303e]{padding:100px 0;background:var(--el-bg-color-page)}@media (max-width: 767px){#comments .main[data-v-d9c0303e]{padding:0 50px}}#comments .el-card[data-v-d9c0303e]{padding:50px 40px}@media (max-width: 767px){#comments .el-card[data-v-d9c0303e]{margin-bottom:15px}}#comments .el-card .content[data-v-d9c0303e]{font-size:16px;line-height:28px;color:var(--el-text-color-secondary);margin-bottom:20px}#comments .el-card .info[data-v-d9c0303e]{overflow:hidden}#comments .el-card .info .left[data-v-d9c0303e],#comments .el-card .info .right[data-v-d9c0303e]{float:left}#comments .el-card .info .avatar[data-v-d9c0303e]{width:60px;height:60px;border-radius:50%;margin-right:15px;display:block}#comments .el-card .info .name[data-v-d9c0303e]{font-size:18px;font-weight:700;margin-bottom:5px;color:var(--el-text-color-regular)}#comments .el-card .info .job[data-v-d9c0303e]{font-size:16px;color:var(--el-text-color-secondary)}
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{af as C}from"./vendor-fortawesome.24d45401.js";import{_ as I}from"./index.b4e14c52.js";import{i as q,b as E,a as N,n as B,o as S}from"./vendor-element-plus.db44604a.js";import{H as V,al as r,e as g,f as t,V as e,M as o,S as F,o as m,U as a,T as p,W as y,ai as k,L as w,aK as L,aL as T}from"./vendor-@vue.d21dc667.js";import"./vendor-axios.168e6950.js";const z=V({name:"Index",components:{ElButton:q,ElRow:E,ElCol:N,ElCard:B,ElImage:S,FontAwesomeIcon:C},data(){return{comments:[{avatar:"https://cdn.acedata.cloud/avatar1.png",name:this.$t("index.customers.name1"),job:this.$t("index.customers.job1"),content:this.$t("index.customers.comment1")},{avatar:"https://cdn.acedata.cloud/avatar2.png",name:this.$t("index.customers.name2"),job:this.$t("index.customers.job2"),content:this.$t("index.customers.comment2")},{avatar:"https://cdn.acedata.cloud/avatar3.png",name:this.$t("index.customers.name3"),job:this.$t("index.customers.job3"),content:this.$t("index.customers.comment3")}]}},computed:{site(){return this.$store.state.site},capabilities(){var s,d,f,b,v,$,c,n,_;return[...(f=(d=(s=this.site)==null?void 0:s.features)==null?void 0:d.chat)!=null&&f.enabled?[{title:this.$t("index.title.chat"),subtitle:this.$t("index.subtitle.chat"),icon:"fa-regular fa-comment"}]:[],...($=(v=(b=this.site)==null?void 0:b.features)==null?void 0:v.midjourney)!=null&&$.enabled?[{title:this.$t("index.title.midjourney"),subtitle:this.$t("index.subtitle.midjourney"),icon:"fa-solid fa-palette"}]:[],...(_=(n=(c=this.site)==null?void 0:c.features)==null?void 0:n.qrart)!=null&&_.enabled?[{title:this.$t("index.title.qrart"),subtitle:this.$t("index.subtitle.qrart"),icon:"fa-solid fa-qrcode"}]:[]]}},mounted(){},methods:{}}),u=s=>(L("data-v-d9c0303e"),s=s(),T(),s),A={class:"wrapper"},D={id:"banner"},H={class:"container"},K={class:"info"},M={class:"title"},R={class:"subtitle"},U={class:"operations"},W={id:"introduction"},G={class:"container"},J={class:"title"},O={class:"subtitle"},P={class:"icon-wrapper"},Q={class:"title"},X={class:"subtitle"},Y={id:"chat",class:"block"},Z={class:"container"},tt=u(()=>t("img",{src:"https://cdn.acedata.cloud/axynds.png",class:"image desktop"},null,-1)),st=u(()=>t("img",{src:"https://cdn.acedata.cloud/vds4i3.png",class:"image mobile"},null,-1)),et={class:"title"},ot={class:"subtitle"},at={id:"midjourney",class:"block"},nt={class:"container"},it={class:"title"},dt={class:"subtitle"},lt=u(()=>t("img",{src:"https://cdn.acedata.cloud/uk86mz.png",class:"image desktop"},null,-1)),ct=u(()=>t("img",{src:"https://cdn.acedata.cloud/rvelwm.png",class:"image mobile"},null,-1)),rt={class:"container"},ut=u(()=>t("img",{src:"https://cdn.acedata.cloud/gyogar.png",class:"image desktop"},null,-1)),_t=u(()=>t("img",{src:"https://cdn.acedata.cloud/5kunm0.png",class:"image mobile"},null,-1)),mt={class:"title"},ht={class:"subtitle"},pt={id:"comments"},ft={class:"container"},bt={class:"title"},vt={class:"subtitle"},$t={class:"content"},gt={class:"info"},xt={class:"left"},yt={class:"right"},kt={class:"name"},wt={class:"job"};function jt(s,d,f,b,v,$){const c=r("el-button"),n=r("el-col"),_=r("el-image"),l=r("el-row"),j=r("font-awesome-icon"),x=r("el-card");return m(),g("div",A,[t("div",D,[t("div",H,[e(l,null,{default:o(()=>[e(n,{md:12,xs:24,class:"left"},{default:o(()=>{var i;return[t("div",K,[t("h1",M,a((i=s.site)==null?void 0:i.title),1),t("h3",R,a(s.$t("index.subtitle.banner")),1),t("div",U,[e(c,{type:"primary",round:"",class:"btn-apply",onClick:d[0]||(d[0]=h=>s.$router.push({path:"/chat"}))},{default:o(()=>[p(a(s.$t("common.button.startForFree")),1)]),_:1})])])]}),_:1}),e(n,{md:12,xs:24,class:"right"},{default:o(()=>[e(_,{src:"https://cdn.acedata.cloud/illustration1.png",class:"brand"})]),_:1})]),_:1})])]),t("div",W,[t("div",G,[e(l,{class:"mb-6"},{default:o(()=>[e(n,{span:24},{default:o(()=>[t("h2",J,a(s.$t("index.title.introduction")),1),t("h5",O,a(s.$t("index.subtitle.introduction")),1)]),_:1})]),_:1}),e(l,{gutter:15},{default:o(()=>[(m(!0),g(y,null,k(s.capabilities,(i,h)=>(m(),w(n,{key:h,md:24/s.capabilities.length,xs:24,class:"mb-4"},{default:o(()=>[e(x,{class:"info text-center",shadow:"hover"},{default:o(()=>[t("div",P,[e(j,{icon:i.icon,class:"icon"},null,8,["icon"])]),t("h2",Q,a(i.title),1),t("p",X,a(i.subtitle),1)]),_:2},1024)]),_:2},1032,["md"]))),128))]),_:1})])]),t("div",Y,[t("div",Z,[e(l,null,{default:o(()=>[e(n,{md:16,xs:24,class:"preview"},{default:o(()=>[tt,st]),_:1}),e(n,{md:8,xs:24,class:"info"},{default:o(()=>[t("h2",et,a(s.$t("index.title.chat")),1),t("p",ot,a(s.$t("index.subtitle.chat")),1),e(c,{type:"primary",round:"",class:"btn-try",onClick:d[1]||(d[1]=i=>s.$router.push({path:"/chat"}))},{default:o(()=>[p(a(s.$t("index.button.try")),1)]),_:1})]),_:1})]),_:1})])]),t("div",at,[t("div",nt,[e(l,null,{default:o(()=>[e(n,{md:8,xs:24,class:"info"},{default:o(()=>[t("h2",it,a(s.$t("index.title.midjourney")),1),t("p",dt,a(s.$t("index.subtitle.midjourney")),1),e(c,{type:"primary",round:"",class:"btn-try",onClick:d[2]||(d[2]=i=>s.$router.push({path:"/midjourney"}))},{default:o(()=>[p(a(s.$t("index.button.try")),1)]),_:1})]),_:1}),e(n,{md:16,xs:24,class:"preview"},{default:o(()=>[lt,ct]),_:1})]),_:1})])]),t("div",{id:"qrart",class:"block",onClick:d[3]||(d[3]=i=>s.$router.push({path:"/qrart"}))},[t("div",rt,[e(l,null,{default:o(()=>[e(n,{md:16,xs:24,class:"preview"},{default:o(()=>[ut,_t]),_:1}),e(n,{md:8,xs:24,class:"info"},{default:o(()=>[t("h2",mt,a(s.$t("index.title.qrart")),1),t("p",ht,a(s.$t("index.subtitle.qrart")),1),e(c,{type:"primary",round:"",class:"btn-try"},{default:o(()=>[p(a(s.$t("index.button.try")),1)]),_:1})]),_:1})]),_:1})])]),F("v-if",!0),t("div",pt,[t("div",ft,[e(l,{class:"mb-6"},{default:o(()=>[e(n,{span:24},{default:o(()=>[t("h2",bt,a(s.$t("index.title.comments")),1),t("h5",vt,a(s.$t("index.subtitle.comments")),1)]),_:1})]),_:1}),e(l,{gutter:20,class:"main"},{default:o(()=>[(m(!0),g(y,null,k(s.comments,(i,h)=>(m(),w(n,{key:h,md:8,xs:24},{default:o(()=>[e(x,{shadow:"hover",class:"service","body-style":{padding:0}},{default:o(()=>[t("p",$t,a(i.content),1),t("div",gt,[t("div",xt,[e(_,{class:"avatar",src:i.avatar},null,8,["src"])]),t("div",yt,[t("div",kt,a(i.name),1),t("div",wt,a(i.job),1)])])]),_:2},1024)]),_:2},1024))),128))]),_:1})])])])}var St=I(z,[["render",jt],["__scopeId","data-v-d9c0303e"],["__file","/home/runner/work/Nexior/Nexior/src/pages/index/Index.vue"]]);export{St as default};
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{af as c}from"./vendor-fortawesome.24d45401.js";import{_ as r}from"./index.b4e14c52.js";import{q as a}from"./vendor-element-plus.db44604a.js";import{H as s,al as o,o as p,L as _,M as i,V as m}from"./vendor-@vue.d21dc667.js";const f=s({name:"InfoIcon",components:{FontAwesomeIcon:c,ElTooltip:a},props:{content:{type:String,required:!0}}});function l(e,d,u,I,v,x){const n=o("font-awesome-icon"),t=o("el-tooltip");return p(),_(t,{effect:"dark",content:e.content,placement:"top"},{default:i(()=>[m(n,{icon:"fa-solid fa-info",class:"icon icon-rotate"})]),_:1},8,["content"])}var C=r(f,[["render",l],["__scopeId","data-v-43d426ab"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/InfoIcon.vue"]]);export{C as I};
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{P as w}from"./Pagination.27a1c9eb.js";import{C as $}from"./CopyToClipboard.2106bfb3.js";import{_ as y,$ as C}from"./index.b4e14c52.js";import{b as I,S as D,a as k,u as E,w as F,n as P}from"./vendor-element-plus.db44604a.js";import{H as S,al as n,av as N,L as _,M as a,o as u,V as t,f as s,U as r,O as V}from"./vendor-@vue.d21dc667.js";import"./vendor-fortawesome.24d45401.js";import"./vendor-axios.168e6950.js";const q=S({name:"ConsoleDistributionInvitees",components:{Pagination:w,CopyToClipboard:$,ElRow:I,ElSwitch:D,ElCol:k,ElTable:E,ElTableColumn:F,ElCard:P},data(){return{invitees:[],loading:!1,total:void 0,limit:10}},computed:{redirect(){return this.$route.query.redirect},page(){var e;return parseInt(((e=this.$route.query.page)==null?void 0:e.toString())||"1")}},watch:{page:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{onPageChange(e){var p;this.$router.push({name:(p=this.$route.name)==null?void 0:p.toString(),query:{page:e}})},onFetchData(){this.loading=!0,Promise.all([this.onFetchInvitees()]).finally(()=>{this.loading=!1})},async onFetchInvitees(){const{data:e}=await C.getInvitees({limit:this.limit,offset:(this.page-1)*this.limit,ordering:"-created_at"});this.invitees=e.items,this.total=e.count}}}),B={class:"title"},T={class:"key"},j={class:"copy"},z={class:"description"},O={class:"description"},H={class:"created-at"},J={class:"pagination m-v-lg"};function L(e,p,M,R,U,A){const d=n("el-col"),c=n("el-row"),m=n("copy-to-clipboard"),i=n("el-table-column"),h=n("el-switch"),f=n("el-table"),g=n("el-card"),v=n("pagination"),b=N("loading");return u(),_(c,{class:"panel"},{default:a(()=>[t(d,{span:24},{default:a(()=>[t(c,null,{default:a(()=>[t(d,{span:24},{default:a(()=>[s("h2",B,r(e.$t("common.title.invitee")),1)]),_:1})]),_:1}),t(c,null,{default:a(()=>[t(d,{span:24},{default:a(()=>[t(g,{shadow:"hover"},{default:a(()=>[V((u(),_(f,{data:e.invitees,stripe:""},{default:a(()=>[t(i,{prop:"id",label:e.$t("user.field.id"),"class-name":"text-center",width:"350px"},{default:a(o=>[s("span",T,r(o.row.id),1),s("span",j,[t(m,{content:o.row.id},null,8,["content"])])]),_:1},8,["label"]),t(i,{label:e.$t("user.field.username"),width:"300px"},{default:a(o=>{var l;return[s("span",z,r((l=o.row)==null?void 0:l.username),1)]}),_:1},8,["label"]),t(i,{label:e.$t("user.field.nickname"),width:"200px"},{default:a(o=>[s("span",O,r(o.row.nickname),1)]),_:1},8,["label"]),t(i,{label:e.$t("user.field.isVerified")},{default:a(o=>{var l;return[t(h,{"model-value":(l=o.row)==null?void 0:l.is_verified},null,8,["model-value"])]}),_:1},8,["label"]),t(i,{label:e.$t("user.field.dateJoined")},{default:a(o=>[s("span",H,r(e.$dayjs.format(o.row.date_joined)),1)]),_:1},8,["label"])]),_:1},8,["data"])),[[b,e.loading]])]),_:1})]),_:1})]),_:1}),t(c,null,{default:a(()=>[t(d,{span:10,offset:14},{default:a(()=>[s("div",J,[t(v,{"current-page":e.page,"page-size":e.limit,total:e.total,onChange:e.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}var ee=y(q,[["render",L],["__scopeId","data-v-7cfed024"],["__file","/home/runner/work/Nexior/Nexior/src/pages/distribution/Invitees.vue"]]);export{ee as default};
@@ -1 +0,0 @@
1
- import"./vendor-others.6be4d17a.js";import{g as E,o as S}from"./order.4c48c3e7.js";import{P as O}from"./Pagination.27a1c9eb.js";import{C as P}from"./CopyToClipboard.2106bfb3.js";import{O as N}from"./order.1bf5c3a2.js";import{_ as I}from"./index.b4e14c52.js";import{b as L,a as T,u as A,w as B,i as V,x as z,n as F}from"./vendor-element-plus.db44604a.js";import{H as q,al as s,av as H,L as m,M as t,o as l,V as a,f as n,U as r,O as M,e as f,T as c,S as R}from"./vendor-@vue.d21dc667.js";import"./vendor-fortawesome.24d45401.js";import"./vendor-axios.168e6950.js";const j=q({name:"ConsoleOrderList",components:{Pagination:O,CopyToClipboard:P,ElRow:L,ElCol:T,ElTable:A,ElTableColumn:B,ElButton:V,ElTag:z,ElCard:F},data(){return{OrderState:N,orders:[],loading:!1,total:void 0,limit:Math.floor((window.innerHeight-300)/50)}},computed:{redirect(){return this.$route.query.redirect},page(){var e;return parseInt(((e=this.$route.query.page)==null?void 0:e.toString())||"1")}},watch:{page:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{getPriceString:E,onPageChange(e){var h;this.$router.push({name:(h=this.$route.name)==null?void 0:h.toString(),query:{page:e}})},onFetchData(){this.loading=!0,S.getAll({ordering:"-created_at",limit:this.limit,offset:(this.page-1)*this.limit,user_id:this.$store.getters.user.id}).then(({data:e})=>{this.orders=e.items,this.loading=!1,this.total=e.count}).catch(()=>{this.loading=!1})}}}),G={class:"title"},U={class:"key"},X={class:"copy"},J={class:"price"},K={key:0},Q={key:1,class:"state state-paid"},W={key:2,class:"state state-expired"},Y={key:3,class:"state state-failed"},Z={class:"description"},x={class:"created-at"},ee={class:"float-right"},te={class:"pagination"};function ae(e,h,oe,re,se,le){const p=s("el-col"),u=s("el-row"),y=s("copy-to-clipboard"),d=s("el-table-column"),_=s("el-tag"),g=s("el-button"),k=s("el-table"),v=s("el-card"),C=s("pagination"),D=H("loading");return l(),m(u,{class:"panel"},{default:t(()=>[a(p,{span:24},{default:t(()=>[a(u,null,{default:t(()=>[a(p,{span:24},{default:t(()=>[n("h2",G,r(e.$t("common.title.allOrders")),1)]),_:1})]),_:1}),a(u,null,{default:t(()=>[a(p,{span:24},{default:t(()=>[a(v,{shadow:"hover"},{default:t(()=>[M((l(),m(k,{data:e.orders,stripe:""},{default:t(()=>[a(d,{prop:"id",label:e.$t("order.field.id"),"class-name":"text-center",width:"350px"},{default:t(o=>[n("span",U,r(o.row.id),1),n("span",X,[a(y,{content:o.row.id},null,8,["content"])])]),_:1},8,["label"]),a(d,{label:e.$t("order.field.price"),width:"100px"},{default:t(o=>{var i;return[n("span",J,r(e.getPriceString({value:(i=o.row)==null?void 0:i.price})),1)]}),_:1},8,["label"]),a(d,{prop:"state",label:e.$t("order.field.state"),"class-name":"text-center",width:"150px"},{default:t(o=>{var i,w,$,b;return[o.row.state===((i=e.OrderState)==null?void 0:i.PENDING)?(l(),f("span",K,[a(_,{type:"info",class:"mx-1",effect:"dark"},{default:t(()=>[c(r(e.$t("order.state.pending")),1)]),_:1})])):o.row.state===((w=e.OrderState)==null?void 0:w.PAID)?(l(),f("span",Q,[a(_,{type:"success",class:"mx-1",effect:"dark"},{default:t(()=>[c(r(e.$t("order.state.paid")),1)]),_:1})])):o.row.state===(($=e.OrderState)==null?void 0:$.EXPIRED)?(l(),f("span",W,[a(_,{type:"warning",class:"mx-1",effect:"dark"},{default:t(()=>[c(r(e.$t("order.state.expired")),1)]),_:1})])):o.row.state===((b=e.OrderState)==null?void 0:b.FAILED)?(l(),f("span",Y,[a(_,{type:"danger",class:"mx-1",effect:"dark"},{default:t(()=>[c(r(e.$t("order.state.failed")),1)]),_:1})])):R("v-if",!0)]}),_:1},8,["label"]),a(d,{label:e.$t("order.field.description"),width:"300px"},{default:t(o=>[n("span",Z,r(o.row.description),1)]),_:1},8,["label"]),a(d,{label:e.$t("order.field.createdAt"),width:"180px"},{default:t(o=>[n("span",x,r(e.$dayjs.format(o.row.created_at)),1)]),_:1},8,["label"]),a(d,{fixed:"right","min-width":"120px"},{default:t(o=>[n("div",ee,[o.row.state!==e.OrderState.PAID?(l(),m(g,{key:0,type:"primary",size:"small",round:"",onClick:i=>e.$router.push({name:"console-order-detail",params:{id:o.row.id}})},{default:t(()=>[c(r(e.$t("order.button.continuePay")),1)]),_:2},1032,["onClick"])):(l(),m(g,{key:1,size:"small",round:"",onClick:i=>e.$router.push({name:"console-order-detail",params:{id:o.row.id}})},{default:t(()=>[c(r(e.$t("order.button.checkDetail")),1)]),_:2},1032,["onClick"]))])]),_:1})]),_:1},8,["data"])),[[D,e.loading]])]),_:1})]),_:1})]),_:1}),a(u,null,{default:t(()=>[a(p,null,{default:t(()=>[n("div",te,[a(C,{"current-page":e.page,"page-size":e.limit,total:e.total,onChange:e.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}var ge=I(j,[["render",ae],["__scopeId","data-v-388af89b"],["__file","/home/runner/work/Nexior/Nexior/src/pages/console/order/List.vue"]]);export{ge as default};
@@ -1 +0,0 @@
1
- import{z}from"./vendor-others.6be4d17a.js";import{af as q}from"./vendor-fortawesome.24d45401.js";import{D as j,L as F}from"./DarkSelector.891e6afc.js";import{_ as w,h as B,i as D,j as J,k as A,m as U,n as P,o as Q,p as W,q as H,r as Y,s as L,R as G,t as K,b as Z}from"./index.b4e14c52.js";import{H as I,o as m,e as C,al as _,L as T,M as s,I as x,V as t,T as M,U as O,S as y,f,W as ee,ai as te,Q as V,aK as oe,aL as se}from"./vendor-@vue.d21dc667.js";import{o as ne,p as ae,e as ie,f as re,i as le,q as ce}from"./vendor-element-plus.db44604a.js";const de=I({emits:["click"],computed:{dark(){return z("THEME")==="dark"},url(){var e;return(e=this.$store.state.site)==null?void 0:e.favicon}}}),ue=["src"];function me(e,o,r,l,d,h){return m(),C("img",{src:e.url,class:"logo tiny",onClick:o[0]||(o[0]=u=>e.$emit("click"))},null,8,ue)}var pe=w(de,[["render",me],["__file","/home/runner/work/Nexior/Nexior/src/components/common/LogoTiny.vue"]]);const _e=I({name:"HelpEntry",components:{ElImage:ne,ElPopover:ae,ElMenu:ie,ElMenuItem:re,FontAwesomeIcon:q},computed:{site(){return this.$store.state.site}},methods:{onJoin(){var e,o,r,l;window.open((l=(r=(o=(e=this.$store.state.site)==null?void 0:e.features)==null?void 0:o.support)==null?void 0:r.discord)==null?void 0:l.url,"_blank")},onProfit(){this.$router.push({name:B})}}}),fe={class:"flex"},he={class:"flex-1 text-center"};function ve(e,o,r,l,d,h){const u=_("font-awesome-icon"),a=_("el-menu-item"),i=_("el-image"),c=_("el-popover"),E=_("el-menu");return m(),T(c,{placement:"bottom",width:200,trigger:"hover","popper-style":{padding:"10px"}},{reference:s(()=>[x(e.$slots,"main",{},void 0,!0)]),default:s(()=>[t(E,{collapse:!1,class:"menu"},{default:s(()=>{var $,k,n,g;return[t(c,{width:350,trigger:"hover"},{reference:s(()=>{var p,v,b,N;return[(N=(b=(v=(p=e.site)==null?void 0:p.features)==null?void 0:v.support)==null?void 0:b.wechat)!=null&&N.enabled?(m(),T(a,{key:0,index:"1"},{title:s(()=>[M(O(e.$t("common.message.addWeChat")),1)]),default:s(()=>[t(u,{icon:"fa-brands fa-weixin",class:"mr-2"})]),_:1})):y("v-if",!0)]}),default:s(()=>{var p,v,b,N;return[f("div",fe,[f("div",he,[t(i,{src:(N=(b=(v=(p=e.site)==null?void 0:p.features)==null?void 0:v.support)==null?void 0:b.wechat)==null?void 0:N.qr},null,8,["src"])])])]}),_:1}),(g=(n=(k=($=e.site)==null?void 0:$.features)==null?void 0:k.support)==null?void 0:n.discord)!=null&&g.enabled?(m(),T(a,{key:0,index:"2",onClick:e.onJoin},{title:s(()=>[M(O(e.$t("common.message.joinDiscord")),1)]),default:s(()=>[t(u,{icon:"fa-brands fa-discord",class:"mr-2"})]),_:1},8,["onClick"])):y("v-if",!0)]}),_:1})]),_:3})}var $e=w(_e,[["render",ve],["__scopeId","data-v-a4fb3806"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/HelpEntry.vue"]]);const ke=I({name:"Navigator",components:{ElButton:le,HelpEntry:$e,LogoTiny:pe,DarkSelector:j,ElTooltip:ce,LocaleSelector:F,FontAwesomeIcon:q},props:{direction:{type:String,default:"column"}},data(){return{operating:{dark:!1,locale:!1},activeIndex:this.$route.name}},computed:{links(){var o,r,l,d,h,u,a,i,c,E,$,k,n,g,p,v,b,N,R,S;const e=[];return(h=(d=(l=(r=(o=this.$store)==null?void 0:o.state)==null?void 0:r.site)==null?void 0:l.features)==null?void 0:d.chat)!=null&&h.enabled&&e.push({route:{name:D},displayName:this.$t("common.nav.chat"),icon:"fa-regular fa-comment",routes:[J,D]}),(E=(c=(i=(a=(u=this.$store)==null?void 0:u.state)==null?void 0:a.site)==null?void 0:i.features)==null?void 0:c.midjourney)!=null&&E.enabled&&e.push({route:{name:A},displayName:this.$t("common.nav.midjourney"),icon:"fa-solid fa-palette",routes:[A]}),(p=(g=(n=(k=($=this.$store)==null?void 0:$.state)==null?void 0:k.site)==null?void 0:n.features)==null?void 0:g.chatdoc)!=null&&p.enabled&&e.push({route:{name:U},displayName:this.$t("common.nav.chatdoc"),icon:"fa-solid fa-file-lines",routes:[U,P,Q,W]}),(S=(R=(N=(b=(v=this.$store)==null?void 0:v.state)==null?void 0:b.site)==null?void 0:N.features)==null?void 0:R.qrart)!=null&&S.enabled&&e.push({route:{name:H},displayName:this.$t("common.nav.qrart"),icon:"fa-solid fa-qrcode",routes:[H,Y]}),this.direction==="row"&&e.push({route:{name:L},displayName:this.$t("common.nav.profile"),icon:"fa-solid fa-user",routes:[L]}),e},authenticated(){return!!this.$store.state.token.access},showSite(){var e,o,r,l,d;return(d=(r=(o=(e=this.$store)==null?void 0:e.state)==null?void 0:o.site)==null?void 0:r.admins)==null?void 0:d.includes((l=this.$store.getters.user)==null?void 0:l.id)},showSupport(){var e,o,r,l,d,h,u,a,i,c,E,$,k,n,g,p,v;return((d=(l=(r=(o=(e=this.$store)==null?void 0:e.state)==null?void 0:o.site)==null?void 0:r.features)==null?void 0:l.support)==null?void 0:d.enabled)&&(((E=(c=(i=(a=(u=(h=this.$store)==null?void 0:h.state)==null?void 0:u.site)==null?void 0:a.features)==null?void 0:i.support)==null?void 0:c.discord)==null?void 0:E.enabled)||((v=(p=(g=(n=(k=($=this.$store)==null?void 0:$.state)==null?void 0:k.site)==null?void 0:n.features)==null?void 0:g.support)==null?void 0:p.wechat)==null?void 0:v.enabled))},showDistribution(){var e,o,r,l,d,h,u,a,i;return!((l=(r=(o=(e=this.$store)==null?void 0:e.state)==null?void 0:o.site)==null?void 0:r.distribution)!=null&&l.force_inviter_id)||((d=this.$store.getters.user)==null?void 0:d.id)===((i=(a=(u=(h=this.$store)==null?void 0:h.state)==null?void 0:u.site)==null?void 0:a.distribution)==null?void 0:i.force_inviter_id)}},methods:{onHome(){this.$router.push({name:G})},onSite(){this.$router.push({name:K})},onDistribution(){this.$router.push({name:B})},async onLogout(){await this.$store.dispatch("logout")},onConsole(){this.$router.push({name:Z})}}}),X=e=>(oe("data-v-a43dbcba"),e=e(),se(),e),ge=["direction"],Ce={class:"top"},Ee={key:0},be=["onClick"],Ne={class:"description"},ye=X(()=>f("div",{class:"middle"},null,-1)),Te={class:"bottom"},Oe={key:0,class:"link"},we={class:"link"},Ie={class:"link"},Re=X(()=>f("i",{class:"icon"},[f("svg",{preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},[f("path",{fill:"currentColor",d:"m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"})])],-1)),Se={class:"link"},De={key:1,class:"link"},Ae={key:2,class:"link"},Ue={key:3,class:"link"};function He(e,o,r,l,d,h){const u=_("logo-tiny"),a=_("font-awesome-icon"),i=_("el-button"),c=_("el-tooltip"),E=_("help-entry"),$=_("dark-selector"),k=_("locale-selector");return m(),C("div",{direction:e.direction,class:"navigator"},[f("div",Ce,[e.direction==="column"?(m(),C("div",Ee,[t(u,{onClick:e.onHome},null,8,["onClick"])])):y("v-if",!0),(m(!0),C(ee,null,te(e.links,(n,g)=>(m(),C("div",{key:g,class:V({link:!0,active:n.routes.includes(e.$route.name)})},[e.direction==="column"?(m(),T(c,{key:0,effect:"dark",content:n.displayName,placement:"right"},{default:s(()=>[t(i,{class:V({button:!0,active:n.routes.includes(e.$route.name)}),onClick:p=>e.$router.push(n.route)},{default:s(()=>[t(a,{icon:n.icon},null,8,["icon"])]),_:2},1032,["class","onClick"])]),_:2},1032,["content"])):(m(),C("div",{key:1,class:"cursor-pointer",onClick:p=>e.$router.push(n.route)},[t(a,{icon:n.icon},null,8,["icon"]),f("p",Ne,O(n.displayName),1)],8,be))],2))),128))]),ye,f("div",Te,[e.showSupport?(m(),C("div",Oe,[t(E,null,{main:s(()=>[t(i,{class:"button"},{default:s(()=>[t(a,{icon:"fa-solid fa-question"})]),_:1})]),_:1})])):y("v-if",!0),f("div",we,[t(c,{effect:"dark",content:e.$t("common.nav.darkMode"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:o[0]||(o[0]=n=>e.operating.dark=!0)},{default:s(()=>[t(a,{icon:"fa-solid fa-moon"})]),_:1})]),_:1},8,["content"]),t($,{visible:e.operating.dark,onClose:o[1]||(o[1]=n=>e.operating.dark=!1)},null,8,["visible"])]),f("div",Ie,[t(c,{effect:"dark",content:e.$t("common.nav.locale"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:o[2]||(o[2]=n=>e.operating.locale=!0)},{default:s(()=>[Re]),_:1})]),_:1},8,["content"]),t(k,{visible:e.operating.locale,onClose:o[3]||(o[3]=n=>e.operating.locale=!1)},null,8,["visible"])]),f("div",Se,[t(c,{effect:"dark",content:e.$t("common.nav.console"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:e.onConsole},{default:s(()=>[t(a,{icon:"fa-solid fa-compass"})]),_:1},8,["onClick"])]),_:1},8,["content"])]),e.showSite?(m(),C("div",De,[t(c,{effect:"dark",content:e.$t("common.nav.site"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:e.onSite},{default:s(()=>[t(a,{icon:"fa-solid fa-gear"})]),_:1},8,["onClick"])]),_:1},8,["content"])])):y("v-if",!0),e.showDistribution?(m(),C("div",Ae,[t(c,{effect:"dark",content:e.$t("common.nav.distribution"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:e.onDistribution},{default:s(()=>[t(a,{icon:"fa-solid fa-coins"})]),_:1},8,["onClick"])]),_:1},8,["content"])])):y("v-if",!0),e.authenticated?(m(),C("div",Ue,[t(c,{effect:"dark",content:e.$t("common.nav.logOut"),placement:"right"},{default:s(()=>[t(i,{class:"button",onClick:e.onLogout},{default:s(()=>[t(a,{icon:"fa-solid fa-arrow-right-from-bracket"})]),_:1},8,["onClick"])]),_:1},8,["content"])])):y("v-if",!0)])],8,ge)}var ze=w(ke,[["render",He],["__scopeId","data-v-a43dbcba"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Navigator.vue"]]);export{ze as N};
@@ -1 +0,0 @@
1
- var e={"button.setup":{message:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BBE\u7F6E\u67D0\u4E9B\u5185\u5BB9"},"button.preview":{message:"\u041F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u901A\u8FC7URL\u6253\u5F00\u9884\u89C8\u67D0\u4E2A\u6587\u4EF6"},"button.seeRawImage":{message:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u67E5\u770B\u539F\u59CB\u56FE\u7247"},"button.edit":{message:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u7F16\u8F91\u67D0\u4E9B\u5185\u5BB9"},"button.login":{message:"\u0412\u043E\u0439\u0442\u0438",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u767B\u5F55"},"button.logout":{message:"\u0412\u044B\u0439\u0442\u0438",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u9000\u51FA\u767B\u5F55"},"button.new":{message:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u521B\u5EFA\u65B0\u9879\u76EE"},"button.delete":{message:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u5220\u9664\u67D0\u4E9B\u5185\u5BB9"},"button.confirm":{message:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u786E\u8BA4\u67D0\u4E9B\u5185\u5BB9"},"button.cancel":{message:"\u041E\u0442\u043C\u0435\u043D\u0430",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u53D6\u6D88\u67D0\u4E9B\u64CD\u4F5C"},"button.alert":{message:"\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8B66\u544A\u67D0\u4E9B\u5185\u5BB9"},"button.info":{message:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u663E\u793A\u4FE1\u606F"},"button.publish":{message:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u53D1\u5E03\u67D0\u4E9B\u5185\u5BB9"},"button.watch":{message:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u89C2\u770B\u67D0\u4E9B\u5185\u5BB9"},"button.verify":{message:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u8FDB\u884C\u5B9E\u540D\u8BA4\u8BC1"},"button.profile":{message:"\u041F\u0440\u043E\u0444\u0438\u043B\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u663E\u793A\u4E2A\u4EBA\u8D44\u6599"},"button.console":{message:"\u041A\u043E\u043D\u0441\u043E\u043B\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u663E\u793A\u63A7\u5236\u53F0\u9875\u9762\u4EE5\u63A7\u5236\u7F51\u9875\u4E2D\u7684\u67D0\u4E9B\u5185\u5BB9"},"button.learn":{message:"\u0423\u0447\u0438\u0442\u044C\u0441\u044F",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u5B66\u4E60\u67D0\u4E9B\u5185\u5BB9"},"button.buy":{message:"\u041A\u0443\u043F\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u8D2D\u4E70\u67D0\u4E9B\u5185\u5BB9"},"button.try":{message:"\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u5C1D\u8BD5\u67D0\u4E9B\u5185\u5BB9"},"button.startForFree":{message:"\u041D\u0430\u0447\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u514D\u8D39\u5F00\u59CB\u4F7F\u7528"},"button.apply":{message:"\u041F\u043E\u0434\u0430\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u7533\u8BF7API\u670D\u52A1"},"button.refresh":{message:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u5237\u65B0\u9875\u9762"},"button.pay":{message:"\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9\u7528\u6237\u652F\u4ED8\u670D\u52A1\u8D39\u7528"},"button.repay":{message:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043E\u043F\u043B\u0430\u0442\u0443",description:"\u6309\u94AE\u6587\u672C\uFF0C\u7528\u4E8E\u8BA9 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043E\u043F\u043B\u0430\u0442\u0443 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438"},"button.applied":{message:"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to show that the user has already applied for the service"},"button.acquire":{message:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to let the user acquire the token or key for the API service"},"button.fillExample":{message:"\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0440",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to let the user fill in example data"},"button.buyMore":{message:"\u041A\u0443\u043F\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to let the user buy more content"},"button.update":{message:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to update some content"},"button.view":{message:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to view some content"},"button.copy":{message:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to copy some content"},"button.create":{message:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to create some content"},"button.referralEarnings":{message:"\u0414\u043E\u0445\u043E\u0434 \u043E\u0442 \u0440\u0435\u0444\u0435\u0440\u0430\u043B\u043E\u0432",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to show referral earnings, indicating that users can earn money by inviting others to use the service"},"button.finish":{message:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C",description:"\u6309\u94AE\u6587\u672C\uFF0Cused to finish some content"},"entity.website":{message:"Ace Data Cloud",description:"\u7F51\u7AD9\u540D\u79F0\uFF0C\u65E0\u9700\u7FFB\u8BD1\uFF0C\u4FDD\u6301\u4E3A'Ace Data Cloud'"},"entity.copyright":{message:"\u0410\u0432\u0442\u043E\u0440\u0441\u043A\u043E\u0435 \u043F\u0440\u0430\u0432\u043E",description:"used to display copyright information"},"entity.platform":{message:"\u041F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430",description:"used to indicate the platform of the API service"},"entity.title":{message:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",description:"the title of the entity"},"entity.icon":{message:"\u0418\u043A\u043E\u043D\u043A\u0430",description:"the icon of the entity"},"entity.status":{message:"\u0421\u0442\u0430\u0442\u0443\u0441",description:"the status of the entity"},"entity.operation":{message:"\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F",description:"the operation of the entity"},"entity.description":{message:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",description:"the description of the entity"},"entity.createdAt":{message:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",description:"the creation date of the entity"},"entity.updatedAt":{message:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F",description:"the update date of the entity"},"entity.order":{message:"\u0437\u0430\u043A\u0430\u0437",description:"\u0437\u0430\u043A\u0430\u0437 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438, \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044F \u0441\u0443\u043C\u043C\u0443, \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E\u0431 \u0443\u0441\u043B\u0443\u0433\u0435, \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0434\u043E\u043B\u0436\u0435\u043D \u0437\u0430\u043F\u043B\u0430\u0442\u0438\u0442\u044C \u0437\u0430 \u043D\u0435\u0435"},"message.usedAmount":{message:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0441\u0443\u043C\u043C\u0430",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441\u0443\u043C\u043C\u044B \u0443\u0441\u043B\u0443\u0433\u0438"},"message.remainingAmount":{message:"\u041E\u0441\u0442\u0430\u0432\u0448\u0430\u044F\u0441\u044F \u0441\u0443\u043C\u043C\u0430",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043E\u0441\u0442\u0430\u0432\u0448\u0435\u0439\u0441\u044F \u0441\u0443\u043C\u043C\u044B \u0443\u0441\u043B\u0443\u0433\u0438"},"message.copied":{message:"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u043C \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430"},"message.confirmDelete":{message:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C?",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0442\u043E\u043C, \u0445\u043E\u0447\u0435\u0442 \u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043A\u0430\u043A\u043E\u0435-\u043B\u0438\u0431\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435"},"message.alert":{message:"\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F"},"message.info":{message:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F"},"message.free":{message:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E\u0439 \u0443\u0441\u043B\u0443\u0433\u0435, \u043E\u0437\u043D\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u043D\u0435 \u043D\u0443\u0436\u043D\u043E \u043F\u043B\u0430\u0442\u0438\u0442\u044C"},"message.startPrice":{message:"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u0430\u044F \u0446\u0435\u043D\u0430",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439 \u0446\u0435\u043D\u0435 \u0443\u0441\u043B\u0443\u0433\u0438"},"message.joinDiscord":{message:"\u041F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0441\u044F \u043A Discord",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0441\u044F \u043A \u043A\u0430\u043D\u0430\u043B\u0443 Discord"},"message.addWeChat":{message:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C WeChat",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C WeChat"},"message.serviceTech":{message:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0435 \u0443\u0441\u043B\u0443\u0433\u0438"},"message.businessCooperation":{message:"\u0411\u0438\u0437\u043D\u0435\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u0447\u0435\u0441\u0442\u0432\u043E",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0431\u0438\u0437\u043D\u0435\u0441-\u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u0447\u0435\u0441\u0442\u0432\u0435"},"message.noData":{message:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",description:"\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E \u0442\u043E\u043C, \u0447\u0442\u043E \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435 \u0438\u043B\u0438 \u0441\u043F\u0438\u0441\u043A\u0435 \u043D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"},"nav.home":{message:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043E\u043C\u0430\u0448\u043D\u0435\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B"},"nav.content":{message:"\u0421\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F"},"nav.category":{message:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0439"},"nav.service":{message:"\u0423\u0441\u043B\u0443\u0433\u0438",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0443\u0441\u043B\u0443\u0433"},"nav.profile":{message:"\u041F\u0440\u043E\u0444\u0438\u043B\u044C",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0440\u043E\u0444\u0438\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F"},"nav.document":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u0438"},"nav.console":{message:"\u041A\u043E\u043D\u0441\u043E\u043B\u044C",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043A\u043E\u043D\u0441\u043E\u043B\u0438"},"nav.chat":{message:"Chat",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0447\u0430\u0442\u0430, \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442\u044C"},"nav.midjourney":{message:"Midjourney",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B Midjourney, \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442\u044C"},"nav.chatdoc":{message:"ChatDoc",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B ChatDoc, \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442\u044C"},"nav.qrart":{message:"QRArt",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B QRArt, \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442\u044C"},"nav.distribution":{message:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u0439 \u0434\u043E\u0445\u043E\u0434",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u043E\u0433\u043E \u0434\u043E\u0445\u043E\u0434\u0430"},"nav.logOut":{message:"\u0412\u044B\u0439\u0442\u0438",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0432\u044B\u0445\u043E\u0434\u0430 \u0438\u0437 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438"},"nav.site":{message:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0430\u0439\u0442\u0430",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0441\u0430\u0439\u0442\u0430"},"nav.locale":{message:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u044F\u0437\u044B\u043A\u0430",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u044F\u0437\u044B\u043A\u0430"},"nav.darkMode":{message:"\u0422\u0435\u043C\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u0442\u0435\u043C\u043D\u0443\u044E \u0442\u0435\u043C\u0443"},"nav.support":{message:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430",description:"\u0442\u0435\u043A\u0441\u0442 \u0432 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0441\u0430\u0439\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438"},"title.alert":{message:"\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F"},"title.placeholderOfSelect":{message:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435",description:"\u0437\u0430\u0433\u043B\u0443\u0448\u043A\u0430 \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0432\u0432\u043E\u0434\u0430"},"title.placeholderOfInput":{message:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435",description:"\u0437\u0430\u0433\u043B\u0443\u0448\u043A\u0430 \u0434\u043B\u044F \u0432\u0432\u043E\u0434\u0430"},"title.allApplications":{message:"\u0412\u0441\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0439 \u0432\u0441\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"},"title.allOrders":{message:"\u0412\u0441\u0435 \u0437\u0430\u043A\u0430\u0437\u044B",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0439 \u0432\u0441\u0435 \u0437\u0430\u043A\u0430\u0437\u044B"},"title.orderInfo":{message:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0437\u0430\u043A\u0430\u0437\u0435",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u0437\u0430\u043A\u0430\u0437\u0435"},"title.buyMore":{message:"\u041A\u0443\u043F\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B, \u043F\u0440\u0438\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u0443\u043F\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435"},"title.distribution":{message:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u0439 \u0434\u043E\u0445\u043E\u0434",description:"\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0449\u0438\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u0439 \u0434\u043E\u0445\u043E\u0434, \u043E\u0437\u043D\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C, \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0430\u044F \u0434\u0440\u0443\u0433\u0438\u0445 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0443\u0441\u043B\u0443\u0433\u0443"},"title.site":{message:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0441\u0430\u0439\u0442\u0430",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0430\u0439\u0442\u0430"},"title.distributionHistory":{message:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439"},"title.invitee":{message:"\u041F\u0440\u0438\u0433\u043B\u0430\u0441\u0438\u0432\u0448\u0438\u0439",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u0440\u0438\u0433\u043B\u0430\u0441\u0438\u0432\u0448\u0435\u0433\u043E"},"title.allUsages":{message:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u043E \u0432\u0441\u0435\u043C\u0438 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F API-\u0441\u0435\u0440\u0432\u0438\u0441\u0430"},"title.allCredentials":{message:"\u0423\u0447\u0435\u0442\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u043E \u0432\u0441\u0435\u043C\u0438 \u0443\u0447\u0435\u0442\u043D\u044B\u043C\u0438 \u0434\u0430\u043D\u043D\u044B\u043C\u0438, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u043C\u0438 \u0434\u043B\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A API"},"about.title1":{message:"\u0421\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438"},"about.title2":{message:"\u0420\u0435\u0441\u0443\u0440\u0441\u044B",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u0441\u0441\u044B\u043B\u043E\u043A"},"about.title3":{message:"\u0421\u0441\u044B\u043B\u043A\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0435"},"about.address":{message:"201 N Broad St, \u043E\u0444\u0438\u0441, \u041C\u0438\u0434\u0434\u043B\u0442\u0430\u0443\u043D, \u0414\u0435\u043B\u0430\u0432\u044D\u0440, \u0421\u0428\u0410",description:"\u0410\u0434\u0440\u0435\u0441 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438"},"about.email":{message:"office@acedata.cloud",description:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438"},"about.link1":{message:"\u0421\u0435\u0440\u0432\u0438\u0441",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0430"},"about.link2":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u0438"},"about.link3":{message:"\u041A\u043E\u043D\u0441\u043E\u043B\u044C",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043A\u043E\u043D\u0441\u043E\u043B\u0438"},"about.link4":{message:"\u041F\u0440\u043E\u0444\u0438\u043B\u044C",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043F\u0440\u043E\u0444\u0438\u043B\u044F"},"about.link5":{message:"\u0426\u0435\u043D\u0442\u0440",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0446\u0435\u043D\u0442\u0440\u0430"},"about.link6":{message:"\u0414\u043E\u0445\u043E\u0434 \u043E\u0442 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0434\u043E\u0445\u043E\u0434\u0430 \u043E\u0442 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0439"},"about.link7":{message:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438"},"about.link8":{message:"\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F"},"about.link9":{message:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0438 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438"}};export{e as default};