├── .env.example ├── .npmrc ├── README.md ├── dist ├── app.module.js ├── common │ ├── auth │ │ ├── adminAuth.guard.js │ │ ├── jwt.strategy.js │ │ ├── jwtAuth.guard.js │ │ └── superAuth.guard.js │ ├── constants │ │ ├── balance.constant.js │ │ ├── errorMessage.constant.js │ │ ├── midjourney.constant.js │ │ ├── model.constant.js │ │ ├── status.constant.js │ │ ├── user.constant.js │ │ └── verification.constant.js │ ├── entity │ │ └── baseEntity.js │ ├── filters │ │ ├── allExceptions.filter.js │ │ └── typeOrmQueryFailed.filter.js │ ├── guards │ │ └── roles │ │ │ └── roles.guard.js │ ├── interceptors │ │ ├── abort.interceptor.js │ │ └── transform.interceptor.js │ ├── middleware │ │ └── xml.middleware.js │ ├── result │ │ └── index.js │ ├── swagger │ │ └── index.js │ └── utils │ │ ├── base.js │ │ ├── compileNetwork.js │ │ ├── createOrderId.js │ │ ├── createRandomCode.js │ │ ├── createRandomInviteCode.js │ │ ├── createRandomNonceStr.js │ │ ├── createRandomUid.js │ │ ├── date.js │ │ ├── encrypt.js │ │ ├── generateCrami.js │ │ ├── getClientIp.js │ │ ├── getDiffArray.js │ │ ├── getRandomItem.js │ │ ├── hideString.js │ │ ├── index.js │ │ ├── maskCrami.js │ │ ├── maskEmail.js │ │ ├── maskIpAddress.js │ │ ├── removeSpecialCharacters.js │ │ ├── selectKeyWithWeight.js │ │ ├── tools.js │ │ └── utcformatTime.js ├── config │ ├── cos.js │ ├── database.js │ ├── jwt.js │ ├── mailer.js │ ├── main.js │ └── redis.js ├── interfaces │ └── mail.interface.js ├── main.js └── modules │ ├── app │ ├── app.controller.js │ ├── app.entity.js │ ├── app.module.js │ ├── app.service.js │ ├── appCats.entity.js │ ├── dto │ │ ├── collectApp.dto.js │ │ ├── createApp.dto.js │ │ ├── createCats.dto.js │ │ ├── custonApp.dto.js │ │ ├── deleteApp.dto.js │ │ ├── deleteCats.dto.js │ │ ├── queryApp.dto.js │ │ ├── queryCats.dto.js │ │ ├── updateApp.dto.js │ │ └── updateCats.dto.js │ └── userApps.entity.js │ ├── auth │ ├── auth.controller.js │ ├── auth.module.js │ ├── auth.service.js │ └── dto │ │ ├── authLogin.dto.js │ │ ├── authRegister.dto.js │ │ ├── loginByPhone.dt.js │ │ ├── sendPhoneCode.dto.js │ │ ├── updatePassByOther.dto.js │ │ ├── updatePassword.dto.js │ │ └── userRegisterByPhone.dto.js │ ├── autoreply │ ├── autoreplay.entity.js │ ├── autoreply.controller.js │ ├── autoreply.module.js │ ├── autoreply.service.js │ └── dto │ │ ├── addAutoReply.dto.js │ │ ├── delBadWords.dto.js │ │ ├── queryAutoReply.dto.js │ │ └── updateAutoReply.dto.js │ ├── badwords │ ├── badwords.controller.js │ ├── badwords.entity.js │ ├── badwords.module.js │ ├── badwords.service.js │ └── dto │ │ ├── addBadWords.dto.js │ │ ├── delBadWords.dto.js │ │ ├── queryBadWords.dto.js │ │ └── updateBadWords.dto.js │ ├── chatGroup │ ├── chatGroup.controller.js │ ├── chatGroup.entity.js │ ├── chatGroup.module.js │ ├── chatGroup.service.js │ └── dto │ │ ├── createGroup.dto.js │ │ ├── delGroup.dto.js │ │ └── updateGroup.dto.js │ ├── chatLog │ ├── chatLog.controller.js │ ├── chatLog.entity.js │ ├── chatLog.module.js │ ├── chatLog.service.js │ └── dto │ │ ├── chatList.dto.js │ │ ├── del.dto.js │ │ ├── delByGroup.dto.js │ │ ├── exportExcelChatlog.dto.js │ │ ├── queryAllChatLog.dto.js │ │ ├── queryAllDrawLog.dto.js │ │ ├── queryByAppId.dto.js │ │ ├── queryMyChatLog.dto.js │ │ └── recDrawImg.dto.js │ ├── chatgpt │ ├── chatgpt.controller.js │ ├── chatgpt.module.js │ ├── chatgpt.service.js │ ├── dto │ │ ├── addKey.dto.js │ │ ├── addWhiteUser.dto.js │ │ ├── bulkCreateKey.dto.js │ │ ├── chatDraw.dto.js │ │ ├── chatProcess.dto.js │ │ ├── deleteKey.dto.js │ │ ├── getKeyList.dto.js │ │ ├── getWhiteUserList.dto.js │ │ ├── updateKey.dto.js │ │ └── updateWhiteUser.dto.js │ ├── gptKeys.entity.js │ └── whiteList.entity.js │ ├── crami │ ├── crami.controller.js │ ├── crami.entity.js │ ├── crami.module.js │ ├── crami.service.js │ ├── cramiPackage.entity.js │ └── dto │ │ ├── batchDelCrami.dto.js │ │ ├── createCrami.dto.js │ │ ├── createPackage.dto.js │ │ ├── deletePackage.dto.js │ │ ├── queryAllCrami.dto.js │ │ ├── queryAllPackage.dto.js │ │ ├── updatePackage.dto.js │ │ └── useCrami.dto.js │ ├── database │ ├── database.module.js │ ├── database.service.js │ └── initDatabase.js │ ├── draw │ ├── draw.controller.js │ ├── draw.module.js │ ├── draw.service.js │ └── dto │ │ └── chatDraw.dto.js │ ├── fanyi │ ├── fanyi.controller.js │ ├── fanyi.module.js │ └── fanyi.service.js │ ├── globalConfig │ ├── config.entity.js │ ├── dto │ │ ├── queryConfig.dto.js │ │ ├── setConfig.dto.js │ │ └── setConfigCustom.dto.js │ ├── globalConfig.controller.js │ ├── globalConfig.module.js │ └── globalConfig.service.js │ ├── mailer │ ├── mailer.module.js │ └── mailer.service.js │ ├── midjourney │ ├── dto │ │ └── getList.dto.js │ ├── midjourney.controller.js │ ├── midjourney.entity.js │ ├── midjourney.module.js │ └── midjourney.service.js │ ├── mj │ ├── dto │ │ ├── mjDraw.dto.js │ │ ├── mjEnlargeImg.dto.js │ │ └── mjTransform.dto.js │ ├── mj.controller.js │ ├── mj.module.js │ └── mj.service.js │ ├── official │ ├── dto │ │ ├── getQrCode.dto.js │ │ └── getQrSceneStr.dto.js │ ├── official.controller.js │ ├── official.module.js │ └── official.service.js │ ├── order │ ├── dto │ │ ├── buy.dto.js │ │ ├── queryAllOrder.dto.js │ │ └── queryByOrder.dto.js │ ├── order.controller.js │ ├── order.entity.js │ ├── order.module.js │ └── order.service.js │ ├── pay │ ├── dto │ │ └── pay.dto.js │ ├── pay.controller.js │ ├── pay.module.js │ └── pay.service.js │ ├── queue │ ├── dto │ │ └── mjDraw.dto.js │ ├── queue.controller.js │ ├── queue.module.js │ ├── queue.process.js │ └── queue.service.js │ ├── redisCache │ ├── dto │ │ └── redis.dto.js │ ├── redisCache.controller.js │ ├── redisCache.module.js │ └── redisCache.service.js │ ├── sales │ ├── dto │ │ ├── appForMoney.dto.js │ │ ├── auditOrder.dto.js │ │ ├── drawMoneyOrder.dto.js │ │ ├── recordsQuery.dto.js │ │ ├── salesOrder.dto.js │ │ ├── salesUserList.dto.js │ │ └── updateUserSales.dto.js │ ├── sales.controller.js │ ├── sales.module.js │ ├── sales.service.js │ ├── salesOrder.entity.js │ ├── salesRecords.entity.js │ └── salesUsers.entity.js │ ├── signin │ ├── signIn.entity.js │ ├── signin.controller.js │ ├── signin.module.js │ └── signin.service.js │ ├── statistic │ ├── dto │ │ └── queryStatisticDto.dto.js │ ├── statistic.controller.js │ ├── statistic.module.js │ └── statistic.service.js │ ├── task │ ├── task.module.js │ └── task.service.js │ ├── upload │ ├── upload.controller.js │ ├── upload.module.js │ └── upload.service.js │ ├── user │ ├── dto │ │ ├── queryAllUser.dto.js │ │ ├── queryInviteRecord.dto.js │ │ ├── queryOne.dto.js │ │ ├── resetUserPass.dto.js │ │ ├── updateUser.dto.js │ │ ├── updateUserStatus.dto.js │ │ └── userRecharge.dto.js │ ├── user.controller.js │ ├── user.entity.js │ ├── user.module.js │ └── user.service.js │ ├── userBalance │ ├── accountLog.entity.js │ ├── balance.entity.js │ ├── dto │ │ └── test.dto.js │ ├── userBalance.controller.js │ ├── userBalance.entity.js │ ├── userBalance.module.js │ └── userBalance.service.js │ └── verification │ ├── dto │ └── verifyCode.dto.js │ ├── verification.module.js │ ├── verification.service.js │ └── verifycation.entity.js ├── package.json ├── pm2.conf.json ├── public ├── assets │ ├── 404-b0d1a3d9.svg │ ├── DataTable-b8de10c7.js │ ├── Dropdown-692e1f2a.js │ ├── InputNumber-0e474d4e.js │ ├── KaTeX_AMS-Regular-0cdd387c.woff2 │ ├── KaTeX_AMS-Regular-30da91e8.woff │ ├── KaTeX_AMS-Regular-68534840.ttf │ ├── KaTeX_Caligraphic-Bold-07d8e303.ttf │ ├── KaTeX_Caligraphic-Bold-1ae6bd74.woff │ ├── KaTeX_Caligraphic-Bold-de7701e4.woff2 │ ├── KaTeX_Caligraphic-Regular-3398dd02.woff │ ├── KaTeX_Caligraphic-Regular-5d53e70a.woff2 │ ├── KaTeX_Caligraphic-Regular-ed0b7437.ttf │ ├── KaTeX_Fraktur-Bold-74444efd.woff2 │ ├── KaTeX_Fraktur-Bold-9163df9c.ttf │ ├── KaTeX_Fraktur-Bold-9be7ceb8.woff │ ├── KaTeX_Fraktur-Regular-1e6f9579.ttf │ ├── KaTeX_Fraktur-Regular-51814d27.woff2 │ ├── KaTeX_Fraktur-Regular-5e28753b.woff │ ├── KaTeX_Main-Bold-0f60d1b8.woff2 │ ├── KaTeX_Main-Bold-138ac28d.ttf │ ├── KaTeX_Main-Bold-c76c5d69.woff │ ├── KaTeX_Main-BoldItalic-70ee1f64.ttf │ ├── KaTeX_Main-BoldItalic-99cd42a3.woff2 │ ├── KaTeX_Main-BoldItalic-a6f7ec0d.woff │ ├── KaTeX_Main-Italic-0d85ae7c.ttf │ ├── KaTeX_Main-Italic-97479ca6.woff2 │ ├── KaTeX_Main-Italic-f1d6ef86.woff │ ├── KaTeX_Main-Regular-c2342cd8.woff2 │ ├── KaTeX_Main-Regular-c6368d87.woff │ ├── KaTeX_Main-Regular-d0332f52.ttf │ ├── KaTeX_Math-BoldItalic-850c0af5.woff │ ├── KaTeX_Math-BoldItalic-dc47344d.woff2 │ ├── KaTeX_Math-BoldItalic-f9377ab0.ttf │ ├── KaTeX_Math-Italic-08ce98e5.ttf │ ├── KaTeX_Math-Italic-7af58c5e.woff2 │ ├── KaTeX_Math-Italic-8a8d2445.woff │ ├── KaTeX_SansSerif-Bold-1ece03f7.ttf │ ├── KaTeX_SansSerif-Bold-e99ae511.woff2 │ ├── KaTeX_SansSerif-Bold-ece03cfd.woff │ ├── KaTeX_SansSerif-Italic-00b26ac8.woff2 │ ├── KaTeX_SansSerif-Italic-3931dd81.ttf │ ├── KaTeX_SansSerif-Italic-91ee6750.woff │ ├── KaTeX_SansSerif-Regular-11e4dc8a.woff │ ├── KaTeX_SansSerif-Regular-68e8c73e.woff2 │ ├── KaTeX_SansSerif-Regular-f36ea897.ttf │ ├── KaTeX_Script-Regular-036d4e95.woff2 │ ├── KaTeX_Script-Regular-1c67f068.ttf │ ├── KaTeX_Script-Regular-d96cdf2b.woff │ ├── KaTeX_Size1-Regular-6b47c401.woff2 │ ├── KaTeX_Size1-Regular-95b6d2f1.ttf │ ├── KaTeX_Size1-Regular-c943cc98.woff │ ├── KaTeX_Size2-Regular-2014c523.woff │ ├── KaTeX_Size2-Regular-a6b2099f.ttf │ ├── KaTeX_Size2-Regular-d04c5421.woff2 │ ├── KaTeX_Size3-Regular-500e04d5.ttf │ ├── KaTeX_Size3-Regular-6ab6b62e.woff │ ├── KaTeX_Size4-Regular-99f9c675.woff │ ├── KaTeX_Size4-Regular-a4af7d41.woff2 │ ├── KaTeX_Size4-Regular-c647367d.ttf │ ├── KaTeX_Typewriter-Regular-71d517d6.woff2 │ ├── KaTeX_Typewriter-Regular-e14fed02.woff │ ├── KaTeX_Typewriter-Regular-f01f3e87.ttf │ ├── LayoutSider-fe172ec8.js │ ├── NumberAnimation-52cc985b.js │ ├── Popconfirm-dab30509.js │ ├── Select-0f2f6671.js │ ├── Switch-35e50c89.js │ ├── alipay-eab94eb8.png │ ├── avatar-83427784.png │ ├── badge-4a5770f0.png │ ├── chat-83d755ab.js │ ├── chat-94a36651.css │ ├── draw-bccd19c4.svg │ ├── empty-07715984.png │ ├── fail-7089de31.png │ ├── img-bg-6cde14f5.png │ ├── index-09938545.js │ ├── index-2820e849.js │ ├── index-2d143da0.js │ ├── index-404bb920.css │ ├── index-52a42a01.js │ ├── index-5c537758.js │ ├── index-6a77e8cd.js │ ├── index-6d1eee17.css │ ├── index-8214e0e4.js │ ├── index-8e9199c3.js │ ├── index-9ec2bee4.css │ ├── index-a285acc6.js │ ├── index-b6cbee63.css │ ├── index-c046ddef.css │ ├── index-c94da121.js │ ├── index-d766cbb6.js │ ├── index-d78d0451.js │ ├── index-d9d5b1aa.css │ ├── index-dcc9b6a5.css │ ├── index-f3da2553.js │ ├── index-fed7b4ac.css │ ├── index.vue_vue_type_script_setup_true_lang-69a921ab.js │ ├── katex-56e2be71.js │ ├── mj-8c02cbcc.png │ ├── niji-55cc65e6.png │ ├── preferential-0ee5bc79.png │ ├── qianbao-77758046.png │ ├── region-8fd6761a.svg │ ├── role-1690fc63.js │ ├── role-2e2120fd.css │ ├── titleBar.vue_vue_type_script_setup_true_lang-b5011850.js │ ├── useScroll-131e552b.js │ ├── utils-74414945.js │ ├── wxpay-2d8f84af.png │ └── zoom-426d4db7.svg ├── demo-pic │ ├── VaryRegion.png │ ├── admin.png │ ├── admin02.png │ ├── aichat.png │ ├── aichat02.png │ ├── aichat03.png │ ├── aichat04.png │ ├── app-store.png │ ├── app-store02.png │ ├── market.png │ ├── market02.png │ ├── member.png │ ├── member02.png │ ├── member03.png │ ├── midjourney01.png │ ├── midjourney02.png │ ├── midjourney03.png │ ├── mind.png │ ├── plug.png │ ├── register.png │ ├── share.png │ └── share02.png ├── favicon.ico ├── favicon.svg ├── icp.png ├── icpga.png ├── index.html ├── loading.gif ├── logo.png ├── market.png ├── mitf │ ├── assets │ │ ├── checkerboard.png │ │ ├── main.js │ │ └── style.css │ └── index.html ├── mjPrompt.html └── sparkai │ └── admin │ ├── assets │ ├── _...all_-055f1e3a.js │ ├── _...all_-512b21c9.css │ ├── accountLog-033afbdb.js │ ├── ali-4d161178.js │ ├── apl-f73da2d7.js │ ├── application-db53ba95.js │ ├── asciiarmor-e7973ceb.js │ ├── asn1-f9c290f0.js │ ├── asterisk-9c249b4c.js │ ├── baiduSensitive-5b9f74cc.js │ ├── baidufanyi-8d054d17.js │ ├── base-35947f19.js │ ├── base-b7fc61f8.js │ ├── base-c15a3863.js │ ├── bg-fad619c3.jpg │ ├── brainfuck-637b9bf0.js │ ├── chat-081d0a40.css │ ├── chat-e9cc9d7d.js │ ├── chat-f16d5adb.js │ ├── chatgpt-7e0d1d0d.js │ ├── chevereto-0d90a22e.js │ ├── classify-fa1d7b37.js │ ├── clike-3f6f5c72.js │ ├── clojure-46c215dd.js │ ├── cmake-f314e514.js │ ├── cobol-3c0e8dcf.js │ ├── coffeescript-cf6fb77c.js │ ├── commonlisp-0ea12945.js │ ├── config-c56fc306.js │ ├── copyright-1cb5f935.js │ ├── cos-871fd508.js │ ├── crami-0d56f9d0.js │ ├── crystal-594a913c.js │ ├── css-ae0ae1d0.js │ ├── cypher-236a65ad.js │ ├── d-76ab4361.js │ ├── dashboard-ec450b52.js │ ├── diff-1bf42f34.js │ ├── dockerfile-c8a8b9da.js │ ├── draw-1c3a5720.js │ ├── draw-48211430.css │ ├── draw-509ea282.js │ ├── draw-5f421c63.css │ ├── dtd-8d673f3f.js │ ├── dylan-94e68d48.js │ ├── ebnf-9a58f677.js │ ├── ecl-8c848bde.js │ ├── edit.password-62634067.js │ ├── edit.password-ee9c5d6e.css │ ├── eiffel-c812667a.js │ ├── elm-389625db.js │ ├── email-efdc2fea.js │ ├── epay-c9d4a8da.js │ ├── erlang-72724d5c.js │ ├── factor-7bfcb4fc.js │ ├── fcl-d5e95185.js │ ├── forth-a6c07be1.js │ ├── fortran-b746f455.js │ ├── gas-a519128b.js │ ├── gherkin-0efe02ac.js │ ├── globalPre-907e0fd1.js │ ├── go-8a088acb.js │ ├── groovy-4592a472.js │ ├── haskell-b620645c.js │ ├── haxe-7215664e.js │ ├── http-e091c18d.js │ ├── hupijiao-ce1af8c1.js │ ├── idl-91cb7788.js │ ├── index-04a40a2b.css │ ├── index-094514cd.css │ ├── index-0f4bdba1.js │ ├── index-10c3bbfb.js │ ├── index-144f0384.js │ ├── index-19c0ffae.js │ ├── index-2447ea6c.css │ ├── index-2877fb45.js │ ├── index-2c487cb5.js │ ├── index-36560fab.js │ ├── index-3916aacd.js │ ├── index-3c19039c.css │ ├── index-44cc59a3.js │ ├── index-45040c73.js │ ├── index-45d3789c.js │ ├── index-4ad83ae9.js │ ├── index-4b6162a1.js │ ├── index-4bdab4a4.js │ ├── index-4fd5a012.js │ ├── index-5173eeb7.js │ ├── index-525cd856.js │ ├── index-550a862e.css │ ├── index-56458f60.js │ ├── index-59cc5a58.css │ ├── index-5b287f81.css │ ├── index-635e8a50.css │ ├── index-70c9cd4a.js │ ├── index-743018f7.css │ ├── index-77bb2926.js │ ├── index-7976d9bb.js │ ├── index-7e36a42b.css │ ├── index-8931d5e1.css │ ├── index-8b5f031f.js │ ├── index-98afa9dd.js │ ├── index-9d9051bb.js │ ├── index-9f7d5e7b.js │ ├── index-9fe690d5.js │ ├── index-ac6fd7bf.css │ ├── index-b36d0fcd.css │ ├── index-b755c0ba.js │ ├── index-c0100634.js │ ├── index-c786b651.js │ ├── index-d558c889.js │ ├── index-ed149689.css │ ├── index-ed28a6e5.js │ ├── index-fb910e2b.css │ ├── index-fcc87c06.js │ ├── index-fce63257.js │ ├── interface-b583ded0.js │ ├── javascript-987cbb73.js │ ├── jinja2-580c43a7.js │ ├── julia-2f39a740.js │ ├── link-e7f28faa.js │ ├── link-e829b43b.css │ ├── list-31101bb0.js │ ├── livescript-a3318e59.js │ ├── login-8405baec.css │ ├── login-ae0080ac.js │ ├── login-banner-a3a48256.png │ ├── logo-7bf6f673.png │ ├── lua-ee237842.js │ ├── mathematica-4db1ec63.js │ ├── mbox-b40e52ca.js │ ├── menu-cf6abed2.js │ ├── midjourney-75b11e3c.js │ ├── mind-c7de00de.js │ ├── mirc-c043bc0a.js │ ├── mllike-1f866598.js │ ├── modelica-c19c47b8.js │ ├── mpay-13a2a9a0.js │ ├── mscgen-96577242.js │ ├── mumps-82310ef4.js │ ├── nginx-0992a7c8.js │ ├── notice-28efbbd9.css │ ├── notice-fed80907.js │ ├── nsis-8fd66a07.js │ ├── ntriples-8490b09b.js │ ├── octave-3f516c2f.js │ ├── order-3950aa31.js │ ├── oz-a640e05c.js │ ├── package-8e223d93.js │ ├── package-9623c513.js │ ├── pascal-bcac1c04.js │ ├── perl-a9455719.js │ ├── phone-1b211346.js │ ├── pig-3510ca5f.js │ ├── powershell-c2c54630.js │ ├── prompt-267d8761.js │ ├── properties-aba123c1.js │ ├── protobuf-1713bf80.js │ ├── proxy-528822a4.js │ ├── proxy-d39e5a7e.js │ ├── puppet-3229bfe4.js │ ├── python-37bee3fe.js │ ├── q-887a0cfa.js │ ├── r-3ca97919.js │ ├── records-287a8256.js │ ├── register-4322dd46.css │ ├── register-59e4af2a.js │ ├── reload-bb28da78.js │ ├── rpm-aa81b362.js │ ├── ruby-e88f1f8d.js │ ├── sales-9be6fb41.js │ ├── salesUser-22e86beb.js │ ├── sas-4096b960.js │ ├── scheme-ca3e6863.js │ ├── secret-38857928.js │ ├── setting-64f50551.css │ ├── setting-f502a6e3.js │ ├── shell-86dd1d99.js │ ├── sieve-4b1eb6fb.js │ ├── signIn-cb640681.js │ ├── simple-mode-851e42ff.js │ ├── smalltalk-b41561ee.js │ ├── solr-7928d730.js │ ├── sparql-71156930.js │ ├── spreadsheet-9f4dc4c6.js │ ├── sql-62feda9f.js │ ├── stex-611747c4.js │ ├── stylus-2d29a832.js │ ├── swift-b6dd686e.js │ ├── tcl-9a9d281f.js │ ├── tencent-592e3d45.js │ ├── textile-27197230.js │ ├── tiddlywiki-053c4b39.js │ ├── tiki-f8970e14.js │ ├── toml-fed73c05.js │ ├── troff-1c50c70f.js │ ├── ttcn-a4846d83.js │ ├── ttcn-cfg-0c96bcc1.js │ ├── turtle-b550492d.js │ ├── upgrade-3e1ad0bd.js │ ├── useMenu-3526599b.js │ ├── userBalance-baeb707e.js │ ├── utcformatTime-e76e5157.js │ ├── vb-e9655ff4.js │ ├── vbscript-e62417ba.js │ ├── velocity-5bdd1b6a.js │ ├── verilog-701759f4.js │ ├── vhdl-288f0dde.js │ ├── webidl-beade871.js │ ├── wechat-335c0e3e.js │ ├── wechat-af5ae5ab.js │ ├── whiteList-fae91688.js │ ├── xquery-f004ff15.js │ ├── yacas-d031e2ab.js │ ├── yaml-95012b83.js │ └── z80-bb7f2654.js │ ├── browser_upgrade │ ├── chrome.png │ ├── edge.png │ └── index.css │ ├── favicon.ico │ ├── favicon.svg │ ├── index.html │ └── loading.css └── templates ├── mail └── register.hbs └── pages ├── registerError.hbs └── registerSuccess.hbs /.env.example: -------------------------------------------------------------------------------- 1 | #(必填项目) 2 | # mysql 3 | DB_HOST=localhost 4 | DB_PORT=3306 5 | DB_USER=数据库用户名 6 | DB_PASS=数据库密码 7 | DB_DATABASE=数据库名 8 | DB_LOG=false 9 | DB_SYNC=true 10 | 11 | # mailer 邮件服务 12 | MAILER_HOST=smtp.163.com 13 | MAILER_PORT=465 14 | MAILER_USER=发信邮箱 15 | MAILER_PASS=邮箱发信密钥 16 | MAILER_FROM=发信邮箱 17 | 18 | # Redis 19 | REDIS_PORT=6379 20 | REDIS_HOST=127.0.0.1 21 | REDIS_PASSWORD= 22 | REDIS_DB=0 23 | 24 | # jwt token 必须修改为自己个人的密钥(随机一串英文即可) 25 | JWT_SECRET=chat-sparkai-secret 26 | # jwt token 过期时间 27 | JWT_EXPIRESIN=7d 28 | # 接口文档前缀 29 | SWAGGERPREFIX=/docs 30 | # 自定义端口 31 | PORT=9520 -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | registry=http://registry.npmmirror.com -------------------------------------------------------------------------------- /pm2.conf.json: -------------------------------------------------------------------------------- 1 | { 2 | "apps": { 3 | "name": "SparkAi-v3.2.0", 4 | "namespace": "sparkai", 5 | "script": "./dist/main.js", 6 | "watch": true, 7 | "ignore_watch": [ 8 | "node_modules", 9 | "logs" 10 | ], 11 | "env": { 12 | "TZ": "Asia/Shanghai" 13 | }, 14 | "instances": 1, 15 | "error_file": "logs/err.log", 16 | "out_file": "logs/out.log", 17 | "log_date_format": "YYYY-MM-DD HH:mm:ss", 18 | "max_memory_restart": "1000M" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /public/assets/KaTeX_AMS-Regular-0cdd387c.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_AMS-Regular-0cdd387c.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_AMS-Regular-30da91e8.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_AMS-Regular-30da91e8.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_AMS-Regular-68534840.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_AMS-Regular-68534840.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Regular-3398dd02.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Regular-3398dd02.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Bold-74444efd.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Bold-74444efd.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Bold-9163df9c.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Bold-9163df9c.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Regular-51814d27.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Regular-51814d27.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Fraktur-Regular-5e28753b.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Fraktur-Regular-5e28753b.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Bold-0f60d1b8.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Bold-0f60d1b8.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Bold-138ac28d.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Bold-138ac28d.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Bold-c76c5d69.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Bold-c76c5d69.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Italic-0d85ae7c.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Italic-0d85ae7c.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Italic-97479ca6.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Italic-97479ca6.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Italic-f1d6ef86.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Italic-f1d6ef86.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Regular-c2342cd8.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Regular-c2342cd8.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Regular-c6368d87.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Regular-c6368d87.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Main-Regular-d0332f52.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Main-Regular-d0332f52.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-BoldItalic-850c0af5.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-BoldItalic-850c0af5.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-BoldItalic-dc47344d.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-Italic-08ce98e5.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-Italic-08ce98e5.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-Italic-7af58c5e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-Italic-7af58c5e.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Math-Italic-8a8d2445.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Math-Italic-8a8d2445.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Bold-e99ae511.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Bold-ece03cfd.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Bold-ece03cfd.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Italic-3931dd81.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Italic-3931dd81.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Italic-91ee6750.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Italic-91ee6750.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_SansSerif-Regular-f36ea897.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_SansSerif-Regular-f36ea897.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Script-Regular-036d4e95.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Script-Regular-036d4e95.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Script-Regular-1c67f068.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Script-Regular-1c67f068.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Script-Regular-d96cdf2b.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Script-Regular-d96cdf2b.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Size1-Regular-6b47c401.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size1-Regular-6b47c401.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Size1-Regular-95b6d2f1.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size1-Regular-95b6d2f1.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Size1-Regular-c943cc98.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size1-Regular-c943cc98.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Size2-Regular-2014c523.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size2-Regular-2014c523.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Size2-Regular-a6b2099f.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size2-Regular-a6b2099f.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Size2-Regular-d04c5421.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size2-Regular-d04c5421.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Size3-Regular-500e04d5.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size3-Regular-500e04d5.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Size3-Regular-6ab6b62e.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size3-Regular-6ab6b62e.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Size4-Regular-99f9c675.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size4-Regular-99f9c675.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Size4-Regular-a4af7d41.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size4-Regular-a4af7d41.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Size4-Regular-c647367d.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Size4-Regular-c647367d.ttf -------------------------------------------------------------------------------- /public/assets/KaTeX_Typewriter-Regular-71d517d6.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 -------------------------------------------------------------------------------- /public/assets/KaTeX_Typewriter-Regular-e14fed02.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Typewriter-Regular-e14fed02.woff -------------------------------------------------------------------------------- /public/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf -------------------------------------------------------------------------------- /public/assets/NumberAnimation-52cc985b.js: -------------------------------------------------------------------------------- 1 | import{c8 as g,c9 as I,ca as v,g as R,c4 as S,r as T,k as N,K as V,aT as A}from"./index-09938545.js";var F=1/0,x=17976931348623157e292;function E(t){if(!t)return t===0?t:0;if(t=g(t),t===F||t===-F){var e=t<0?-1:1;return e*x}return t===t?t:0}function _(t){var e=E(t),a=e%1;return e===e?a?e-a:e:0}var k=I.isFinite,p=Math.min;function B(t){var e=Math[t];return function(a,n){if(a=g(a),n=n==null?0:p(_(n),292),n&&k(a)){var r=(v(a)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(v(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(a)}}var L=B("round");const O=L,P=t=>1-Math.pow(1-t,5);function U(t){const{from:e,to:a,duration:n,onUpdate:r,onFinish:i}=t,c=()=>{const u=performance.now(),s=Math.min(u-f,n),m=e+(a-e)*P(s/n);if(s===n){i();return}r(m),requestAnimationFrame(c)},f=performance.now();c()}const j={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},G=R({name:"NumberAnimation",props:j,setup(t){const{localeRef:e}=S("name"),{duration:a}=t,n=T(t.from),r=N(()=>{const{locale:o}=t;return o!==void 0?o:e.value});let i=!1;const c=o=>{n.value=o},f=()=>{var o;n.value=t.to,i=!1,(o=t.onFinish)===null||o===void 0||o.call(t)},u=(o=t.from,d=t.to)=>{i=!0,n.value=t.from,o!==d&&U({from:o,to:d,duration:a,onUpdate:c,onFinish:f})},s=N(()=>{var o;const l=O(n.value,t.precision).toFixed(t.precision).split("."),h=new Intl.NumberFormat(r.value),M=(o=h.formatToParts(.5).find(y=>y.type==="decimal"))===null||o===void 0?void 0:o.value,b=t.showSeparator?h.format(Number(l[0])):l[0],w=l[1];return{integer:b,decimal:w,decimalSeparator:M}});function m(){i||u()}return V(()=>{A(()=>{t.active&&u()})}),Object.assign({formattedValue:s},{play:m})},render(){const{formattedValue:{integer:t,decimal:e,decimalSeparator:a}}=this;return[t,e?a:null,e]}});export{G as N}; 2 | -------------------------------------------------------------------------------- /public/assets/alipay-eab94eb8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/alipay-eab94eb8.png -------------------------------------------------------------------------------- /public/assets/avatar-83427784.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/avatar-83427784.png -------------------------------------------------------------------------------- /public/assets/badge-4a5770f0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/badge-4a5770f0.png -------------------------------------------------------------------------------- /public/assets/chat-94a36651.css: -------------------------------------------------------------------------------- 1 | .markdown-body{background-color:transparent;font-size:14px}.markdown-body p{white-space:pre-wrap}.markdown-body ol{list-style-type:decimal}.markdown-body ul{list-style-type:disc}.markdown-body pre code,.markdown-body pre tt{line-height:1.65}.markdown-body .highlight pre,.markdown-body pre{background-color:#fff}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:24px}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:flex-end;align-items:center;color:#b3b3b3}.markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.markdown-body .code-block-header__copy:hover{color:#65a665}html.dark .message-reply .whitespace-pre-wrap{white-space:pre-wrap;color:var(--n-text-color)}html.dark .highlight pre,html.dark pre{background-color:#282c34} 2 | -------------------------------------------------------------------------------- /public/assets/draw-bccd19c4.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/assets/empty-07715984.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/empty-07715984.png -------------------------------------------------------------------------------- /public/assets/fail-7089de31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/fail-7089de31.png -------------------------------------------------------------------------------- /public/assets/img-bg-6cde14f5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/img-bg-6cde14f5.png -------------------------------------------------------------------------------- /public/assets/index-6d1eee17.css: -------------------------------------------------------------------------------- 1 | .btn{-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:4px 12px;background-color:#fff;opacity:.65;color:#faa507;cursor:pointer;border-radius:3px}.btn:hover{opacity:.9}.disabled{cursor:not-allowed!important}.disabled:hover{opacity:.65!important} 2 | -------------------------------------------------------------------------------- /public/assets/index-8e9199c3.js: -------------------------------------------------------------------------------- 1 | import{g as s,a3 as a,F as o,G as r,M as c,O as n,N as i,a9 as l,E as d,Y as u,ae as p}from"./index-09938545.js";const x="/assets/404-b0d1a3d9.svg",_={class:"flex h-full"},m={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

Sorry, page not found!

Sorry, we couldn’t find the page you’re looking for. Perhaps you’ve mistyped the URL? Be sure to check your spelling.

404
',3),k=s({__name:"index",setup(h){const e=a();function t(){e.push("/")}return(y,g)=>(d(),o("div",_,[r("div",m,[f,c(i(p),{type:"primary",onClick:t},{default:n(()=>[u(" Go to Home ")]),_:1})])]))}});export{k as default}; 2 | -------------------------------------------------------------------------------- /public/assets/index-b6cbee63.css: -------------------------------------------------------------------------------- 1 | .aspect-active{border:2px solid #619c65;color:#619c65}.model-active{border:3px solid #619c65}.upload{border:1px dashed #424242;font-size:12px;border-radius:8px;padding:14px}.upload:hover{border:1px dashed #619c65} 2 | -------------------------------------------------------------------------------- /public/assets/index-c046ddef.css: -------------------------------------------------------------------------------- 1 | .market{padding:15px}.wapper{width:100%;position:relative;height:100%;padding-bottom:20px}.wapper-item{z-index:10;overflow:hidden;position:absolute;transition:all .5s;cursor:pointer}.wapper-item:hover .menu{transition:transform .3s ease-in-out;transform:translateY(-10px)}.wapper-item:hover img{transform:scale(1.1)}.wapper-item .menu{position:absolute;bottom:0;width:94%;left:3%;max-height:70%;height:100px;transform:translateY(100%);background-color:#090b15;opacity:.8;transition:all .1s cubic-bezier(.68,-.55,.265,1.55);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.wapper-item .menu .prompt{height:50px;overflow:hidden}.wapper-item img{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;transition:all .6s cubic-bezier(.19,1,.22,1);border-radius:6px}.wapper-item .item-loading{background:url(/assets/img-bg-6cde14f5.png) no-repeat center center;filter:blur(20px);position:absolute;top:0}.img-enter-active,.img-leave-active{transition:transform .3s}.img-enter,.img-leave-to{transform:scale(.6);opacity:0} 2 | -------------------------------------------------------------------------------- /public/assets/index-c94da121.js: -------------------------------------------------------------------------------- 1 | function n(o){const t={origin:!0,...o};let e;t.origin?e=document.createElement("textarea"):e=document.createElement("input"),e.setAttribute("readonly","readonly"),e.value=t.text,document.body.appendChild(e),e.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(e)}export{n as c}; 2 | -------------------------------------------------------------------------------- /public/assets/index-d9d5b1aa.css: -------------------------------------------------------------------------------- 1 | .app-sidebar::-webkit-scrollbar{width:1px;height:1px;background-color:#f5f5f5}.custom-card{transition:all .3s}.custom-card .run-icon{opacity:0;transition:all .3s}.custom-card:hover{border:1px solid #5A91FC;box-shadow:0 6px 32px #04343014;transform:translateY(-10px)}.custom-card:hover .run-icon{opacity:1}.ground{box-sizing:border-box}.ground-left{padding:15px}.ground-left-input{border:1px solid rgba(0,0,0,.04);border-radius:12px}.ground-left-input textarea{width:100%;height:180px;padding:10px;border:none;outline:none;overflow:auto;scrollbar-width:thin;resize:none}.ground .run-btn{background:linear-gradient(270deg,#5a91fc 0%,#798db4 100%);color:#fff}.ground .run-btn:hover{filter:brightness(1.05)}.ground .run-btn:active{filter:brightness(.95)}.disabled,.disabled:hover{filter:brightness(.8)!important}.circle{width:6px;height:6px;border-radius:50%;background:#5a91fc;flex-shrink:0}.header{box-shadow:0 2px 4px 1px #00000014}.playground{transition:all .5s cubic-bezier(.25,.1,.25,1)} 2 | -------------------------------------------------------------------------------- /public/assets/index-fed7b4ac.css: -------------------------------------------------------------------------------- 1 | .card-item{transition:all .85s;cursor:pointer}.card-item:hover .right-icon{transform:scale(1.5);color:#3076fd}.card-item:hover .cover{transform:scale(1.2);filter:brightness(1)}.card-item:hover .line{flex:1}.card-item .cover{transition:all .55s;filter:brightness(.8)}.card-item .right-icon{transition:all .35s}.card-item .line{height:2px;margin-left:50px;background-color:#3076fd;width:0;transition:all .3s} 2 | -------------------------------------------------------------------------------- /public/assets/mj-8c02cbcc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/mj-8c02cbcc.png -------------------------------------------------------------------------------- /public/assets/niji-55cc65e6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/niji-55cc65e6.png -------------------------------------------------------------------------------- /public/assets/preferential-0ee5bc79.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/preferential-0ee5bc79.png -------------------------------------------------------------------------------- /public/assets/qianbao-77758046.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/qianbao-77758046.png -------------------------------------------------------------------------------- /public/assets/region-8fd6761a.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/assets/role-2e2120fd.css: -------------------------------------------------------------------------------- 1 | .card{transition:all .35s cubic-bezier(.075,.82,.165,1)}.card .run-icon{display:none}.card:hover{border:1px solid #5A91FC;transform:translateY(-8px) translate(6px)}.card:hover .run-icon{display:block} 2 | -------------------------------------------------------------------------------- /public/assets/titleBar.vue_vue_type_script_setup_true_lang-b5011850.js: -------------------------------------------------------------------------------- 1 | import{g as i,E as p,F as f,G as e,a4 as x,k as _,a3 as m,M as c,O as k,N as t,U as v,a7 as a,X as d}from"./index-09938545.js";const w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},h=e("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),g=[h],b=i({name:"PlayBack",render:function(s,o){return p(),f("svg",w,g)}}),B={class:"pt-1 mr-2 cursor-pointer"},N=i({__name:"titleBar",props:{title:{default:""},des:{default:""},padding:{default:4}},setup(r){const s=r,o=x(),n=_(()=>o.theme==="dark"),u=m();return(y,l)=>(p(),f("div",{class:a(["flex border-b border-[#ebebeb] dark:border-[#ffffff17] py-4 w-full",[`px-${s.padding}`]])},[e("div",B,[c(t(v),{size:"16",class:"text-primary",onClick:l[0]||(l[0]=C=>t(u).push("/"))},{default:k(()=>[c(t(b))]),_:1})]),e("div",null,[e("b",{class:a([[t(n)?"text-[#fff]":"text-[#555]"],"text-lg"])},d(s.title),3),e("div",{class:a([[t(n)?"text-[#fff]":"text-[#626569]"],"text-truncate text-[#626569] mt-1"])},d(s.des),3)])],2))}});export{N as _}; 2 | -------------------------------------------------------------------------------- /public/assets/useScroll-131e552b.js: -------------------------------------------------------------------------------- 1 | import{r as t,C as l}from"./index-09938545.js";function n(){const o=t(null);return{scrollRef:o,scrollToBottom:async()=>{await l(),o.value&&(o.value.scrollTop=o.value.scrollHeight)},scrollToTop:async()=>{await l(),o.value&&(o.value.scrollTop=0)},scrollToBottomIfAtBottom:async()=>{await l(),o.value&&o.value.scrollHeight-o.value.scrollTop-o.value.clientHeight<=100&&(o.value.scrollTop=o.value.scrollHeight)}}}export{n as u}; 2 | -------------------------------------------------------------------------------- /public/assets/wxpay-2d8f84af.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/assets/wxpay-2d8f84af.png -------------------------------------------------------------------------------- /public/assets/zoom-426d4db7.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/demo-pic/VaryRegion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/VaryRegion.png -------------------------------------------------------------------------------- /public/demo-pic/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/admin.png -------------------------------------------------------------------------------- /public/demo-pic/admin02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/admin02.png -------------------------------------------------------------------------------- /public/demo-pic/aichat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/aichat.png -------------------------------------------------------------------------------- /public/demo-pic/aichat02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/aichat02.png -------------------------------------------------------------------------------- /public/demo-pic/aichat03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/aichat03.png -------------------------------------------------------------------------------- /public/demo-pic/aichat04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/aichat04.png -------------------------------------------------------------------------------- /public/demo-pic/app-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/app-store.png -------------------------------------------------------------------------------- /public/demo-pic/app-store02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/app-store02.png -------------------------------------------------------------------------------- /public/demo-pic/market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/market.png -------------------------------------------------------------------------------- /public/demo-pic/market02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/market02.png -------------------------------------------------------------------------------- /public/demo-pic/member.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/member.png -------------------------------------------------------------------------------- /public/demo-pic/member02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/member02.png -------------------------------------------------------------------------------- /public/demo-pic/member03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/member03.png -------------------------------------------------------------------------------- /public/demo-pic/midjourney01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/midjourney01.png -------------------------------------------------------------------------------- /public/demo-pic/midjourney02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/midjourney02.png -------------------------------------------------------------------------------- /public/demo-pic/midjourney03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/midjourney03.png -------------------------------------------------------------------------------- /public/demo-pic/mind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/mind.png -------------------------------------------------------------------------------- /public/demo-pic/plug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/plug.png -------------------------------------------------------------------------------- /public/demo-pic/register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/register.png -------------------------------------------------------------------------------- /public/demo-pic/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/share.png -------------------------------------------------------------------------------- /public/demo-pic/share02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/demo-pic/share02.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/favicon.ico -------------------------------------------------------------------------------- /public/icp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/icp.png -------------------------------------------------------------------------------- /public/icpga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/icpga.png -------------------------------------------------------------------------------- /public/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/loading.gif -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/logo.png -------------------------------------------------------------------------------- /public/market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/market.png -------------------------------------------------------------------------------- /public/mitf/assets/checkerboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/mitf/assets/checkerboard.png -------------------------------------------------------------------------------- /public/mjPrompt.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MJ Prompt-参考 5 | 81 | 82 | 83 | 93 |
94 |
95 | 96 | 119 | 120 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/_...all_-055f1e3a.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as u,r as i,s as p,t as f,o as v,c as m,e as a,a as o,f as h,m as b,_ as x,h as I,p as k,i as w,k as y,x as B,b as N,n as g,q as s}from"./index-56458f60.js";const c=t=>(k("data-v-599b59df"),t=t(),w(),t),C={class:"notfound"},S={class:"content"},V=c(()=>o("h1",null,"404",-1)),R=c(()=>o("div",{class:"desc"}," 抱歉,你访问的页面不存在 ",-1)),_=u({__name:"[...all]",setup(t){const l=b(),e=i({inter:NaN,countdown:5});p(()=>{e.value.inter&&clearInterval(e.value.inter)}),f(()=>{e.value.inter=setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&clearInterval(e.value.inter),n())},1e3)});function n(){l.push("/")}return(q,D)=>{const r=x,d=I("el-button");return v(),m("div",C,[a(r,{name:"404",class:"icon"}),o("div",S,[V,R,a(d,{type:"primary",onClick:n},{default:h(()=>[y(B(N(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])}}});typeof s=="function"&&s(_);const L=g(_,[["__scopeId","data-v-599b59df"]]);export{L as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/_...all_-512b21c9.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .notfound[data-v-599b59df]{display:flex;align-items:center;justify-content:space-between;width:700px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.notfound .icon[data-v-599b59df]{width:400px;height:400px}.notfound .content h1[data-v-599b59df]{margin:0;font-size:72px;color:var(--el-text-color-primary)}.notfound .content .desc[data-v-599b59df]{margin:20px 0 30px;font-size:20px;color:var(--el-text-color-secondary)} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/apl-f73da2d7.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var l={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,a=/⍬/,i=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,u=/←/,o=/[⍝#].*$/,s=function(r){var n;return n=!1,function(e){return n=e,e===r?n==="\\":!0}};const f={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(r,n){var e;return r.eatSpace()?null:(e=r.next(),e==='"'||e==="'"?(r.eatWhile(s(e)),r.next(),n.prev=!0,"string"):/[\[{\(]/.test(e)?(n.prev=!1,null):/[\]}\)]/.test(e)?(n.prev=!0,null):a.test(e)?(n.prev=!1,"atom"):/[¯\d]/.test(e)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,r.eatWhile(/[\w\.]/),"number"):t.test(e)||u.test(e)?"operator":i.test(e)?(n.func=!0,n.prev=!1,l[e]?"variableName.function.standard":"variableName.function"):o.test(e)?(r.skipToEnd(),"comment"):e==="∘"&&r.peek()==="."?(r.next(),"variableName.function"):(r.eatWhile(/[\w\$_]/),n.prev=!0,"keyword"))}};export{f as apl}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/asciiarmor-e7973ceb.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function t(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}const i={name:"asciiarmor",token:function(e,r){var n;if(r.state=="top")return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=n[1],"tag"):t(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=t(e);return o&&(r.state="body"),o}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}};export{i as asciiArmor}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/baidufanyi-8d054d17.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as C}from"./index-c786b651.js";import{a as f}from"./config-c56fc306.js";import{d as k,Q as v,r as m,t as S,o as q,c as D,e,f as t,a as g,k as P,E as b,h as n,q as y}from"./index-56458f60.js";const j={class:"flex justify-between"},B=g("b",null,"百度翻译参数设置",-1),E=k({__name:"baidufanyi",setup(N){const l=v({baiduFanyiAppId:"",baiduFanyiSecret:""}),x=m({baiduFanyiSecret:[{required:!0,trigger:"blur",message:"请填写应用ID"}],baiduFanyiAppId:[{required:!0,trigger:"blur",message:"请填写基础ID"}]}),i=m();async function s(){const o=await f.queryConfig({keys:["baiduFanyiSecret","baiduFanyiAppId"]});Object.assign(l,o.data)}function F(){var o;(o=i.value)==null||o.validate(async a=>{if(a){try{await f.setConfig({settings:I(l)}),b.success("变更配置信息成功")}catch{}s()}else b.error("请填写完整信息")})}function I(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return S(()=>{s()}),(o,a)=>{const u=n("el-alert"),V=C,h=n("el-button"),c=n("el-input"),d=n("el-form-item"),p=n("el-col"),_=n("el-row"),A=n("el-form"),w=n("el-card");return q(),D("div",null,[e(V,null,{default:t(()=>[e(u,{closable:!1,"show-icon":"",title:"百度翻译参数说明",description:"当前百度翻译已在1.5替换为ai翻译、仅在基础绘画中保留、如您需要、具体申请配置文档地址 https://api.fanyi.baidu.com/ 请开通通用文本翻译!",type:"success"})]),_:1}),e(w,{style:{margin:"20px"}},{header:t(()=>[g("div",j,[B,e(h,{class:"button",text:"",onClick:F},{default:t(()=>[P(" 保存设置 ")]),_:1})])]),default:t(()=>[e(A,{ref_key:"formRef",ref:i,rules:x.value,model:l,"label-width":"130px"},{default:t(()=>[e(_,null,{default:t(()=>[e(p,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"百度翻译APPID",prop:"baiduFanyiAppId"},{default:t(()=>[e(c,{modelValue:l.baiduFanyiAppId,"onUpdate:modelValue":a[0]||(a[0]=r=>l.baiduFanyiAppId=r),placeholder:"请填写百度翻译APPID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_,null,{default:t(()=>[e(p,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"百度翻译秘钥",prop:"baiduFanyiSecret"},{default:t(()=>[e(c,{modelValue:l.baiduFanyiSecret,"onUpdate:modelValue":a[1]||(a[1]=r=>l.baiduFanyiSecret=r),placeholder:"请填写百度翻译秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y(E);export{E as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/base-35947f19.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as I}from"./index-c786b651.js";import{a as m}from"./config-c56fc306.js";import{d as S,Q as T,r as p,t as U,o as j,c as q,e,f as o,a as k,k as B,E as b,h as n,q as g}from"./index-56458f60.js";const E={class:"flex justify-between"},N=k("b",null,"系统基础设置",-1),M=S({__name:"base",setup(O){const t=T({baiduCode:"",baiduSiteId:"",baiduToken:""}),x=p({}),c=p();async function _(){const a=await m.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken"]});Object.assign(t,a.data)}function y(){var a;(a=c.value)==null||a.validate(async l=>{if(l){try{await m.setConfig({settings:C(t)}),b.success("变更配置信息成功")}catch{}_()}else b.error("请填写完整信息")})}function C(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return U(()=>{_()}),(a,l)=>{const f=n("el-alert"),V=I,w=n("el-button"),s=n("el-input"),u=n("el-form-item"),i=n("el-col"),r=n("el-row"),h=n("el-form"),v=n("el-card");return j(),q("div",null,[e(V,null,{default:o(()=>[e(f,{closable:!1,"show-icon":"",title:"基础设置说明",description:"百度统计默认使用的是demo数据、用于demo展示、最终数据在首页程呈现、请查看部署文档或前往百度统计申请自己的专属key与token、这是免费的服务、如果您不想使用将下面设置留空就行。",type:"success"})]),_:1}),e(v,{style:{margin:"20px"}},{header:o(()=>[k("div",E,[N,e(w,{class:"button",text:"",onClick:y},{default:o(()=>[B(" 保存设置 ")]),_:1})])]),default:o(()=>[e(h,{ref_key:"formRef",ref:c,rules:x.value,model:t,"label-width":"120px"},{default:o(()=>[e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计siteId",prop:"baiduSiteId"},{default:o(()=>[e(s,{modelValue:t.baiduSiteId,"onUpdate:modelValue":l[0]||(l[0]=d=>t.baiduSiteId=d),placeholder:"请填写百度site_id、不会请查看部署文档!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计token",prop:"baiduToken"},{default:o(()=>[e(s,{modelValue:t.baiduToken,"onUpdate:modelValue":l[1]||(l[1]=d=>t.baiduToken=d),placeholder:"请填写百度access_token、不会请查看部署文档!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计代码",prop:"baiduCode"},{default:o(()=>[e(s,{modelValue:t.baiduCode,"onUpdate:modelValue":l[2]||(l[2]=d=>t.baiduCode=d),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/bg-fad619c3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/assets/bg-fad619c3.jpg -------------------------------------------------------------------------------- /public/sparkai/admin/assets/brainfuck-637b9bf0.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var f="><+-.,[]".split("");const r={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(i,n){if(i.eatSpace())return null;i.sol()&&(n.commentLine=!1);var e=i.next().toString();if(f.indexOf(e)!==-1){if(n.commentLine===!0)return i.eol()&&(n.commentLine=!1),"comment";if(e==="]"||e==="[")return e==="["?n.left++:n.right++,"bracket";if(e==="+"||e==="-")return"keyword";if(e==="<"||e===">")return"atom";if(e==="."||e===",")return"def"}else return n.commentLine=!0,i.eol()&&(n.commentLine=!1),"comment";i.eol()&&(n.commentLine=!1)}};export{r as brainfuck}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/chat-081d0a40.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! 10 | Theme: GitHub 11 | Description: Light theme as seen on github.com 12 | Author: github.com 13 | Maintainer: @Hirse 14 | Updated: 2021-05-15 15 | 16 | Outdated base version: https://github.com/primer/github-syntax-light 17 | Current colors taken from GitHub's CSS 18 | */.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.prompt,.answer{width:100%;max-height:40px;white-space:normal;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} 19 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/chat-e9cc9d7d.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as t}from"./index-56458f60.js";const e={queryChatAll:r=>t.get("chatLog/chatAll",{params:r}),queryDrawAll:r=>t.get("chatLog/drawAll",{params:r}),recDrawImg:r=>t.post("chatLog/recDrawImg",r),queryMjDrawAll:r=>t.get("midjourney/getList",{params:r}),recMjDrawImg:r=>t.post("midjourney/rec",r),delChatLog:r=>t.post("midjourney/del",r)};export{e as A}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/chatgpt-7e0d1d0d.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as e}from"./index-56458f60.js";const a={queryKeyList:t=>e.get("chatgpt/keyList",{params:t}),queryKeyModelList:t=>e.get("chatgpt/keyModelList",{params:t}),queryKeyDetail:t=>e.get("chatgpt/keyDetail",{params:t}),addGptKey:t=>e.post("chatgpt/addKey",t),builCreateGptKey:t=>e.post("chatgpt/blukCreateKey",t),updateGptKey:t=>e.post("chatgpt/updateKey",t),addWhiteUser:t=>e.post("chatgpt/addWhiteUser",t),updateWhiteUser:t=>e.post("chatgpt/updateWhiteUser",t),queryWhiteUserList:t=>e.get("chatgpt/userWhiteList",{params:t}),deleteGptKey:t=>e.post("chatgpt/deleteKey",t)};export{a as A}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/chevereto-0d90a22e.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as k}from"./index-c786b651.js";import{a as f}from"./config-c56fc306.js";import{d as S,Q as P,r as q,B,t as N,o as j,c as A,e,f as t,a as y,k as E,b as h,E as v,h as a,q as g}from"./index-56458f60.js";const R={class:"flex justify-between"},M=y("b",null,"chevereto图床参数设置",-1),O=S({__name:"chevereto",setup(I){const l=P({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),d=q();async function i(){const n=await f.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,n.data)}function b(){var n;(n=d.value)==null||n.validate(async o=>{if(o){try{await f.setConfig({settings:x(l)}),v.success("变更配置信息成功")}catch{}i()}else v.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}const p=B(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return N(()=>{i()}),(n,o)=>{const _=a("el-alert"),V=k,w=a("el-button"),U=a("el-switch"),s=a("el-form-item"),c=a("el-col"),u=a("el-row"),m=a("el-input"),C=a("el-form"),K=a("el-card");return j(),A("div",null,[e(V,null,{default:t(()=>[e(_,{closable:!1,"show-icon":"",title:"chevereto图床配置说明",description:"chevereto图床官方文档 https://v4-docs.chevereto.com/developer/api/api-v1.html 同时开启多个存储会以菜单排序优先级开启使用",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:t(()=>[y("div",R,[M,e(w,{class:"button",text:"",onClick:b},{default:t(()=>[E(" 保存设置 ")]),_:1})])]),default:t(()=>[e(C,{ref_key:"formRef",ref:d,model:l,"label-width":"100px"},{default:t(()=>[e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"上传地址",prop:"cheveretoUploadPath",rules:h(p)},{default:t(()=>[e(m,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"ApiKey",prop:"cheveretoKey",rules:h(p)},{default:t(()=>[e(m,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof g=="function"&&g(O);export{O as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/cmake-f314e514.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var c=/({)?[a-zA-Z0-9_]+(})?/;function t(n,i){for(var e,r,u=!1;!n.eol()&&(e=n.next())!=i.pending;){if(e==="$"&&r!="\\"&&i.pending=='"'){u=!0;break}r=e}return u&&n.backUp(1),e==i.pending?i.continueString=!1:i.continueString=!0,"string"}function f(n,i){var e=n.next();return e==="$"?n.match(c)?"variableName.special":"variable":i.continueString?(n.backUp(1),t(n,i)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):e=="#"?(n.skipToEnd(),"comment"):e=="'"||e=='"'?(i.pending=e,t(n,i)):e=="("||e==")"?"bracket":e.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}const a={name:"cmake",startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,i){return n.eatSpace()?null:f(n,i)}};export{a as cmake}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/commonlisp-0ea12945.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,c=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,f=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,d=/[^\s'`,@()\[\]";]/,l;function i(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!d.test(n)){e.backUp(1);break}return e.current()}function o(e,n){if(e.eatSpace())return l="ws",null;if(e.match(f))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=p)(e,n);if(t=="(")return l="open","bracket";if(t==")"||t=="]")return l="close","bracket";if(t==";")return e.skipToEnd(),l="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(l="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=x)(e,n):t==":"?(i(e),"meta"):t=="\\"?(e.next(),i(e),"string.special"):"error"}else{var r=i(e);return r=="."?null:(l="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||c.test(r))?"keyword":r.charAt(0)=="&"?"variableName.special":"variableName")}}function p(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=o;break}t=!t&&r=="\\"}return"string"}function x(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=o;break}r=t}return l="ws","comment"}const s={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:o}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),l=null;var t=n.tokenize(e,n);return l!="ws"&&(n.ctx.indentTo==null?l=="symbol"&&c.test(e.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=l),l=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:l=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e){var n=e.ctx.indentTo;return typeof n=="number"?n:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{s as commonLisp}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/config-c56fc306.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as o}from"./index-56458f60.js";const g={queryAllConfig:()=>o.get("config/queryAll"),queryGptKeys:()=>o.get("config/queryGptKeys"),setGptKeys:t=>o.post("config/setGptKeys",t),queryConfig:t=>o.post("config/query",t),copyright:()=>o.get("config/copyright"),setConfig:t=>o.post("config/set",t)};export{g as a}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/copyright-1cb5f935.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as v}from"./index-c786b651.js";import{a as d}from"./config-c56fc306.js";import{d as T,Q as q,r as m,t as j,o as B,c as E,e,f as t,a as h,k as N,E as g,h as n,q as y}from"./index-56458f60.js";const M={class:"flex justify-between"},O=h("b",null,"底部版权设置",-1),R=T({__name:"copyright",setup(A){const r=q({copyrightTitle:"",copyrightUrl:""}),b=m({copyrightUrl:[{required:!0,trigger:"blur",message:"请填写底部版权文字内容"}],copyrightTitle:[{required:!0,trigger:"blur",message:"请填写点击底部版本跳转的地址"}]}),s=m();async function c(){const l=await d.queryConfig({keys:["copyrightUrl","copyrightTitle"]});Object.assign(r,l.data)}function x(){var l;(l=s.value)==null||l.validate(async o=>{if(o){try{await d.setConfig({settings:V(r)}),g.success("变更配置信息成功")}catch{}c()}else g.error("请填写完整信息")})}function V(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return j(()=>{c()}),(l,o)=>{const i=n("el-alert"),U=v,w=n("el-button"),u=n("el-input"),p=n("el-form-item"),_=n("el-col"),f=n("el-row"),C=n("el-form"),k=n("el-card");return B(),E("div",null,[e(U,null,{default:t(()=>[e(i,{closable:!1,"show-icon":"",title:"底部版本参数说明",description:"当前版本的后台版权信息、文字用于展示、地址用于点击文字的跳转地址",type:"success"})]),_:1}),e(k,{style:{margin:"20px"}},{header:t(()=>[h("div",M,[O,e(w,{class:"button",text:"",onClick:x},{default:t(()=>[N(" 保存设置 ")]),_:1})])]),default:t(()=>[e(C,{ref_key:"formRef",ref:s,rules:b.value,model:r,"label-width":"130px"},{default:t(()=>[e(f,null,{default:t(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(p,{label:"底部版权文字",prop:"copyrightTitle"},{default:t(()=>[e(u,{modelValue:r.copyrightTitle,"onUpdate:modelValue":o[0]||(o[0]=a=>r.copyrightTitle=a),placeholder:"请填写底部版权文字内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(p,{label:"底部跳转地址",prop:"copyrightUrl"},{default:t(()=>[e(u,{modelValue:r.copyrightUrl,"onUpdate:modelValue":o[1]||(o[1]=a=>r.copyrightUrl=a),placeholder:"请填写点击底部版本跳转的地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y(R);export{R as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/dashboard-ec450b52.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as a}from"./index-56458f60.js";const s={getBaseInfo:t=>a.get("/statistic/base",{params:t}),getChatStatistic:t=>a.get("/statistic/chatStatistic",{params:t}),getBaiduVisit:t=>a.get("/statistic/baiduVisit",{params:t})};export{s as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/diff-1bf42f34.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var o={"+":"inserted","-":"deleted","@":"meta"};const r={name:"diff",token:function(n){var e=n.string.search(/[\t ]+?$/);if(!n.sol()||e===0)return n.skipToEnd(),("error "+(o[n.string.charAt(0)]||"")).replace(/ $/,"");var i=o[n.peek()]||n.skipToEnd();return e===-1?n.skipToEnd():n.pos=e,i}};export{r as diff}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/dockerfile-c8a8b9da.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{s as o}from"./simple-mode-851e42ff.js";var e="from",s=new RegExp("^(\\s*)\\b("+e+")\\b","i"),n=["run","cmd","entrypoint","shell"],l=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),t="expose",x=new RegExp("^(\\s*)("+t+")(\\s+)","i"),g=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],u=[e,t].concat(n).concat(g),r="("+u.join("|")+")",a=new RegExp("^(\\s*)"+r+"(\\s*)(#.*)?$","i"),k=new RegExp("^(\\s*)"+r+"(\\s+)","i");const m=o({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:s,token:[null,"keyword"],sol:!0,next:"from"},{regex:a,token:[null,"keyword",null,"error"],sol:!0},{regex:l,token:[null,"keyword",null],sol:!0,next:"array"},{regex:x,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:k,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});export{m as dockerFile}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/draw-48211430.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .draw_container{flex-wrap:wrap;min-height:400px}.draw_img_container{max-width:18%;flex-direction:column;margin:8px;box-sizing:border-box;border:1px solid #ccc;border-radius:5px}.draw_img_container .draw_head{flex:1;display:flex;justify-content:center;align-items:center;overflow:hidden}.draw_img_container .draw_img{width:100%}.draw_img_container .draw_footer{height:25px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/draw-5f421c63.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .prompt,.answer{width:100%;max-height:40px;white-space:normal;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/dtd-8d673f3f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var u;function r(e,n){return u=n,e}function t(e,n){var l=e.next();if(l=="<"&&e.eat("!")){if(e.eatWhile(/[\-]/))return n.tokenize=o,o(e,n);if(e.eatWhile(/[\w]/))return r("keyword","doindent")}else{if(l=="<"&&e.eat("?"))return n.tokenize=a("meta","?>"),r("meta",l);if(l=="#"&&e.eatWhile(/[\w]/))return r("atom","tag");if(l=="|")return r("keyword","separator");if(l.match(/[\(\)\[\]\-\.,\+\?>]/))return r(null,l);if(l.match(/[\[\]]/))return r("rule",l);if(l=='"'||l=="'")return n.tokenize=k(l),n.tokenize(e,n);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var i=e.current();return i.substr(i.length-1,i.length).match(/\?|\+/)!==null&&e.backUp(1),r("tag","tag")}else return l=="%"||l=="*"?r("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),r(null,null))}}function o(e,n){for(var l=0,i;(i=e.next())!=null;){if(l>=2&&i==">"){n.tokenize=t;break}l=i=="-"?l+1:0}return r("comment","comment")}function k(e){return function(n,l){for(var i=!1,c;(c=n.next())!=null;){if(c==e&&!i){l.tokenize=t;break}i=!i&&c=="\\"}return r("string","tag")}}function a(e,n){return function(l,i){for(;!l.eol();){if(l.match(n)){i.tokenize=t;break}l.next()}return e}}const f={name:"dtd",startState:function(){return{tokenize:t,baseIndent:0,stack:[]}},token:function(e,n){if(e.eatSpace())return null;var l=n.tokenize(e,n),i=n.stack[n.stack.length-1];return e.current()=="["||u==="doindent"||u=="["?n.stack.push("rule"):u==="endtag"?n.stack[n.stack.length-1]="endtag":e.current()=="]"||u=="]"||u==">"&&i=="rule"?n.stack.pop():u=="["&&n.stack.push("["),l},indent:function(e,n,l){var i=e.stack.length;return n.charAt(0)==="]"?i--:n.substr(n.length-1,n.length)===">"&&(n.substr(0,1)==="<"||u=="doindent"&&n.length>1||(u=="doindent"?i--:u==">"&&n.length>1||u=="tag"&&n!==">"||(u=="tag"&&e.stack[e.stack.length-1]=="rule"?i--:u=="tag"?i++:n===">"&&e.stack[e.stack.length-1]=="rule"&&u===">"?i--:n===">"&&e.stack[e.stack.length-1]=="rule"||(n.substr(0,1)!=="<"&&n.substr(0,1)===">"?i=i-1:n===">"||(i=i-1)))),(u==null||u=="]")&&i--),e.baseIndent+i*l.unit},languageData:{indentOnInput:/^\s*[\]>]$/}};export{f as dtd}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/ebnf-9a58f677.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var i={slash:0,parenthesis:1},n={comment:0,_string:1,characterClass:2};const l={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,c){if(e){switch(c.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(c.stringType=e.peek(),e.next(),c.stack.unshift(n._string)):e.match("/*")?(c.stack.unshift(n.comment),c.commentType=i.slash):e.match("(*")&&(c.stack.unshift(n.comment),c.commentType=i.parenthesis)),c.stack[0]){case n._string:for(;c.stack[0]===n._string&&!e.eol();)e.peek()===c.stringType?(e.next(),c.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return c.lhs?"property":"string";case n.comment:for(;c.stack[0]===n.comment&&!e.eol();)c.commentType===i.slash&&e.match("*/")||c.commentType===i.parenthesis&&e.match("*)")?(c.stack.shift(),c.commentType=null):e.match(/^.[^\*]*/);return"comment";case n.characterClass:for(;c.stack[0]===n.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||c.stack.shift();return"operator"}var t=e.peek();switch(t){case"[":return e.next(),c.stack.unshift(n.characterClass),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(t))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{l as ebnf}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/edit.password-ee9c5d6e.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .actionbar[data-v-63511cc5]{z-index:4;bottom:0;padding:20px;text-align:center;background-color:var(--g-app-bg);box-shadow:0 0 1px 0 var(--g-box-shadow-color);transition:all .3s,var(--el-transition-box-shadow)}.actionbar.shadow[data-v-63511cc5]{box-shadow:0 -10px 10px -10px var(--g-box-shadow-color)}[data-v-63511cc5] .el-form-item{margin-bottom:0}.header[data-v-24ce26ee]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:16px 20px;background-color:var(--g-app-bg);transition:background-color .3s}.header .main[data-v-24ce26ee]{flex:1;margin-right:20px}.header .main .title[data-v-24ce26ee]{font-size:22px;color:var(--el-text-color-primary);transition:var(--el-transition-color)}.header .main .content[data-v-24ce26ee]{margin-top:10px;font-size:14px;color:var(--el-text-color-secondary);transition:var(--el-transition-color)}.header .main .content[data-v-24ce26ee]:empty{display:none}.header .sub[data-v-24ce26ee]{flex:none}[data-mode=mobile] .header[data-v-24ce26ee]{flex-direction:column}[data-mode=mobile] .header .main[data-v-24ce26ee]{margin-right:auto;margin-bottom:20px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/eiffel-c812667a.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function u(e){for(var r={},n=0,t=e.length;n>"]);function f(e,r,n){return n.tokenize.push(e),e(r,n)}function s(e,r){if(e.eatSpace())return null;var n=e.next();return n=='"'||n=="'"?f(p(n,"string"),e,r):n=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):n==":"&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function p(e,r,n){return function(t,o){for(var a=!1,i;(i=t.next())!=null;){if(i==e&&(n||!a)){o.tokenize.pop();break}a=!a&&i=="%"}return r}}const d={name:"eiffel",startState:function(){return{tokenize:[s]}},token:function(e,r){var n=r.tokenize[r.tokenize.length-1](e,r);if(n=="variable"){var t=e.current();n=l.propertyIsEnumerable(e.current())?"keyword":c.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}};export{d as eiffel}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/elm-389625db.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function a(n,t,i){return t(i),i(n,t)}var v=/[a-z]/,g=/[A-Z]/,l=/[a-zA-Z0-9_]/,f=/[0-9]/,o=/[0-9A-Fa-f]/,p=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,x=/[ \v\f]/;function r(){return function(n,t){if(n.eatWhile(x))return null;var i=n.next();if(w.test(i))return i==="{"&&n.eat("-")?a(n,t,h(1)):i==="["&&n.match("glsl|")?a(n,t,u):"builtin";if(i==="'")return a(n,t,d);if(i==='"')return n.eat('"')?n.eat('"')?a(n,t,k):"string":a(n,t,E);if(g.test(i))return n.eatWhile(l),"type";if(v.test(i)){var e=n.pos===1;return n.eatWhile(l),e?"def":"variable"}if(f.test(i)){if(i==="0"){if(n.eat(/[xX]/))return n.eatWhile(o),"number"}else n.eatWhile(f);return n.eat(".")&&n.eatWhile(f),n.eat(/[eE]/)&&(n.eat(/[-+]/),n.eatWhile(f)),"number"}return p.test(i)?i==="-"&&n.eat("-")?(n.skipToEnd(),"comment"):(n.eatWhile(p),"keyword"):i==="_"?"keyword":"error"}}function h(n){return n==0?r():function(t,i){for(;!t.eol();){var e=t.next();if(e=="{"&&t.eat("-"))++n;else if(e=="-"&&t.eat("}")&&(--n,n===0))return i(r()),"comment"}return i(h(n)),"comment"}}function k(n,t){for(;!n.eol();){var i=n.next();if(i==='"'&&n.eat('"')&&n.eat('"'))return t(r()),"string"}return"string"}function E(n,t){for(;n.skipTo('\\"');)n.next(),n.next();return n.skipTo('"')?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function d(n,t){for(;n.skipTo("\\'");)n.next(),n.next();return n.skipTo("'")?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function u(n,t){for(;!n.eol();){var i=n.next();if(i==="|"&&n.eat("]"))return t(r()),"string"}return"string"}var y={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const W={name:"elm",startState:function(){return{f:r()}},copyState:function(n){return{f:n.f}},token:function(n,t){var i=t.f(n,function(m){t.f=m}),e=n.current();return y.hasOwnProperty(e)?"keyword":i},languageData:{commentTokens:{line:"--"}}};export{W as elm}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/factor-7bfcb4fc.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{s as e}from"./simple-mode-851e42ff.js";const n=e({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}});export{n as factor}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/fcl-d5e95185.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var d={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},f={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},p={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},l=/[+\-*&^%:=<>!|\/]/;function i(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=c,c(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(l.test(t))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return d.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||o.propertyIsEnumerable(r)?"keyword":p.propertyIsEnumerable(r)?"atom":"variable"}function c(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function a(e,n,t,r,u){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=u}function k(e,n,t){return e.context=new a(e.indented,n,t,null,e.context)}function v(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}const x={name:"fcl",startState:function(e){return{tokenize:null,context:new a(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||i)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var u=e.current().toLowerCase();return f.propertyIsEnumerable(u)?k(n,e.column(),"end_block"):o.propertyIsEnumerable(u)&&v(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=i&&e.tokenize!=null)return 0;var r=e.context,u=o.propertyIsEnumerable(n);return r.align?r.column+(u?0:1):r.indented+(u?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}};export{x as fcl}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/forth-a6c07be1.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function t(i){var n=[];return i.split(" ").forEach(function(E){n.push({name:E})}),n}var r=t("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),O=t("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function R(i,n){var E;for(E=i.length-1;E>=0;E--)if(i[E].name===n.toUpperCase())return i[E]}const L={name:"forth",startState:function(){return{state:"",base:10,coreWordList:r,immediateWordList:O,wordList:[]}},token:function(i,n){var E;if(i.eatSpace())return null;if(n.state===""){if(i.match(/^(\]|:NONAME)(\s|$)/i))return n.state=" compilation","builtin";if(E=i.match(/^(\:)\s+(\S+)(\s|$)+/),E)return n.wordList.push({name:E[2].toUpperCase()}),n.state=" compilation","def";if(E=i.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),E)return n.wordList.push({name:E[2].toUpperCase()}),"def";if(E=i.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),E)return"builtin"}else{if(i.match(/^(\;|\[)(\s)/))return n.state="",i.backUp(1),"builtin";if(i.match(/^(\;|\[)($)/))return n.state="","builtin";if(i.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(E=i.match(/^(\S+)(\s+|$)/),E)return R(n.wordList,E[1])!==void 0?"variable":E[1]==="\\"?(i.skipToEnd(),"comment"):R(n.coreWordList,E[1])!==void 0?"builtin":R(n.immediateWordList,E[1])!==void 0?"keyword":E[1]==="("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"comment"):E[1]===".("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"string"):E[1]==='S"'||E[1]==='."'||E[1]==='C"'?(i.eatWhile(function(e){return e!=='"'}),i.eat('"'),"string"):E[1]-68719476735?"number":"atom"}};export{L as forth}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/globalPre-907e0fd1.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as v}from"./index-c786b651.js";import{a as _}from"./config-c56fc306.js";import{d as V,Q as q,r as i,t as j,o as B,c as E,e,f as o,a as u,k as N,E as m,h as s,q as f}from"./index-56458f60.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"globalPre",setup(U){const l=q({systemPreMessage:""}),p=i({systemPreMessage:[{required:!1,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),a=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(l,t.data)}function d(){var t;(t=a.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(l)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return j(()=>{r()}),(t,n)=>{const c=s("el-alert"),y=v,b=s("el-button"),x=s("el-input"),h=s("el-form-item"),w=s("el-col"),P=s("el-row"),C=s("el-form"),M=s("el-card");return B(),E("div",null,[e(y,null,{default:o(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(M,{style:{margin:"20px"}},{header:o(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:d},{default:o(()=>[N(" 保存设置 ")]),_:1})])]),default:o(()=>[e(C,{ref_key:"formRef",ref:a,rules:p.value,model:l,"label-width":"140px"},{default:o(()=>[e(P,null,{default:o(()=>[e(w,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(h,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:o(()=>[e(x,{modelValue:l.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>l.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/http-e091c18d.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function u(r,n){return r.skipToEnd(),n.cur=t,"error"}function i(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=f,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=d,"keyword"):u(r,n)}function f(r,n){var e=r.match(/^\d+/);if(!e)return u(r,n);n.cur=l;var o=Number(e[0]);return o>=100&&o<400?"atom":"error"}function l(r,n){return r.skipToEnd(),n.cur=t,null}function d(r,n){return r.eatWhile(/\S/),n.cur=s,"string.special"}function s(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=t,"keyword"):u(r,n)}function t(r){return r.sol()&&!r.eat(/[ \t]/)?r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error"):(r.skipToEnd(),"string")}function c(r){return r.skipToEnd(),null}const p={name:"http",token:function(r,n){var e=n.cur;return e!=t&&e!=c&&r.eatSpace()?null:e(r,n)},blankLine:function(r){r.cur=c},startState:function(){return{cur:i}}};export{p as http}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-19c0ffae.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{s,t as r,b as n,L as o,i as P,c as a,f as Q,k as i,a as p}from"./notice-fed80907.js";import"./index-c786b651.js";import"./index-56458f60.js";import"./config-c56fc306.js";const c=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),g=n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[c],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),h=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=u(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function u(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const m=o.define({name:"json",parser:g.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),Q.add({"Object Array":i})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function k(){return new p(m)}export{k as json,m as jsonLanguage,h as jsonParseLinter}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-3c19039c.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | footer[data-v-a1a4dcb4]{display:flex;align-items:center;justify-content:center;margin:40px 0 20px;color:var(--el-text-color-secondary);font-size:14px}footer span[data-v-a1a4dcb4],footer a[data-v-a1a4dcb4]{padding:0 5px}footer a[data-v-a1a4dcb4]{text-decoration:none;color:var(--el-text-color-secondary);transition:var(--el-transition-color)}footer a[data-v-a1a4dcb4]:hover{color:var(--el-text-color-primary)}footer .icon[data-v-a1a4dcb4]{padding:0;font-size:18px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-44cc59a3.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as g,y as k,A as b,o as t,I as d,f as u,b as s,c as n,e as m,a as p,R as f,S as y,J as c,T as C,h as M,G as x,x as B,_ as w,n as N}from"./index-56458f60.js";import T from"./index-fce63257.js";import{u as V}from"./useMenu-3526599b.js";const I={key:0,class:"main-sidebar-container"},L={class:"nav"},$=["title","onClick"],z=g({name:"MainSidebar"}),A=g({...z,setup(D){const a=k(),i=b(),{switchTo:v}=V();return(E,F)=>{const h=w,S=M("el-icon");return t(),d(C,{name:"main-sidebar"},{default:u(()=>[s(a).settings.menu.menuMode==="side"||s(a).mode==="mobile"&&s(a).settings.menu.menuMode!=="single"?(t(),n("div",I,[m(T,{"show-title":!1,class:"sidebar-logo"}),p("div",L,[(t(!0),n(f,null,y(s(i).allMenus,(e,o)=>{var l,r,_;return t(),n(f,null,[e.children&&e.children.length!==0?(t(),n("div",{key:o,class:x(["item",{active:o===s(i).actived}]),title:((l=e.meta)==null?void 0:l.title)??"[ 无标题 ]",onClick:G=>s(v)(o)},[(r=e.meta)!=null&&r.icon?(t(),d(S,{key:0},{default:u(()=>[m(h,{name:e.meta.icon},null,8,["name"])]),_:2},1024)):c("",!0),p("span",null,B(((_=e.meta)==null?void 0:_.title)??"[ 无标题 ]"),1)],10,$)):c("",!0)],64)}),256))])])):c("",!0)]),_:1})}}});const q=N(A,[["__scopeId","data-v-27edc889"]]);export{q as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-45040c73.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{L as o,i as r,j as O,f as t,k as n,s as a,t as e,a as s,b as Q}from"./notice-fed80907.js";import"./index-c786b651.js";import"./index-56458f60.js";import"./config-c56fc306.js";const $={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=Q.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"/Q~R^XY}YZ}]^}pq}rs!Stu!qxy&Vyz'S{|'X}!O'X!Q!R'b!R![)_!]!^,{#T#o-^~!SO_~~!VTOr!Srs!fs#O!S#O#P!k#P~!S~!kOZ~~!nPO~!S~!tiqr$cst$ctu$cuv$cvw$cwx$cz{$c{|$c}!O$c!O!P$c!P!Q$c!Q![$c![!]$c!^!_$c!_!`$c!`!a$c!a!b$c!b!c$c!c!}$c#Q#R$c#R#S$c#S#T$c#T#o$c#p#q$c#r#s$c~$hiV~qr$cst$ctu$cuv$cvw$cwx$cz{$c{|$c}!O$c!O!P$c!P!Q$c!Q![$c![!]$c!^!_$c!_!`$c!`!a$c!a!b$c!b!c$c!c!}$c#Q#R$c#R#S$c#S#T$c#T#o$c#p#q$c#r#s$c~&[PT~!]!^&_~&bRO!]&_!]!^&k!^~&_~&nTOy&_yz&}z!]&_!]!^&k!^~&_~'SOQ~~'XOS~~'[Q!Q!R'b!R![)_~'gUY~!O!P'y!Q![)_!g!h(j#R#S)s#X#Y(j#l#m)y~(ORY~!Q![(X!g!h(j#X#Y(j~(^SY~!Q![(X!g!h(j#R#S)X#X#Y(j~(mR{|(v}!O(v!Q![(|~(yP!Q![(|~)RQY~!Q![(|#R#S(v~)[P!Q![(X~)dTY~!O!P'y!Q![)_!g!h(j#R#S)s#X#Y(j~)vP!Q![)_~)|R!Q![*V!c!i*V#T#Z*V~*[VY~!O!P*q!Q![*V!c!i*V!r!s+n#R#S)y#T#Z*V#d#e+n~*vTY~!Q![+V!c!i+V!r!s+n#T#Z+V#d#e+n~+[UY~!Q![+V!c!i+V!r!s+n#R#S,o#T#Z+V#d#e+n~+qT{|,Q}!O,Q!Q![,^!c!i,^#T#Z,^~,TR!Q![,^!c!i,^#T#Z,^~,cSY~!Q![,^!c!i,^#R#S,Q#T#Z,^~,rR!Q![+V!c!i+V#T#Z+V~-OP!]!^-R~-WQP~OY-RZ~-R~-ciX~qr-^st-^tu-^uv-^vw-^wx-^z{-^{|-^}!O-^!O!P-^!P!Q-^!Q![-^![!]-^!^!_-^!_!`-^!`!a-^!a!b-^!b!c-^!c!}-^#Q#R-^#R#S-^#S#T-^#T#o-^#p#q-^#r#s-^",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:c=>$[c]||-1}],tokenPrec:0}),P=o.define({name:"wast",parser:i.configure({props:[r.add({App:O({closing:")",align:!1})}),t.add({App:n,BlockComment(c){return{from:c.from+2,to:c.to-2}}}),a({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function S(){return new s(P)}export{S as wast,P as wastLanguage}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-45d3789c.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as P,y as z,B as D,o as a,c as u,b as i,I as c,f as s,a as r,e as f,J as h,x as B,af as d,G as E,R as I,S as F,_ as G,h as m,n as L}from"./index-56458f60.js";const $={class:"sidebar-item"},A=["href","target","onClick"],H={class:"title"},K={class:"title"},M=P({name:"SidebarItem"}),Q=P({...M,props:{item:{type:Object,required:!0},basePath:{type:String,default:""}},setup(e){const _=e,N=z(),O=D(()=>{let o=!0;return _.item.children?_.item.children.every(b=>{var l;return((l=b.meta)==null?void 0:l.sidebar)===!1})&&(o=!1):o=!1,o});return(o,b)=>{var y;const l=G,k=m("el-icon"),V=m("el-menu-item"),J=m("router-link"),R=m("SidebarItem"),j=m("el-sub-menu");return a(),u("div",$,[i(O)?(a(),c(j,{key:1,title:((y=e.item.meta)==null?void 0:y.title)??"[ 无标题 ]",index:i(N).settings.app.routeBaseOn!=="filesystem"?i(d)(e.basePath,e.item.path):JSON.stringify(e.item)},{title:s(()=>{var t,n;return[(t=e.item.meta)!=null&&t.icon?(a(),c(k,{key:0,class:"title-icon"},{default:s(()=>[f(l,{name:e.item.meta.icon},null,8,["name"])]),_:1})):h("",!0),r("span",K,B(((n=e.item.meta)==null?void 0:n.title)??"[ 无标题 ]"),1)]}),default:s(()=>[(a(!0),u(I,null,F(e.item.children,t=>{var n;return a(),u(I,null,[((n=t.meta)==null?void 0:n.sidebar)!==!1?(a(),c(R,{key:t.path,item:t,"base-path":i(d)(e.basePath,e.item.path)},null,8,["item","base-path"])):h("",!0)],64)}),256))]),_:1},8,["title","index"])):(a(),c(J,{key:0,custom:"",to:i(d)(e.basePath,e.item.path)},{default:s(({href:t,navigate:n,isActive:q,isExactActive:w})=>{var x,g,v;return[r("a",{href:(x=e.item.meta)!=null&&x.link?e.item.meta.link:t,class:E([q&&"router-link-active",w&&"router-link-exact-active"]),target:(g=e.item.meta)!=null&&g.link?"_blank":"_self",onClick:n},[f(V,{title:((v=e.item.meta)==null?void 0:v.title)??"[ 无标题 ]",index:i(d)(e.basePath,e.item.path||"")},{default:s(()=>{var S,C;return[(S=e.item.meta)!=null&&S.icon?(a(),c(k,{key:0,class:"title-icon"},{default:s(()=>[f(l,{name:e.item.meta.icon},null,8,["name"])]),_:1})):h("",!0),r("span",H,B(((C=e.item.meta)==null?void 0:C.title)??"[ 无标题 ]"),1)]}),_:1},8,["title","index"])],10,A)]}),_:1},8,["to"]))])}}});const U=L(Q,[["__scopeId","data-v-a9cfdc56"]]);export{U as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-5173eeb7.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as b,y as S,A as h,r as M,b as e,o as a,c as o,e as l,G as u,f as c,a9 as v,R as m,S as C,J as p,h as k,I as w,n as y}from"./index-56458f60.js";import x from"./index-fce63257.js";import q from"./index-45d3789c.js";const B=b({name:"SubSidebar"}),I=b({...B,setup(T){const s=S(),i=h(),r=M(0);function _(n){r.value=n.target.scrollTop}return(n,G)=>{const g=k("el-menu");return["side","head","single"].includes(e(s).settings.menu.menuMode)||e(s).mode==="mobile"?(a(),o("div",{key:0,class:u(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}]),onScroll:_},[l(x,{"show-logo":e(s).settings.menu.menuMode==="single",class:u(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single",shadow:e(r)}])},null,8,["show-logo","class"]),l(g,{"unique-opened":e(s).settings.menu.subMenuUniqueOpened,"default-openeds":e(i).defaultOpenedPaths,"default-active":n.$route.meta.activeMenu||n.$route.path,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,"collapse-transition":!1,class:u({"is-collapse-without-logo":e(s).settings.menu.menuMode!=="single"&&e(s).settings.menu.subMenuCollapse})},{default:c(()=>[l(v,{name:"sub-sidebar"},{default:c(()=>[(a(!0),o(m,null,C(e(i).sidebarMenus,(t,f)=>{var d;return a(),o(m,null,[((d=t.meta)==null?void 0:d.sidebar)!==!1?(a(),w(q,{key:t.path||f,item:t,"base-path":t.path},null,8,["item","base-path"])):p("",!0)],64)}),256))]),_:1})]),_:1},8,["unique-opened","default-openeds","default-active","collapse","class"])],34)):p("",!0)}}});const V=y(I,[["__scopeId","data-v-600db683"]]);export{V as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-550a862e.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .tools[data-v-8327a215]{display:flex;align-items:center;padding:0 20px;white-space:nowrap}.tools .buttons[data-v-8327a215]{margin-right:20px}.tools .buttons .item[data-v-8327a215]{display:inline-flex;align-items:center;justify-content:center;height:24px;width:34px;cursor:pointer;vertical-align:middle}.tools .buttons .item .el-icon[data-v-8327a215]{color:var(--el-text-color-primary);transition:var(--el-transition-color)}[data-v-8327a215] .user-container{display:inline-block;height:24px;line-height:24px;cursor:pointer}[data-v-8327a215] .user-container .user-wrapper .el-avatar{vertical-align:middle;margin-top:-2px;margin-right:4px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-59cc5a58.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .main-sidebar-container[data-v-27edc889]{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;position:relative;z-index:1;width:var(--g-main-sidebar-width);color:var(--g-main-sidebar-menu-color);background-color:var(--g-main-sidebar-bg);transition:background-color .3s,var(--el-transition-color)}.main-sidebar-container[data-v-27edc889]::-webkit-scrollbar{display:none}.main-sidebar-container .sidebar-logo[data-v-27edc889]{transition:.3s;background-color:var(--g-main-sidebar-bg)}.main-sidebar-container .nav[data-v-27edc889]{width:inherit;padding-top:var(--g-sidebar-logo-height)}.main-sidebar-container .nav .item[data-v-27edc889]{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;height:60px;padding:0 5px;cursor:pointer;color:var(--g-main-sidebar-menu-color);background-color:var(--g-main-sidebar-bg);transition:background-color .3s,var(--el-transition-color)}.main-sidebar-container .nav .item[data-v-27edc889]:hover{color:var(--g-main-sidebar-menu-hover-color);background-color:var(--g-main-sidebar-menu-hover-bg)}.main-sidebar-container .nav .item.active[data-v-27edc889]{color:var(--g-main-sidebar-menu-active-color);background-color:var(--g-main-sidebar-menu-active-bg)}.main-sidebar-container .nav .item .el-icon[data-v-27edc889]{margin:0 auto;font-size:24px}.main-sidebar-container .nav .item span[data-v-27edc889]{text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.main-sidebar-enter-active[data-v-27edc889],.main-sidebar-leave-active[data-v-27edc889]{transition:transform .3s}.main-sidebar-enter-from[data-v-27edc889],.main-sidebar-leave-to[data-v-27edc889]{transform:translate(calc(var(--g-main-sidebar-width) * -1))} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-635e8a50.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .topbar-container[data-v-ebe52c5a]{position:absolute;z-index:999;top:0;display:flex;align-items:center;justify-content:space-between;height:var(--g-topbar-height);background-color:var(--g-toolbar-bg);transition:width .3s,top .3s,transform .3s,background-color .3s,var(--el-transition-box-shadow)}.topbar-container.topbar-fixed[data-v-ebe52c5a],.topbar-container.topbar-sticky[data-v-ebe52c5a]{position:fixed}.topbar-container.topbar-fixed.shadow[data-v-ebe52c5a],.topbar-container.topbar-sticky.shadow[data-v-ebe52c5a]{box-shadow:0 10px 10px -10px var(--g-box-shadow-color)}.topbar-container.topbar-sticky.hide[data-v-ebe52c5a]{top:calc(var(--g-topbar-height) * -1)!important}.topbar-container .left-box[data-v-ebe52c5a]{display:flex;align-items:center;padding-right:50px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent);mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent)}.topbar-container .left-box .sidebar-collapse[data-v-ebe52c5a]{display:flex;align-items:center;padding:0 20px;height:50px;cursor:pointer}.topbar-container .left-box .sidebar-collapse .el-icon[data-v-ebe52c5a]{color:var(--el-text-color-primary);transition:var(--el-transition-color),var(--el-transition-md-fade)}.topbar-container .left-box .sidebar-collapse:hover .el-icon[data-v-ebe52c5a]{color:var(--el-color-primary)}.topbar-container .left-box .sidebar-collapse.is-collapse .el-icon[data-v-ebe52c5a]{transform:rotate(-180deg)}.topbar-container .left-box .sidebar-collapse+.el-breadcrumb[data-v-ebe52c5a]{margin-left:0}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb{margin-left:20px;white-space:nowrap}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item{display:inline-block;float:none}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item span{font-weight:400}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item:last-child span{color:#97a8be}.breadcrumb-enter-active[data-v-ebe52c5a]{transition:all .25s}.breadcrumb-enter-from[data-v-ebe52c5a],.breadcrumb-leave-active[data-v-ebe52c5a]{opacity:0;transform:translate(30px) skew(-50deg)} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-743018f7.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .prompt,.answer{width:100%;max-height:80px;white-space:normal;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-77bb2926.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as c,r as d,y as g,t as h,o as a,c as n,b as s,x as u,J as l,p as y,i as f,a as r,g as m,n as S}from"./index-56458f60.js";import{a as b}from"./config-c56fc306.js";const i=t=>(y("data-v-a1a4dcb4"),t=t(),f(),t),x={class:"copyright"},C=i(()=>r("span",null,"Copyright",-1)),k=i(()=>r("span",{class:"icon"},"©",-1)),v=["href"],I=c({name:"Copyright"}),B=c({...I,setup(t){const e=d({copyrightTitle:"SparkAi",copyrightUrl:"/"});async function p(){const o=await b.copyright();o.success&&(e.value=o.data)}m();const _=g();return h(()=>{p()}),(o,w)=>(a(),n("footer",x,[C,k,s(_).settings.copyright.beian?(a(),n("a",{key:0,href:s(e).copyrightUrl,target:"_blank",rel:"noopener"},u(s(e).copyrightTitle),9,v)):l("",!0)]))}});const U=S(B,[["__scopeId","data-v-a1a4dcb4"]]);export{U as _}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-7e36a42b.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .page-main[data-v-847d7a8d]{position:relative;margin:20px;padding:20px;background-color:var(--g-app-bg);transition:background-color .3s}.page-main.is-collaspe[data-v-847d7a8d]{overflow:hidden}.page-main.is-collaspe .collaspe[data-v-847d7a8d]{position:absolute;left:0;bottom:0;width:100%;padding:40px 0 10px;text-align:center;font-size:24px;color:var(--el-text-color-primary);text-shadow:0 0 1px var(--el-text-color-primary);background:linear-gradient(to bottom,transparent,var(--g-app-bg));transition:background .3s,var(--el-transition-color);cursor:pointer}.page-main.is-collaspe .collaspe[data-v-847d7a8d]:hover{color:var(--el-text-color-secondary)}.page-main .title-container[data-v-847d7a8d]{width:calc(100% + 40px);padding:14px 20px;margin-left:-20px;margin-top:-20px;margin-bottom:20px;border-bottom:1px solid var(--el-border-color-lighter);transition:var(--el-transition-border)} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-8931d5e1.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .title[data-v-3c2d5fb6]{position:fixed;z-index:1000;top:0;width:inherit;padding:0 10px;display:flex;align-items:center;justify-content:center;height:var(--g-sidebar-logo-height);text-align:center;overflow:hidden;text-decoration:none}.title.is-link[data-v-3c2d5fb6]{cursor:pointer}.title .logo[data-v-3c2d5fb6]{width:30px;height:30px;-o-object-fit:contain;object-fit:contain}.title .logo+span[data-v-3c2d5fb6]{margin-left:10px}.title span[data-v-3c2d5fb6]{display:block;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-9d9051bb.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as v,y as C,A as M,r as x,o as e,I as f,f as p,b as s,c as o,a as n,e as i,l as B,R as h,S as T,J as a,T as w,h as N,G as R,x as V,_ as H,n as I}from"./index-56458f60.js";import L from"./index-fce63257.js";import{T as W}from"./index-8b5f031f.js";import{u as $}from"./useMenu-3526599b.js";import"./index-ed28a6e5.js";const b={key:0},z={class:"header-container"},A={class:"main"},D=["onWheel"],E=["onClick"],F={key:1},G=v({name:"Header"}),J=v({...G,setup(Y){const l=C(),_=M(),{switchTo:k}=$(),d=x();function y(r){d.value.scrollBy({left:(r.deltaY||r.detail)>0?50:-50})}return(r,j)=>{const g=H,S=N("el-icon");return e(),f(w,{name:"header"},{default:p(()=>[s(l).mode==="pc"&&s(l).settings.menu.menuMode==="head"?(e(),o("header",b,[n("div",z,[n("div",A,[i(L),n("div",{ref_key:"navRef",ref:d,class:"nav",onWheel:B(y,["prevent"])},[(e(!0),o(h,null,T(s(_).allMenus,(t,c)=>{var u,m;return e(),o(h,{key:c},[t.children&&t.children.length!==0?(e(),o("div",{key:0,class:R(["item-container",{active:c===s(_).actived}])},[n("div",{class:"item",onClick:q=>s(k)(c)},[(u=t.meta)!=null&&u.icon?(e(),f(S,{key:0},{default:p(()=>[i(g,{name:t.meta.icon},null,8,["name"])]),_:2},1024)):a("",!0),(m=t.meta)!=null&&m.title?(e(),o("span",F,V(t.meta.title),1)):a("",!0)],8,E)],2)):a("",!0)],64)}),128))],40,D)]),i(W)])])):a("",!0)]),_:1})}}});const X=I(J,[["__scopeId","data-v-381f1d85"]]);export{X as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-9fe690d5.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as h,y as x,z as A,A as L,B as D,C as b,t as $,D as r,F as H,o as n,c as g,a,e as o,G as v,b as t,H as I,I as l,J as u,f as d,T,w as V,v as z,K,L as N,M as P,g as R,h as c,_ as E,n as F}from"./index-56458f60.js";import{_ as G}from"./index-77bb2926.js";import J from"./link-e7f28faa.js";import U from"./index-9d9051bb.js";import j from"./index-44cc59a3.js";import q from"./index-5173eeb7.js";import O from"./index-7976d9bb.js";import Q from"./index-4fd5a012.js";import W from"./index-d558c889.js";import X from"./index-525cd856.js";import{u as Y}from"./index-8b5f031f.js";import{u as Z}from"./useMenu-3526599b.js";import"./config-c56fc306.js";import"./index-c786b651.js";import"./index-fce63257.js";import"./index-45d3789c.js";import"./index-ed28a6e5.js";const ee={class:"layout"},te={id:"app-main"},oe={class:"wrapper"},se={class:"main"},ne={key:0},ae=h({name:"Layout"}),ie=h({...ae,setup(re){const _=R(),e=x(),k=A(),m=L(),f=D(()=>!!_.meta.link);return b(()=>e.settings.menu.subMenuCollapse,s=>{e.mode==="mobile"&&(s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),b(()=>_.path,()=>{e.mode==="mobile"&&e.$patch(s=>{s.settings.menu.subMenuCollapse=!0})}),$(()=>{r("f5",s=>{e.settings.toolbar.enablePageReload&&(s.preventDefault(),Y().reload())}),r("alt+`",s=>{e.settings.menu.enableHotkeys&&(s.preventDefault(),Z().switchTo(m.actived+1{r.unbind("f5"),r.unbind("alt+`")}),(s,i)=>{const y=c("router-view"),S=G,C=c("el-backtop"),w=E,M=c("el-icon");return n(),g("div",ee,[a("div",te,[o(U),a("div",oe,[a("div",{class:v(["sidebar-container",{show:t(e).mode==="mobile"&&!t(e).settings.menu.subMenuCollapse}])},[o(j),o(q)],2),a("div",{class:v(["sidebar-mask",{show:t(e).mode==="mobile"&&!t(e).settings.menu.subMenuCollapse}]),onClick:i[0]||(i[0]=p=>t(e).toggleSidebarCollapse())},null,2),a("div",{class:"main-container",style:I({"padding-bottom":s.$route.meta.paddingBottom})},[t(e).settings.menu.menuMode==="head"&&!t(e).settings.menu.enableSubMenuCollapseButton&&!t(e).settings.breadcrumb.enable?u("",!0):(n(),l(O,{key:0})),a("div",se,[o(y,null,{default:d(({Component:p,route:B})=>[o(T,{name:"main",mode:"out-in",appear:""},{default:d(()=>[(n(),l(N,{include:t(k).list},[V((n(),l(K(p),{key:B.fullPath})),[[z,!t(f)]])],1032,["include"]))]),_:2},1024)]),_:1}),t(f)?(n(),l(J,{key:0})):u("",!0)]),o(S)],4)]),o(C,{right:20,bottom:20,title:"回到顶部"})]),o(Q),o(W),t(e).settings.app.enableAppSetting?(n(),g("div",ne,[o(M,{class:"app-setting",onClick:i[1]||(i[1]=p=>t(P).emit("global-app-setting-toggle"))},{default:d(()=>[o(w,{name:"ep:setting"})]),_:1}),o(X)])):u("",!0)])}}});const Me=F(ie,[["__scopeId","data-v-096f3f7e"]]);export{Me as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-ac6fd7bf.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | [data-v-a9cfdc56] .el-menu-item,[data-v-a9cfdc56] .el-menu-item span.title,[data-v-a9cfdc56] .el-sub-menu__title,[data-v-a9cfdc56] .el-sub-menu__title span.title{flex:1;vertical-align:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-a9cfdc56] .el-menu-item{display:flex;align-items:center;justify-content:center}[data-v-a9cfdc56] .el-sub-menu .title-icon,[data-v-a9cfdc56] .el-menu-item .title-icon{width:20px;font-size:20px;vertical-align:-.25em;transition:transform .3s;color:unset}[data-v-a9cfdc56] .el-sub-menu .title-icon+.title,[data-v-a9cfdc56] .el-menu-item .title-icon+.title{margin-left:10px}[data-v-a9cfdc56] .el-sub-menu:hover>.title-icon,[data-v-a9cfdc56] .el-sub-menu .el-sub-menu__title:hover>.title-icon,[data-v-a9cfdc56] .el-menu-item:hover>.title-icon,[data-v-a9cfdc56] .el-menu-item .el-sub-menu__title:hover>.title-icon{transform:scale(1.2)}a[data-v-a9cfdc56]{cursor:pointer;color:inherit;text-decoration:none}.el-sub-menu__title>.badge-dot[data-v-a9cfdc56]{right:40px}.el-sub-menu__title>.badge-text[data-v-a9cfdc56]{right:40px}.el-menu--inline{background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item,.el-menu--inline .el-sub-menu>.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color);background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item:hover,.el-menu--inline .el-sub-menu>.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item,.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color)!important;background:transparent!important}.el-menu-item:hover,.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item.is-active,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title,.el-sub-menu .el-menu--inline .el-menu-item.is-active{color:var(--g-sub-sidebar-menu-active-color)!important;background-color:var(--g-sub-sidebar-menu-active-bg)!important}.el-menu-item.is-active .icon,.el-menu-item.is-active .el-sub-menu__icon-arrow,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .icon,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-sub-menu .el-menu--inline .el-menu-item.is-active .icon,.el-sub-menu .el-menu--inline .el-menu-item.is-active .el-sub-menu__icon-arrow{color:unset} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-c786b651.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as _,O as f,r as g,o as a,c as s,N as c,R as y,k as v,x as h,J as i,b as o,e as r,f as k,G as C,H as S,_ as x,h as N,n as w}from"./index-56458f60.js";const B={key:0,class:"title-container"},V=_({name:"PageMain"}),$=_({...V,props:{title:{type:String,default:""},collaspe:{type:Boolean,default:!1},height:{type:String,default:""}},setup(e){const d=e,n=!!f().title,t=g(d.collaspe);function p(){t.value=!1}return(l,z)=>{const u=x,m=N("el-icon");return a(),s("div",{class:C(["page-main",{"is-collaspe":o(t)}]),style:S({height:o(t)?e.height:""})},[n||e.title?(a(),s("div",B,[n?c(l.$slots,"title",{key:0},void 0,!0):(a(),s(y,{key:1},[v(h(e.title),1)],64))])):i("",!0),c(l.$slots,"default",{},void 0,!0),o(t)?(a(),s("div",{key:1,class:"collaspe",title:"展开",onClick:p},[r(m,null,{default:k(()=>[r(u,{name:"ep:arrow-down"})]),_:1})])):i("",!0)],6)}}});const b=w($,[["__scopeId","data-v-847d7a8d"]]);export{b as _}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-d558c889.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as g,r as v,y as b,t as k,M as y,o as l,c as x,e as n,f as s,k as r,x as c,b as e,I as u,J as m,U as S,h as d,n as h}from"./index-56458f60.js";const V=g({__name:"index",setup(w){const o=v(!1),t=b();return k(()=>{y.on("global-hotkeys-intro-toggle",()=>{o.value=!o.value})}),(B,i)=>{const a=d("el-descriptions-item"),_=d("el-descriptions"),p=d("el-drawer");return l(),x("div",null,[n(p,{modelValue:e(o),"onUpdate:modelValue":i[0]||(i[0]=f=>S(o)?o.value=f:null),title:"快捷键介绍",direction:"rtl",size:360},{default:s(()=>[n(_,{title:"全局",column:1,border:""},{default:s(()=>[n(a,{label:"查看系统信息"},{default:s(()=>[r(c(e(t).os==="mac"?"⌥":"Alt")+" + I ",1)]),_:1}),e(t).settings.navSearch.enable&&e(t).settings.navSearch.enableHotkeys?(l(),u(a,{key:0,label:"唤起导航搜索"},{default:s(()=>[r(c(e(t).os==="mac"?"⌥":"Alt")+" + S ",1)]),_:1})):m("",!0)]),_:1}),e(t).settings.menu.enableHotkeys&&["side","head"].includes(e(t).settings.menu.menuMode)?(l(),u(_,{key:0,title:"主导航",column:1,border:""},{default:s(()=>[n(a,{label:"激活下一个主导航"},{default:s(()=>[r(c(e(t).os==="mac"?"⌥":"Alt")+" + ` ",1)]),_:1})]),_:1})):m("",!0)]),_:1},8,["modelValue"])])}}});const I=h(V,[["__scopeId","data-v-59fcc97e"]]);export{I as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-ed149689.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | [data-v-59fcc97e] .el-drawer__header{margin-bottom:initial;padding-bottom:20px;border-bottom:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-59fcc97e] .el-descriptions{margin-bottom:20px}[data-v-59fcc97e] .el-descriptions .el-descriptions__label{width:200px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/index-fce63257.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as i,y as m,r as c,B as p,o,I as f,f as g,c as l,b as e,J as r,x as h,G as k,h as y,n as x}from"./index-56458f60.js";const b="/sparkai/admin/assets/logo-7bf6f673.png",B=["src"],w={key:1},C=i({name:"Logo"}),L=i({...C,props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(s){const n=m(),a=c("SparkAi"),_=c(b),u=p(()=>{const t={};return n.settings.home.enable&&(t.name="home"),t});return(t,S)=>{const d=y("router-link");return o(),f(d,{to:e(u),class:k(["title",{"is-link":e(n).settings.home.enable}]),title:e(a)},{default:g(()=>[s.showLogo?(o(),l("img",{key:0,src:e(_),class:"logo"},null,8,B)):r("",!0),s.showTitle?(o(),l("span",w,h(e(a)),1)):r("",!0)]),_:1},8,["to","class","title"])}}});const I=x(L,[["__scopeId","data-v-3c2d5fb6"]]);export{I as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/jinja2-580c43a7.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var l=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],c=/^[+\-*&%=<>!?|~^]/,f=/^[:\[\(\{]/,o=["true","false"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;l=new RegExp("(("+l.join(")|(")+"))\\b");o=new RegExp("(("+o.join(")|(")+"))\\b");function u(n,e){var i=n.peek();if(e.incomment)return n.skipTo("#}")?(n.eatWhile(/\#|}/),e.incomment=!1):n.skipToEnd(),"comment";if(e.intag){if(e.operator){if(e.operator=!1,n.match(o))return"atom";if(n.match(r))return"number"}if(e.sign){if(e.sign=!1,n.match(o))return"atom";if(n.match(r))return"number"}if(e.instring)return i==e.instring&&(e.instring=!1),n.next(),"string";if(i=="'"||i=='"')return e.instring=i,n.next(),"string";if(e.inbraces>0&&i==")")n.next(),e.inbraces--;else if(i=="(")n.next(),e.inbraces++;else if(e.inbrackets>0&&i=="]")n.next(),e.inbrackets--;else if(i=="[")n.next(),e.inbrackets++;else{if(!e.lineTag&&(n.match(e.intag+"}")||n.eat("-")&&n.match(e.intag+"}")))return e.intag=!1,"tag";if(n.match(c))return e.operator=!0,"operator";if(n.match(f))e.sign=!0;else{if(n.column()==1&&e.lineTag&&n.match(l))return"keyword";if(n.eat(" ")||n.sol()){if(n.match(l))return"keyword";if(n.match(o))return"atom";if(n.match(r))return"number";n.sol()&&n.next()}else n.next()}}return"variable"}else if(n.eat("{")){if(n.eat("#"))return e.incomment=!0,n.skipTo("#}")?(n.eatWhile(/\#|}/),e.incomment=!1):n.skipToEnd(),"comment";if(i=n.eat(/\{|%/))return e.intag=i,e.inbraces=0,e.inbrackets=0,i=="{"&&(e.intag="}"),n.eat("-"),"tag"}else if(n.eat("#")){if(n.peek()=="#")return n.skipToEnd(),"comment";if(!n.eol())return e.intag=!0,e.lineTag=!0,e.inbraces=0,e.inbrackets=0,"tag"}n.next()}const a={name:"jinja2",startState:function(){return{tokenize:u,inbrackets:0,inbraces:0}},token:function(n,e){var i=e.tokenize(n,e);return n.eol()&&e.lineTag&&!e.instring&&e.inbraces==0&&e.inbrackets==0&&(e.intag=!1,e.lineTag=!1),i},languageData:{commentTokens:{block:{open:"{#",close:"#}",line:"##"}}}};export{a as jinja2}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/link-e7f28faa.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as m}from"./index-c786b651.js";import{d as i,o as a,c as k,e as o,f as e,I as f,a as s,x as v,b as _,k as h,T as b,g as w,_ as x,h as c,p as g,i as y,n as I}from"./index-56458f60.js";const V=n=>(g("data-v-7b059d41"),n=n(),y(),n),B={class:"link-view"},C={class:"container"},S=V(()=>s("div",{class:"title"}," 是否访问此链接 ",-1)),N={class:"link"},T=i({name:"LinkView"}),L=i({...T,setup(n){const t=w();function l(){window.open(t.meta.link,"_blank")}return(D,E)=>{const p=x,d=c("el-icon"),r=c("el-button"),u=m;return a(),k("div",B,[o(b,{name:"link",mode:"out-in",appear:""},{default:e(()=>[(a(),f(u,{key:_(t).meta.link,title:"⚠️访问提醒"},{default:e(()=>[s("div",C,[S,s("div",N,v(_(t).meta.link),1),o(r,{type:"primary",plain:"",round:"",onClick:l},{icon:e(()=>[o(d,null,{default:e(()=>[o(p,{name:"ep:link"})]),_:1})]),default:e(()=>[h(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}});const j=I(L,[["__scopeId","data-v-7b059d41"]]);export{j as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/link-e829b43b.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .link-view[data-v-7b059d41]{display:flex;flex-direction:column;position:absolute;top:0;left:0;width:100%;height:100%}.link-view .page-main[data-v-7b059d41]{display:flex;flex-direction:column;height:100%;flex:1}.link-view .page-main .container[data-v-7b059d41]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;margin:0 50px}.link-view .page-main .container .title[data-v-7b059d41]{margin:10px 0;font-size:22px;color:var(--el-text-color-primary)}.link-view .page-main .container .link[data-v-7b059d41]{margin:10px 0;max-width:300px;font-size:14px;color:var(--el-text-color-disabled);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.link-view .page-main .container .el-button[data-v-7b059d41]{margin:20px 0}.link-enter-active[data-v-7b059d41]{transition:.2s}.link-leave-active[data-v-7b059d41]{transition:.15s}.link-enter-from[data-v-7b059d41]{opacity:0;transform:translate(-20px)}.link-leave-to[data-v-7b059d41]{opacity:0;transform:translate(20px)} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/login-banner-a3a48256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/assets/login-banner-a3a48256.png -------------------------------------------------------------------------------- /public/sparkai/admin/assets/logo-7bf6f673.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/assets/logo-7bf6f673.png -------------------------------------------------------------------------------- /public/sparkai/admin/assets/mathematica-4db1ec63.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var u="[a-zA-Z\\$][a-zA-Z0-9\\$]*",f="(?:\\d+)",c="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",o="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",l="(?:`(?:`?"+c+")?)",z=new RegExp("(?:"+f+"(?:\\^\\^"+o+l+"?(?:\\*\\^[+-]?\\d+)?))"),m=new RegExp("(?:"+c+l+"?(?:\\*\\^[+-]?\\d+)?)"),A=new RegExp("(?:`?)(?:"+u+")(?:`(?:"+u+"))*(?:`?)");function i(e,a){var n;return n=e.next(),n==='"'?(a.tokenize=Z,a.tokenize(e,a)):n==="("&&e.eat("*")?(a.commentLevel++,a.tokenize=$,a.tokenize(e,a)):(e.backUp(1),e.match(z,!0,!1)||e.match(m,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string.special":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(A,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function Z(e,a){for(var n,r=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){r=!0;break}t=!t&&n==="\\"}return r&&!t&&(a.tokenize=i),"string"}function $(e,a){for(var n,r;a.commentLevel>0&&(r=e.next())!=null;)n==="("&&r==="*"&&a.commentLevel++,n==="*"&&r===")"&&a.commentLevel--,n=r;return a.commentLevel<=0&&(a.tokenize=i),"comment"}const v={name:"mathematica",startState:function(){return{tokenize:i,commentLevel:0}},token:function(e,a){return e.eatSpace()?null:a.tokenize(e,a)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}};export{v as mathematica}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/mbox-b40e52ca.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var o=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],l=["Date","Subject","Comments","Keywords","Resent-Date"],u=/^[ \t]/,d=/^From /,f=new RegExp("^("+o.join("|")+"): "),c=new RegExp("^("+l.join("|")+"): "),t=/^[^:]+:/,m=/^[^ ]+@[^ ]+/,p=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,v=/^.*?(?=<.*>)/;function h(e){return e==="Subject"?"header":"string"}function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(u))return null;if(r.inHeader=!1,r.header=null,e.match(d))return r.inHeaders=!0,r.inSeparator=!0,"atom";var n,i=!1;return(n=e.match(c))||(i=!0)&&(n=e.match(f))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=i,r.header=n[1],"atom"):r.inHeaders&&(n=e.match(t))?(r.inHeader=!0,r.emailPermitted=!0,r.header=n[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(m)?"link":(e.match(p)||e.skipToEnd(),"atom");if(r.inHeader){var a=h(r.header);if(r.emailPermitted){if(e.match(H))return a+" link";if(e.match(v))return a}return e.skipToEnd(),a}return e.skipToEnd(),null}const k={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:R,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:o.concat(l)}};export{k as mbox}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/mind-c7de00de.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as v}from"./index-c786b651.js";import{a as _}from"./config-c56fc306.js";import{d as P,Q as j,r as p,t as q,o as B,c as E,e,f as t,a as x,k as M,E as g,h as n,q as b}from"./index-56458f60.js";const N={class:"flex justify-between"},U=x("b",null,"思维导图设置",-1),O=P({__name:"mind",setup(R){const a=j({mindDefaultData:"",mindCustomPrompt:""}),y=p({}),r=p();async function m(){const l=await _.queryConfig({keys:["mindDefaultData","mindCustomPrompt"]});Object.assign(a,l.data)}function C(){var l;(l=r.value)==null||l.validate(async o=>{if(o){try{await _.setConfig({settings:w(a)}),g.success("变更配置信息成功")}catch{}m()}else g.error("请填写完整信息")})}function w(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return q(()=>{m()}),(l,o)=>{const c=n("el-alert"),D=v,V=n("el-button"),u=n("el-input"),d=n("el-form-item"),i=n("el-col"),f=n("el-row"),h=n("el-form"),k=n("el-card");return B(),E("div",null,[e(D,null,{default:t(()=>[e(c,{closable:!1,"show-icon":"",title:"系统基础设置配置说明",description:"默认配置数据会在页面加载后初次展示给用户、预设信息系统有内置提示词、如果您想覆盖掉他、则在此处设置您的专属提示词!",type:"success"})]),_:1}),e(k,{style:{margin:"20px"}},{header:t(()=>[x("div",N,[U,e(V,{class:"button",text:"",onClick:C},{default:t(()=>[M(" 保存设置 ")]),_:1})])]),default:t(()=>[e(h,{ref_key:"formRef",ref:r,rules:y.value,model:a,"label-width":"150px"},{default:t(()=>[e(f,null,{default:t(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"思维导图默认数据",prop:"mindDefaultData"},{default:t(()=>[e(u,{modelValue:a.mindDefaultData,"onUpdate:modelValue":o[0]||(o[0]=s=>a.mindDefaultData=s),type:"textarea",rows:10,placeholder:"思维导图的默认展示数据Markdown格式",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"导图自定义提示词",prop:"mindCustomPrompt"},{default:t(()=>[e(u,{modelValue:a.mindCustomPrompt,"onUpdate:modelValue":o[1]||(o[1]=s=>a.mindCustomPrompt=s),type:"textarea",rows:10,placeholder:"自定义提示词、系统有默认提示词、如果您想覆盖 、请在此处自定义",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(O);export{O as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/mumps-82310ef4.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),$=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),t=new RegExp("^[\\.,:]"),c=new RegExp("[()]"),l=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),a=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],d=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],u=o(d),f=o(a);function m(e,n){e.sol()&&(n.label=!0,n.commandMode=0);var r=e.peek();return r==" "||r==" "?(n.label=!1,n.commandMode==0?n.commandMode=1:(n.commandMode<0||n.commandMode==2)&&(n.commandMode=0)):r!="."&&n.commandMode>0&&(r==":"?n.commandMode=-1:n.commandMode=2),(r==="("||r===" ")&&(n.label=!1),r===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":r=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match($)||e.match(i)?"operator":e.match(t)?null:c.test(r)?(e.next(),"bracket"):n.commandMode>0&&e.match(f)?"controlKeyword":e.match(u)?"builtin":e.match(l)?"variable":r==="$"||r==="^"?(e.next(),"builtin"):r==="@"?(e.next(),"string.special"):/[\w%]/.test(r)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}const s={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,n){var r=m(e,n);return n.label?"tag":r}};export{s as mumps}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/ntriples-8490b09b.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var _={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function T(e,I){var R=e.location,i;R==_.PRE_SUBJECT&&I=="<"?i=_.WRITING_SUB_URI:R==_.PRE_SUBJECT&&I=="_"?i=_.WRITING_BNODE_URI:R==_.PRE_PRED&&I=="<"?i=_.WRITING_PRED_URI:R==_.PRE_OBJ&&I=="<"?i=_.WRITING_OBJ_URI:R==_.PRE_OBJ&&I=="_"?i=_.WRITING_OBJ_BNODE:R==_.PRE_OBJ&&I=='"'?i=_.WRITING_OBJ_LITERAL:R==_.WRITING_SUB_URI&&I==">"||R==_.WRITING_BNODE_URI&&I==" "?i=_.PRE_PRED:R==_.WRITING_PRED_URI&&I==">"?i=_.PRE_OBJ:R==_.WRITING_OBJ_URI&&I==">"||R==_.WRITING_OBJ_BNODE&&I==" "||R==_.WRITING_OBJ_LITERAL&&I=='"'||R==_.WRITING_LIT_LANG&&I==" "||R==_.WRITING_LIT_TYPE&&I==">"?i=_.POST_OBJ:R==_.WRITING_OBJ_LITERAL&&I=="@"?i=_.WRITING_LIT_LANG:R==_.WRITING_OBJ_LITERAL&&I=="^"?i=_.WRITING_LIT_TYPE:I==" "&&(R==_.PRE_SUBJECT||R==_.PRE_PRED||R==_.PRE_OBJ||R==_.POST_OBJ)?i=R:R==_.POST_OBJ&&I=="."?i=_.PRE_SUBJECT:i=_.ERROR,e.location=i}const u={name:"ntriples",startState:function(){return{location:_.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(e,I){var R=e.next();if(R=="<"){T(I,R);var i="";return e.eatWhile(function(n){return n!="#"&&n!=">"?(i+=n,!0):!1}),I.uris.push(i),e.match("#",!1)||(e.next(),T(I,">")),"variable"}if(R=="#"){var r="";return e.eatWhile(function(n){return n!=">"&&n!=" "?(r+=n,!0):!1}),I.anchors.push(r),"url"}if(R==">")return T(I,">"),"variable";if(R=="_"){T(I,R);var f="";return e.eatWhile(function(n){return n!=" "?(f+=n,!0):!1}),I.bnodes.push(f),e.next(),T(I," "),"builtin"}if(R=='"')return T(I,R),e.eatWhile(function(n){return n!='"'}),e.next(),e.peek()!="@"&&e.peek()!="^"&&T(I,'"'),"string";if(R=="@"){T(I,"@");var E="";return e.eatWhile(function(n){return n!=" "?(E+=n,!0):!1}),I.langs.push(E),e.next(),T(I," "),"string.special"}if(R=="^"){e.next(),T(I,"^");var l="";return e.eatWhile(function(n){return n!=">"?(l+=n,!0):!1}),I.types.push(l),e.next(),T(I,">"),"variable"}R==" "&&T(I,R),R=="."&&T(I,R)}};export{u as ntriples}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/octave-3f516c2f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),u=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),a=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),l=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),c=new RegExp("^((>>=)|(<<=))"),p=new RegExp("^[\\]\\)]"),d=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),s=t(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),h=t(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function o(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=i,"operator"):(n.tokenize=i,i(e,n))}function m(e,n){return e.match(/^.*%}/)?(n.tokenize=i,"comment"):(e.skipToEnd(),"comment")}function i(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=m,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=i,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(t(["nan","NaN","inf","Inf"])))return"number";var r=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return r?r[1]?"string":"error":e.match(h)?"keyword":e.match(s)?"builtin":e.match(d)?"variable":e.match(f)||e.match(a)?"operator":e.match(u)||e.match(l)||e.match(c)?null:e.match(p)?(n.tokenize=o,null):(e.next(),"error")}const g={name:"octave",startState:function(){return{tokenize:i}},token:function(e,n){var r=n.tokenize(e,n);return(r==="number"||r==="variable")&&(n.tokenize=o),r},languageData:{commentTokens:{line:"%"}}};export{g as octave}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/package-8e223d93.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as e}from"./index-56458f60.js";const c={queryAllPackage:a=>e.get("crami/queryAllPackage",{params:a}),updatePackage:a=>e.post("crami/updatePackage",a),createPackage:a=>e.post("crami/createPackage",a),delPackage:a=>e.post("crami/delPackage",a),queryAllCrami:a=>e.get("crami/queryAllCrami",{params:a}),delCrami:a=>e.post("crami/delCrami",a),createCrami:a=>e.post("crami/createCrami",a),batchDelCrami:a=>e.post("crami/batchDelCrami",a)};export{c as A}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/pascal-bcac1c04.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function c(r){for(var n={},e=r.split(" "),t=0;t!?|\/]/;function d(r,n){var e=r.next();if(e=="#"&&n.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return n.tokenize=p(e),n.tokenize(r,n);if(e=="("&&r.eat("*"))return n.tokenize=l,l(r,n);if(e=="{")return n.tokenize=u,u(r,n);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(a.test(e))return r.eatWhile(a),"operator";r.eatWhile(/[\w\$_]/);var t=r.current();return s.propertyIsEnumerable(t)?"keyword":f.propertyIsEnumerable(t)?"atom":"variable"}function p(r){return function(n,e){for(var t=!1,i,o=!1;(i=n.next())!=null;){if(i==r&&!t){o=!0;break}t=!t&&i=="\\"}return(o||!t)&&(e.tokenize=null),"string"}}function l(r,n){for(var e=!1,t;t=r.next();){if(t==")"&&e){n.tokenize=null;break}e=t=="*"}return"comment"}function u(r,n){for(var e;e=r.next();)if(e=="}"){n.tokenize=null;break}return"comment"}const k={name:"pascal",startState:function(){return{tokenize:null}},token:function(r,n){if(r.eatSpace())return null;var e=(n.tokenize||d)(r,n);return e=="comment"||e=="meta",e},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}};export{k as pascal}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/pig-3510ca5f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function r(e){for(var T={},O=e.split(" "),E=0;E=&?:\/!|]/;function L(e,T,O){return T.tokenize=O,O(e,T)}function u(e,T){for(var O=!1,E;E=e.next();){if(E=="/"&&O){T.tokenize=A;break}O=E=="*"}return"comment"}function C(e){return function(T,O){for(var E=!1,N,R=!1;(N=T.next())!=null;){if(N==e&&!E){R=!0;break}E=!E&&N=="\\"}return(R||!E)&&(O.tokenize=A),"error"}}function A(e,T){var O=e.next();return O=='"'||O=="'"?L(e,T,C(O)):/[\[\]{}\(\),;\.]/.test(O)?null:/\d/.test(O)?(e.eatWhile(/[\w\.]/),"number"):O=="/"?e.eat("*")?L(e,T,u):(e.eatWhile(I),"operator"):O=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(I),"operator"):I.test(O)?(e.eatWhile(I),"operator"):(e.eatWhile(/[\w\$_]/),n&&n.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":S&&S.propertyIsEnumerable(e.current().toUpperCase())?"builtin":t&&t.propertyIsEnumerable(e.current().toUpperCase())?"type":"variable")}const G={name:"pig",startState:function(){return{tokenize:A,startOfLine:!0}},token:function(e,T){if(e.eatSpace())return null;var O=T.tokenize(e,T);return O},languageData:{autocomplete:(i+o+U).split(" ")}};export{G as pig}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/prompt-267d8761.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as k}from"./index-c786b651.js";import{a as _}from"./config-c56fc306.js";import{d as v,Q as F,r as f,t as L,o as M,c as q,e,f as o,a as x,k as B,E as d,h as l,q as g}from"./index-56458f60.js";const E={class:"flex justify-between"},N=x("b",null,"MJ参数设置",-1),U=v({__name:"prompt",setup(J){const a=F({mjCustomFanyiPrompt:"",mjCustomLianxiangPrompt:""}),y=f({}),r=f();async function m(){const n=await _.queryConfig({keys:["mjCustomFanyiPrompt","mjCustomLianxiangPrompt"]});Object.assign(a,n.data)}function C(){var n;(n=r.value)==null||n.validate(async t=>{if(t){try{await _.setConfig({settings:b(a)}),d.success("变更配置信息成功")}catch{}m()}else d.error("请填写完整信息")})}function b(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}return L(()=>{m()}),(n,t)=>{const c=l("el-alert"),j=k,w=l("el-button"),i=l("el-input"),u=l("el-form-item"),p=l("el-col"),P=l("el-row"),V=l("el-form"),h=l("el-card");return M(),q("div",null,[e(j,null,{default:o(()=>[e(c,{closable:!1,"show-icon":"",title:"MJ参数说明",description:"如果您是海外服务器则不强制开启代理、反之则需要开启代理、代理为系统配套项目、非常规代理、如果您想自己搭建代理请查看教程、如果您想使用系统提供的默认代理、那么选择开启代理并且不填写代理地址即可使用默认地址、如果想获取默认地址请在售后群获取地址!",type:"success"})]),_:1}),e(h,{style:{margin:"20px"}},{header:o(()=>[x("div",E,[N,e(w,{class:"button",text:"",onClick:C},{default:o(()=>[B(" 保存设置 ")]),_:1})])]),default:o(()=>[e(V,{ref_key:"formRef",ref:r,rules:y.value,model:a,"label-width":"130px"},{default:o(()=>[e(P,null,{default:o(()=>[e(p,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"自定义翻译提示词",prop:"mindCustomPrompt"},{default:o(()=>[e(i,{modelValue:a.mjCustomFanyiPrompt,"onUpdate:modelValue":t[0]||(t[0]=s=>a.mjCustomFanyiPrompt=s),type:"textarea",rows:10,placeholder:"自定义提示词、系统有默认提示词、如果您想覆盖 、请在此处自定义",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(p,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"自定义联想提示词",prop:"mindCustomPrompt"},{default:o(()=>[e(i,{modelValue:a.mjCustomLianxiangPrompt,"onUpdate:modelValue":t[1]||(t[1]=s=>a.mjCustomLianxiangPrompt=s),type:"textarea",rows:10,placeholder:"自定义提示词、系统有默认提示词、如果您想覆盖 、请在此处自定义",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(U);export{U as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/properties-aba123c1.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | const f={name:"properties",token:function(e,i){var o=e.sol()||i.afterSection,l=e.eol();if(i.afterSection=!1,o&&(i.nextMultiline?(i.inMultiline=!0,i.nextMultiline=!1):i.position="def"),l&&!i.nextMultiline&&(i.inMultiline=!1,i.position="def"),o)for(;e.eatSpace(););var n=e.next();return o&&(n==="#"||n==="!"||n===";")?(i.position="comment",e.skipToEnd(),"comment"):o&&n==="["?(i.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):n==="="||n===":"?(i.position="quote",null):(n==="\\"&&i.position==="quote"&&e.eol()&&(i.nextMultiline=!0),i.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}};export{f as properties}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/protobuf-1713bf80.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var n=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],r=t(n),i=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function f(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(r)?"keyword":e.match(i)?"variable":(e.next(),null)}const u={name:"protobuf",token:f,languageData:{autocomplete:n}};export{u as protobuf}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/proxy-528822a4.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as U}from"./index-c786b651.js";import{a as f}from"./config-c56fc306.js";import{d as k,Q as M,r as d,t as q,o as B,c as E,e,f as o,a as y,k as N,E as p,h as t,q as x}from"./index-56458f60.js";const J={class:"flex justify-between"},O=y("b",null,"MJ参数设置",-1),R=k({__name:"proxy",setup(A){const a=M({mjProxy:0,mjProxyUrl:""}),g=d({}),s=d();async function c(){const n=await f.queryConfig({keys:["mjProxy","mjProxyUrl"]});Object.assign(a,n.data)}function b(){var n;(n=s.value)==null||n.validate(async l=>{if(l){try{await f.setConfig({settings:j(a)}),p.success("变更配置信息成功")}catch{}c()}else p.error("请填写完整信息")})}function j(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return q(()=>{c()}),(n,l)=>{const m=t("el-alert"),v=U,w=t("el-button"),h=t("el-switch"),_=t("el-form-item"),u=t("el-col"),i=t("el-row"),P=t("el-input"),V=t("el-form"),C=t("el-card");return B(),E("div",null,[e(v,null,{default:o(()=>[e(m,{closable:!1,"show-icon":"",title:"MJ参数说明",description:"【此功能已废弃!请勿开启!】将直接转由绘画池一并处理!",type:"success"})]),_:1}),e(C,{style:{margin:"20px"}},{header:o(()=>[y("div",J,[O,e(w,{class:"button",text:"",onClick:b},{default:o(()=>[N(" 保存设置 ")]),_:1})])]),default:o(()=>[e(V,{ref_key:"formRef",ref:s,rules:g.value,model:a,"label-width":"130px"},{default:o(()=>[e(i,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(_,{label:"是否开启代理",prop:"mjProxy"},{default:o(()=>[e(h,{modelValue:a.mjProxy,"onUpdate:modelValue":l[0]||(l[0]=r=>a.mjProxy=r),"active-value":"0","inactive-value":"1"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(_,{label:"请填写代理地址",prop:"mjProxyUrl","label-width":"150"},{default:o(()=>[e(P,{modelValue:a.mjProxyUrl,"onUpdate:modelValue":l[1]||(l[1]=r=>a.mjProxyUrl=r),placeholder:"请填写代理地址、详细使用请访问教程!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(R);export{R as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/proxy-d39e5a7e.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as u}from"./index-c786b651.js";import{n as i,o as p,c as r,e as t,f as l,k as e,a as n,h as o}from"./index-56458f60.js";const d={},h=n("h3",null,"API说明 (仅推荐、支持对接OPenAI官方API KEY和所有的中转!)",-1),I=n("p",null,[e("该中转API支持本系统官方演示站使用的所有模型、你可以在此注册账号: "),n("a",{href:"https://api.oneabc.org/register",target:"_blank"},[n("b",null,"官方中转API推荐(星火API)")])],-1),m=n("p",null,[e("使用中转API是OPenAI官方API成本的"),n("b",null," 1/3 "),e("还要低!")],-1),A=n("p",null,null,-1),P=n("h3",null,"模型说明",-1),b=n("p",null,"1.为了系统的更加清晰的迭代和发展、目前移除国内模型直连(在v3版本移除了国内版本模型直连),所有模型走openai的输入格式、这如果需要国内模型、请使用中转API",-1),g=n("p",null,[e("2.本中转API的GPT相关模型为"),n("b",null,"官方大额不限速高并发原生KEY中转(非逆向)"),e(",其他本系统使用的逆向渠模型均支持、是目前市面上稳定的中转、当然这并不强制、你依然可以使用其他市面三方中转api!")],-1),f=n("p",null,"3.支持最新OpenAI模型:gpt-4o大模型、gpt-4-turbo-2024-04-09大模型等...",-1),k=n("p",null,[e("4.支持最近火爆的"),n("b",null,"suno-v3"),e("AI音乐生成大模型!!")],-1),x=n("b",null,"Claude3大模型",-1),E=n("p",null,[e("6.星火API支持"),n("b",null,"主流国内和主流三方大模型"),e(":")],-1),v=n("p",null,"百度文心一言(ERNIE-4.0-8K、ERNIE-3.5-8K)、星火讯飞认知大模型(SparkDesk、SparkDeskV3.5、SparkDeskV4)、最新腾讯混元大模型(ChatStd)、智谱ChatGLM模型(glm-4、glm-4v、chatglm_pro)、阿里通义千问最新模型(qwen-plus、qwen-turbo、qwen-max、qwen-max-longcontext)、360智脑(360GPT_S2_V9)、月之暗面(MoonshotAl)、微软必应(bing)、谷歌Gemini官方模型(gemini-pro、gemini-pro-vision)、零一万物(yi-34b-chat-0205)、百川大模型(Baichuan2-Turbo)等等",-1),w=n("p",null,"7.更多最新支持模型不在此处记录,变动及详情前往”星火API查看!“",-1),V=n("h3",null,"模型官方价格说明",-1),C=n("p",null,[e(" 为方便计费,一个账号通用所有模型,可使用本站全部模型 "),n("a",{href:"https://api.oneabc.org/model",target:"_blank"},[n("b",null,"支持模型及价格表!")])],-1),M=n("h3",null,"MJ绘画操作全支持",-1),N=n("p",null,[e("①本中转API支持"),n("b",null,"MJ绘画所有操作、AI换脸、垫图、混图等,多账户轮询,绘画专用服务器,使用大带宽服务器,速度很快!目前并发稳定支持5-10W张/天!"),e("其他第三方绘画请使用稳定的Mj绘画API!")],-1),S=n("p",null,[e("②星火API支持 "),n("b",null,"Fast快速模式"),e("和 "),n("b",null,"Relax慢速模式"),e("!(慢速低至几分钱!)")],-1);function q(y,B){const s=o("el-alert"),_=u,a=o("P"),c=o("el-card");return p(),r("div",null,[t(_,null,{default:l(()=>[t(s,{closable:!1,"show-icon":"",title:"官方中转API推荐",description:"为了功能简化和部分用户无稳定API渠道,系统提供中转API渠道(仅推荐、支持所有的中转)",type:"success"})]),_:1}),t(c,{style:{margin:"20px"}},{default:l(()=>[h,I,m,A,P,b,g,f,k,t(a,null,{default:l(()=>[e("5.支持"),x,e("(claude-3-haiku-20240307、claude-3-sonnet-20240229、claude-3-opus-20240229)")]),_:1}),E,v,w,V,C,M,N,S]),_:1})])}const T=i(d,[["render",q]]);export{T as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/puppet-3229bfe4.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var c={},s=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function a(e,n){for(var i=n.split(" "),o=0;o.*/,!1),t=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),f=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(s)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),u(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):o?(e.match(/(\s+)?\w+/),"tag"):i&&c.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),c[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):t?(e.match(/(\s+)?[\w:_]+/),"def"):f?(e.match(/(\s+)?[@]{1,2}/),"atom"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,u(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"string.special"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}const p={name:"puppet",startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:l(e,n)}};export{p as puppet}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/register-4322dd46.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | .tips{font-size:12px;color:#7a7474;margin-left:14px} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/reload-bb28da78.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{d as t,t as n,o as a,c as r,m as s,q as e}from"./index-56458f60.js";const c=t({__name:"reload",setup(u){const o=s();return n(()=>{o.go(-1)}),(p,_)=>(a(),r("div"))}});typeof e=="function"&&e(c);export{c as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/rpm-aa81b362.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var o=/^-+$/,a=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;const h={name:"rpmchanges",token:function(r){return r.sol()&&(r.match(o)||r.match(a))?"tag":r.match(c)?"string":(r.next(),null)}};var i=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,l=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,p=/^%(ifnarch|ifarch|if)/,f=/^%(else|endif)/,u=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const d={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){var n=r.peek();if(n=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(t))return"header";if(r.match(l))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(f))return"keyword";if(r.match(p))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(u))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(i))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}};export{h as rpmChanges,d as rpmSpec}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/sales-9be6fb41.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as e}from"./index-56458f60.js";const r={querySalesOrder:s=>e.get("sales/salesOrder",{params:s}),salesAuditOrder:s=>e.post("sales/auditOrder",s),updateSalesUser:s=>e.post("sales/updateUserSales",s),queryRecords:s=>e.get("sales/inviteRecords",{params:s}),querySalesUserList:s=>e.get("sales/salesUserList",{params:s})};export{r as A}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/secret-38857928.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a as g}from"./config-c56fc306.js";import{d as E,r as i,Q as R,t as j,o as u,c as k,e as l,f as e,a as f,k as d,R as A,S as I,E as v,h as a,I as V,J as L,q as b}from"./index-56458f60.js";const M={class:"flex justify-between"},$=f("b",null,"key池管理",-1),D={class:"flex justify-between",style:{width:"100%"}},F=E({__name:"secret",setup(J){const o=i([]),_=R({chatGptKey:[]});i({chatGptKey:[{required:!0,trigger:"blur",message:"请填写您的chatGpt的key"}]});const p=i();async function m(){const t=await g.queryGptKeys();o.value=t.data.map(n=>({configKey:n.configKey,configVal:n.configVal,status:n.status})),t.data.length===0&&y(),_.chatGptKey=o.value}function y(){o.value.push({configKey:"",configVal:"",status:1})}function x(t){o.value.splice(t,1)}function w(){var t;(t=p.value)==null||t.validate(async n=>{if(n){try{await g.setGptKeys({configs:o.value}),v.success("变更配置信息成功")}catch{}m()}else v.error("请填写完整信息")})}return j(()=>{m()}),(t,n)=>{const c=a("el-button"),C=a("el-input"),K=a("el-switch"),G=a("el-form-item"),U=a("el-col"),q=a("el-row"),B=a("el-form"),N=a("el-card");return u(),k("div",null,[l(N,{style:{margin:"20px"}},{header:e(()=>[f("div",M,[$,l(c,{class:"button",text:"",onClick:w},{default:e(()=>[d(" 保存设置 ")]),_:1})])]),default:e(()=>[l(B,{ref_key:"formRef",ref:p,model:_,"label-width":"80px"},{default:e(()=>[l(q,null,{default:e(()=>[l(U,{xs:24,md:21,lg:16,xl:13},{default:e(()=>[(u(!0),k(A,null,I(o.value,(s,h)=>(u(),V(G,{key:s.configKey,label:`key-${h+1}`,prop:"chatGptKey"},{default:e(()=>[f("div",D,[l(C,{modelValue:s.configVal,"onUpdate:modelValue":r=>s.configVal=r,placeholder:"请填写您的ChatGpt-Key",clearable:"",class:"flex-1"},null,8,["modelValue","onUpdate:modelValue"]),o.value.length!==1?(u(),V(c,{key:0,type:"danger",plain:"",class:"ml-1",onClick:r=>x(h)},{default:e(()=>[d(" 删除 ")]),_:2},1032,["onClick"])):L("",!0),l(K,{modelValue:s.status,"onUpdate:modelValue":r=>s.status=r,class:"ml-5","active-value":1,"inactive-value":0},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),l(c,{class:"mt-5",style:{"margin-left":"80px"},onClick:y},{default:e(()=>[d(" 添加key ")]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(F);export{F as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/setting-64f50551.css: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | [data-v-0abd1b0a] .el-tabs .el-tabs__header .el-tabs__nav .el-tabs__active-bar{z-index:0;width:100%;background-color:var(--el-color-primary-light-9);border-right:2px solid var(--el-color-primary);transition:transform .3s,background-color .3s,var(--el-transition-border)}[data-v-0abd1b0a] .el-tabs .el-tabs__header .el-tabs__nav .el-tabs__item{text-align:left;padding-right:100px}[data-v-0abd1b0a] .el-tabs .el-tab-pane{padding:0 20px 0 30px}h2[data-v-0abd1b0a]{margin:0 0 30px;font-weight:400}.basic[data-v-0abd1b0a] .headimg-upload{text-align:center}.basic[data-v-0abd1b0a] .headimg-upload .el-upload-dragger{border-radius:50%}.security .setting-list .item[data-v-0abd1b0a]{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--el-border-color-lighter);transition:var(--el-transition-border)}.security .setting-list .item .content .title[data-v-0abd1b0a]{margin-bottom:5px;color:var(--el-text-color-primary);transition:var(--el-transition-color)}.security .setting-list .item .content .desc[data-v-0abd1b0a]{font-size:14px;color:var(--el-text-color-secondary);transition:var(--el-transition-color)}.security .setting-list .item[data-v-0abd1b0a]:last-child{border-bottom:0} 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/setting-f502a6e3.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as f}from"./index-c786b651.js";import{d as _,r as b,o as h,c as v,e as s,f as o,a as t,k as g,h as a,p as x,i as y,m as k,n as w,q as n}from"./index-56458f60.js";const c=e=>(x("data-v-0abd1b0a"),e=e(),y(),e),C=c(()=>t("h2",null,"安全设置",-1)),I={class:"setting-list"},S={class:"item"},q=c(()=>t("div",{class:"content"},[t("div",{class:"title"}," 管理员账户密码 "),t("div",{class:"desc"}," 当前密码强度:强 ")],-1)),B={class:"action"},N=_({name:"PersonalSetting"}),i=_({...N,setup(e){const l=k();b({headimg:"",mobile:"",name:"",qq:"",wechat:""});function d(){l.push({name:"personalEditPassword"})}return(P,V)=>{const p=a("el-button"),r=a("el-tab-pane"),u=a("el-tabs"),m=f;return h(),v("div",null,[s(m,null,{default:o(()=>[s(u,{"tab-position":"left",style:{height:"600px"}},{default:o(()=>[s(r,{label:"安全设置",class:"security"},{default:o(()=>[C,t("div",I,[t("div",S,[q,t("div",B,[s(p,{type:"primary",text:"",onClick:d},{default:o(()=>[g(" 修改 ")]),_:1})])])])]),_:1})]),_:1})]),_:1})])}}});typeof n=="function"&&n(i);const T=w(i,[["__scopeId","data-v-0abd1b0a"]]);export{T as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/shell-86dd1d99.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var c={};function s(n,e){for(var r=0;r1&&n.eat("$");var r=n.next();return/['"({]/.test(r)?(e.tokens[0]=l(r,r=="("?"quote":r=="{"?"def":"string"),u(n,e)):(/\d/.test(r)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function w(n){return function(e,r){return e.sol()&&e.string==n&&r.tokens.shift(),e.skipToEnd(),"string.special"}}function u(n,e){return(e.tokens[0]||d)(n,e)}const v={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return u(n,e)},languageData:{autocomplete:k.concat(h,p),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};export{v as shell}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/sieve-4b1eb6fb.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function l(n){for(var e={},i=n.split(" "),r=0;r2&&r.token&&typeof r.token!="string"){e.pending=[];for(var o=2;o-1)return null;var d=e.indent.length-1,u=n[e.state];n:for(;;){for(var r=0;r=@%|&?!.,:;^]/,p=/true|false|nil|self|super|thisContext/,l=function(e,n){this.next=e,this.parent=n},r=function(e,n,t){this.name=e,this.context=n,this.eos=t},c=function(){this.context=new l(h,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};c.prototype.userIndent=function(e,n){this.userIndentationDelta=e>0?e/n-this.indentation:0};var h=function(e,n,t){var i=new r(null,n,!1),a=e.next();return a==='"'?i=u(e,new l(u,n)):a==="'"?i=s(e,new l(s,n)):a==="#"?e.peek()==="'"?(e.next(),i=f(e,new l(f,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string.special":i.name="meta":a==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string.special"):a==="|"&&t.expectVariable?i.context=new l(x,n):/[\[\]{}()]/.test(a)?(i.name="bracket",i.eos=/[\[{(]/.test(a),a==="["?t.indentation++:a==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(a)?(e.eatWhile(o),i.name="operator",i.eos=a!==";"):/\d/.test(a)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(a)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?p.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},u=function(e,n){return e.eatWhile(/[^"]/),new r("comment",e.eat('"')?n.parent:n,!0)},s=function(e,n){return e.eatWhile(/[^']/),new r("string",e.eat("'")?n.parent:n,!1)},f=function(e,n){return e.eatWhile(/[^']/),new r("string.special",e.eat("'")?n.parent:n,!1)},x=function(e,n){var t=new r(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};const d={name:"smalltalk",startState:function(){return new c},token:function(e,n){if(n.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e,n){e.userIndent(0,n)},indent:function(e,n,t){var i=e.context.next===h&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+i)*t.unit},languageData:{indentOnInput:/^\s*\]$/}};export{d as smalltalk}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/solr-7928d730.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var u=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,l=/^(OR|AND|NOT|TO)$/i;function k(n){return parseFloat(n).toString()===n}function a(n){return function(e,r){for(var t=!1,o;(o=e.next())!=null&&!(o==n&&!t);)t=!t&&o=="\\";return t||(r.tokenize=i),"string"}}function c(n){return function(e,r){return n=="|"?e.eat(/\|/):n=="&"&&e.eat(/\&/),r.tokenize=i,"operator"}}function s(n){return function(e,r){for(var t=n;(n=e.peek())&&n.match(u)!=null;)t+=e.next();return r.tokenize=i,l.test(t)?"operator":k(t)?"number":e.peek()==":"?"propertyName":"string"}}function i(n,e){var r=n.next();return r=='"'?e.tokenize=a(r):f.test(r)?e.tokenize=c(r):u.test(r)&&(e.tokenize=s(r)),e.tokenize!=i?e.tokenize(n,e):null}const p={name:"solr",startState:function(){return{tokenize:i}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)}};export{p as solr}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/spreadsheet-9f4dc4c6.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | const i={name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.stack.unshift("string")),n.stack[0]){case"string":for(;n.stack[0]==="string"&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;n.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||n.stack.shift();return"operator"}var c=e.peek();switch(c){case"[":return e.next(),n.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":["[","]","(",")","{","}"].indexOf(c)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{i as spreadsheet}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/tcl-9a9d281f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function s(r){for(var n={},t=r.split(" "),e=0;e!?^\/\|]/;function i(r,n,t){return n.tokenize=t,t(r,n)}function o(r,n){var t=n.beforeParams;n.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&n.inParams)return i(r,n,p(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&t?n.inParams=!0:e==")"&&(n.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?i(r,n,d):e=="#"&&r.match(/ *\[ *\[/)?i(r,n,k):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),n.beforeParams=!0,"builtin";if(c.test(e))return r.eatWhile(c),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var a=r.current().toLowerCase();return f&&f.propertyIsEnumerable(a)?"keyword":u&&u.propertyIsEnumerable(a)?(n.beforeParams=!0,"keyword"):null}function p(r){return function(n,t){for(var e=!1,a,l=!1;(a=n.next())!=null;){if(a==r&&!e){l=!0;break}e=!e&&a=="\\"}return l&&(t.tokenize=o),"string"}}function d(r,n){for(var t=!1,e;e=r.next();){if(e=="#"&&t){n.tokenize=o;break}t=e=="*"}return"comment"}function k(r,n){for(var t=0,e;e=r.next();){if(e=="#"&&t==2){n.tokenize=o;break}e=="]"?t++:e!=" "&&(t=0)}return"meta"}const m={name:"tcl",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(r,n){return r.eatSpace()?null:n.tokenize(r,n)},languageData:{commentTokens:{line:"#"}}};export{m as tcl}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/toml-fed73c05.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | const l={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(n,e){if(!e.inString&&(n.peek()=='"'||n.peek()=="'")&&(e.stringType=n.peek(),n.next(),e.inString=!0),n.sol()&&e.inArray===0&&(e.lhs=!0),e.inString){for(;e.inString&&!n.eol();)n.peek()===e.stringType?(n.next(),e.inString=!1):n.peek()==="\\"?(n.next(),n.next()):n.match(/^.[^\\\"\']*/);return e.lhs?"property":"string"}else{if(e.inArray&&n.peek()==="]")return n.next(),e.inArray--,"bracket";if(e.lhs&&n.peek()==="["&&n.skipTo("]"))return n.next(),n.peek()==="]"&&n.next(),"atom";if(n.peek()==="#")return n.skipToEnd(),"comment";if(n.eatSpace())return null;if(e.lhs&&n.eatWhile(function(i){return i!="="&&i!=" "}))return"property";if(e.lhs&&n.peek()==="=")return n.next(),e.lhs=!1,null;if(!e.lhs&&n.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!e.lhs&&(n.match("true")||n.match("false")))return"atom";if(!e.lhs&&n.peek()==="[")return e.inArray++,n.next(),"bracket";if(!e.lhs&&n.match(/^\-?\d+(?:\.\d+)?/))return"number";n.eatSpace()||n.next()}return null},languageData:{commentTokens:{line:"#"}}};export{l as toml}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/troff-1c50c70f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var h={};function u(n){if(n.eatSpace())return null;var t=n.sol(),c=n.next();if(c==="\\")return n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("&")?"string":n.match("m[")?(n.skipTo("]"),n.next(),"string"):n.match("s+")||n.match("s-")?(n.eatWhile(/[\d-]/),"string"):((n.match("(")||n.match("*("))&&n.eatWhile(/[\w-]/),"string");if(t&&(c==="."||c==="'")&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(t&&c==="."){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);var i=n.current();return h.hasOwnProperty(i)?h[i]:null}function f(n,t){return(t.tokens[0]||u)(n,t)}const o={name:"troff",startState:function(){return{tokens:[]}},token:function(n,t){return f(n,t)}};export{o as troff}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/turtle-b550492d.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var r;function p(e){return new RegExp("^(?:"+e.join("|")+")$","i")}p([]);var d=p(["@prefix","@base","a"]),f=/[*+\-<>=&|]/;function x(e,n){var t=e.next();if(r=null,t=="<"&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return n.tokenize=v(t),n.tokenize(e,n);if(/[{}\(\),\.;\[\]]/.test(t))return r=t,null;if(t=="#")return e.skipToEnd(),"comment";if(f.test(t))return e.eatWhile(f),null;if(t==":")return"operator";if(e.eatWhile(/[_\w\d]/),e.peek()==":")return"variableName.special";var i=e.current();return d.test(i)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var i=e.current()}function v(e){return function(n,t){for(var i=!1,o;(o=n.next())!=null;){if(o==e&&!i){t.tokenize=x;break}i=!i&&o=="\\"}return"string"}}function l(e,n,t){e.context={prev:e.context,indent:e.indent,col:t,type:n}}function c(e){e.indent=e.context.indent,e.context=e.context.prev}const g={name:"turtle",startState:function(){return{tokenize:x,context:null,indent:0,col:0}},token:function(e,n){if(e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation()),e.eatSpace())return null;var t=n.tokenize(e,n);if(t!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),r=="(")l(n,")",e.column());else if(r=="[")l(n,"]",e.column());else if(r=="{")l(n,"}",e.column());else if(/[\]\}\)]/.test(r)){for(;n.context&&n.context.type=="pattern";)c(n);n.context&&r==n.context.type&&c(n)}else r=="."&&n.context&&n.context.type=="pattern"?c(n):/atom|string|variable/.test(t)&&n.context&&(/[\}\]]/.test(n.context.type)?l(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return t},indent:function(e,n,t){var i=n&&n.charAt(0),o=e.context;if(/[\]\}]/.test(i))for(;o&&o.type=="pattern";)o=o.prev;var u=o&&i==o.type;return o?o.type=="pattern"?o.col:o.align?o.col+(u?0:1):o.indent+(u?0:t.unit):0},languageData:{commentTokens:{line:"#"}}};export{g as turtle}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/upgrade-3e1ad0bd.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{_ as h}from"./index-c786b651.js";import{a as w}from"./config-c56fc306.js";import{a as y}from"./userBalance-baeb707e.js";import{d as k,r as i,t as x,w as C,b as r,o as B,c as V,e,f as t,k as N,a as u,h as a,X as S,q as _}from"./index-56458f60.js";const q=u("div",{class:"flex justify-between"},[u("b",null,"V1.5版本迁移助手")],-1),A=k({__name:"upgrade",setup(D){const o=i(!0),n=i(!1);async function s(){var l;const c=await w.queryConfig({keys:["upgradeStatus"]});o.value=((l=c.data)==null?void 0:l.upgradeStatus)==="1"}async function d(){n.value=!0,await y.upgradeBalance(),s(),setTimeout(()=>{s(),n.value=!1},3e4)}return x(()=>{s()}),(c,l)=>{const p=a("el-alert"),f=h,m=a("el-button"),g=a("el-tooltip"),b=a("el-card"),v=S("loading");return C((B(),V("div",null,[e(f,null,{default:t(()=>[e(p,{closable:!1,"show-icon":"",title:"V1.5版本迁移助手",description:"如果您是新部署的用户则无需点击、如果是你是老用户升级、由于1.5的计费调整、造成了一定破坏性更新、需要在此进行数据迁移、请注意不要刷新网页、当前升级为危险操作、仅可点击一次、点击完成后请等待约一分钟后完成数据同步、我们将会对历史的用户余额、使用额度、一般AI模型、增强AI模型、绘画等数据进行迁移、在迁移完成后即可正常工作了、在未迁移前您是无法查看用户管理下面的用户信息的详细余额的、迁移完毕前去访问您可以看到完整的用户信息包含其余额信息!",type:"error"})]),_:1}),e(b,{style:{margin:"20px"}},{header:t(()=>[q]),default:t(()=>[e(g,{content:` ${r(o)?"您已经升级过了、请勿重复操作":"当前升级是危险操作、请勿刷新或重复点击、等待加载完成后再进行其他工作!"}`,placement:"right","show-after":100},{default:t(()=>[e(m,{disabled:r(o),type:"warning",onClick:d},{default:t(()=>[N(" 点击升级 ")]),_:1},8,["disabled"])]),_:1},8,["content"])]),_:1})])),[[v,r(n)]])}}});typeof _=="function"&&_(A);export{A as default}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/useMenu-3526599b.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{y as u,A as i,ae as o}from"./index-56458f60.js";function a(){const t=u(),e=i();function s(n){e.setActived(n),t.settings.menu.switchMainMenuAndPageJump&&o.push(e.sidebarMenusFirstDeepestPath)}return{switchTo:s}}export{a as u}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/userBalance-baeb707e.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | import{a8 as e}from"./index-56458f60.js";const o={upgradeBalance:a=>e.post("balance/upgradeBalance",a),queryUserAccountLog:a=>e.get("balance/accountLog",{params:a})};export{o as a}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/utcformatTime-e76e5157.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function n(a,s="YYYY-MM-DD hh:mm:ss"){const c=new Date(a).getTime(),t=new Date(c);let e=s.replace("YYYY",t.getFullYear().toString());return e=e.replace("MM",`0${t.getMonth()+1}`.slice(-2)),e=e.replace("DD",`0${t.getDate()}`.slice(-2)),e=e.replace("hh",`0${t.getHours()}`.slice(-2)),e=e.replace("mm",`0${t.getMinutes()}`.slice(-2)),e=e.replace("ss",`0${t.getSeconds()}`.slice(-2)),e}export{n as u}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/velocity-5bdd1b6a.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function u(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function o(n,e,i){return e.tokenize=i,i(n,e)}function t(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,o(n,e,p(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return o(n,e,p(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,o(n,e,h);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,o(n,e,b);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),c&&c.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(k.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(k),"operator";n.eatWhile(/[\w\$_{}@]/);var l=n.current();return s&&s.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(a&&a.propertyIsEnumerable(l.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>l.length&&n.string.charAt(n.pos-l.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function p(n){return function(e,i){for(var r=!1,l,f=!1;(l=e.next())!=null;){if(l==n&&!r){f=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,f=!0;break}r=!r&&l=="\\"}return f&&(i.tokenize=t),"string"}}function h(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=t;break}i=r=="*"}return"comment"}function b(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=t;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}const W={name:"velocity",startState:function(){return{tokenize:t,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}};export{W as velocity}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/webidl-beade871.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function a(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var l=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],u=a(l),o=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],m=a(o),c=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],s=a(c),f=["true","false","Infinity","NaN","null"],y=a(f),d=["callback","dictionary","enum","interface"],p=a(d),b=["typedef"],v=a(b),A=/^[:<=>?]/,g=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,h=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,i=/^_?[A-Za-z][0-9A-Z_a-z-]*/,D=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,k=/^"[^"]*"/,E=/^\/\*.*?\*\//,C=/^\/\*.*/,w=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(w)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(E))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(g)||e.match(h)))return"number";if(e.match(k))return"string";if(r.startDef&&e.match(i))return"def";if(r.endDef&&e.match(D))return r.endDef=!1,"def";if(e.match(s))return"keyword";if(e.match(m)){var t=r.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return t===":"||t==="implements"||n==="implements"||n==="="?"builtin":"type"}return e.match(u)?"builtin":e.match(y)?"atom":e.match(i)?"variable":e.match(A)?"operator":(e.next(),null)}const S={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var t=N(e,r);if(t){var n=e.current();r.lastToken=n,t==="keyword"?(r.startDef=p.test(n),r.endDef=r.endDef||v.test(n)):r.startDef=!1}return t},languageData:{autocomplete:l.concat(o).concat(c).concat(f)}};export{S as webIDL}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/yacas-d031e2ab.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function t(e){for(var n={},r=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function v(e,n){for(var r,o=!1,i=!1;(r=e.next())!=null;){if(r==='"'&&!i){o=!0;break}i=!i&&r==="\\"}return o&&!i&&(n.tokenize=l),"string"}function h(e,n){for(var r,o;(o=e.next())!=null;){if(r==="*"&&o==="/"){n.tokenize=l;break}r=o}return"comment"}function c(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const b={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,r){if(e.tokenize!==l&&e.tokenize!==null)return null;var o=0;return(n==="]"||n==="];"||n==="}"||n==="};"||n===");")&&(o=-1),(e.scopes.length+o)*r.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{b as yacas}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/yaml-95012b83.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | var l=["true","false","on","off","yes","no"],f=new RegExp("\\b(("+l.join(")|(")+"))$","i");const a={name:"yaml",token:function(n,i){var r=n.peek(),e=i.escaped;if(i.escaped=!1,r=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&n.indentation()>i.keyCol)return n.skipToEnd(),"string";if(i.literal&&(i.literal=!1),n.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return r=="{"?i.inlinePairs++:r=="}"?i.inlinePairs--:r=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!e&&r==",")return n.next(),"meta";if(i.inlinePairs>0&&!e&&r==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,n.next(),"meta";if(i.pairStart){if(n.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(i.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(f))return"keyword"}return!i.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(i.pair=!0,i.keyCol=n.indentation(),"atom"):i.pair&&n.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=r=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};export{a as yaml}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/assets/z80-bb7f2654.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 由 Fantastic-admin 提供技术支持 4 | * Powered by Fantastic-admin 5 | * Gitee https://gitee.com/hooray/fantastic-admin 6 | * Github https://github.com/hooray/fantastic-admin 7 | */ 8 | 9 | function o(t){var n,l;t?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,l=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,l=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var u=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,d=/^(n?[zc]|p[oe]?|m)\b/i,f=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,c=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(e,i){if(e.column()||(i.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/))if(t&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),e.indentation()){if((i.context==1||i.context==4)&&u.test(r))return i.context=4,"variable";if(i.context==2&&d.test(r))return i.context=4,"variableName.special";if(n.test(r))return i.context=1,"keyword";if(l.test(r))return i.context=2,"keyword";if(i.context==4&&c.test(r))return"number";if(f.test(r))return"error"}else return e.match(c)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&r!='"';)r=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(i.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const a=o(!1),s=o(!0);export{s as ez80,a as z80}; 10 | -------------------------------------------------------------------------------- /public/sparkai/admin/browser_upgrade/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/browser_upgrade/chrome.png -------------------------------------------------------------------------------- /public/sparkai/admin/browser_upgrade/edge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/browser_upgrade/edge.png -------------------------------------------------------------------------------- /public/sparkai/admin/browser_upgrade/index.css: -------------------------------------------------------------------------------- 1 | #browser-upgrade { 2 | position: absolute; 3 | z-index: 10001; 4 | top: 0; 5 | left: 0; 6 | height: 100%; 7 | width: 100%; 8 | display: none; 9 | user-select: none; 10 | color: #736477; 11 | background-color: snow; 12 | } 13 | 14 | #browser-upgrade .title { 15 | margin: 40px 0; 16 | text-align: center; 17 | font-size: 24px; 18 | } 19 | 20 | #browser-upgrade .browsers { 21 | text-align: center; 22 | } 23 | 24 | #browser-upgrade .browsers .browser { 25 | display: inline-block; 26 | margin: 0 20px; 27 | cursor: pointer; 28 | text-decoration: none; 29 | } 30 | 31 | #browser-upgrade .browsers .browser .browser-icon { 32 | display: block; 33 | width: 50px; 34 | height: 50px; 35 | margin: 0 auto; 36 | border: none; 37 | } 38 | 39 | #browser-upgrade .browsers .browser .browser-name { 40 | text-align: center; 41 | margin-top: 10px; 42 | padding-bottom: 2px; 43 | color: #736477; 44 | border-bottom: 1px solid transparent; 45 | } 46 | 47 | #browser-upgrade .browsers .browser:hover .browser-name { 48 | border-bottom: 1px solid #736477; 49 | } 50 | -------------------------------------------------------------------------------- /public/sparkai/admin/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nosqlnull/SparkAi-ChatGPT-AiWeb/3b36b757718d6a3bf8323424a9e12b2643bb642b/public/sparkai/admin/favicon.ico -------------------------------------------------------------------------------- /public/sparkai/admin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | SparkAi 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
SparkAi Admin
18 |
19 |
20 |
为了您的体验,推荐使用以下浏览器
21 | 31 |
32 |
33 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /public/sparkai/admin/loading.css: -------------------------------------------------------------------------------- 1 | #app { 2 | height: 100%; 3 | } 4 | 5 | .fantastic-admin-home { 6 | position: absolute; 7 | z-index: 10000; 8 | top: 0; 9 | left: 0; 10 | height: 100%; 11 | width: 100%; 12 | display: flex; 13 | align-items: center; 14 | justify-content: center; 15 | flex-direction: column; 16 | user-select: none; 17 | color: #736477; 18 | background-color: snow; 19 | } 20 | 21 | .fantastic-admin-home .loading { 22 | --r1: 154%; 23 | --r2: 68.5%; 24 | 25 | width: 60px; 26 | height: 60px; 27 | border-radius: 50%; 28 | background: 29 | radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%) center left, 30 | radial-gradient(var(--r1) var(--r2) at bottom, #269af2 79.5%, #0000 80%) center center, 31 | radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%) center right, 32 | #ccc; 33 | background-size: 50.5% 220%; 34 | background-position: -100% 0%, 0% 0%, 100% 0%; 35 | background-repeat: no-repeat; 36 | animation: p9 2s infinite linear; 37 | } 38 | 39 | @keyframes p9 { 40 | 33% { background-position: 0% 33%, 100% 33%, 200% 33%; } 41 | 66% { background-position: -100% 66%, 0% 66%, 100% 66%; } 42 | 100% { background-position: 0% 100%, 100% 100%, 200% 100%; } 43 | } 44 | 45 | @keyframes square-to-dot-animation { 46 | 15%, 47 | 25% { 48 | border-radius: 100%; 49 | width: 0; 50 | height: 0; 51 | margin: 5px; 52 | border-width: 5px; 53 | } 54 | 55 | 40% { 56 | border-radius: 15%; 57 | width: 10px; 58 | height: 10px; 59 | margin: initial; 60 | border-width: 3px; 61 | } 62 | } 63 | 64 | .fantastic-admin-home .text { 65 | position: relative; 66 | font-size: 24px; 67 | margin-top: 20px; 68 | } 69 | 70 | .fantastic-admin-home .text::after { 71 | content: "…"; 72 | position: absolute; 73 | padding-left: 5px; 74 | } 75 | -------------------------------------------------------------------------------- /templates/mail/register.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{registerVerifyEmailFrom}}邮箱验证 6 | 63 | 64 | 65 | 66 |
67 | 68 | {{registerVerifyEmailTitle}} 69 |

{{registerVerifyEmailDesc}} 70 | 点此激活您的账号 71 |

72 |

System mail,please do not reply

73 | FROM: {{registerVerifyEmailFrom}} 74 |
75 |
76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /templates/pages/registerError.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 邮箱验证失败 6 | 66 | 67 | 68 | 69 |
70 | 71 | {{data.registerFailEmailTitle}} 72 |

很抱歉你的账户验证失败,请参照以下错误提示信息,进行对应的操作: 73 | {{data.message}} 74 |

75 |

System mail,please do not reply

76 | FROM: {{data.registerFailEmailTeamName}} 77 |
78 |
79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /templates/pages/registerSuccess.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 邮箱验证成功 7 | 66 | 67 | 68 | 69 |
70 | 71 | {{data.registerSuccessEmailTitle}} 72 |

73 | 亲爱的{{data.username}},欢迎加入{{data.registerSuccessEmailTeamName}},您是尊贵的{{data.id}}号用户,你的账号{{data.username}} | 74 | {{data.email}}已经激活成功{{data.registerSuccessEmaileAppend}} 75 |

76 |

System mail,please do not reply

77 | FROM: {{data.registerSuccessEmailTeamName}} 78 |
79 |
80 | 81 | 82 | 83 | --------------------------------------------------------------------------------